[2026-05-08 00:00:01] local.INFO: TCP Data received {"connection_id":64695,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:00:01] local.INFO: Processing buffer {"connection_id":64695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:00:01] local.INFO: Packet analysis {"connection_id":64695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:00:01] local.INFO: Extracted packet for processing {"connection_id":64695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:00:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":8,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213611264001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:00: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-05-08 00:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778178470000,"timestamp_ms":1778178470000,"timestamp_seconds":1778178470,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b23070"} 
[2026-05-08 00:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:00:01] 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-05-08 00:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213611264001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213611264001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:00:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:00:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213611264001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":64695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:00:01] local.INFO: GPS data processed {"connection_id":64695,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:00:01] local.INFO: Acknowledgment sent {"connection_id":64695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:00:33] local.INFO: TCP Data received {"connection_id":64695,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:00:33] local.INFO: Processing buffer {"connection_id":64695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:00:33] local.INFO: Packet analysis {"connection_id":64695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:00:33] local.INFO: Extracted packet for processing {"connection_id":64695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:00:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":8,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213611264001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778178470000,"timestamp_ms":1778178470000,"timestamp_seconds":1778178470,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b23070"} 
[2026-05-08 00:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:00: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-05-08 00: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:00:33] 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-05-08 00: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-05-08 00:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213611264001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213611264001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:00:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:00:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213611264001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":64695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:00:33] local.INFO: GPS data processed {"connection_id":64695,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:00:33] local.INFO: Acknowledgment sent {"connection_id":64695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:00:54] local.INFO: TCP Data received {"connection_id":64632,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:00:54] local.INFO: Processing buffer {"connection_id":64632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:00:54] local.INFO: IMEI packet received {"connection_id":64632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":64632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:00:59] local.INFO: TCP Data received {"connection_id":64632,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:00:59] local.INFO: Processing buffer {"connection_id":64632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:00:59] local.INFO: IMEI packet received {"connection_id":64632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":64632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:01:00] local.INFO: TCP Data received {"connection_id":64632,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:01:00] local.INFO: Processing buffer {"connection_id":64632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:01:00] local.INFO: Packet analysis {"connection_id":64632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:01:00] local.INFO: Extracted packet for processing {"connection_id":64632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:01:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":8,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213611264001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:01: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-05-08 00:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778178470000,"timestamp_ms":1778178470000,"timestamp_seconds":1778178470,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b23070"} 
[2026-05-08 00:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:01:00] 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-05-08 00:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213611264001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213611264001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:01:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213611264001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":64632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:01:00] local.INFO: GPS data processed {"connection_id":64632,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:01:00] local.INFO: Acknowledgment sent {"connection_id":64632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:01:31] local.INFO: TCP Data received {"connection_id":64632,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:01:31] local.INFO: Processing buffer {"connection_id":64632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:01:31] local.INFO: Packet analysis {"connection_id":64632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:01:31] local.INFO: Extracted packet for processing {"connection_id":64632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":8,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213611264001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778178470000,"timestamp_ms":1778178470000,"timestamp_seconds":1778178470,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b23070"} 
[2026-05-08 00:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:01:31] 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-05-08 00: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-05-08 00:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213611264001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213611264001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:01:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213611264001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":64632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:01:31] local.INFO: GPS data processed {"connection_id":64632,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:01:31] local.INFO: Acknowledgment sent {"connection_id":64632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:01:54] local.INFO: TCP Data received {"connection_id":64633,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:01:54] local.INFO: Processing buffer {"connection_id":64633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:01:54] local.INFO: IMEI packet received {"connection_id":64633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":64633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:01:59] local.INFO: TCP Data received {"connection_id":64633,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:01:59] local.INFO: Processing buffer {"connection_id":64633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:01:59] local.INFO: IMEI packet received {"connection_id":64633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":64633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:02:00] local.INFO: TCP Data received {"connection_id":64633,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:02:00] local.INFO: Processing buffer {"connection_id":64633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:02:00] local.INFO: Packet analysis {"connection_id":64633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:02:00] local.INFO: Extracted packet for processing {"connection_id":64633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":8,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213611264001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:02: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-05-08 00:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778178470000,"timestamp_ms":1778178470000,"timestamp_seconds":1778178470,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b23070"} 
[2026-05-08 00:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:02:00] 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-05-08 00:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213611264001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213611264001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:02:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213611264001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":64633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:02:00] local.INFO: GPS data processed {"connection_id":64633,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:02:00] local.INFO: Acknowledgment sent {"connection_id":64633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:02:32] local.INFO: TCP Data received {"connection_id":64633,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:02:32] local.INFO: Processing buffer {"connection_id":64633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:02:32] local.INFO: Packet analysis {"connection_id":64633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:02:32] local.INFO: Extracted packet for processing {"connection_id":64633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:02:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":8,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213611264001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778178470000,"timestamp_ms":1778178470000,"timestamp_seconds":1778178470,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b23070"} 
[2026-05-08 00:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:02:32] 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-05-08 00:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213611264001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213611264001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:02:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:02:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213611264001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":64633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:02:32] local.INFO: GPS data processed {"connection_id":64633,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:02:32] local.INFO: Acknowledgment sent {"connection_id":64633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:02:59] local.INFO: TCP Data received {"connection_id":65438,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:02:59] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:02:59] local.INFO: IMEI packet received {"connection_id":65438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":65438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:03:04] local.INFO: TCP Data received {"connection_id":65438,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:04] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:04] local.INFO: IMEI packet received {"connection_id":65438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":65438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:03:06] local.INFO: TCP Data received {"connection_id":65438,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:03:06] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:03:06] local.INFO: Packet analysis {"connection_id":65438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:03:06] local.INFO: Extracted packet for processing {"connection_id":65438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":8,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213611264001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:03: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-05-08 00:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1778178470000,"timestamp_ms":1778178470000,"timestamp_seconds":1778178470,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b23070"} 
[2026-05-08 00:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":65438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":65438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":65438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213611264001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213611264001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:03:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213611264001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":65438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:03:06] local.INFO: GPS data processed {"connection_id":65438,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:03:06] local.INFO: Acknowledgment sent {"connection_id":65438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:03:08] local.INFO: TCP Data received {"connection_id":64587,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:03:08] local.INFO: Processing buffer {"connection_id":64587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:03:08] local.INFO: IMEI packet received {"connection_id":64587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":64587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:03:10] local.INFO: TCP Data received {"connection_id":65438,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:03:10] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b23070012d34c54006aa5070000800622b..."} 
[2026-05-08 00:03:10] local.INFO: Packet analysis {"connection_id":65438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:03:10] local.INFO: Extracted packet for processing {"connection_id":65438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b2"} 
[2026-05-08 00:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":8,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 00:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213611264001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:03: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-05-08 00:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778178470000,"timestamp_ms":1778178470000,"timestamp_seconds":1778178470,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b23070"} 
[2026-05-08 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-05-08 00:03: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-05-08 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":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:03:10] 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-05-08 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-05-08 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-05-08 00:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213611264001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213611264001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:03:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213611264001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":65438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:03:10] local.INFO: GPS data processed {"connection_id":65438,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:03:10] local.INFO: Acknowledgment sent {"connection_id":65438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:03:43] local.INFO: TCP Data received {"connection_id":64588,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:03:43] local.INFO: Processing buffer {"connection_id":64588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:03:43] local.INFO: IMEI packet received {"connection_id":64588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":64588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:03:54] local.INFO: TCP Data received {"connection_id":64589,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:54] local.INFO: Processing buffer {"connection_id":64589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:54] local.INFO: IMEI packet received {"connection_id":64589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":64589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:03:59] local.INFO: TCP Data received {"connection_id":64589,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:59] local.INFO: Processing buffer {"connection_id":64589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:03:59] local.INFO: IMEI packet received {"connection_id":64589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":64589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:04:01] local.INFO: TCP Data received {"connection_id":64589,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:04:01] local.INFO: Processing buffer {"connection_id":64589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:04:01] local.INFO: Packet analysis {"connection_id":64589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:04:01] local.INFO: Extracted packet for processing {"connection_id":64589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:04:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:04: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-05-08 00:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 00:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:04:01] 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-05-08 00:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:04:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:04:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:04:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":64589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:04:01] local.INFO: GPS data processed {"connection_id":64589,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:04:01] local.INFO: Acknowledgment sent {"connection_id":64589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:04:32] local.INFO: TCP Data received {"connection_id":64589,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:04:32] local.INFO: Processing buffer {"connection_id":64589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:04:32] local.INFO: Packet analysis {"connection_id":64589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:04:32] local.INFO: Extracted packet for processing {"connection_id":64589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:04:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 00:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:04:32] 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-05-08 00:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:04:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":64589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:04:32] local.INFO: GPS data processed {"connection_id":64589,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:04:32] local.INFO: Acknowledgment sent {"connection_id":64589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:04:54] local.INFO: TCP Data received {"connection_id":65440,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:04:54] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:04:54] local.INFO: IMEI packet received {"connection_id":65440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":65440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:04:59] local.INFO: TCP Data received {"connection_id":65440,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:04:59] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:04:59] local.INFO: IMEI packet received {"connection_id":65440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":65440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:05:00] local.INFO: TCP Data received {"connection_id":65440,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:05:00] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:05:00] local.INFO: Packet analysis {"connection_id":65440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:05:00] local.INFO: Extracted packet for processing {"connection_id":65440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:05: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-05-08 00:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 00:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:05:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":65440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:05:00] local.INFO: GPS data processed {"connection_id":65440,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:05:00] local.INFO: Acknowledgment sent {"connection_id":65440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:05:32] local.INFO: TCP Data received {"connection_id":65440,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:05:32] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:05:32] local.INFO: Packet analysis {"connection_id":65440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:05:32] local.INFO: Extracted packet for processing {"connection_id":65440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:05:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 00:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:05:32] 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-05-08 00:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:05:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:05:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":65440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:05:32] local.INFO: GPS data processed {"connection_id":65440,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:05:32] local.INFO: Acknowledgment sent {"connection_id":65440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:05:54] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:05:54] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:05:54] local.INFO: IMEI packet received {"connection_id":64697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":64697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:05:59] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:05:59] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:05:59] local.INFO: IMEI packet received {"connection_id":64697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":64697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:06:00] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:06:00] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:06:00] local.INFO: Packet analysis {"connection_id":64697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:06:00] local.INFO: Extracted packet for processing {"connection_id":64697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:06: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-05-08 00:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 00:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:06:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":64697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:06:00] local.INFO: GPS data processed {"connection_id":64697,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:06:00] local.INFO: Acknowledgment sent {"connection_id":64697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:06:32] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:06:32] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:06:32] local.INFO: Packet analysis {"connection_id":64697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:06:32] local.INFO: Extracted packet for processing {"connection_id":64697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:06:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 00:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:06:32] 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-05-08 00:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:06:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":64697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:06:32] local.INFO: GPS data processed {"connection_id":64697,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:06:32] local.INFO: Acknowledgment sent {"connection_id":64697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:06:59] local.INFO: TCP Data received {"connection_id":65441,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:06:59] local.INFO: Processing buffer {"connection_id":65441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:06:59] local.INFO: IMEI packet received {"connection_id":65441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":65441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:07:04] local.INFO: TCP Data received {"connection_id":65441,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:04] local.INFO: Processing buffer {"connection_id":65441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:04] local.INFO: IMEI packet received {"connection_id":65441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":65441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:07:05] local.INFO: TCP Data received {"connection_id":65441,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:07:05] local.INFO: Processing buffer {"connection_id":65441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:07:05] local.INFO: Packet analysis {"connection_id":65441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:07:05] local.INFO: Extracted packet for processing {"connection_id":65441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:07: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-05-08 00:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 00:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:07:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":65441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:07:05] local.INFO: GPS data processed {"connection_id":65441,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:07:05] local.INFO: Acknowledgment sent {"connection_id":65441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:07:10] local.INFO: TCP Data received {"connection_id":65441,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:07:10] local.INFO: Processing buffer {"connection_id":65441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:07:10] local.INFO: Packet analysis {"connection_id":65441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:07:10] local.INFO: Extracted packet for processing {"connection_id":65441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 00:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:07: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-05-08 00:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 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-05-08 00:07: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-05-08 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":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:07:10] 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-05-08 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-05-08 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-05-08 00:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:07:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":65441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:07:10] local.INFO: GPS data processed {"connection_id":65441,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:07:10] local.INFO: Acknowledgment sent {"connection_id":65441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:07:54] local.INFO: TCP Data received {"connection_id":64634,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:54] local.INFO: Processing buffer {"connection_id":64634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:54] local.INFO: IMEI packet received {"connection_id":64634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":64634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:07:59] local.INFO: TCP Data received {"connection_id":64634,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:59] local.INFO: Processing buffer {"connection_id":64634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:07:59] local.INFO: IMEI packet received {"connection_id":64634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":64634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:08:00] local.INFO: TCP Data received {"connection_id":64634,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:08:00] local.INFO: Processing buffer {"connection_id":64634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03b6c838012d34c54006aa50700006006229..."} 
[2026-05-08 00:08:00] local.INFO: Packet analysis {"connection_id":64634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:08:00] local.INFO: Extracted packet for processing {"connection_id":64634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03b6"} 
[2026-05-08 00:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":6,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213688320001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:08: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-05-08 00:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778178771000,"timestamp_ms":1778178771000,"timestamp_seconds":1778178771,"priority":1,"record_length":96,"hex_timestamp":"0000019e03b6c838"} 
[2026-05-08 00:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213688320001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213688320001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:08:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213688320001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":64634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:08:00] local.INFO: GPS data processed {"connection_id":64634,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:08:00] local.INFO: Acknowledgment sent {"connection_id":64634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:08:32] local.INFO: TCP Data received {"connection_id":64634,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:08:32] local.INFO: Processing buffer {"connection_id":64634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:08:32] local.INFO: Packet analysis {"connection_id":64634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:08:32] local.INFO: Extracted packet for processing {"connection_id":64634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:08:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:08:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:08:32] 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-05-08 00: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-05-08 00:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:08:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:08:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":64634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:08:32] local.INFO: GPS data processed {"connection_id":64634,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:08:32] local.INFO: Acknowledgment sent {"connection_id":64634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:08:54] local.INFO: TCP Data received {"connection_id":64592,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:08:54] local.INFO: Processing buffer {"connection_id":64592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:08:54] local.INFO: IMEI packet received {"connection_id":64592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":64592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:08:59] local.INFO: TCP Data received {"connection_id":64592,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:08:59] local.INFO: Processing buffer {"connection_id":64592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:08:59] local.INFO: IMEI packet received {"connection_id":64592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":64592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:09:00] local.INFO: TCP Data received {"connection_id":64592,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:09:00] local.INFO: Processing buffer {"connection_id":64592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:09:00] local.INFO: Packet analysis {"connection_id":64592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:09:00] local.INFO: Extracted packet for processing {"connection_id":64592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:09: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-05-08 00:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:09:00] 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-05-08 00:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:09:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":64592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:09:00] local.INFO: GPS data processed {"connection_id":64592,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:09:00] local.INFO: Acknowledgment sent {"connection_id":64592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:09:03] local.INFO: TCP Data received {"connection_id":64591,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:09:03] local.INFO: Processing buffer {"connection_id":64591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:09:03] local.INFO: IMEI packet received {"connection_id":64591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":64591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:09:32] local.INFO: TCP Data received {"connection_id":64592,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:09:32] local.INFO: Processing buffer {"connection_id":64592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:09:32] local.INFO: Packet analysis {"connection_id":64592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:09:32] local.INFO: Extracted packet for processing {"connection_id":64592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:09:32] 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-05-08 00:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:09:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":64592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:09:32] local.INFO: GPS data processed {"connection_id":64592,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:09:32] local.INFO: Acknowledgment sent {"connection_id":64592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:09:48] local.INFO: TCP Data received {"connection_id":65442,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:09:48] local.INFO: Processing buffer {"connection_id":65442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:09:48] local.INFO: IMEI packet received {"connection_id":65442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":65442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:09:54] local.INFO: TCP Data received {"connection_id":64593,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:09:54] local.INFO: Processing buffer {"connection_id":64593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:09:54] local.INFO: IMEI packet received {"connection_id":64593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":64593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:09:59] local.INFO: TCP Data received {"connection_id":64593,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:09:59] local.INFO: Processing buffer {"connection_id":64593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:09:59] local.INFO: IMEI packet received {"connection_id":64593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":64593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:10:00] local.INFO: TCP Data received {"connection_id":64593,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:10:00] local.INFO: Processing buffer {"connection_id":64593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:10:00] local.INFO: Packet analysis {"connection_id":64593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:10:00] local.INFO: Extracted packet for processing {"connection_id":64593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:10: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-05-08 00:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:10:00] 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-05-08 00:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:10:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":64593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:10:00] local.INFO: GPS data processed {"connection_id":64593,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:10:00] local.INFO: Acknowledgment sent {"connection_id":64593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:10:32] local.INFO: TCP Data received {"connection_id":64593,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:10:32] local.INFO: Processing buffer {"connection_id":64593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:10:32] local.INFO: Packet analysis {"connection_id":64593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:10:32] local.INFO: Extracted packet for processing {"connection_id":64593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:10:32] 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-05-08 00:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:10:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":64593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:10:32] local.INFO: GPS data processed {"connection_id":64593,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:10:32] local.INFO: Acknowledgment sent {"connection_id":64593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:10:59] local.INFO: TCP Data received {"connection_id":64636,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:10:59] local.INFO: Processing buffer {"connection_id":64636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:10:59] local.INFO: IMEI packet received {"connection_id":64636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":64636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:11:04] local.INFO: TCP Data received {"connection_id":64636,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:11:04] local.INFO: Processing buffer {"connection_id":64636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:11:04] local.INFO: IMEI packet received {"connection_id":64636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":64636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:11:05] local.INFO: TCP Data received {"connection_id":64636,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:11:05] local.INFO: Processing buffer {"connection_id":64636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:11:05] local.INFO: Packet analysis {"connection_id":64636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:11:05] local.INFO: Extracted packet for processing {"connection_id":64636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:11:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:11: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-05-08 00:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:11:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:11:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":64636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:11:05] local.INFO: GPS data processed {"connection_id":64636,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:11:05] local.INFO: Acknowledgment sent {"connection_id":64636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:11:10] local.INFO: TCP Data received {"connection_id":64636,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:11:10] local.INFO: Processing buffer {"connection_id":64636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:11:10] local.INFO: Packet analysis {"connection_id":64636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:11:10] local.INFO: Extracted packet for processing {"connection_id":64636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:11: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-05-08 00:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:11: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-05-08 00: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:11:10] 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-05-08 00: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-05-08 00:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:11:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:11:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":64636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:11:10] local.INFO: GPS data processed {"connection_id":64636,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:11:10] local.INFO: Acknowledgment sent {"connection_id":64636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:11:54] local.INFO: TCP Data received {"connection_id":64595,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:11:54] local.INFO: Processing buffer {"connection_id":64595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:11:54] local.INFO: IMEI packet received {"connection_id":64595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":64595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:12:00] local.INFO: TCP Data received {"connection_id":64595,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:00] local.INFO: Processing buffer {"connection_id":64595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:00] local.INFO: IMEI packet received {"connection_id":64595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":64595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:12:01] local.INFO: TCP Data received {"connection_id":64595,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:12:01] local.INFO: Processing buffer {"connection_id":64595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:12:01] local.INFO: Packet analysis {"connection_id":64595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:12:01] local.INFO: Extracted packet for processing {"connection_id":64595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:12:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:12: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-05-08 00:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:12:01] 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-05-08 00:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:12:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:12:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":64595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:12:01] local.INFO: GPS data processed {"connection_id":64595,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:12:01] local.INFO: Acknowledgment sent {"connection_id":64595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:12:32] local.INFO: TCP Data received {"connection_id":64595,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:12:32] local.INFO: Processing buffer {"connection_id":64595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:12:32] local.INFO: Packet analysis {"connection_id":64595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:12:32] local.INFO: Extracted packet for processing {"connection_id":64595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:12:32] 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-05-08 00:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:12:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":64595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:12:32] local.INFO: GPS data processed {"connection_id":64595,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:12:32] local.INFO: Acknowledgment sent {"connection_id":64595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:12:55] local.INFO: TCP Data received {"connection_id":64596,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:55] local.INFO: Processing buffer {"connection_id":64596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:55] local.INFO: IMEI packet received {"connection_id":64596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":64596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:12:59] local.INFO: TCP Data received {"connection_id":64596,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:59] local.INFO: Processing buffer {"connection_id":64596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:12:59] local.INFO: IMEI packet received {"connection_id":64596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":64596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:13:00] local.INFO: TCP Data received {"connection_id":64596,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:13:00] local.INFO: Processing buffer {"connection_id":64596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bb6000012d34c54006aa50700004006229..."} 
[2026-05-08 00:13:00] local.INFO: Packet analysis {"connection_id":64596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:13:00] local.INFO: Extracted packet for processing {"connection_id":64596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bb"} 
[2026-05-08 00:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213765376001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:13: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-05-08 00:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179072000,"timestamp_ms":1778179072000,"timestamp_seconds":1778179072,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bb6000"} 
[2026-05-08 00:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 00:13:00] 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-05-08 00:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213765376001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213765376001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213765376001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":64596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:13:00] local.INFO: GPS data processed {"connection_id":64596,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:13:00] local.INFO: Acknowledgment sent {"connection_id":64596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:13:32] local.INFO: TCP Data received {"connection_id":64596,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:13:32] local.INFO: Processing buffer {"connection_id":64596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:13:32] local.INFO: Packet analysis {"connection_id":64596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:13:32] local.INFO: Extracted packet for processing {"connection_id":64596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:13:32] 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-05-08 00:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":64596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:13:32] local.INFO: GPS data processed {"connection_id":64596,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:13:32] local.INFO: Acknowledgment sent {"connection_id":64596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:13:54] local.INFO: TCP Data received {"connection_id":64701,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:13:54] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:13:54] local.INFO: IMEI packet received {"connection_id":64701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":64701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:13:59] local.INFO: TCP Data received {"connection_id":64701,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:13:59] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:13:59] local.INFO: IMEI packet received {"connection_id":64701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":64701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:14:00] local.INFO: TCP Data received {"connection_id":64701,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:14:00] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:14:00] local.INFO: Packet analysis {"connection_id":64701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:14:00] local.INFO: Extracted packet for processing {"connection_id":64701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:14: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-05-08 00:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:14:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":64701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:14:00] local.INFO: GPS data processed {"connection_id":64701,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:14:00] local.INFO: Acknowledgment sent {"connection_id":64701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:14:32] local.INFO: TCP Data received {"connection_id":64701,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:14:32] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:14:32] local.INFO: Packet analysis {"connection_id":64701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:14:32] local.INFO: Extracted packet for processing {"connection_id":64701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:14:32] 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-05-08 00:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:14:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":64701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:14:32] local.INFO: GPS data processed {"connection_id":64701,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:14:32] local.INFO: Acknowledgment sent {"connection_id":64701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:14:59] local.INFO: TCP Data received {"connection_id":64703,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:14:59] local.INFO: Processing buffer {"connection_id":64703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:14:59] local.INFO: IMEI packet received {"connection_id":64703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":64703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:15:04] local.INFO: TCP Data received {"connection_id":64703,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:04] local.INFO: Processing buffer {"connection_id":64703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:04] local.INFO: IMEI packet received {"connection_id":64703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":64703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:15:05] local.INFO: TCP Data received {"connection_id":64703,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:15:05] local.INFO: Processing buffer {"connection_id":64703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:15:05] local.INFO: Packet analysis {"connection_id":64703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:15:05] local.INFO: Extracted packet for processing {"connection_id":64703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:15:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:15:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:15:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:15:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:15: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-05-08 00:15:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:15:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:15:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:15:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:15:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:15:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:15:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:15:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:15:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:15:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:15:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:15:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:15:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:15:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:15:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:15:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:15:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:15:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:15:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:15:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:15:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:15:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:15:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:15:05] local.INFO: DEBUG: GPS processor result {"connection_id":64703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:15:05] local.INFO: GPS data processed {"connection_id":64703,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:15:05] local.INFO: Acknowledgment sent {"connection_id":64703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:15:10] local.INFO: TCP Data received {"connection_id":64703,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:15:10] local.INFO: Processing buffer {"connection_id":64703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:15:10] local.INFO: Packet analysis {"connection_id":64703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:15:10] local.INFO: Extracted packet for processing {"connection_id":64703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:15: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-05-08 00: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:15:10] 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-05-08 00: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-05-08 00:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:15:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":64703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:15:10] local.INFO: GPS data processed {"connection_id":64703,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:15:10] local.INFO: Acknowledgment sent {"connection_id":64703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:15:13] local.INFO: TCP Data received {"connection_id":64702,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:15:13] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:15:13] local.INFO: IMEI packet received {"connection_id":64702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":64702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:15:42] local.INFO: TCP Data received {"connection_id":64637,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:15:42] local.INFO: Processing buffer {"connection_id":64637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:15:42] local.INFO: IMEI packet received {"connection_id":64637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":64637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:15:54] local.INFO: TCP Data received {"connection_id":64598,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:54] local.INFO: Processing buffer {"connection_id":64598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:54] local.INFO: IMEI packet received {"connection_id":64598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":64598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:15:59] local.INFO: TCP Data received {"connection_id":64598,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:59] local.INFO: Processing buffer {"connection_id":64598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:15:59] local.INFO: IMEI packet received {"connection_id":64598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":64598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:16:00] local.INFO: TCP Data received {"connection_id":64598,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:16:00] local.INFO: Processing buffer {"connection_id":64598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:16:00] local.INFO: Packet analysis {"connection_id":64598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:16:00] local.INFO: Extracted packet for processing {"connection_id":64598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:16: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-05-08 00:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:16:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":64598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:16:00] local.INFO: GPS data processed {"connection_id":64598,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:16:00] local.INFO: Acknowledgment sent {"connection_id":64598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:16:32] local.INFO: TCP Data received {"connection_id":64598,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:16:32] local.INFO: Processing buffer {"connection_id":64598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:16:32] local.INFO: Packet analysis {"connection_id":64598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:16:32] local.INFO: Extracted packet for processing {"connection_id":64598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:16:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:16:32] 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-05-08 00:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:16:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":64598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:16:32] local.INFO: GPS data processed {"connection_id":64598,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:16:32] local.INFO: Acknowledgment sent {"connection_id":64598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:16:54] local.INFO: TCP Data received {"connection_id":64704,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:16:54] local.INFO: Processing buffer {"connection_id":64704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:16:54] local.INFO: IMEI packet received {"connection_id":64704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":64704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:16:59] local.INFO: TCP Data received {"connection_id":64704,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:16:59] local.INFO: Processing buffer {"connection_id":64704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:16:59] local.INFO: IMEI packet received {"connection_id":64704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":64704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:17:00] local.INFO: TCP Data received {"connection_id":64704,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:17:00] local.INFO: Processing buffer {"connection_id":64704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:17:00] local.INFO: Packet analysis {"connection_id":64704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:17:00] local.INFO: Extracted packet for processing {"connection_id":64704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:17: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-05-08 00:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:17:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":64704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:17:00] local.INFO: GPS data processed {"connection_id":64704,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:17:00] local.INFO: Acknowledgment sent {"connection_id":64704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:17:32] local.INFO: TCP Data received {"connection_id":64704,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:17:32] local.INFO: Processing buffer {"connection_id":64704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:17:32] local.INFO: Packet analysis {"connection_id":64704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:17:32] local.INFO: Extracted packet for processing {"connection_id":64704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:17:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:17:32] 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-05-08 00:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:17:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":64704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:17:32] local.INFO: GPS data processed {"connection_id":64704,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:17:32] local.INFO: Acknowledgment sent {"connection_id":64704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:17:54] local.INFO: TCP Data received {"connection_id":65444,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:17:54] local.INFO: Processing buffer {"connection_id":65444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:17:54] local.INFO: IMEI packet received {"connection_id":65444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":65444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:17:59] local.INFO: TCP Data received {"connection_id":65444,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:17:59] local.INFO: Processing buffer {"connection_id":65444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:17:59] local.INFO: IMEI packet received {"connection_id":65444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":65444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:18:00] local.INFO: TCP Data received {"connection_id":65444,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:18:00] local.INFO: Processing buffer {"connection_id":65444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:18:00] local.INFO: Packet analysis {"connection_id":65444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:18:00] local.INFO: Extracted packet for processing {"connection_id":65444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:18:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:18: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-05-08 00:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:18:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":65444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:18:00] local.INFO: GPS data processed {"connection_id":65444,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:18:00] local.INFO: Acknowledgment sent {"connection_id":65444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:18:32] local.INFO: TCP Data received {"connection_id":65444,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:18:32] local.INFO: Processing buffer {"connection_id":65444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03bff7c8012d34c54006aa5070000500622a..."} 
[2026-05-08 00:18:32] local.INFO: Packet analysis {"connection_id":65444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:18:32] local.INFO: Extracted packet for processing {"connection_id":65444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03bf"} 
[2026-05-08 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213842432001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179373000,"timestamp_ms":1778179373000,"timestamp_seconds":1778179373,"priority":1,"record_length":96,"hex_timestamp":"0000019e03bff7c8"} 
[2026-05-08 00:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 00:18:32] 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-05-08 00:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213842432001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213842432001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:18:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:18:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213842432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":65444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:18:32] local.INFO: GPS data processed {"connection_id":65444,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:18:32] local.INFO: Acknowledgment sent {"connection_id":65444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:18:59] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:18:59] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:18:59] local.INFO: IMEI packet received {"connection_id":64705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":64705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:19:04] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:04] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:04] local.INFO: IMEI packet received {"connection_id":64705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":64705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:19:05] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:19:05] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:19:05] local.INFO: Packet analysis {"connection_id":64705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:19:05] local.INFO: Extracted packet for processing {"connection_id":64705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:19:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:19:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":64705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:19:05] local.INFO: GPS data processed {"connection_id":64705,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:19:05] local.INFO: Acknowledgment sent {"connection_id":64705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:19:36] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:19:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:19:36] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:19:36] local.INFO: Packet analysis {"connection_id":64705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:19:36] local.INFO: Extracted packet for processing {"connection_id":64705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:19:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:19:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:19:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:19:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:19:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:19:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:19: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-05-08 00: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:19: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-05-08 00: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-05-08 00:19:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:19:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:19:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:19:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:19:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:19:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:19:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:19:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:19:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:19:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:19:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:19:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:19:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:19:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:19:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:19:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:19:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:19:36] local.INFO: DEBUG: GPS processor result {"connection_id":64705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:19:36] local.INFO: GPS data processed {"connection_id":64705,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:19:36] local.INFO: Acknowledgment sent {"connection_id":64705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:19:54] local.INFO: TCP Data received {"connection_id":64600,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:54] local.INFO: Processing buffer {"connection_id":64600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:54] local.INFO: IMEI packet received {"connection_id":64600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":64600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:19:59] local.INFO: TCP Data received {"connection_id":64600,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:59] local.INFO: Processing buffer {"connection_id":64600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:19:59] local.INFO: IMEI packet received {"connection_id":64600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":64600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:20:00] local.INFO: TCP Data received {"connection_id":64600,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:20:00] local.INFO: Processing buffer {"connection_id":64600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:20:00] local.INFO: Packet analysis {"connection_id":64600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:20:00] local.INFO: Extracted packet for processing {"connection_id":64600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:20: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-05-08 00:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:20:00] 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-05-08 00:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:20:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":64600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:20:00] local.INFO: GPS data processed {"connection_id":64600,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:20:00] local.INFO: Acknowledgment sent {"connection_id":64600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:20:32] local.INFO: TCP Data received {"connection_id":64600,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:20:32] local.INFO: Processing buffer {"connection_id":64600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:20:32] local.INFO: Packet analysis {"connection_id":64600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:20:32] local.INFO: Extracted packet for processing {"connection_id":64600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:20:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:20:32] 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-05-08 00: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-05-08 00:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:20:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":64600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:20:32] local.INFO: GPS data processed {"connection_id":64600,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:20:32] local.INFO: Acknowledgment sent {"connection_id":64600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:20:54] local.INFO: TCP Data received {"connection_id":64602,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:20:54] local.INFO: Processing buffer {"connection_id":64602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:20:54] local.INFO: IMEI packet received {"connection_id":64602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":64602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:20:59] local.INFO: TCP Data received {"connection_id":64602,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:20:59] local.INFO: Processing buffer {"connection_id":64602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:20:59] local.INFO: IMEI packet received {"connection_id":64602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":64602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:21:00] local.INFO: TCP Data received {"connection_id":64602,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:21:00] local.INFO: Processing buffer {"connection_id":64602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:21:00] local.INFO: Packet analysis {"connection_id":64602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:21:00] local.INFO: Extracted packet for processing {"connection_id":64602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:21: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-05-08 00:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:21:00] 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-05-08 00:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:21:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":64602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:21:00] local.INFO: GPS data processed {"connection_id":64602,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:21:00] local.INFO: Acknowledgment sent {"connection_id":64602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:21:03] local.INFO: TCP Data received {"connection_id":64601,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:21:03] local.INFO: Processing buffer {"connection_id":64601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:21:03] local.INFO: IMEI packet received {"connection_id":64601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":64601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:21:32] local.INFO: TCP Data received {"connection_id":64602,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:21:32] local.INFO: Processing buffer {"connection_id":64602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:21:32] local.INFO: Packet analysis {"connection_id":64602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:21:32] local.INFO: Extracted packet for processing {"connection_id":64602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:21:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:21:32] 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-05-08 00: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-05-08 00:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:21:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":64602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:21:32] local.INFO: GPS data processed {"connection_id":64602,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:21:32] local.INFO: Acknowledgment sent {"connection_id":64602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:21:40] local.INFO: TCP Data received {"connection_id":64603,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:21:40] local.INFO: Processing buffer {"connection_id":64603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:21:40] local.INFO: IMEI packet received {"connection_id":64603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:21:40] local.INFO: IMEI acknowledgment sent {"connection_id":64603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:21:54] local.INFO: TCP Data received {"connection_id":64706,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:21:54] local.INFO: Processing buffer {"connection_id":64706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:21:54] local.INFO: IMEI packet received {"connection_id":64706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":64706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:21:59] local.INFO: TCP Data received {"connection_id":64706,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:21:59] local.INFO: Processing buffer {"connection_id":64706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:21:59] local.INFO: IMEI packet received {"connection_id":64706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":64706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:22:00] local.INFO: TCP Data received {"connection_id":64706,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:22:00] local.INFO: Processing buffer {"connection_id":64706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:22:00] local.INFO: Packet analysis {"connection_id":64706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:22:00] local.INFO: Extracted packet for processing {"connection_id":64706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:22: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-05-08 00:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:22:00] 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-05-08 00: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-05-08 00:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:22:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":64706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:22:00] local.INFO: GPS data processed {"connection_id":64706,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:22:00] local.INFO: Acknowledgment sent {"connection_id":64706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:22:32] local.INFO: TCP Data received {"connection_id":64706,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:22:32] local.INFO: Processing buffer {"connection_id":64706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:22:32] local.INFO: Packet analysis {"connection_id":64706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:22:32] local.INFO: Extracted packet for processing {"connection_id":64706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:22:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:22:32] 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-05-08 00:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:22:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":64706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:22:32] local.INFO: GPS data processed {"connection_id":64706,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:22:32] local.INFO: Acknowledgment sent {"connection_id":64706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:22:54] local.INFO: TCP Data received {"connection_id":64641,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:22:54] local.INFO: Processing buffer {"connection_id":64641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:22:54] local.INFO: IMEI packet received {"connection_id":64641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":64641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:22:59] local.INFO: TCP Data received {"connection_id":64641,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:22:59] local.INFO: Processing buffer {"connection_id":64641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:22:59] local.INFO: IMEI packet received {"connection_id":64641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":64641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:23:00] local.INFO: TCP Data received {"connection_id":64641,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:23:00] local.INFO: Processing buffer {"connection_id":64641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:23:00] local.INFO: Packet analysis {"connection_id":64641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:23:00] local.INFO: Extracted packet for processing {"connection_id":64641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:23: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-05-08 00:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:23:00] 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-05-08 00:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:23:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":64641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:23:00] local.INFO: GPS data processed {"connection_id":64641,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:23:00] local.INFO: Acknowledgment sent {"connection_id":64641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:23:32] local.INFO: TCP Data received {"connection_id":64641,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:23:32] local.INFO: Processing buffer {"connection_id":64641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c48f90012d34c54006aa5070000500622a..."} 
[2026-05-08 00:23:32] local.INFO: Packet analysis {"connection_id":64641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:23:32] local.INFO: Extracted packet for processing {"connection_id":64641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c4"} 
[2026-05-08 00:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213919488001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179674000,"timestamp_ms":1778179674000,"timestamp_seconds":1778179674,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c48f90"} 
[2026-05-08 00:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:23:32] 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-05-08 00: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-05-08 00:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213919488001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213919488001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:23:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213919488001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":64641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:23:32] local.INFO: GPS data processed {"connection_id":64641,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:23:32] local.INFO: Acknowledgment sent {"connection_id":64641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:23:59] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:23:59] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:23:59] local.INFO: IMEI packet received {"connection_id":64707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":64707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:24:04] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:04] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:04] local.INFO: IMEI packet received {"connection_id":64707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":64707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:24:05] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:24:05] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:24:05] local.INFO: Packet analysis {"connection_id":64707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:24:05] local.INFO: Extracted packet for processing {"connection_id":64707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:24:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:24: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-05-08 00:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:24:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:24:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:24:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:24:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:24:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":64707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:24:05] local.INFO: GPS data processed {"connection_id":64707,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:24:05] local.INFO: Acknowledgment sent {"connection_id":64707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:24:37] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:24:37] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:24:37] local.INFO: Packet analysis {"connection_id":64707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:24:37] local.INFO: Extracted packet for processing {"connection_id":64707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:24:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:24:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:24: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-05-08 00:24:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":64707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:24:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":64707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:24:37] local.INFO: GPS data processed {"connection_id":64707,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:24:37] local.INFO: Acknowledgment sent {"connection_id":64707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:24:54] local.INFO: TCP Data received {"connection_id":65447,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:54] local.INFO: Processing buffer {"connection_id":65447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:54] local.INFO: IMEI packet received {"connection_id":65447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":65447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:24:59] local.INFO: TCP Data received {"connection_id":65447,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:59] local.INFO: Processing buffer {"connection_id":65447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:24:59] local.INFO: IMEI packet received {"connection_id":65447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":65447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:25:00] local.INFO: TCP Data received {"connection_id":65447,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:25:00] local.INFO: Processing buffer {"connection_id":65447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:25:00] local.INFO: Packet analysis {"connection_id":65447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:25:00] local.INFO: Extracted packet for processing {"connection_id":65447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:25: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-05-08 00:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:25:00] 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-05-08 00:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":65447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:25:00] local.INFO: GPS data processed {"connection_id":65447,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:25:00] local.INFO: Acknowledgment sent {"connection_id":65447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:25:32] local.INFO: TCP Data received {"connection_id":65447,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:25:32] local.INFO: Processing buffer {"connection_id":65447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:25:32] local.INFO: Packet analysis {"connection_id":65447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:25:32] local.INFO: Extracted packet for processing {"connection_id":65447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:25:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:25:32] 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-05-08 00:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:25:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":65447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:25:32] local.INFO: GPS data processed {"connection_id":65447,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:25:32] local.INFO: Acknowledgment sent {"connection_id":65447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:25:54] local.INFO: TCP Data received {"connection_id":64605,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:25:54] local.INFO: Processing buffer {"connection_id":64605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:25:54] local.INFO: IMEI packet received {"connection_id":64605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":64605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:25:59] local.INFO: TCP Data received {"connection_id":64605,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:25:59] local.INFO: Processing buffer {"connection_id":64605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:25:59] local.INFO: IMEI packet received {"connection_id":64605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":64605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:26:00] local.INFO: TCP Data received {"connection_id":64605,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:26:00] local.INFO: Processing buffer {"connection_id":64605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:26:00] local.INFO: Packet analysis {"connection_id":64605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:26:00] local.INFO: Extracted packet for processing {"connection_id":64605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:26: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-05-08 00:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:26:00] 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-05-08 00:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":64605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:26:00] local.INFO: GPS data processed {"connection_id":64605,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:26:00] local.INFO: Acknowledgment sent {"connection_id":64605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:26:32] local.INFO: TCP Data received {"connection_id":64605,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:26:32] local.INFO: Processing buffer {"connection_id":64605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:26:32] local.INFO: Packet analysis {"connection_id":64605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:26:32] local.INFO: Extracted packet for processing {"connection_id":64605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:26:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:26:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:26:32] 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-05-08 00:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:26:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:26:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":64605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:26:32] local.INFO: GPS data processed {"connection_id":64605,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:26:32] local.INFO: Acknowledgment sent {"connection_id":64605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:26:54] local.INFO: TCP Data received {"connection_id":64606,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:26:54] local.INFO: Processing buffer {"connection_id":64606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:26:54] local.INFO: IMEI packet received {"connection_id":64606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":64606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:26:59] local.INFO: TCP Data received {"connection_id":64606,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:26:59] local.INFO: Processing buffer {"connection_id":64606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:26:59] local.INFO: IMEI packet received {"connection_id":64606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":64606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:27:01] local.INFO: TCP Data received {"connection_id":64606,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:27:01] local.INFO: Processing buffer {"connection_id":64606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:27:01] local.INFO: Packet analysis {"connection_id":64606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:27:01] local.INFO: Extracted packet for processing {"connection_id":64606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:27:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:27: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-05-08 00:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:27:01] 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-05-08 00:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:27:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:27:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":64606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:27:01] local.INFO: GPS data processed {"connection_id":64606,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:27:01] local.INFO: Acknowledgment sent {"connection_id":64606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:27:08] local.INFO: TCP Data received {"connection_id":64642,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64642,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:27:08] local.INFO: Processing buffer {"connection_id":64642,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:27:08] local.INFO: IMEI packet received {"connection_id":64642,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":64642,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:27:33] local.INFO: TCP Data received {"connection_id":64606,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:27:33] local.INFO: Processing buffer {"connection_id":64606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:27:33] local.INFO: Packet analysis {"connection_id":64606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:27:33] local.INFO: Extracted packet for processing {"connection_id":64606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:27:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:27: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-05-08 00:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:27: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-05-08 00:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:27:33] 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-05-08 00:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:27:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:27:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":64606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:27:33] local.INFO: GPS data processed {"connection_id":64606,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:27:33] local.INFO: Acknowledgment sent {"connection_id":64606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:27:48] local.INFO: TCP Data received {"connection_id":64607,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:27:48] local.INFO: Processing buffer {"connection_id":64607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:27:48] local.INFO: IMEI packet received {"connection_id":64607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":64607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:27:59] local.INFO: TCP Data received {"connection_id":64709,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:27:59] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:27:59] local.INFO: IMEI packet received {"connection_id":64709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":64709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:28:04] local.INFO: TCP Data received {"connection_id":64709,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:28:04] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:28:04] local.INFO: IMEI packet received {"connection_id":64709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":64709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:28:05] local.INFO: TCP Data received {"connection_id":64709,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:28:05] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:28:05] local.INFO: Packet analysis {"connection_id":64709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:28:05] local.INFO: Extracted packet for processing {"connection_id":64709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:28: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-05-08 00:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:28:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":64709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:28:05] local.INFO: GPS data processed {"connection_id":64709,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:28:05] local.INFO: Acknowledgment sent {"connection_id":64709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:28:10] local.INFO: TCP Data received {"connection_id":64709,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:28:10] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03c92758012d34c54006aa5070000500622a..."} 
[2026-05-08 00:28:10] local.INFO: Packet analysis {"connection_id":64709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:28:10] local.INFO: Extracted packet for processing {"connection_id":64709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03c9"} 
[2026-05-08 00:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455213996544001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778179975000,"timestamp_ms":1778179975000,"timestamp_seconds":1778179975,"priority":1,"record_length":96,"hex_timestamp":"0000019e03c92758"} 
[2026-05-08 00:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00: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-05-08 00: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:28:10] 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-05-08 00: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-05-08 00:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455213996544001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455213996544001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:28:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:28:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455213996544001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":64709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:28:10] local.INFO: GPS data processed {"connection_id":64709,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:28:10] local.INFO: Acknowledgment sent {"connection_id":64709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:28:55] local.INFO: TCP Data received {"connection_id":64643,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:28:55] local.INFO: Processing buffer {"connection_id":64643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:28:55] local.INFO: IMEI packet received {"connection_id":64643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":64643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:29:00] local.INFO: TCP Data received {"connection_id":64643,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:00] local.INFO: Processing buffer {"connection_id":64643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:00] local.INFO: IMEI packet received {"connection_id":64643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":64643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:29:01] local.INFO: TCP Data received {"connection_id":64643,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:29:01] local.INFO: Processing buffer {"connection_id":64643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:29:01] local.INFO: Packet analysis {"connection_id":64643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:29:01] local.INFO: Extracted packet for processing {"connection_id":64643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:29:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:29: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-05-08 00:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:29:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:29:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:29:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":64643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:29:01] local.INFO: GPS data processed {"connection_id":64643,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:29:01] local.INFO: Acknowledgment sent {"connection_id":64643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:29:32] local.INFO: TCP Data received {"connection_id":64643,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:29:32] local.INFO: Processing buffer {"connection_id":64643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:29:32] local.INFO: Packet analysis {"connection_id":64643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:29:32] local.INFO: Extracted packet for processing {"connection_id":64643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:29:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:29:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":64643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:29:32] local.INFO: GPS data processed {"connection_id":64643,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:29:32] local.INFO: Acknowledgment sent {"connection_id":64643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:29:54] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:54] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:54] local.INFO: IMEI packet received {"connection_id":64710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":64710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:29:59] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:59] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:29:59] local.INFO: IMEI packet received {"connection_id":64710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":64710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:30:00] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:30:00] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:30:00] local.INFO: Packet analysis {"connection_id":64710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:30:00] local.INFO: Extracted packet for processing {"connection_id":64710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:30: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-05-08 00:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":64710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:30:00] local.INFO: GPS data processed {"connection_id":64710,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:30:00] local.INFO: Acknowledgment sent {"connection_id":64710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:30:32] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:30:32] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:30:32] local.INFO: Packet analysis {"connection_id":64710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:30:32] local.INFO: Extracted packet for processing {"connection_id":64710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:30:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:30:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":64710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:30:32] local.INFO: GPS data processed {"connection_id":64710,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:30:32] local.INFO: Acknowledgment sent {"connection_id":64710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:30:54] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:30:54] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:30:54] local.INFO: IMEI packet received {"connection_id":64646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":64646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:30:59] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:30:59] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:30:59] local.INFO: IMEI packet received {"connection_id":64646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":64646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:31:01] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:31:01] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:31:01] local.INFO: Packet analysis {"connection_id":64646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:31:01] local.INFO: Extracted packet for processing {"connection_id":64646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:31:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:31: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-05-08 00:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:31:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:31:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":64646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:31:01] local.INFO: GPS data processed {"connection_id":64646,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:31:01] local.INFO: Acknowledgment sent {"connection_id":64646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:31:32] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:31:32] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:31:32] local.INFO: Packet analysis {"connection_id":64646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:31:32] local.INFO: Extracted packet for processing {"connection_id":64646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:31:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:31:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:31:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":64646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:31:32] local.INFO: GPS data processed {"connection_id":64646,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:31:32] local.INFO: Acknowledgment sent {"connection_id":64646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:31:59] local.INFO: TCP Data received {"connection_id":65450,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:31:59] local.INFO: Processing buffer {"connection_id":65450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:31:59] local.INFO: IMEI packet received {"connection_id":65450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":65450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:32:04] local.INFO: TCP Data received {"connection_id":65450,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:04] local.INFO: Processing buffer {"connection_id":65450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:04] local.INFO: IMEI packet received {"connection_id":65450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":65450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:32:05] local.INFO: TCP Data received {"connection_id":65450,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:32:05] local.INFO: Processing buffer {"connection_id":65450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:32:05] local.INFO: Packet analysis {"connection_id":65450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:32:05] local.INFO: Extracted packet for processing {"connection_id":65450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:32: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-05-08 00:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:32:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":65450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:32:05] local.INFO: GPS data processed {"connection_id":65450,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:32:05] local.INFO: Acknowledgment sent {"connection_id":65450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:32:37] local.INFO: TCP Data received {"connection_id":65450,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:32:37] local.INFO: Processing buffer {"connection_id":65450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:32:37] local.INFO: Packet analysis {"connection_id":65450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:32:37] local.INFO: Extracted packet for processing {"connection_id":65450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:32:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00: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-05-08 00:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:32:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":65450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":65450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":65450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:32:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:32:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:32:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":65450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:32:37] local.INFO: GPS data processed {"connection_id":65450,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:32:37] local.INFO: Acknowledgment sent {"connection_id":65450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:32:54] local.INFO: TCP Data received {"connection_id":64647,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:54] local.INFO: Processing buffer {"connection_id":64647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:54] local.INFO: IMEI packet received {"connection_id":64647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":64647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:32:59] local.INFO: TCP Data received {"connection_id":64647,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:59] local.INFO: Processing buffer {"connection_id":64647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:32:59] local.INFO: IMEI packet received {"connection_id":64647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":64647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:33:00] local.INFO: TCP Data received {"connection_id":64647,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:33:00] local.INFO: Processing buffer {"connection_id":64647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:33:00] local.INFO: Packet analysis {"connection_id":64647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:33:00] local.INFO: Extracted packet for processing {"connection_id":64647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:33:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:33: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-05-08 00:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:33:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":64647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:33:00] local.INFO: GPS data processed {"connection_id":64647,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:33:00] local.INFO: Acknowledgment sent {"connection_id":64647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:33:17] local.INFO: TCP Data received {"connection_id":64711,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64711,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:33:17] local.INFO: Processing buffer {"connection_id":64711,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:33:17] local.INFO: IMEI packet received {"connection_id":64711,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":64711,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:33:32] local.INFO: TCP Data received {"connection_id":64647,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:33:32] local.INFO: Processing buffer {"connection_id":64647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03cdbf20012d34c54006aa50700000006229..."} 
[2026-05-08 00:33:32] local.INFO: Packet analysis {"connection_id":64647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:33:32] local.INFO: Extracted packet for processing {"connection_id":64647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03cd"} 
[2026-05-08 00:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214073600001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778180276000,"timestamp_ms":1778180276000,"timestamp_seconds":1778180276,"priority":1,"record_length":96,"hex_timestamp":"0000019e03cdbf20"} 
[2026-05-08 00:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 00:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214073600001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214073600001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:33:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214073600001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":64647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:33:32] local.INFO: GPS data processed {"connection_id":64647,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:33:32] local.INFO: Acknowledgment sent {"connection_id":64647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:33:46] local.INFO: TCP Data received {"connection_id":64648,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:33:46] local.INFO: Processing buffer {"connection_id":64648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:33:46] local.INFO: IMEI packet received {"connection_id":64648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":64648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:33:54] local.INFO: TCP Data received {"connection_id":64712,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:33:54] local.INFO: Processing buffer {"connection_id":64712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:33:54] local.INFO: IMEI packet received {"connection_id":64712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":64712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:33:59] local.INFO: TCP Data received {"connection_id":64712,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:33:59] local.INFO: Processing buffer {"connection_id":64712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:33:59] local.INFO: IMEI packet received {"connection_id":64712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":64712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:34:01] local.INFO: TCP Data received {"connection_id":64712,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:34:01] local.INFO: Processing buffer {"connection_id":64712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:34:01] local.INFO: Packet analysis {"connection_id":64712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:34:01] local.INFO: Extracted packet for processing {"connection_id":64712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:34:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:34: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-05-08 00:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:34:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:34:01] 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-05-08 00:34:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:34:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:34:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:34:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":64712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:34:01] local.INFO: GPS data processed {"connection_id":64712,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:34:01] local.INFO: Acknowledgment sent {"connection_id":64712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:34:33] local.INFO: TCP Data received {"connection_id":64712,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:34:33] local.INFO: Processing buffer {"connection_id":64712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:34:33] local.INFO: Packet analysis {"connection_id":64712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:34:33] local.INFO: Extracted packet for processing {"connection_id":64712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:34:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:34: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-05-08 00:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:34: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-05-08 00:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:34:33] 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-05-08 00:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:34:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":64712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:34:33] local.INFO: GPS data processed {"connection_id":64712,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:34:33] local.INFO: Acknowledgment sent {"connection_id":64712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:34:54] local.INFO: TCP Data received {"connection_id":64649,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:34:54] local.INFO: Processing buffer {"connection_id":64649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:34:54] local.INFO: IMEI packet received {"connection_id":64649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":64649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:35:00] local.INFO: TCP Data received {"connection_id":64649,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:35:00] local.INFO: Processing buffer {"connection_id":64649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:35:00] local.INFO: IMEI packet received {"connection_id":64649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":64649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:35:01] local.INFO: TCP Data received {"connection_id":64649,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:35:01] local.INFO: Processing buffer {"connection_id":64649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:35:01] local.INFO: Packet analysis {"connection_id":64649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:35:01] local.INFO: Extracted packet for processing {"connection_id":64649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:35:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:35: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-05-08 00:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:35:01] 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-05-08 00:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:35:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:35:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":64649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:35:01] local.INFO: GPS data processed {"connection_id":64649,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:35:01] local.INFO: Acknowledgment sent {"connection_id":64649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:35:33] local.INFO: TCP Data received {"connection_id":64649,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:35:33] local.INFO: Processing buffer {"connection_id":64649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:35:33] local.INFO: Packet analysis {"connection_id":64649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:35:33] local.INFO: Extracted packet for processing {"connection_id":64649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:35:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:35: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-05-08 00:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:35: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-05-08 00:35:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:35:33] 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-05-08 00:35:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:35:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":64649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:35:33] local.INFO: GPS data processed {"connection_id":64649,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:35:33] local.INFO: Acknowledgment sent {"connection_id":64649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:35:59] local.INFO: TCP Data received {"connection_id":64714,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:35:59] local.INFO: Processing buffer {"connection_id":64714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:35:59] local.INFO: IMEI packet received {"connection_id":64714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":64714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:36:04] local.INFO: TCP Data received {"connection_id":64714,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:04] local.INFO: Processing buffer {"connection_id":64714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:04] local.INFO: IMEI packet received {"connection_id":64714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":64714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:36:05] local.INFO: TCP Data received {"connection_id":64714,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:36:05] local.INFO: Processing buffer {"connection_id":64714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:36:05] local.INFO: Packet analysis {"connection_id":64714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:36:05] local.INFO: Extracted packet for processing {"connection_id":64714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:36: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-05-08 00:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:36:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":64714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:36:05] local.INFO: GPS data processed {"connection_id":64714,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:36:05] local.INFO: Acknowledgment sent {"connection_id":64714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:36:10] local.INFO: TCP Data received {"connection_id":64714,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:36:10] local.INFO: Processing buffer {"connection_id":64714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:36:10] local.INFO: Packet analysis {"connection_id":64714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:36:10] local.INFO: Extracted packet for processing {"connection_id":64714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:36: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-05-08 00: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:36:10] 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-05-08 00: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-05-08 00:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:36:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:36:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":64714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:36:10] local.INFO: GPS data processed {"connection_id":64714,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:36:10] local.INFO: Acknowledgment sent {"connection_id":64714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:36:54] local.INFO: TCP Data received {"connection_id":64715,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:54] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:54] local.INFO: IMEI packet received {"connection_id":64715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":64715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:36:59] local.INFO: TCP Data received {"connection_id":64715,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:59] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:36:59] local.INFO: IMEI packet received {"connection_id":64715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":64715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:37:00] local.INFO: TCP Data received {"connection_id":64715,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:37:00] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:37:00] local.INFO: Packet analysis {"connection_id":64715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:37:00] local.INFO: Extracted packet for processing {"connection_id":64715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:37:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:37: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-05-08 00:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:37:00] 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-05-08 00:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:37:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":64715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:37:00] local.INFO: GPS data processed {"connection_id":64715,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:37:00] local.INFO: Acknowledgment sent {"connection_id":64715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:37:32] local.INFO: TCP Data received {"connection_id":64715,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:37:32] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:37:32] local.INFO: Packet analysis {"connection_id":64715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:37:32] local.INFO: Extracted packet for processing {"connection_id":64715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:37:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:37:32] 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-05-08 00:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:37:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":64715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:37:32] local.INFO: GPS data processed {"connection_id":64715,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:37:32] local.INFO: Acknowledgment sent {"connection_id":64715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:37:54] local.INFO: TCP Data received {"connection_id":64650,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:37:54] local.INFO: Processing buffer {"connection_id":64650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:37:54] local.INFO: IMEI packet received {"connection_id":64650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":64650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:37:59] local.INFO: TCP Data received {"connection_id":64650,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:37:59] local.INFO: Processing buffer {"connection_id":64650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:37:59] local.INFO: IMEI packet received {"connection_id":64650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":64650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:38:00] local.INFO: TCP Data received {"connection_id":64650,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:38:00] local.INFO: Processing buffer {"connection_id":64650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:38:00] local.INFO: Packet analysis {"connection_id":64650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:38:00] local.INFO: Extracted packet for processing {"connection_id":64650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:38: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-05-08 00:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:38:00] 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-05-08 00:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":64650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:38:00] local.INFO: GPS data processed {"connection_id":64650,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:38:00] local.INFO: Acknowledgment sent {"connection_id":64650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:38:32] local.INFO: TCP Data received {"connection_id":64650,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:38:32] local.INFO: Processing buffer {"connection_id":64650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d256e8012d34c54006aa5070000000622b..."} 
[2026-05-08 00:38:32] local.INFO: Packet analysis {"connection_id":64650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:38:32] local.INFO: Extracted packet for processing {"connection_id":64650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d2"} 
[2026-05-08 00:38:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214150656001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778180577000,"timestamp_ms":1778180577000,"timestamp_seconds":1778180577,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d256e8"} 
[2026-05-08 00:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 00:38:32] 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-05-08 00: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-05-08 00:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214150656001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214150656001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:38:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:38:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214150656001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":64650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:38:32] local.INFO: GPS data processed {"connection_id":64650,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:38:32] local.INFO: Acknowledgment sent {"connection_id":64650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:38:54] local.INFO: TCP Data received {"connection_id":65452,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:38:54] local.INFO: Processing buffer {"connection_id":65452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:38:54] local.INFO: IMEI packet received {"connection_id":65452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":65452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:38:59] local.INFO: TCP Data received {"connection_id":65452,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:38:59] local.INFO: Processing buffer {"connection_id":65452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:38:59] local.INFO: IMEI packet received {"connection_id":65452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":65452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:39:00] local.INFO: TCP Data received {"connection_id":65452,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:39:00] local.INFO: Processing buffer {"connection_id":65452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:39:00] local.INFO: Packet analysis {"connection_id":65452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:39:00] local.INFO: Extracted packet for processing {"connection_id":65452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:39: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-05-08 00:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:39:00] 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-05-08 00: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-05-08 00:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:39:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":65452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:39:00] local.INFO: GPS data processed {"connection_id":65452,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:39:00] local.INFO: Acknowledgment sent {"connection_id":65452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:39:18] local.INFO: TCP Data received {"connection_id":64651,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:39:18] local.INFO: Processing buffer {"connection_id":64651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:39:18] local.INFO: IMEI packet received {"connection_id":64651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":64651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:39:32] local.INFO: TCP Data received {"connection_id":65452,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:39:32] local.INFO: Processing buffer {"connection_id":65452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:39:32] local.INFO: Packet analysis {"connection_id":65452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:39:32] local.INFO: Extracted packet for processing {"connection_id":65452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:39:32] 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-05-08 00:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:39:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":65452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:39:32] local.INFO: GPS data processed {"connection_id":65452,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:39:32] local.INFO: Acknowledgment sent {"connection_id":65452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:39:42] local.INFO: TCP Data received {"connection_id":64611,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:39:42] local.INFO: Processing buffer {"connection_id":64611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:39:42] local.INFO: IMEI packet received {"connection_id":64611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":64611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:39:59] local.INFO: TCP Data received {"connection_id":64717,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:39:59] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:39:59] local.INFO: IMEI packet received {"connection_id":64717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":64717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:40:04] local.INFO: TCP Data received {"connection_id":64717,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:04] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:04] local.INFO: IMEI packet received {"connection_id":64717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":64717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:40:05] local.INFO: TCP Data received {"connection_id":64717,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:40:05] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:40:05] local.INFO: Packet analysis {"connection_id":64717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:40:05] local.INFO: Extracted packet for processing {"connection_id":64717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:40: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-05-08 00:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:40:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":64717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:40:05] local.INFO: GPS data processed {"connection_id":64717,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:40:05] local.INFO: Acknowledgment sent {"connection_id":64717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:40:10] local.INFO: TCP Data received {"connection_id":64717,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:40:10] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:40:10] local.INFO: Packet analysis {"connection_id":64717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:40:10] local.INFO: Extracted packet for processing {"connection_id":64717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:40: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-05-08 00: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:40:10] 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-05-08 00: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-05-08 00:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:40:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":64717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:40:10] local.INFO: GPS data processed {"connection_id":64717,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:40:10] local.INFO: Acknowledgment sent {"connection_id":64717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:40:57] local.INFO: TCP Data received {"connection_id":64612,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:57] local.INFO: Processing buffer {"connection_id":64612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:57] local.INFO: IMEI packet received {"connection_id":64612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":64612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:40:59] local.INFO: TCP Data received {"connection_id":64612,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:59] local.INFO: Processing buffer {"connection_id":64612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:40:59] local.INFO: IMEI packet received {"connection_id":64612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":64612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:41:00] local.INFO: TCP Data received {"connection_id":64612,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:00] local.INFO: Processing buffer {"connection_id":64612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:00] local.INFO: Packet analysis {"connection_id":64612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:41:00] local.INFO: Extracted packet for processing {"connection_id":64612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:41: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-05-08 00:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:41:00] 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-05-08 00:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:41:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":64612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:41:00] local.INFO: GPS data processed {"connection_id":64612,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:41:00] local.INFO: Acknowledgment sent {"connection_id":64612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:41:05] local.INFO: TCP Data received {"connection_id":64612,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:05] local.INFO: Processing buffer {"connection_id":64612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:05] local.INFO: Packet analysis {"connection_id":64612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:41:05] local.INFO: Extracted packet for processing {"connection_id":64612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:41: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-05-08 00:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:41:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":64612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:41:05] local.INFO: GPS data processed {"connection_id":64612,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:41:05] local.INFO: Acknowledgment sent {"connection_id":64612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:41:36] local.INFO: TCP Data received {"connection_id":64612,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:36] local.INFO: Processing buffer {"connection_id":64612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:41:36] local.INFO: Packet analysis {"connection_id":64612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:41:36] local.INFO: Extracted packet for processing {"connection_id":64612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:41:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:41:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:41:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:41:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:41:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:41:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:41: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-05-08 00: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:41: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-05-08 00: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-05-08 00:41:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:41:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:41:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:41:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:41:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:41:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:41:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:41:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:41:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:41:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:41:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:41:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:41:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:41:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:41:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:41:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:41:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:41:36] local.INFO: DEBUG: GPS processor result {"connection_id":64612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:41:36] local.INFO: GPS data processed {"connection_id":64612,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:41:36] local.INFO: Acknowledgment sent {"connection_id":64612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:41:54] local.INFO: TCP Data received {"connection_id":64653,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:41:54] local.INFO: Processing buffer {"connection_id":64653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:41:54] local.INFO: IMEI packet received {"connection_id":64653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":64653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:41:59] local.INFO: TCP Data received {"connection_id":64653,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:41:59] local.INFO: Processing buffer {"connection_id":64653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:41:59] local.INFO: IMEI packet received {"connection_id":64653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":64653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:42:01] local.INFO: TCP Data received {"connection_id":64653,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:42:01] local.INFO: Processing buffer {"connection_id":64653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:42:01] local.INFO: Packet analysis {"connection_id":64653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:42:01] local.INFO: Extracted packet for processing {"connection_id":64653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:42:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:42: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-05-08 00:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:42:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:42:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":64653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:42:01] local.INFO: GPS data processed {"connection_id":64653,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:42:01] local.INFO: Acknowledgment sent {"connection_id":64653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:42:33] local.INFO: TCP Data received {"connection_id":64653,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:42:33] local.INFO: Processing buffer {"connection_id":64653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:42:33] local.INFO: Packet analysis {"connection_id":64653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:42:33] local.INFO: Extracted packet for processing {"connection_id":64653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:42:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:42: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-05-08 00:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:42:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:42: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-05-08 00:42:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:42:33] 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-05-08 00:42:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:42:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:42:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:42:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":64653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:42:33] local.INFO: GPS data processed {"connection_id":64653,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:42:33] local.INFO: Acknowledgment sent {"connection_id":64653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:42:54] local.INFO: TCP Data received {"connection_id":65454,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:42:54] local.INFO: Processing buffer {"connection_id":65454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:42:54] local.INFO: IMEI packet received {"connection_id":65454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":65454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:42:59] local.INFO: TCP Data received {"connection_id":65454,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:42:59] local.INFO: Processing buffer {"connection_id":65454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:42:59] local.INFO: IMEI packet received {"connection_id":65454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":65454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:43:01] local.INFO: TCP Data received {"connection_id":65454,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:43:01] local.INFO: Processing buffer {"connection_id":65454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:43:01] local.INFO: Packet analysis {"connection_id":65454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:43:01] local.INFO: Extracted packet for processing {"connection_id":65454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:43:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:43: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-05-08 00:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:43:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:43:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:43:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":65454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:43:01] local.INFO: GPS data processed {"connection_id":65454,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:43:01] local.INFO: Acknowledgment sent {"connection_id":65454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:43:33] local.INFO: TCP Data received {"connection_id":65454,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:43:33] local.INFO: Processing buffer {"connection_id":65454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03d6eeb0012d34c54006aa50700000006228..."} 
[2026-05-08 00:43:33] local.INFO: Packet analysis {"connection_id":65454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:43:33] local.INFO: Extracted packet for processing {"connection_id":65454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03d6"} 
[2026-05-08 00:43:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214227712001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:43: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-05-08 00:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778180878000,"timestamp_ms":1778180878000,"timestamp_seconds":1778180878,"priority":1,"record_length":96,"hex_timestamp":"0000019e03d6eeb0"} 
[2026-05-08 00:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:43: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-05-08 00:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:43:33] 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-05-08 00:43:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214227712001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214227712001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:43:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:43:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214227712001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":65454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:43:33] local.INFO: GPS data processed {"connection_id":65454,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:43:33] local.INFO: Acknowledgment sent {"connection_id":65454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:43:54] local.INFO: TCP Data received {"connection_id":64719,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:43:54] local.INFO: Processing buffer {"connection_id":64719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:43:54] local.INFO: IMEI packet received {"connection_id":64719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":64719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:43:59] local.INFO: TCP Data received {"connection_id":64719,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:43:59] local.INFO: Processing buffer {"connection_id":64719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:43:59] local.INFO: IMEI packet received {"connection_id":64719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":64719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:44:00] local.INFO: TCP Data received {"connection_id":64719,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:44:00] local.INFO: Processing buffer {"connection_id":64719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:44:00] local.INFO: Packet analysis {"connection_id":64719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:44:00] local.INFO: Extracted packet for processing {"connection_id":64719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:44: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-05-08 00:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:44:00] 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-05-08 00:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:44:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":64719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:44:00] local.INFO: GPS data processed {"connection_id":64719,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:44:00] local.INFO: Acknowledgment sent {"connection_id":64719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:44:32] local.INFO: TCP Data received {"connection_id":64719,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:44:32] local.INFO: Processing buffer {"connection_id":64719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:44:32] local.INFO: Packet analysis {"connection_id":64719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:44:32] local.INFO: Extracted packet for processing {"connection_id":64719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:44:32] 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-05-08 00:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:44:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":64719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:44:32] local.INFO: GPS data processed {"connection_id":64719,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:44:32] local.INFO: Acknowledgment sent {"connection_id":64719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:44:59] local.INFO: TCP Data received {"connection_id":64656,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:44:59] local.INFO: Processing buffer {"connection_id":64656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:44:59] local.INFO: IMEI packet received {"connection_id":64656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":64656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:45:04] local.INFO: TCP Data received {"connection_id":64656,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:04] local.INFO: Processing buffer {"connection_id":64656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:04] local.INFO: IMEI packet received {"connection_id":64656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":64656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:45:05] local.INFO: TCP Data received {"connection_id":64656,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:45:05] local.INFO: Processing buffer {"connection_id":64656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:45:05] local.INFO: Packet analysis {"connection_id":64656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:45:05] local.INFO: Extracted packet for processing {"connection_id":64656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:45: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-05-08 00:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:45:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":64656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:45:05] local.INFO: GPS data processed {"connection_id":64656,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:45:05] local.INFO: Acknowledgment sent {"connection_id":64656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:45:10] local.INFO: TCP Data received {"connection_id":64656,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:45:10] local.INFO: Processing buffer {"connection_id":64656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:45:10] local.INFO: Packet analysis {"connection_id":64656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:45:10] local.INFO: Extracted packet for processing {"connection_id":64656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:45: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-05-08 00: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:45:10] 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-05-08 00: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-05-08 00:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:45:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:45:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:45:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":64656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:45:10] local.INFO: GPS data processed {"connection_id":64656,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:45:10] local.INFO: Acknowledgment sent {"connection_id":64656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:45:18] local.INFO: TCP Data received {"connection_id":64655,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:45:18] local.INFO: Processing buffer {"connection_id":64655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:45:18] local.INFO: IMEI packet received {"connection_id":64655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":64655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:45:43] local.INFO: TCP Data received {"connection_id":64614,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:45:43] local.INFO: Processing buffer {"connection_id":64614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:45:43] local.INFO: IMEI packet received {"connection_id":64614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":64614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:45:54] local.INFO: TCP Data received {"connection_id":64720,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:54] local.INFO: Processing buffer {"connection_id":64720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:54] local.INFO: IMEI packet received {"connection_id":64720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":64720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:45:59] local.INFO: TCP Data received {"connection_id":64720,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:59] local.INFO: Processing buffer {"connection_id":64720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:45:59] local.INFO: IMEI packet received {"connection_id":64720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":64720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:46:00] local.INFO: TCP Data received {"connection_id":64720,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:46:00] local.INFO: Processing buffer {"connection_id":64720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:46:00] local.INFO: Packet analysis {"connection_id":64720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:46:00] local.INFO: Extracted packet for processing {"connection_id":64720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:46: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-05-08 00:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:46:00] 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-05-08 00:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:46:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":64720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:46:00] local.INFO: GPS data processed {"connection_id":64720,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:46:00] local.INFO: Acknowledgment sent {"connection_id":64720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:46:32] local.INFO: TCP Data received {"connection_id":64720,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:46:32] local.INFO: Processing buffer {"connection_id":64720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:46:32] local.INFO: Packet analysis {"connection_id":64720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:46:32] local.INFO: Extracted packet for processing {"connection_id":64720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:46:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:46:32] 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-05-08 00:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:46:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":64720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:46:32] local.INFO: GPS data processed {"connection_id":64720,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:46:32] local.INFO: Acknowledgment sent {"connection_id":64720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:46:54] local.INFO: TCP Data received {"connection_id":64615,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:46:54] local.INFO: Processing buffer {"connection_id":64615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:46:54] local.INFO: IMEI packet received {"connection_id":64615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":64615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:46:59] local.INFO: TCP Data received {"connection_id":64615,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:46:59] local.INFO: Processing buffer {"connection_id":64615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:46:59] local.INFO: IMEI packet received {"connection_id":64615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":64615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:47:00] local.INFO: TCP Data received {"connection_id":64615,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:47:00] local.INFO: Processing buffer {"connection_id":64615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:47:00] local.INFO: Packet analysis {"connection_id":64615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:47:00] local.INFO: Extracted packet for processing {"connection_id":64615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:47:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:47: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-05-08 00:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:47:00] 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-05-08 00:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:47:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":64615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:47:00] local.INFO: GPS data processed {"connection_id":64615,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:47:00] local.INFO: Acknowledgment sent {"connection_id":64615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:47:32] local.INFO: TCP Data received {"connection_id":64615,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:47:32] local.INFO: Processing buffer {"connection_id":64615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:47:32] local.INFO: Packet analysis {"connection_id":64615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:47:32] local.INFO: Extracted packet for processing {"connection_id":64615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:47:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:47:32] 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-05-08 00:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:47:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":64615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:47:32] local.INFO: GPS data processed {"connection_id":64615,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:47:32] local.INFO: Acknowledgment sent {"connection_id":64615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:47:54] local.INFO: TCP Data received {"connection_id":65456,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:47:54] local.INFO: Processing buffer {"connection_id":65456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:47:54] local.INFO: IMEI packet received {"connection_id":65456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":65456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:47:59] local.INFO: TCP Data received {"connection_id":65456,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:47:59] local.INFO: Processing buffer {"connection_id":65456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:47:59] local.INFO: IMEI packet received {"connection_id":65456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":65456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:48:01] local.INFO: TCP Data received {"connection_id":65456,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:48:01] local.INFO: Processing buffer {"connection_id":65456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:48:01] local.INFO: Packet analysis {"connection_id":65456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:48:01] local.INFO: Extracted packet for processing {"connection_id":65456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:48:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:48:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:48:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:48:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:48: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-05-08 00:48:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:48:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:48:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:48:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:48:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:48:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:48:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:48:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:48:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:48:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:48:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:48:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:48:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:48:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:48:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:48:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:48:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:48:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:48:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:48:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:48:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:48:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:48:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:48:01] local.INFO: DEBUG: GPS processor result {"connection_id":65456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:48:01] local.INFO: GPS data processed {"connection_id":65456,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:48:01] local.INFO: Acknowledgment sent {"connection_id":65456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:48:32] local.INFO: TCP Data received {"connection_id":65456,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:48:32] local.INFO: Processing buffer {"connection_id":65456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03db8678012d34c54006aa50700000006229..."} 
[2026-05-08 00:48:32] local.INFO: Packet analysis {"connection_id":65456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:48:32] local.INFO: Extracted packet for processing {"connection_id":65456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03db"} 
[2026-05-08 00:48:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214304768001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181179000,"timestamp_ms":1778181179000,"timestamp_seconds":1778181179,"priority":1,"record_length":96,"hex_timestamp":"0000019e03db8678"} 
[2026-05-08 00:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:48:32] 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-05-08 00: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-05-08 00:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214304768001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214304768001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:48:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214304768001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":65456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:48:32] local.INFO: GPS data processed {"connection_id":65456,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:48:32] local.INFO: Acknowledgment sent {"connection_id":65456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:48:59] local.INFO: TCP Data received {"connection_id":64616,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:48:59] local.INFO: Processing buffer {"connection_id":64616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:48:59] local.INFO: IMEI packet received {"connection_id":64616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":64616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:49:04] local.INFO: TCP Data received {"connection_id":64616,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:04] local.INFO: Processing buffer {"connection_id":64616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:04] local.INFO: IMEI packet received {"connection_id":64616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":64616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:49:05] local.INFO: TCP Data received {"connection_id":64616,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:49:05] local.INFO: Processing buffer {"connection_id":64616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:49:05] local.INFO: Packet analysis {"connection_id":64616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:49:05] local.INFO: Extracted packet for processing {"connection_id":64616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:49: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-05-08 00:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:49:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":64616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:49:05] local.INFO: GPS data processed {"connection_id":64616,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:49:05] local.INFO: Acknowledgment sent {"connection_id":64616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:49:10] local.INFO: TCP Data received {"connection_id":64616,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:49:10] local.INFO: Processing buffer {"connection_id":64616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:49:10] local.INFO: Packet analysis {"connection_id":64616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:49:10] local.INFO: Extracted packet for processing {"connection_id":64616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00: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-05-08 00: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:49:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:49:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":64616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:49:10] local.INFO: GPS data processed {"connection_id":64616,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:49:10] local.INFO: Acknowledgment sent {"connection_id":64616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:49:54] local.INFO: TCP Data received {"connection_id":64724,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:54] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:54] local.INFO: IMEI packet received {"connection_id":64724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":64724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:49:59] local.INFO: TCP Data received {"connection_id":64724,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:59] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:49:59] local.INFO: IMEI packet received {"connection_id":64724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":64724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:50:00] local.INFO: TCP Data received {"connection_id":64724,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:50:00] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:50:00] local.INFO: Packet analysis {"connection_id":64724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:50:00] local.INFO: Extracted packet for processing {"connection_id":64724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:50: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-05-08 00:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:50:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":64724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:50:00] local.INFO: GPS data processed {"connection_id":64724,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:50:00] local.INFO: Acknowledgment sent {"connection_id":64724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:50:32] local.INFO: TCP Data received {"connection_id":64724,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:50:32] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:50:32] local.INFO: Packet analysis {"connection_id":64724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:50:32] local.INFO: Extracted packet for processing {"connection_id":64724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:50:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":64724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:50:32] local.INFO: GPS data processed {"connection_id":64724,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:50:32] local.INFO: Acknowledgment sent {"connection_id":64724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:50:54] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:50:54] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:50:54] local.INFO: IMEI packet received {"connection_id":64726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":64726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:50:59] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:50:59] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:50:59] local.INFO: IMEI packet received {"connection_id":64726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":64726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:51:00] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:51:00] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:51:00] local.INFO: Packet analysis {"connection_id":64726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:51:00] local.INFO: Extracted packet for processing {"connection_id":64726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:51: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-05-08 00:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:51:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":64726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:51:00] local.INFO: GPS data processed {"connection_id":64726,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:51:00] local.INFO: Acknowledgment sent {"connection_id":64726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:51:13] local.INFO: TCP Data received {"connection_id":64725,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:51:13] local.INFO: Processing buffer {"connection_id":64725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:51:13] local.INFO: IMEI packet received {"connection_id":64725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":64725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:51:32] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:51:32] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:51:32] local.INFO: Packet analysis {"connection_id":64726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:51:32] local.INFO: Extracted packet for processing {"connection_id":64726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:51:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:51:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:51:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":64726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:51:32] local.INFO: GPS data processed {"connection_id":64726,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:51:32] local.INFO: Acknowledgment sent {"connection_id":64726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:51:42] local.INFO: TCP Data received {"connection_id":65458,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:51:42] local.INFO: Processing buffer {"connection_id":65458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:51:42] local.INFO: IMEI packet received {"connection_id":65458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":65458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:51:54] local.INFO: TCP Data received {"connection_id":64657,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:51:54] local.INFO: Processing buffer {"connection_id":64657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:51:54] local.INFO: IMEI packet received {"connection_id":64657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":64657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:51:59] local.INFO: TCP Data received {"connection_id":64657,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:51:59] local.INFO: Processing buffer {"connection_id":64657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:51:59] local.INFO: IMEI packet received {"connection_id":64657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":64657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:52:00] local.INFO: TCP Data received {"connection_id":64657,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:52:01] local.INFO: Processing buffer {"connection_id":64657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:52:01] local.INFO: Packet analysis {"connection_id":64657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:52:01] local.INFO: Extracted packet for processing {"connection_id":64657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:52:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:52: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-05-08 00:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:52:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:52:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:52:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:52:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":64657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:52:01] local.INFO: GPS data processed {"connection_id":64657,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:52:01] local.INFO: Acknowledgment sent {"connection_id":64657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:52:32] local.INFO: TCP Data received {"connection_id":64657,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:52:32] local.INFO: Processing buffer {"connection_id":64657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:52:32] local.INFO: Packet analysis {"connection_id":64657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:52:32] local.INFO: Extracted packet for processing {"connection_id":64657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:52:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:52:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":64657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:52:32] local.INFO: GPS data processed {"connection_id":64657,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:52:32] local.INFO: Acknowledgment sent {"connection_id":64657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:52:59] local.INFO: TCP Data received {"connection_id":65459,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:52:59] local.INFO: Processing buffer {"connection_id":65459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:52:59] local.INFO: IMEI packet received {"connection_id":65459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":65459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:53:04] local.INFO: TCP Data received {"connection_id":65459,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:04] local.INFO: Processing buffer {"connection_id":65459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:04] local.INFO: IMEI packet received {"connection_id":65459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":65459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:53:05] local.INFO: TCP Data received {"connection_id":65459,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:53:05] local.INFO: Processing buffer {"connection_id":65459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:53:05] local.INFO: Packet analysis {"connection_id":65459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:53:05] local.INFO: Extracted packet for processing {"connection_id":65459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:53: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-05-08 00:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:53:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":65459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:53:05] local.INFO: GPS data processed {"connection_id":65459,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:53:05] local.INFO: Acknowledgment sent {"connection_id":65459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:53:10] local.INFO: TCP Data received {"connection_id":65459,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:53:10] local.INFO: Processing buffer {"connection_id":65459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e01e40012d34c54006aa50700002006229..."} 
[2026-05-08 00:53:10] local.INFO: Packet analysis {"connection_id":65459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:53:10] local.INFO: Extracted packet for processing {"connection_id":65459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e0"} 
[2026-05-08 00:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214381824001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:53: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-05-08 00:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778181480000,"timestamp_ms":1778181480000,"timestamp_seconds":1778181480,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e01e40"} 
[2026-05-08 00:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 00:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214381824001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214381824001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:53:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214381824001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":65459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:53:10] local.INFO: GPS data processed {"connection_id":65459,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:53:10] local.INFO: Acknowledgment sent {"connection_id":65459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:53:54] local.INFO: TCP Data received {"connection_id":64619,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:54] local.INFO: Processing buffer {"connection_id":64619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:54] local.INFO: IMEI packet received {"connection_id":64619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":64619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:53:59] local.INFO: TCP Data received {"connection_id":64619,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:59] local.INFO: Processing buffer {"connection_id":64619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:53:59] local.INFO: IMEI packet received {"connection_id":64619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":64619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:54:01] local.INFO: TCP Data received {"connection_id":64619,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:54:01] local.INFO: Processing buffer {"connection_id":64619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:54:01] local.INFO: Packet analysis {"connection_id":64619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:54:01] local.INFO: Extracted packet for processing {"connection_id":64619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:54:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:54: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-05-08 00:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:54:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:54:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":64619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:54:01] local.INFO: GPS data processed {"connection_id":64619,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:54:01] local.INFO: Acknowledgment sent {"connection_id":64619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:54:33] local.INFO: TCP Data received {"connection_id":64619,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:54:33] local.INFO: Processing buffer {"connection_id":64619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:54:33] local.INFO: Packet analysis {"connection_id":64619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:54:33] local.INFO: Extracted packet for processing {"connection_id":64619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:54:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:54: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-05-08 00:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:54: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-05-08 00:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:54:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:54:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":64619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:54:33] local.INFO: GPS data processed {"connection_id":64619,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:54:33] local.INFO: Acknowledgment sent {"connection_id":64619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:54:54] local.INFO: TCP Data received {"connection_id":65460,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:54:54] local.INFO: Processing buffer {"connection_id":65460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:54:54] local.INFO: IMEI packet received {"connection_id":65460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":65460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:54:59] local.INFO: TCP Data received {"connection_id":65460,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:54:59] local.INFO: Processing buffer {"connection_id":65460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:54:59] local.INFO: IMEI packet received {"connection_id":65460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":65460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:55:01] local.INFO: TCP Data received {"connection_id":65460,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:55:01] local.INFO: Processing buffer {"connection_id":65460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:55:01] local.INFO: Packet analysis {"connection_id":65460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:55:01] local.INFO: Extracted packet for processing {"connection_id":65460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:55:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:55: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-05-08 00:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:55:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:55:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":65460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:55:01] local.INFO: GPS data processed {"connection_id":65460,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:55:01] local.INFO: Acknowledgment sent {"connection_id":65460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:55:32] local.INFO: TCP Data received {"connection_id":65460,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:55:32] local.INFO: Processing buffer {"connection_id":65460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:55:32] local.INFO: Packet analysis {"connection_id":65460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:55:32] local.INFO: Extracted packet for processing {"connection_id":65460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:55:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:55:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":65460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:55:32] local.INFO: GPS data processed {"connection_id":65460,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:55:32] local.INFO: Acknowledgment sent {"connection_id":65460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:55:54] local.INFO: TCP Data received {"connection_id":64660,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:55:54] local.INFO: Processing buffer {"connection_id":64660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:55:54] local.INFO: IMEI packet received {"connection_id":64660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":64660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:55:59] local.INFO: TCP Data received {"connection_id":64660,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:55:59] local.INFO: Processing buffer {"connection_id":64660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:55:59] local.INFO: IMEI packet received {"connection_id":64660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":64660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:56:01] local.INFO: TCP Data received {"connection_id":64660,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:56:01] local.INFO: Processing buffer {"connection_id":64660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:56:01] local.INFO: Packet analysis {"connection_id":64660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:56:01] local.INFO: Extracted packet for processing {"connection_id":64660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:56:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:56:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:56:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":64660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:56:01] local.INFO: GPS data processed {"connection_id":64660,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:56:01] local.INFO: Acknowledgment sent {"connection_id":64660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:56:32] local.INFO: TCP Data received {"connection_id":64660,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:56:32] local.INFO: Processing buffer {"connection_id":64660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:56:32] local.INFO: Packet analysis {"connection_id":64660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:56:32] local.INFO: Extracted packet for processing {"connection_id":64660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:56:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:56:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":64660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:56:32] local.INFO: GPS data processed {"connection_id":64660,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:56:32] local.INFO: Acknowledgment sent {"connection_id":64660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:56:54] local.INFO: TCP Data received {"connection_id":65461,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:56:54] local.INFO: Processing buffer {"connection_id":65461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:56:54] local.INFO: IMEI packet received {"connection_id":65461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":65461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:56:59] local.INFO: TCP Data received {"connection_id":65461,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:56:59] local.INFO: Processing buffer {"connection_id":65461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:56:59] local.INFO: IMEI packet received {"connection_id":65461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":65461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:57:01] local.INFO: TCP Data received {"connection_id":65461,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:57:01] local.INFO: Processing buffer {"connection_id":65461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:57:01] local.INFO: Packet analysis {"connection_id":65461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:57:01] local.INFO: Extracted packet for processing {"connection_id":65461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:57:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:57: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-05-08 00:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:57:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:57:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":65461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:57:01] local.INFO: GPS data processed {"connection_id":65461,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:57:01] local.INFO: Acknowledgment sent {"connection_id":65461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:57:08] local.INFO: TCP Data received {"connection_id":64661,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:57:08] local.INFO: Processing buffer {"connection_id":64661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:57:08] local.INFO: IMEI packet received {"connection_id":64661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":64661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:57:32] local.INFO: TCP Data received {"connection_id":65461,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:57:32] local.INFO: Processing buffer {"connection_id":65461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:57:32] local.INFO: Packet analysis {"connection_id":65461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:57:32] local.INFO: Extracted packet for processing {"connection_id":65461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:57:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:57: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-05-08 00:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:57: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-05-08 00: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00: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-05-08 00:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:57:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":65461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:57:33] local.INFO: GPS data processed {"connection_id":65461,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:57:33] local.INFO: Acknowledgment sent {"connection_id":65461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:57:42] local.INFO: TCP Data received {"connection_id":64727,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:57:42] local.INFO: Processing buffer {"connection_id":64727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 00:57:42] local.INFO: IMEI packet received {"connection_id":64727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 00:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":64727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:57:54] local.INFO: TCP Data received {"connection_id":65462,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:57:54] local.INFO: Processing buffer {"connection_id":65462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:57:54] local.INFO: IMEI packet received {"connection_id":65462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":65462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:57:59] local.INFO: TCP Data received {"connection_id":65462,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:57:59] local.INFO: Processing buffer {"connection_id":65462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:57:59] local.INFO: IMEI packet received {"connection_id":65462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":65462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:58:00] local.INFO: TCP Data received {"connection_id":65462,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:58:00] local.INFO: Processing buffer {"connection_id":65462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:58:00] local.INFO: Packet analysis {"connection_id":65462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:58:00] local.INFO: Extracted packet for processing {"connection_id":65462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:58:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:58: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-05-08 00:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:58:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":65462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:58:00] local.INFO: GPS data processed {"connection_id":65462,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:58:00] local.INFO: Acknowledgment sent {"connection_id":65462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:58:32] local.INFO: TCP Data received {"connection_id":65462,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:58:32] local.INFO: Processing buffer {"connection_id":65462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e4b608012d34c54006aa5070000a006226..."} 
[2026-05-08 00:58:32] local.INFO: Packet analysis {"connection_id":65462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:58:32] local.INFO: Extracted packet for processing {"connection_id":65462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e4"} 
[2026-05-08 00:58:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":10,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214458880001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 00:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778181781000,"timestamp_ms":1778181781000,"timestamp_seconds":1778181781,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e4b608"} 
[2026-05-08 00:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 00:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214458880001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214458880001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:58:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214458880001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":65462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:58:32] local.INFO: GPS data processed {"connection_id":65462,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:58:32] local.INFO: Acknowledgment sent {"connection_id":65462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:58:59] local.INFO: TCP Data received {"connection_id":64728,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:58:59] local.INFO: Processing buffer {"connection_id":64728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:58:59] local.INFO: IMEI packet received {"connection_id":64728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":64728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:59:04] local.INFO: TCP Data received {"connection_id":64728,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:04] local.INFO: Processing buffer {"connection_id":64728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:04] local.INFO: IMEI packet received {"connection_id":64728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":64728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 00:59:05] local.INFO: TCP Data received {"connection_id":64728,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 00:59:05] local.INFO: Processing buffer {"connection_id":64728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 00:59:05] local.INFO: Packet analysis {"connection_id":64728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 00:59:05] local.INFO: Extracted packet for processing {"connection_id":64728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 00:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00:59: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-05-08 00:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 00:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 00:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 00:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:59:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":64728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:59:05] local.INFO: GPS data processed {"connection_id":64728,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:59:05] local.INFO: Acknowledgment sent {"connection_id":64728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:59:10] local.INFO: TCP Data received {"connection_id":64728,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 00:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 00:59:10] local.INFO: Processing buffer {"connection_id":64728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 00:59:10] local.INFO: Packet analysis {"connection_id":64728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 00:59:10] local.INFO: Extracted packet for processing {"connection_id":64728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 00:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 00: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-05-08 00:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 00:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 00:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 00: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-05-08 00:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 00:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 00:59: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-05-08 00: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 00:59:10] 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-05-08 00: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-05-08 00:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 00:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 00:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 00:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 00:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 00:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 00:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 00:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 00:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 00:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 00:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 00:59:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 00:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 00:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 00:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 00:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 00:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":64728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 00:59:10] local.INFO: GPS data processed {"connection_id":64728,"processed":1,"errors":0,"total":1} 
[2026-05-08 00:59:10] local.INFO: Acknowledgment sent {"connection_id":64728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 00:59:54] local.INFO: TCP Data received {"connection_id":64663,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:54] local.INFO: Processing buffer {"connection_id":64663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:54] local.INFO: IMEI packet received {"connection_id":64663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 00:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":64663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 00:59:59] local.INFO: TCP Data received {"connection_id":64663,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:59] local.INFO: Processing buffer {"connection_id":64663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 00:59:59] local.INFO: IMEI packet received {"connection_id":64663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 00:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":64663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:00:00] local.INFO: TCP Data received {"connection_id":64663,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:00:00] local.INFO: Processing buffer {"connection_id":64663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:00:00] local.INFO: Packet analysis {"connection_id":64663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:00:00] local.INFO: Extracted packet for processing {"connection_id":64663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:00: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-05-08 01:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 01:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:00:00] 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-05-08 01:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":64663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:00:00] local.INFO: GPS data processed {"connection_id":64663,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:00:00] local.INFO: Acknowledgment sent {"connection_id":64663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:00:32] local.INFO: TCP Data received {"connection_id":64663,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:00:32] local.INFO: Processing buffer {"connection_id":64663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:00:32] local.INFO: Packet analysis {"connection_id":64663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:00:32] local.INFO: Extracted packet for processing {"connection_id":64663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:00:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 01:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:00:32] 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-05-08 01:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:00:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":64663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:00:32] local.INFO: GPS data processed {"connection_id":64663,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:00:32] local.INFO: Acknowledgment sent {"connection_id":64663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:00:54] local.INFO: TCP Data received {"connection_id":64729,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:00:54] local.INFO: Processing buffer {"connection_id":64729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:00:54] local.INFO: IMEI packet received {"connection_id":64729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":64729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:00:59] local.INFO: TCP Data received {"connection_id":64729,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:00:59] local.INFO: Processing buffer {"connection_id":64729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:00:59] local.INFO: IMEI packet received {"connection_id":64729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":64729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:01:00] local.INFO: TCP Data received {"connection_id":64729,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:01:00] local.INFO: Processing buffer {"connection_id":64729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:01:00] local.INFO: Packet analysis {"connection_id":64729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:01:00] local.INFO: Extracted packet for processing {"connection_id":64729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:01:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:01: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-05-08 01:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 01:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:01:00] 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-05-08 01:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:01:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":64729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:01:00] local.INFO: GPS data processed {"connection_id":64729,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:01:00] local.INFO: Acknowledgment sent {"connection_id":64729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:01:32] local.INFO: TCP Data received {"connection_id":64729,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:01:32] local.INFO: Processing buffer {"connection_id":64729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:01:32] local.INFO: Packet analysis {"connection_id":64729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:01:32] local.INFO: Extracted packet for processing {"connection_id":64729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 01:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:01:32] 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-05-08 01:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:01:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":64729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:01:32] local.INFO: GPS data processed {"connection_id":64729,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:01:32] local.INFO: Acknowledgment sent {"connection_id":64729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:01:54] local.INFO: TCP Data received {"connection_id":64664,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:01:54] local.INFO: Processing buffer {"connection_id":64664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:01:54] local.INFO: IMEI packet received {"connection_id":64664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":64664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:01:59] local.INFO: TCP Data received {"connection_id":64664,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:01:59] local.INFO: Processing buffer {"connection_id":64664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:01:59] local.INFO: IMEI packet received {"connection_id":64664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":64664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:02:00] local.INFO: TCP Data received {"connection_id":64664,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:02:00] local.INFO: Processing buffer {"connection_id":64664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:02:00] local.INFO: Packet analysis {"connection_id":64664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:02:00] local.INFO: Extracted packet for processing {"connection_id":64664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:02: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-05-08 01:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 01:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:02:00] 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-05-08 01:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:02:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":64664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:02:00] local.INFO: GPS data processed {"connection_id":64664,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:02:00] local.INFO: Acknowledgment sent {"connection_id":64664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:02:32] local.INFO: TCP Data received {"connection_id":64664,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:02:32] local.INFO: Processing buffer {"connection_id":64664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:02:32] local.INFO: Packet analysis {"connection_id":64664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:02:32] local.INFO: Extracted packet for processing {"connection_id":64664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:02:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 01:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:02:32] 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-05-08 01:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:02:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:02:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":64664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:02:32] local.INFO: GPS data processed {"connection_id":64664,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:02:32] local.INFO: Acknowledgment sent {"connection_id":64664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:02:59] local.INFO: TCP Data received {"connection_id":64730,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:02:59] local.INFO: Processing buffer {"connection_id":64730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:02:59] local.INFO: IMEI packet received {"connection_id":64730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":64730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:03:04] local.INFO: TCP Data received {"connection_id":64730,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:04] local.INFO: Processing buffer {"connection_id":64730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:04] local.INFO: IMEI packet received {"connection_id":64730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":64730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:03:05] local.INFO: TCP Data received {"connection_id":64730,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:03:05] local.INFO: Processing buffer {"connection_id":64730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:03:05] local.INFO: Packet analysis {"connection_id":64730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:03:05] local.INFO: Extracted packet for processing {"connection_id":64730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:03:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:03:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:03:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:03:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:03: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-05-08 01:03:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 01:03:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:03:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:03:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:03:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:03:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:03:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:03:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:03:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:03:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:03:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:03:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:03:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:03:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:03:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:03:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:03:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:03:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:03:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:03:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:03:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:03:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:03:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:03:05] local.INFO: DEBUG: GPS processor result {"connection_id":64730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:03:05] local.INFO: GPS data processed {"connection_id":64730,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:03:05] local.INFO: Acknowledgment sent {"connection_id":64730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:03:10] local.INFO: TCP Data received {"connection_id":64730,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:03:10] local.INFO: Processing buffer {"connection_id":64730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03e94dd0012d34c54006aa5070000b006226..."} 
[2026-05-08 01:03:10] local.INFO: Packet analysis {"connection_id":64730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:03:10] local.INFO: Extracted packet for processing {"connection_id":64730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03e9"} 
[2026-05-08 01:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":11,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214535936001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:03: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-05-08 01:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778182082000,"timestamp_ms":1778182082000,"timestamp_seconds":1778182082,"priority":1,"record_length":96,"hex_timestamp":"0000019e03e94dd0"} 
[2026-05-08 01:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:03: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-05-08 01: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:03:10] 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-05-08 01: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-05-08 01:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:03:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214535936001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214535936001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:03:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:03:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214535936001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":64730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:03:10] local.INFO: GPS data processed {"connection_id":64730,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:03:10] local.INFO: Acknowledgment sent {"connection_id":64730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:03:23] local.INFO: TCP Data received {"connection_id":64623,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:03:23] local.INFO: Processing buffer {"connection_id":64623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:03:23] local.INFO: IMEI packet received {"connection_id":64623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":64623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:03:42] local.INFO: TCP Data received {"connection_id":64624,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:03:42] local.INFO: Processing buffer {"connection_id":64624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:03:42] local.INFO: IMEI packet received {"connection_id":64624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":64624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:03:54] local.INFO: TCP Data received {"connection_id":64625,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:54] local.INFO: Processing buffer {"connection_id":64625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:54] local.INFO: IMEI packet received {"connection_id":64625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":64625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:03:59] local.INFO: TCP Data received {"connection_id":64625,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:59] local.INFO: Processing buffer {"connection_id":64625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:03:59] local.INFO: IMEI packet received {"connection_id":64625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":64625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:04:02] local.INFO: TCP Data received {"connection_id":64625,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:04:02] local.INFO: Processing buffer {"connection_id":64625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:04:02] local.INFO: Packet analysis {"connection_id":64625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:04:02] local.INFO: Extracted packet for processing {"connection_id":64625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:04:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:04: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-05-08 01:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":64625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":64625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":64625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:04:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:04:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":64625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:04:02] local.INFO: GPS data processed {"connection_id":64625,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:04:02] local.INFO: Acknowledgment sent {"connection_id":64625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:04:33] local.INFO: TCP Data received {"connection_id":64625,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:04:33] local.INFO: Processing buffer {"connection_id":64625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:04:33] local.INFO: Packet analysis {"connection_id":64625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:04:33] local.INFO: Extracted packet for processing {"connection_id":64625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:04:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:04: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-05-08 01:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:04: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-05-08 01:04:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:04: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-05-08 01:04:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:04:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:04:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":64625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:04:33] local.INFO: GPS data processed {"connection_id":64625,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:04:33] local.INFO: Acknowledgment sent {"connection_id":64625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:04:54] local.INFO: TCP Data received {"connection_id":64665,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:04:54] local.INFO: Processing buffer {"connection_id":64665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:04:54] local.INFO: IMEI packet received {"connection_id":64665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":64665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:04:59] local.INFO: TCP Data received {"connection_id":64665,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:04:59] local.INFO: Processing buffer {"connection_id":64665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:04:59] local.INFO: IMEI packet received {"connection_id":64665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":64665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:05:00] local.INFO: TCP Data received {"connection_id":64665,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:05:00] local.INFO: Processing buffer {"connection_id":64665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:05:00] local.INFO: Packet analysis {"connection_id":64665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:05:00] local.INFO: Extracted packet for processing {"connection_id":64665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:05: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-05-08 01:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:05:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":64665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:05:00] local.INFO: GPS data processed {"connection_id":64665,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:05:00] local.INFO: Acknowledgment sent {"connection_id":64665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:05:32] local.INFO: TCP Data received {"connection_id":64665,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:05:32] local.INFO: Processing buffer {"connection_id":64665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:05:32] local.INFO: Packet analysis {"connection_id":64665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:05:32] local.INFO: Extracted packet for processing {"connection_id":64665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:05:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:05:32] 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-05-08 01:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:05:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:05:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":64665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:05:32] local.INFO: GPS data processed {"connection_id":64665,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:05:32] local.INFO: Acknowledgment sent {"connection_id":64665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:05:53] local.INFO: TCP Data received {"connection_id":65465,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:05:54] local.INFO: Processing buffer {"connection_id":65465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:05:54] local.INFO: IMEI packet received {"connection_id":65465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":65465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:05:59] local.INFO: TCP Data received {"connection_id":65465,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:05:59] local.INFO: Processing buffer {"connection_id":65465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:05:59] local.INFO: IMEI packet received {"connection_id":65465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":65465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:06:00] local.INFO: TCP Data received {"connection_id":65465,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:06:00] local.INFO: Processing buffer {"connection_id":65465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:06:00] local.INFO: Packet analysis {"connection_id":65465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:06:00] local.INFO: Extracted packet for processing {"connection_id":65465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:06: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-05-08 01:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:06:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":65465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:06:00] local.INFO: GPS data processed {"connection_id":65465,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:06:00] local.INFO: Acknowledgment sent {"connection_id":65465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:06:32] local.INFO: TCP Data received {"connection_id":65465,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:06:32] local.INFO: Processing buffer {"connection_id":65465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:06:32] local.INFO: Packet analysis {"connection_id":65465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:06:32] local.INFO: Extracted packet for processing {"connection_id":65465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:06:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:06:32] 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-05-08 01:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:06:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":65465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:06:32] local.INFO: GPS data processed {"connection_id":65465,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:06:32] local.INFO: Acknowledgment sent {"connection_id":65465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:06:59] local.INFO: TCP Data received {"connection_id":65466,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:06:59] local.INFO: Processing buffer {"connection_id":65466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:06:59] local.INFO: IMEI packet received {"connection_id":65466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":65466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:07:04] local.INFO: TCP Data received {"connection_id":65466,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:04] local.INFO: Processing buffer {"connection_id":65466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:04] local.INFO: IMEI packet received {"connection_id":65466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":65466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:07:05] local.INFO: TCP Data received {"connection_id":65466,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:07:05] local.INFO: Processing buffer {"connection_id":65466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:07:05] local.INFO: Packet analysis {"connection_id":65466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:07:05] local.INFO: Extracted packet for processing {"connection_id":65466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:07: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-05-08 01:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:07:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":65466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:07:05] local.INFO: GPS data processed {"connection_id":65466,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:07:05] local.INFO: Acknowledgment sent {"connection_id":65466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:07:10] local.INFO: TCP Data received {"connection_id":65466,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:07:10] local.INFO: Processing buffer {"connection_id":65466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:07:10] local.INFO: Packet analysis {"connection_id":65466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:07:10] local.INFO: Extracted packet for processing {"connection_id":65466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:07: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-05-08 01:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:07: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-05-08 01: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:07:10] 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-05-08 01: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-05-08 01:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:07:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:07:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":65466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:07:10] local.INFO: GPS data processed {"connection_id":65466,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:07:10] local.INFO: Acknowledgment sent {"connection_id":65466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:07:54] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:54] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:54] local.INFO: IMEI packet received {"connection_id":64731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":64731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:07:59] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:59] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:07:59] local.INFO: IMEI packet received {"connection_id":64731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":64731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:08:00] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:00] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:00] local.INFO: Packet analysis {"connection_id":64731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:08:00] local.INFO: Extracted packet for processing {"connection_id":64731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:08: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-05-08 01:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:08:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":64731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:08:00] local.INFO: GPS data processed {"connection_id":64731,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:08:00] local.INFO: Acknowledgment sent {"connection_id":64731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:08:05] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:05] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:05] local.INFO: Packet analysis {"connection_id":64731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:08:05] local.INFO: Extracted packet for processing {"connection_id":64731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:08:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:08: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-05-08 01:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:08:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:08:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:08:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:08:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":64731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:08:05] local.INFO: GPS data processed {"connection_id":64731,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:08:05] local.INFO: Acknowledgment sent {"connection_id":64731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:08:36] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:36] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03ede598012d34c54006aa50700009006228..."} 
[2026-05-08 01:08:36] local.INFO: Packet analysis {"connection_id":64731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:08:36] local.INFO: Extracted packet for processing {"connection_id":64731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03ed"} 
[2026-05-08 01:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214612992001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778182383000,"timestamp_ms":1778182383000,"timestamp_seconds":1778182383,"priority":1,"record_length":96,"hex_timestamp":"0000019e03ede598"} 
[2026-05-08 01:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:08: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-05-08 01: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 01:08: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-05-08 01: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-05-08 01:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214612992001,"66":24897,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214612992001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214612992001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":64731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:08:36] local.INFO: GPS data processed {"connection_id":64731,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:08:36] local.INFO: Acknowledgment sent {"connection_id":64731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:08:54] local.INFO: TCP Data received {"connection_id":64670,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:08:54] local.INFO: Processing buffer {"connection_id":64670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:08:54] local.INFO: IMEI packet received {"connection_id":64670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":64670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:08:59] local.INFO: TCP Data received {"connection_id":64670,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:08:59] local.INFO: Processing buffer {"connection_id":64670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:08:59] local.INFO: IMEI packet received {"connection_id":64670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":64670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:09:01] local.INFO: TCP Data received {"connection_id":64670,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:09:01] local.INFO: Processing buffer {"connection_id":64670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:09:01] local.INFO: Packet analysis {"connection_id":64670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:09:01] local.INFO: Extracted packet for processing {"connection_id":64670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:09:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:09: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-05-08 01:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:09:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:09:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:09:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:09:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":64670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:09:01] local.INFO: GPS data processed {"connection_id":64670,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:09:01] local.INFO: Acknowledgment sent {"connection_id":64670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:09:18] local.INFO: TCP Data received {"connection_id":64732,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:09:18] local.INFO: Processing buffer {"connection_id":64732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:09:18] local.INFO: IMEI packet received {"connection_id":64732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":64732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:09:32] local.INFO: TCP Data received {"connection_id":64670,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:09:32] local.INFO: Processing buffer {"connection_id":64670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:09:32] local.INFO: Packet analysis {"connection_id":64670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:09:32] local.INFO: Extracted packet for processing {"connection_id":64670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:09:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":64670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:09:33] local.INFO: GPS data processed {"connection_id":64670,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:09:33] local.INFO: Acknowledgment sent {"connection_id":64670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:09:47] local.INFO: TCP Data received {"connection_id":65467,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:09:47] local.INFO: Processing buffer {"connection_id":65467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:09:47] local.INFO: IMEI packet received {"connection_id":65467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":65467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:09:54] local.INFO: TCP Data received {"connection_id":64671,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:09:54] local.INFO: Processing buffer {"connection_id":64671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:09:54] local.INFO: IMEI packet received {"connection_id":64671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":64671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:09:59] local.INFO: TCP Data received {"connection_id":64671,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:09:59] local.INFO: Processing buffer {"connection_id":64671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:09:59] local.INFO: IMEI packet received {"connection_id":64671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":64671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:10:00] local.INFO: TCP Data received {"connection_id":64671,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:10:00] local.INFO: Processing buffer {"connection_id":64671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:10:00] local.INFO: Packet analysis {"connection_id":64671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:10:00] local.INFO: Extracted packet for processing {"connection_id":64671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:10: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-05-08 01:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:10:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":64671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:10:00] local.INFO: GPS data processed {"connection_id":64671,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:10:00] local.INFO: Acknowledgment sent {"connection_id":64671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:10:32] local.INFO: TCP Data received {"connection_id":64671,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:10:32] local.INFO: Processing buffer {"connection_id":64671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:10:32] local.INFO: Packet analysis {"connection_id":64671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:10:32] local.INFO: Extracted packet for processing {"connection_id":64671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:10:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":64671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:10:32] local.INFO: GPS data processed {"connection_id":64671,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:10:32] local.INFO: Acknowledgment sent {"connection_id":64671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:10:54] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:10:54] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:10:54] local.INFO: IMEI packet received {"connection_id":64734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":64734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:10:59] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:10:59] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:10:59] local.INFO: IMEI packet received {"connection_id":64734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":64734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:11:00] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:11:00] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:11:00] local.INFO: Packet analysis {"connection_id":64734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:11:00] local.INFO: Extracted packet for processing {"connection_id":64734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:11: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-05-08 01:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:11:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":64734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:11:00] local.INFO: GPS data processed {"connection_id":64734,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:11:00] local.INFO: Acknowledgment sent {"connection_id":64734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:11:32] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:11:32] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:11:32] local.INFO: Packet analysis {"connection_id":64734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:11:32] local.INFO: Extracted packet for processing {"connection_id":64734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:11:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":64734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:11:32] local.INFO: GPS data processed {"connection_id":64734,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:11:32] local.INFO: Acknowledgment sent {"connection_id":64734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:11:59] local.INFO: TCP Data received {"connection_id":64672,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:11:59] local.INFO: Processing buffer {"connection_id":64672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:11:59] local.INFO: IMEI packet received {"connection_id":64672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":64672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:12:04] local.INFO: TCP Data received {"connection_id":64672,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:04] local.INFO: Processing buffer {"connection_id":64672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:04] local.INFO: IMEI packet received {"connection_id":64672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":64672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:12:05] local.INFO: TCP Data received {"connection_id":64672,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:12:05] local.INFO: Processing buffer {"connection_id":64672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:12:05] local.INFO: Packet analysis {"connection_id":64672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:12:05] local.INFO: Extracted packet for processing {"connection_id":64672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:12:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":64672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:12:05] local.INFO: GPS data processed {"connection_id":64672,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:12:05] local.INFO: Acknowledgment sent {"connection_id":64672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:12:10] local.INFO: TCP Data received {"connection_id":64672,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:12:10] local.INFO: Processing buffer {"connection_id":64672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:12:10] local.INFO: Packet analysis {"connection_id":64672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:12:10] local.INFO: Extracted packet for processing {"connection_id":64672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:12: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-05-08 01: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:12:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:12:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":64672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:12:10] local.INFO: GPS data processed {"connection_id":64672,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:12:10] local.INFO: Acknowledgment sent {"connection_id":64672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:12:54] local.INFO: TCP Data received {"connection_id":64627,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:54] local.INFO: Processing buffer {"connection_id":64627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:54] local.INFO: IMEI packet received {"connection_id":64627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":64627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:12:59] local.INFO: TCP Data received {"connection_id":64627,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:59] local.INFO: Processing buffer {"connection_id":64627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:12:59] local.INFO: IMEI packet received {"connection_id":64627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":64627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:13:00] local.INFO: TCP Data received {"connection_id":64627,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:13:00] local.INFO: Processing buffer {"connection_id":64627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:13:00] local.INFO: Packet analysis {"connection_id":64627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:13:00] local.INFO: Extracted packet for processing {"connection_id":64627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:13: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-05-08 01:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":64627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:13:00] local.INFO: GPS data processed {"connection_id":64627,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:13:00] local.INFO: Acknowledgment sent {"connection_id":64627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:13:32] local.INFO: TCP Data received {"connection_id":64627,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:13:32] local.INFO: Processing buffer {"connection_id":64627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f27d60012d34c54006aa50700009006226..."} 
[2026-05-08 01:13:32] local.INFO: Packet analysis {"connection_id":64627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:13:32] local.INFO: Extracted packet for processing {"connection_id":64627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f2"} 
[2026-05-08 01:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214690048001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182684000,"timestamp_ms":1778182684000,"timestamp_seconds":1778182684,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f27d60"} 
[2026-05-08 01:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 01:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214690048001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214690048001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214690048001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":64627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:13:32] local.INFO: GPS data processed {"connection_id":64627,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:13:32] local.INFO: Acknowledgment sent {"connection_id":64627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:13:55] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:13:55] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:13:55] local.INFO: IMEI packet received {"connection_id":64735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":64735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:13:59] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:13:59] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:13:59] local.INFO: IMEI packet received {"connection_id":64735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":64735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:14:00] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:14:00] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:14:00] local.INFO: Packet analysis {"connection_id":64735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:14:00] local.INFO: Extracted packet for processing {"connection_id":64735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:14: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-05-08 01:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:14:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":64735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:14:00] local.INFO: GPS data processed {"connection_id":64735,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:14:00] local.INFO: Acknowledgment sent {"connection_id":64735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:14:31] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:14:31] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:14:31] local.INFO: Packet analysis {"connection_id":64735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:14:31] local.INFO: Extracted packet for processing {"connection_id":64735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:14:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":64735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:14:31] local.INFO: GPS data processed {"connection_id":64735,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:14:31] local.INFO: Acknowledgment sent {"connection_id":64735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:14:54] local.INFO: TCP Data received {"connection_id":64629,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:14:54] local.INFO: Processing buffer {"connection_id":64629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:14:54] local.INFO: IMEI packet received {"connection_id":64629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":64629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:14:59] local.INFO: TCP Data received {"connection_id":64629,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:14:59] local.INFO: Processing buffer {"connection_id":64629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:14:59] local.INFO: IMEI packet received {"connection_id":64629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":64629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:15:00] local.INFO: TCP Data received {"connection_id":64629,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:15:00] local.INFO: Processing buffer {"connection_id":64629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:15:00] local.INFO: Packet analysis {"connection_id":64629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:15:00] local.INFO: Extracted packet for processing {"connection_id":64629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:15: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-05-08 01:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:15:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":64629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:15:00] local.INFO: GPS data processed {"connection_id":64629,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:15:00] local.INFO: Acknowledgment sent {"connection_id":64629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:15:17] local.INFO: TCP Data received {"connection_id":64628,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:15:17] local.INFO: Processing buffer {"connection_id":64628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:15:17] local.INFO: IMEI packet received {"connection_id":64628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":64628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:15:32] local.INFO: TCP Data received {"connection_id":64629,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:15:32] local.INFO: Processing buffer {"connection_id":64629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:15:32] local.INFO: Packet analysis {"connection_id":64629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:15:32] local.INFO: Extracted packet for processing {"connection_id":64629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:15:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":64629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:15:32] local.INFO: GPS data processed {"connection_id":64629,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:15:32] local.INFO: Acknowledgment sent {"connection_id":64629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:15:43] local.INFO: TCP Data received {"connection_id":65469,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:15:43] local.INFO: Processing buffer {"connection_id":65469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:15:43] local.INFO: IMEI packet received {"connection_id":65469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":65469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:15:54] local.INFO: TCP Data received {"connection_id":64630,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:15:54] local.INFO: Processing buffer {"connection_id":64630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:15:54] local.INFO: IMEI packet received {"connection_id":64630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":64630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:15:59] local.INFO: TCP Data received {"connection_id":64630,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:15:59] local.INFO: Processing buffer {"connection_id":64630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:15:59] local.INFO: IMEI packet received {"connection_id":64630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":64630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:16:00] local.INFO: TCP Data received {"connection_id":64630,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:16:00] local.INFO: Processing buffer {"connection_id":64630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:16:00] local.INFO: Packet analysis {"connection_id":64630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:16:00] local.INFO: Extracted packet for processing {"connection_id":64630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:16: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-05-08 01:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:16:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":64630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:16:00] local.INFO: GPS data processed {"connection_id":64630,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:16:00] local.INFO: Acknowledgment sent {"connection_id":64630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:16:32] local.INFO: TCP Data received {"connection_id":64630,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:16:32] local.INFO: Processing buffer {"connection_id":64630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:16:32] local.INFO: Packet analysis {"connection_id":64630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:16:32] local.INFO: Extracted packet for processing {"connection_id":64630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:16:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:16:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":64630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:16:32] local.INFO: GPS data processed {"connection_id":64630,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:16:32] local.INFO: Acknowledgment sent {"connection_id":64630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:16:59] local.INFO: TCP Data received {"connection_id":64674,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:16:59] local.INFO: Processing buffer {"connection_id":64674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:16:59] local.INFO: IMEI packet received {"connection_id":64674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":64674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:17:04] local.INFO: TCP Data received {"connection_id":64674,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:04] local.INFO: Processing buffer {"connection_id":64674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:04] local.INFO: IMEI packet received {"connection_id":64674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":64674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:17:05] local.INFO: TCP Data received {"connection_id":64674,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:17:05] local.INFO: Processing buffer {"connection_id":64674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:17:05] local.INFO: Packet analysis {"connection_id":64674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:17:05] local.INFO: Extracted packet for processing {"connection_id":64674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:17: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-05-08 01:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:17:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":64674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:17:05] local.INFO: GPS data processed {"connection_id":64674,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:17:05] local.INFO: Acknowledgment sent {"connection_id":64674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:17:10] local.INFO: TCP Data received {"connection_id":64674,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:17:10] local.INFO: Processing buffer {"connection_id":64674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:17:10] local.INFO: Packet analysis {"connection_id":64674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:17:10] local.INFO: Extracted packet for processing {"connection_id":64674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:17: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-05-08 01: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":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:17:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:17:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:17:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":64674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:17:10] local.INFO: GPS data processed {"connection_id":64674,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:17:10] local.INFO: Acknowledgment sent {"connection_id":64674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:17:54] local.INFO: TCP Data received {"connection_id":64631,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:54] local.INFO: Processing buffer {"connection_id":64631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:54] local.INFO: IMEI packet received {"connection_id":64631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":64631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:17:59] local.INFO: TCP Data received {"connection_id":64631,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:59] local.INFO: Processing buffer {"connection_id":64631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:17:59] local.INFO: IMEI packet received {"connection_id":64631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":64631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:18:00] local.INFO: TCP Data received {"connection_id":64631,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:18:00] local.INFO: Processing buffer {"connection_id":64631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:18:00] local.INFO: Packet analysis {"connection_id":64631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:18:00] local.INFO: Extracted packet for processing {"connection_id":64631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:18:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:18: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-05-08 01:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:18:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":64631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:18:00] local.INFO: GPS data processed {"connection_id":64631,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:18:00] local.INFO: Acknowledgment sent {"connection_id":64631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:18:32] local.INFO: TCP Data received {"connection_id":64631,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:18:32] local.INFO: Processing buffer {"connection_id":64631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03f71528012d34c54006aa50700009006227..."} 
[2026-05-08 01:18:32] local.INFO: Packet analysis {"connection_id":64631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:18:32] local.INFO: Extracted packet for processing {"connection_id":64631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03f7"} 
[2026-05-08 01:18:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":9,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214767104001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778182985000,"timestamp_ms":1778182985000,"timestamp_seconds":1778182985,"priority":1,"record_length":96,"hex_timestamp":"0000019e03f71528"} 
[2026-05-08 01:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 01:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214767104001,"66":24604,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214767104001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:18:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:18:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214767104001,"power":24604,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":64631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:18:32] local.INFO: GPS data processed {"connection_id":64631,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:18:32] local.INFO: Acknowledgment sent {"connection_id":64631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:18:54] local.INFO: TCP Data received {"connection_id":65472,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:18:54] local.INFO: Processing buffer {"connection_id":65472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:18:54] local.INFO: IMEI packet received {"connection_id":65472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":65472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:18:59] local.INFO: TCP Data received {"connection_id":65472,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:18:59] local.INFO: Processing buffer {"connection_id":65472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:18:59] local.INFO: IMEI packet received {"connection_id":65472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":65472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:19:00] local.INFO: TCP Data received {"connection_id":65472,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:19:00] local.INFO: Processing buffer {"connection_id":65472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:19:00] local.INFO: Packet analysis {"connection_id":65472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:19:00] local.INFO: Extracted packet for processing {"connection_id":65472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:19: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-05-08 01:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:19:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":65472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:19:00] local.INFO: GPS data processed {"connection_id":65472,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:19:00] local.INFO: Acknowledgment sent {"connection_id":65472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:19:32] local.INFO: TCP Data received {"connection_id":65472,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:19:32] local.INFO: Processing buffer {"connection_id":65472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:19:32] local.INFO: Packet analysis {"connection_id":65472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:19:32] local.INFO: Extracted packet for processing {"connection_id":65472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:19:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:19:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:19:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":65472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:19:32] local.INFO: GPS data processed {"connection_id":65472,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:19:32] local.INFO: Acknowledgment sent {"connection_id":65472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:19:54] local.INFO: TCP Data received {"connection_id":64675,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:19:54] local.INFO: Processing buffer {"connection_id":64675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:19:54] local.INFO: IMEI packet received {"connection_id":64675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":64675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:19:59] local.INFO: TCP Data received {"connection_id":64675,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:19:59] local.INFO: Processing buffer {"connection_id":64675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:19:59] local.INFO: IMEI packet received {"connection_id":64675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":64675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:20:00] local.INFO: TCP Data received {"connection_id":64675,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:20:00] local.INFO: Processing buffer {"connection_id":64675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:20:00] local.INFO: Packet analysis {"connection_id":64675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:20:00] local.INFO: Extracted packet for processing {"connection_id":64675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:20: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-05-08 01:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:20:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":64675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:20:00] local.INFO: GPS data processed {"connection_id":64675,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:20:00] local.INFO: Acknowledgment sent {"connection_id":64675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:20:32] local.INFO: TCP Data received {"connection_id":64675,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:20:32] local.INFO: Processing buffer {"connection_id":64675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:20:32] local.INFO: Packet analysis {"connection_id":64675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:20:32] local.INFO: Extracted packet for processing {"connection_id":64675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:20:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:20:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":64675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:20:32] local.INFO: GPS data processed {"connection_id":64675,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:20:32] local.INFO: Acknowledgment sent {"connection_id":64675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:20:53] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:20:53] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:20:53] local.INFO: IMEI packet received {"connection_id":64737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":64737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:20:59] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:20:59] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:20:59] local.INFO: IMEI packet received {"connection_id":64737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":64737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:21:00] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:21:00] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:21:00] local.INFO: Packet analysis {"connection_id":64737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:21:00] local.INFO: Extracted packet for processing {"connection_id":64737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:21: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-05-08 01:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:21:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":64737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:21:00] local.INFO: GPS data processed {"connection_id":64737,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:21:00] local.INFO: Acknowledgment sent {"connection_id":64737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:21:18] local.INFO: TCP Data received {"connection_id":65473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:21:18] local.INFO: Processing buffer {"connection_id":65473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:21:18] local.INFO: IMEI packet received {"connection_id":65473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":65473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:21:32] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:21:32] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:21:32] local.INFO: Packet analysis {"connection_id":64737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:21:32] local.INFO: Extracted packet for processing {"connection_id":64737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:21:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:21:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":64737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:21:32] local.INFO: GPS data processed {"connection_id":64737,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:21:32] local.INFO: Acknowledgment sent {"connection_id":64737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:21:42] local.INFO: TCP Data received {"connection_id":65474,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:21:42] local.INFO: Processing buffer {"connection_id":65474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:21:42] local.INFO: IMEI packet received {"connection_id":65474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":65474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:21:59] local.INFO: TCP Data received {"connection_id":64676,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:21:59] local.INFO: Processing buffer {"connection_id":64676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:21:59] local.INFO: IMEI packet received {"connection_id":64676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":64676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:22:04] local.INFO: TCP Data received {"connection_id":64676,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:04] local.INFO: Processing buffer {"connection_id":64676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:04] local.INFO: IMEI packet received {"connection_id":64676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":64676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:22:05] local.INFO: TCP Data received {"connection_id":64676,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:22:05] local.INFO: Processing buffer {"connection_id":64676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:22:05] local.INFO: Packet analysis {"connection_id":64676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:22:05] local.INFO: Extracted packet for processing {"connection_id":64676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:22:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:22:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:22:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:22:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:22: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-05-08 01:22:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:22:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:22:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:22:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:22:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:22:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:22:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:22:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:22:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:22:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:22:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:22:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:22:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:22:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:22:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:22:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:22:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:22:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:22:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:22:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:22:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:22:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:22:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:22:05] local.INFO: DEBUG: GPS processor result {"connection_id":64676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:22:05] local.INFO: GPS data processed {"connection_id":64676,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:22:05] local.INFO: Acknowledgment sent {"connection_id":64676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:22:10] local.INFO: TCP Data received {"connection_id":64676,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:22:10] local.INFO: Processing buffer {"connection_id":64676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:22:10] local.INFO: Packet analysis {"connection_id":64676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:22:10] local.INFO: Extracted packet for processing {"connection_id":64676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:22:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:22:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":64676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:22:10] local.INFO: GPS data processed {"connection_id":64676,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:22:10] local.INFO: Acknowledgment sent {"connection_id":64676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:22:54] local.INFO: TCP Data received {"connection_id":65475,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:54] local.INFO: Processing buffer {"connection_id":65475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:54] local.INFO: IMEI packet received {"connection_id":65475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":65475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:22:59] local.INFO: TCP Data received {"connection_id":65475,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:59] local.INFO: Processing buffer {"connection_id":65475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:22:59] local.INFO: IMEI packet received {"connection_id":65475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":65475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:23:00] local.INFO: TCP Data received {"connection_id":65475,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:23:00] local.INFO: Processing buffer {"connection_id":65475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:23:00] local.INFO: Packet analysis {"connection_id":65475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:23:00] local.INFO: Extracted packet for processing {"connection_id":65475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:23: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-05-08 01:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:23:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":65475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:23:00] local.INFO: GPS data processed {"connection_id":65475,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:23:00] local.INFO: Acknowledgment sent {"connection_id":65475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:23:32] local.INFO: TCP Data received {"connection_id":65475,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:23:32] local.INFO: Processing buffer {"connection_id":65475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e03fbacf0012d34c54006aa5070000500622a..."} 
[2026-05-08 01:23:32] local.INFO: Packet analysis {"connection_id":65475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:23:32] local.INFO: Extracted packet for processing {"connection_id":65475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e03fb"} 
[2026-05-08 01:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214844160001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183286000,"timestamp_ms":1778183286000,"timestamp_seconds":1778183286,"priority":1,"record_length":96,"hex_timestamp":"0000019e03fbacf0"} 
[2026-05-08 01:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":96,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 01:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":930,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214844160001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214844160001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:23:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214844160001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":65475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:23:32] local.INFO: GPS data processed {"connection_id":65475,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:23:32] local.INFO: Acknowledgment sent {"connection_id":65475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:23:53] local.INFO: TCP Data received {"connection_id":64635,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:23:53] local.INFO: Processing buffer {"connection_id":64635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:23:53] local.INFO: IMEI packet received {"connection_id":64635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":64635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:23:59] local.INFO: TCP Data received {"connection_id":64635,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64635,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:23:59] local.INFO: Processing buffer {"connection_id":64635,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:23:59] local.INFO: IMEI packet received {"connection_id":64635,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":64635,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:24:00] local.INFO: TCP Data received {"connection_id":64635,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:24:00] local.INFO: Processing buffer {"connection_id":64635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:24:00] local.INFO: Packet analysis {"connection_id":64635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:24:00] local.INFO: Extracted packet for processing {"connection_id":64635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:24: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-05-08 01:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:24:00] 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-05-08 01:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:24:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":64635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:24:00] local.INFO: GPS data processed {"connection_id":64635,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:24:00] local.INFO: Acknowledgment sent {"connection_id":64635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:24:32] local.INFO: TCP Data received {"connection_id":64635,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:24:32] local.INFO: Processing buffer {"connection_id":64635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:24:32] local.INFO: Packet analysis {"connection_id":64635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:24:32] local.INFO: Extracted packet for processing {"connection_id":64635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:24:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:24:32] 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-05-08 01:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64635,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:24:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":64635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:24:32] local.INFO: GPS data processed {"connection_id":64635,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:24:32] local.INFO: Acknowledgment sent {"connection_id":64635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:24:53] local.INFO: TCP Data received {"connection_id":64677,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:24:53] local.INFO: Processing buffer {"connection_id":64677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:24:53] local.INFO: IMEI packet received {"connection_id":64677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":64677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:24:59] local.INFO: TCP Data received {"connection_id":64677,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:24:59] local.INFO: Processing buffer {"connection_id":64677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:24:59] local.INFO: IMEI packet received {"connection_id":64677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":64677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:25:00] local.INFO: TCP Data received {"connection_id":64677,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:25:00] local.INFO: Processing buffer {"connection_id":64677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:25:00] local.INFO: Packet analysis {"connection_id":64677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:25:00] local.INFO: Extracted packet for processing {"connection_id":64677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:25: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-05-08 01:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:25:00] 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-05-08 01:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":64677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:25:00] local.INFO: GPS data processed {"connection_id":64677,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:25:00] local.INFO: Acknowledgment sent {"connection_id":64677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:25:32] local.INFO: TCP Data received {"connection_id":64677,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:25:32] local.INFO: Processing buffer {"connection_id":64677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:25:32] local.INFO: Packet analysis {"connection_id":64677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:25:32] local.INFO: Extracted packet for processing {"connection_id":64677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:25:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:25:32] 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-05-08 01:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:25:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":64677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:25:32] local.INFO: GPS data processed {"connection_id":64677,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:25:32] local.INFO: Acknowledgment sent {"connection_id":64677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:25:59] local.INFO: TCP Data received {"connection_id":64741,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:25:59] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:25:59] local.INFO: IMEI packet received {"connection_id":64741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":64741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:26:04] local.INFO: TCP Data received {"connection_id":64741,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:04] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:04] local.INFO: IMEI packet received {"connection_id":64741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":64741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:26:05] local.INFO: TCP Data received {"connection_id":64741,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:26:05] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:26:05] local.INFO: Packet analysis {"connection_id":64741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:26:05] local.INFO: Extracted packet for processing {"connection_id":64741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":64741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:26:05] local.INFO: GPS data processed {"connection_id":64741,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:26:05] local.INFO: Acknowledgment sent {"connection_id":64741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:26:10] local.INFO: TCP Data received {"connection_id":64741,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:26:10] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:26:10] local.INFO: Packet analysis {"connection_id":64741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:26:10] local.INFO: Extracted packet for processing {"connection_id":64741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01: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-05-08 01: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:26:10] 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-05-08 01: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-05-08 01:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:26:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:26:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":64741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:26:10] local.INFO: GPS data processed {"connection_id":64741,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:26:10] local.INFO: Acknowledgment sent {"connection_id":64741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:26:53] local.INFO: TCP Data received {"connection_id":64678,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:53] local.INFO: Processing buffer {"connection_id":64678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:53] local.INFO: IMEI packet received {"connection_id":64678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":64678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:26:59] local.INFO: TCP Data received {"connection_id":64678,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:59] local.INFO: Processing buffer {"connection_id":64678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:26:59] local.INFO: IMEI packet received {"connection_id":64678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":64678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:27:00] local.INFO: TCP Data received {"connection_id":64678,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:27:00] local.INFO: Processing buffer {"connection_id":64678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:27:00] local.INFO: Packet analysis {"connection_id":64678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:27:00] local.INFO: Extracted packet for processing {"connection_id":64678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:27:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:27: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-05-08 01:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:27:00] 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-05-08 01:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:27:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":64678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:27:00] local.INFO: GPS data processed {"connection_id":64678,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:27:00] local.INFO: Acknowledgment sent {"connection_id":64678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:27:07] local.INFO: TCP Data received {"connection_id":65476,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:27:07] local.INFO: Processing buffer {"connection_id":65476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:27:07] local.INFO: IMEI packet received {"connection_id":65476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":65476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:27:32] local.INFO: TCP Data received {"connection_id":64678,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:27:32] local.INFO: Processing buffer {"connection_id":64678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:27:32] local.INFO: Packet analysis {"connection_id":64678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:27:32] local.INFO: Extracted packet for processing {"connection_id":64678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:27:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:27:32] 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-05-08 01:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:27:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:27:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":64678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:27:32] local.INFO: GPS data processed {"connection_id":64678,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:27:32] local.INFO: Acknowledgment sent {"connection_id":64678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:27:42] local.INFO: TCP Data received {"connection_id":65477,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:27:42] local.INFO: Processing buffer {"connection_id":65477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:27:42] local.INFO: IMEI packet received {"connection_id":65477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":65477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:27:54] local.INFO: TCP Data received {"connection_id":64636,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:27:54] local.INFO: Processing buffer {"connection_id":64636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:27:54] local.INFO: IMEI packet received {"connection_id":64636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":64636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:27:59] local.INFO: TCP Data received {"connection_id":64636,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:27:59] local.INFO: Processing buffer {"connection_id":64636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:27:59] local.INFO: IMEI packet received {"connection_id":64636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":64636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:28:00] local.INFO: TCP Data received {"connection_id":64636,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:28:00] local.INFO: Processing buffer {"connection_id":64636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:28:00] local.INFO: Packet analysis {"connection_id":64636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:28:00] local.INFO: Extracted packet for processing {"connection_id":64636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:28: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-05-08 01:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:28:00] 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-05-08 01:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:28:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":64636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:28:00] local.INFO: GPS data processed {"connection_id":64636,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:28:00] local.INFO: Acknowledgment sent {"connection_id":64636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:28:32] local.INFO: TCP Data received {"connection_id":64636,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:28:32] local.INFO: Processing buffer {"connection_id":64636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040044b8012d34c54006aa5070000000622b..."} 
[2026-05-08 01:28:32] local.INFO: Packet analysis {"connection_id":64636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:28:32] local.INFO: Extracted packet for processing {"connection_id":64636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0400"} 
[2026-05-08 01:28:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214921216001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183587000,"timestamp_ms":1778183587000,"timestamp_seconds":1778183587,"priority":1,"record_length":96,"hex_timestamp":"0000019e040044b8"} 
[2026-05-08 01:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:28:32] 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-05-08 01:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214921216001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214921216001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:28:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214921216001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":64636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:28:32] local.INFO: GPS data processed {"connection_id":64636,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:28:32] local.INFO: Acknowledgment sent {"connection_id":64636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:28:53] local.INFO: TCP Data received {"connection_id":65479,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:28:53] local.INFO: Processing buffer {"connection_id":65479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:28:53] local.INFO: IMEI packet received {"connection_id":65479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":65479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:28:59] local.INFO: TCP Data received {"connection_id":65479,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:28:59] local.INFO: Processing buffer {"connection_id":65479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:28:59] local.INFO: IMEI packet received {"connection_id":65479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":65479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:29:00] local.INFO: TCP Data received {"connection_id":65479,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:29:00] local.INFO: Processing buffer {"connection_id":65479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:29:00] local.INFO: Packet analysis {"connection_id":65479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:29:00] local.INFO: Extracted packet for processing {"connection_id":65479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:29:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:29: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-05-08 01:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:29:00] 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-05-08 01:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:29:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":65479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:29:00] local.INFO: GPS data processed {"connection_id":65479,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:29:00] local.INFO: Acknowledgment sent {"connection_id":65479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:29:32] local.INFO: TCP Data received {"connection_id":65479,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:29:32] local.INFO: Processing buffer {"connection_id":65479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:29:32] local.INFO: Packet analysis {"connection_id":65479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:29:32] local.INFO: Extracted packet for processing {"connection_id":65479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:29:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:29:32] 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-05-08 01:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:29:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":65479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:29:32] local.INFO: GPS data processed {"connection_id":65479,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:29:32] local.INFO: Acknowledgment sent {"connection_id":65479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:29:59] local.INFO: TCP Data received {"connection_id":64679,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:29:59] local.INFO: Processing buffer {"connection_id":64679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:29:59] local.INFO: IMEI packet received {"connection_id":64679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":64679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:30:04] local.INFO: TCP Data received {"connection_id":64679,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:04] local.INFO: Processing buffer {"connection_id":64679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:04] local.INFO: IMEI packet received {"connection_id":64679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":64679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:30:05] local.INFO: TCP Data received {"connection_id":64679,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:30:05] local.INFO: Processing buffer {"connection_id":64679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:30:05] local.INFO: Packet analysis {"connection_id":64679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:30:05] local.INFO: Extracted packet for processing {"connection_id":64679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:30: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-05-08 01:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:30:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":64679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:30:05] local.INFO: GPS data processed {"connection_id":64679,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:30:05] local.INFO: Acknowledgment sent {"connection_id":64679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:30:10] local.INFO: TCP Data received {"connection_id":64679,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:30:10] local.INFO: Processing buffer {"connection_id":64679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:30:10] local.INFO: Packet analysis {"connection_id":64679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:30:10] local.INFO: Extracted packet for processing {"connection_id":64679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:30: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-05-08 01: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:30:10] 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-05-08 01: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-05-08 01:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:30:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:30:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":64679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:30:10] local.INFO: GPS data processed {"connection_id":64679,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:30:10] local.INFO: Acknowledgment sent {"connection_id":64679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:30:54] local.INFO: TCP Data received {"connection_id":65482,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:54] local.INFO: Processing buffer {"connection_id":65482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:54] local.INFO: IMEI packet received {"connection_id":65482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":65482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:30:59] local.INFO: TCP Data received {"connection_id":65482,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:59] local.INFO: Processing buffer {"connection_id":65482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:30:59] local.INFO: IMEI packet received {"connection_id":65482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":65482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:31:00] local.INFO: TCP Data received {"connection_id":65482,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:31:00] local.INFO: Processing buffer {"connection_id":65482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:31:00] local.INFO: Packet analysis {"connection_id":65482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:31:00] local.INFO: Extracted packet for processing {"connection_id":65482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:31: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-05-08 01:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:31:00] 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-05-08 01:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:31:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":65482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:31:00] local.INFO: GPS data processed {"connection_id":65482,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:31:00] local.INFO: Acknowledgment sent {"connection_id":65482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:31:32] local.INFO: TCP Data received {"connection_id":65482,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:31:32] local.INFO: Processing buffer {"connection_id":65482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:31:32] local.INFO: Packet analysis {"connection_id":65482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:31:32] local.INFO: Extracted packet for processing {"connection_id":65482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:31:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:31:32] 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-05-08 01: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-05-08 01:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:31:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:31:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":65482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:31:32] local.INFO: GPS data processed {"connection_id":65482,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:31:32] local.INFO: Acknowledgment sent {"connection_id":65482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:31:54] local.INFO: TCP Data received {"connection_id":64680,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:31:54] local.INFO: Processing buffer {"connection_id":64680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:31:54] local.INFO: IMEI packet received {"connection_id":64680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":64680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:31:59] local.INFO: TCP Data received {"connection_id":64680,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:31:59] local.INFO: Processing buffer {"connection_id":64680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:31:59] local.INFO: IMEI packet received {"connection_id":64680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":64680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:32:00] local.INFO: TCP Data received {"connection_id":64680,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:32:00] local.INFO: Processing buffer {"connection_id":64680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:32:00] local.INFO: Packet analysis {"connection_id":64680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:32:00] local.INFO: Extracted packet for processing {"connection_id":64680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:32: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-05-08 01:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:32:00] 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-05-08 01:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:32:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":64680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:32:00] local.INFO: GPS data processed {"connection_id":64680,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:32:00] local.INFO: Acknowledgment sent {"connection_id":64680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:32:32] local.INFO: TCP Data received {"connection_id":64680,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:32:32] local.INFO: Processing buffer {"connection_id":64680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:32:32] local.INFO: Packet analysis {"connection_id":64680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:32:32] local.INFO: Extracted packet for processing {"connection_id":64680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:32:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:32:32] 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-05-08 01:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:32:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":64680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:32:32] local.INFO: GPS data processed {"connection_id":64680,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:32:32] local.INFO: Acknowledgment sent {"connection_id":64680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:32:54] local.INFO: TCP Data received {"connection_id":65484,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:32:54] local.INFO: Processing buffer {"connection_id":65484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:32:54] local.INFO: IMEI packet received {"connection_id":65484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":65484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:32:59] local.INFO: TCP Data received {"connection_id":65484,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:32:59] local.INFO: Processing buffer {"connection_id":65484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:32:59] local.INFO: IMEI packet received {"connection_id":65484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":65484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:33:01] local.INFO: TCP Data received {"connection_id":65484,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:33:01] local.INFO: Processing buffer {"connection_id":65484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:33:01] local.INFO: Packet analysis {"connection_id":65484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:33:01] local.INFO: Extracted packet for processing {"connection_id":65484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:33:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:33: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-05-08 01:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:33:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:33:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:33:01] 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-05-08 01:33:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:33:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:33:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:33:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:33:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":65484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:33:01] local.INFO: GPS data processed {"connection_id":65484,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:33:01] local.INFO: Acknowledgment sent {"connection_id":65484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:33:11] local.INFO: TCP Data received {"connection_id":65483,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:33:11] local.INFO: Processing buffer {"connection_id":65483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:33:11] local.INFO: IMEI packet received {"connection_id":65483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":65483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:33:32] local.INFO: TCP Data received {"connection_id":65484,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:33:32] local.INFO: Processing buffer {"connection_id":65484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0404dc80012d34c54006aa5070000000622b..."} 
[2026-05-08 01:33:32] local.INFO: Packet analysis {"connection_id":65484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:33:32] local.INFO: Extracted packet for processing {"connection_id":65484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0404"} 
[2026-05-08 01:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455214998272001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778183888000,"timestamp_ms":1778183888000,"timestamp_seconds":1778183888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0404dc80"} 
[2026-05-08 01:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:33:32] 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-05-08 01:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455214998272001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455214998272001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:33:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455214998272001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":65484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:33:32] local.INFO: GPS data processed {"connection_id":65484,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:33:32] local.INFO: Acknowledgment sent {"connection_id":65484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:33:48] local.INFO: TCP Data received {"connection_id":65485,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:33:48] local.INFO: Processing buffer {"connection_id":65485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:33:48] local.INFO: IMEI packet received {"connection_id":65485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":65485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:33:53] local.INFO: TCP Data received {"connection_id":64681,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:33:53] local.INFO: Processing buffer {"connection_id":64681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:33:53] local.INFO: IMEI packet received {"connection_id":64681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":64681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:33:59] local.INFO: TCP Data received {"connection_id":64681,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:33:59] local.INFO: Processing buffer {"connection_id":64681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:33:59] local.INFO: IMEI packet received {"connection_id":64681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":64681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:34:00] local.INFO: TCP Data received {"connection_id":64681,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:34:00] local.INFO: Processing buffer {"connection_id":64681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:34:00] local.INFO: Packet analysis {"connection_id":64681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:34:00] local.INFO: Extracted packet for processing {"connection_id":64681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:34:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 01:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:34: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-05-08 01:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 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-05-08 01:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:34:00] 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-05-08 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-05-08 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-05-08 01:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:34:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":64681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:34:00] local.INFO: GPS data processed {"connection_id":64681,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:34:00] local.INFO: Acknowledgment sent {"connection_id":64681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:34:32] local.INFO: TCP Data received {"connection_id":64681,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:34:32] local.INFO: Processing buffer {"connection_id":64681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:34:32] local.INFO: Packet analysis {"connection_id":64681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:34:32] local.INFO: Extracted packet for processing {"connection_id":64681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:34:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 01:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:34:32] 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-05-08 01:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:34:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":64681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:34:32] local.INFO: GPS data processed {"connection_id":64681,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:34:32] local.INFO: Acknowledgment sent {"connection_id":64681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:34:59] local.INFO: TCP Data received {"connection_id":64682,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:34:59] local.INFO: Processing buffer {"connection_id":64682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:34:59] local.INFO: IMEI packet received {"connection_id":64682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":64682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:35:04] local.INFO: TCP Data received {"connection_id":64682,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:04] local.INFO: Processing buffer {"connection_id":64682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:04] local.INFO: IMEI packet received {"connection_id":64682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":64682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:35:05] local.INFO: TCP Data received {"connection_id":64682,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:35:05] local.INFO: Processing buffer {"connection_id":64682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:35:05] local.INFO: Packet analysis {"connection_id":64682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:35:05] local.INFO: Extracted packet for processing {"connection_id":64682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:35:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:35: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-05-08 01:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 01:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:35:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:35:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:35:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:35:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":64682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:35:05] local.INFO: GPS data processed {"connection_id":64682,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:35:05] local.INFO: Acknowledgment sent {"connection_id":64682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:35:10] local.INFO: TCP Data received {"connection_id":64682,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:35:10] local.INFO: Processing buffer {"connection_id":64682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:35:10] local.INFO: Packet analysis {"connection_id":64682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:35:10] local.INFO: Extracted packet for processing {"connection_id":64682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 01:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 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-05-08 01:35: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-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:35:10] 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-05-08 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-05-08 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-05-08 01:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:35:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":64682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:35:10] local.INFO: GPS data processed {"connection_id":64682,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:35:10] local.INFO: Acknowledgment sent {"connection_id":64682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:35:54] local.INFO: TCP Data received {"connection_id":65486,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:54] local.INFO: Processing buffer {"connection_id":65486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:54] local.INFO: IMEI packet received {"connection_id":65486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":65486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:35:59] local.INFO: TCP Data received {"connection_id":65486,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:59] local.INFO: Processing buffer {"connection_id":65486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:35:59] local.INFO: IMEI packet received {"connection_id":65486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":65486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:36:00] local.INFO: TCP Data received {"connection_id":65486,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:36:00] local.INFO: Processing buffer {"connection_id":65486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:36:00] local.INFO: Packet analysis {"connection_id":65486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:36:00] local.INFO: Extracted packet for processing {"connection_id":65486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:36: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-05-08 01:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 01:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:36:00] 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-05-08 01:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:36:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:36:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":65486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:36:01] local.INFO: GPS data processed {"connection_id":65486,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:36:01] local.INFO: Acknowledgment sent {"connection_id":65486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:36:32] local.INFO: TCP Data received {"connection_id":65486,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:36:32] local.INFO: Processing buffer {"connection_id":65486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:36:32] local.INFO: Packet analysis {"connection_id":65486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:36:32] local.INFO: Extracted packet for processing {"connection_id":65486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 01:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:36:32] 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-05-08 01: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-05-08 01:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:36:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":65486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:36:32] local.INFO: GPS data processed {"connection_id":65486,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:36:32] local.INFO: Acknowledgment sent {"connection_id":65486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:36:53] local.INFO: TCP Data received {"connection_id":64683,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:36:53] local.INFO: Processing buffer {"connection_id":64683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:36:53] local.INFO: IMEI packet received {"connection_id":64683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":64683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:36:59] local.INFO: TCP Data received {"connection_id":64683,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:36:59] local.INFO: Processing buffer {"connection_id":64683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:36:59] local.INFO: IMEI packet received {"connection_id":64683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":64683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:37:00] local.INFO: TCP Data received {"connection_id":64683,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:00] local.INFO: Processing buffer {"connection_id":64683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:00] local.INFO: Packet analysis {"connection_id":64683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:37:00] local.INFO: Extracted packet for processing {"connection_id":64683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:37:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37: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-05-08 01:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 01:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:37:00] 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-05-08 01:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:37:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":64683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:37:00] local.INFO: GPS data processed {"connection_id":64683,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:37:00] local.INFO: Acknowledgment sent {"connection_id":64683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:37:32] local.INFO: TCP Data received {"connection_id":64683,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:32] local.INFO: Processing buffer {"connection_id":64683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:32] local.INFO: Packet analysis {"connection_id":64683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:37:32] local.INFO: Extracted packet for processing {"connection_id":64683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:37:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 01:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:37:32] 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-05-08 01:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:37:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":64683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:37:32] local.INFO: GPS data processed {"connection_id":64683,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:37:32] local.INFO: Acknowledgment sent {"connection_id":64683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:37:53] local.INFO: TCP Data received {"connection_id":64637,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:37:53] local.INFO: Processing buffer {"connection_id":64637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:37:53] local.INFO: IMEI packet received {"connection_id":64637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":64637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:37:58] local.INFO: TCP Data received {"connection_id":64637,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:37:58] local.INFO: Processing buffer {"connection_id":64637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:37:58] local.INFO: IMEI packet received {"connection_id":64637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":64637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:37:59] local.INFO: TCP Data received {"connection_id":64637,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:59] local.INFO: Processing buffer {"connection_id":64637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:37:59] local.INFO: Packet analysis {"connection_id":64637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:37:59] local.INFO: Extracted packet for processing {"connection_id":64637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:37: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-05-08 01:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 01:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:37:59] 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-05-08 01:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:37:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":64637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:37:59] local.INFO: GPS data processed {"connection_id":64637,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:37:59] local.INFO: Acknowledgment sent {"connection_id":64637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:38:31] local.INFO: TCP Data received {"connection_id":64637,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:38:31] local.INFO: Processing buffer {"connection_id":64637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04097448012d34c54006aa5070000000622a..."} 
[2026-05-08 01:38:31] local.INFO: Packet analysis {"connection_id":64637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:38:31] local.INFO: Extracted packet for processing {"connection_id":64637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0409"} 
[2026-05-08 01:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215075328001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778184189000,"timestamp_ms":1778184189000,"timestamp_seconds":1778184189,"priority":1,"record_length":96,"hex_timestamp":"0000019e04097448"} 
[2026-05-08 01:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215075328001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215075328001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:38:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215075328001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":64637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:38:31] local.INFO: GPS data processed {"connection_id":64637,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:38:31] local.INFO: Acknowledgment sent {"connection_id":64637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:38:53] local.INFO: TCP Data received {"connection_id":64748,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:38:53] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:38:53] local.INFO: IMEI packet received {"connection_id":64748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":64748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:38:59] local.INFO: TCP Data received {"connection_id":64748,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:38:59] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:38:59] local.INFO: IMEI packet received {"connection_id":64748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":64748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:39:00] local.INFO: TCP Data received {"connection_id":64748,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:39:00] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:39:00] local.INFO: Packet analysis {"connection_id":64748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:39:00] local.INFO: Extracted packet for processing {"connection_id":64748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:39: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-05-08 01:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:39:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":64748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:39:00] local.INFO: GPS data processed {"connection_id":64748,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:39:00] local.INFO: Acknowledgment sent {"connection_id":64748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:39:32] local.INFO: TCP Data received {"connection_id":64748,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:39:32] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:39:32] local.INFO: Packet analysis {"connection_id":64748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:39:32] local.INFO: Extracted packet for processing {"connection_id":64748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:39:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":64748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:39:32] local.INFO: GPS data processed {"connection_id":64748,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:39:32] local.INFO: Acknowledgment sent {"connection_id":64748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:39:50] local.INFO: TCP Data received {"connection_id":64684,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:39:50] local.INFO: Processing buffer {"connection_id":64684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:39:50] local.INFO: IMEI packet received {"connection_id":64684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":64684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:39:59] local.INFO: TCP Data received {"connection_id":64638,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:39:59] local.INFO: Processing buffer {"connection_id":64638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:39:59] local.INFO: IMEI packet received {"connection_id":64638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":64638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:40:04] local.INFO: TCP Data received {"connection_id":64638,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:04] local.INFO: Processing buffer {"connection_id":64638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:04] local.INFO: IMEI packet received {"connection_id":64638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":64638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:40:05] local.INFO: TCP Data received {"connection_id":64638,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:40:05] local.INFO: Processing buffer {"connection_id":64638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:40:05] local.INFO: Packet analysis {"connection_id":64638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:40:05] local.INFO: Extracted packet for processing {"connection_id":64638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:40:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:40: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-05-08 01:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:40:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:40:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:40:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:40:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:40:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:40:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:40:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":64638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:40:05] local.INFO: GPS data processed {"connection_id":64638,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:40:05] local.INFO: Acknowledgment sent {"connection_id":64638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:40:10] local.INFO: TCP Data received {"connection_id":64638,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:40:10] local.INFO: Processing buffer {"connection_id":64638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:40:10] local.INFO: Packet analysis {"connection_id":64638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:40:10] local.INFO: Extracted packet for processing {"connection_id":64638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01: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-05-08 01:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:40: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-05-08 01: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:40:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:40:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":64638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:40:10] local.INFO: GPS data processed {"connection_id":64638,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:40:10] local.INFO: Acknowledgment sent {"connection_id":64638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:40:54] local.INFO: TCP Data received {"connection_id":64749,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:54] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:54] local.INFO: IMEI packet received {"connection_id":64749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":64749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:40:59] local.INFO: TCP Data received {"connection_id":64749,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:59] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:40:59] local.INFO: IMEI packet received {"connection_id":64749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":64749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:41:00] local.INFO: TCP Data received {"connection_id":64749,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:41:00] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:41:00] local.INFO: Packet analysis {"connection_id":64749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:41:00] local.INFO: Extracted packet for processing {"connection_id":64749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:41: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-05-08 01:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:41:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":64749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:41:00] local.INFO: GPS data processed {"connection_id":64749,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:41:00] local.INFO: Acknowledgment sent {"connection_id":64749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:41:33] local.INFO: TCP Data received {"connection_id":64749,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:41:33] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:41:33] local.INFO: Packet analysis {"connection_id":64749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:41:33] local.INFO: Extracted packet for processing {"connection_id":64749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:41:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:41: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-05-08 01:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:41: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-05-08 01: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:41:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":64749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:41:33] local.INFO: GPS data processed {"connection_id":64749,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:41:33] local.INFO: Acknowledgment sent {"connection_id":64749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:41:54] local.INFO: TCP Data received {"connection_id":65489,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:41:54] local.INFO: Processing buffer {"connection_id":65489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:41:54] local.INFO: IMEI packet received {"connection_id":65489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":65489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:41:59] local.INFO: TCP Data received {"connection_id":65489,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:41:59] local.INFO: Processing buffer {"connection_id":65489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:41:59] local.INFO: IMEI packet received {"connection_id":65489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":65489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:42:01] local.INFO: TCP Data received {"connection_id":65489,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:42:01] local.INFO: Processing buffer {"connection_id":65489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:42:01] local.INFO: Packet analysis {"connection_id":65489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:42:01] local.INFO: Extracted packet for processing {"connection_id":65489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:42:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:42: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-05-08 01:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:42:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:42:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":65489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:42:01] local.INFO: GPS data processed {"connection_id":65489,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:42:01] local.INFO: Acknowledgment sent {"connection_id":65489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:42:32] local.INFO: TCP Data received {"connection_id":65489,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:42:32] local.INFO: Processing buffer {"connection_id":65489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:42:32] local.INFO: Packet analysis {"connection_id":65489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:42:32] local.INFO: Extracted packet for processing {"connection_id":65489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:42:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":65489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:42:32] local.INFO: GPS data processed {"connection_id":65489,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:42:32] local.INFO: Acknowledgment sent {"connection_id":65489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:42:53] local.INFO: TCP Data received {"connection_id":64750,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:42:53] local.INFO: Processing buffer {"connection_id":64750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:42:53] local.INFO: IMEI packet received {"connection_id":64750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":64750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:42:59] local.INFO: TCP Data received {"connection_id":64750,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:42:59] local.INFO: Processing buffer {"connection_id":64750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:42:59] local.INFO: IMEI packet received {"connection_id":64750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":64750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:43:00] local.INFO: TCP Data received {"connection_id":64750,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:43:00] local.INFO: Processing buffer {"connection_id":64750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:43:00] local.INFO: Packet analysis {"connection_id":64750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:43:00] local.INFO: Extracted packet for processing {"connection_id":64750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:43:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:43: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-05-08 01:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:43:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":64750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:43:00] local.INFO: GPS data processed {"connection_id":64750,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:43:00] local.INFO: Acknowledgment sent {"connection_id":64750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:43:31] local.INFO: TCP Data received {"connection_id":64750,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:43:31] local.INFO: Processing buffer {"connection_id":64750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e040e0c10012d34c54006aa50700000006225..."} 
[2026-05-08 01:43:31] local.INFO: Packet analysis {"connection_id":64750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:43:31] local.INFO: Extracted packet for processing {"connection_id":64750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e040e"} 
[2026-05-08 01:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215152384001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 01:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778184490000,"timestamp_ms":1778184490000,"timestamp_seconds":1778184490,"priority":1,"record_length":96,"hex_timestamp":"0000019e040e0c10"} 
[2026-05-08 01:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 01:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215152384001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 01:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215152384001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:43:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 01:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215152384001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":64750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:43:31] local.INFO: GPS data processed {"connection_id":64750,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:43:31] local.INFO: Acknowledgment sent {"connection_id":64750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:43:59] local.INFO: TCP Data received {"connection_id":65491,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:43:59] local.INFO: Processing buffer {"connection_id":65491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:43:59] local.INFO: IMEI packet received {"connection_id":65491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":65491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:44:00] local.INFO: TCP Data received {"connection_id":65491,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:00] local.INFO: Processing buffer {"connection_id":65491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:00] local.INFO: Packet analysis {"connection_id":65491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:44:00] local.INFO: Extracted packet for processing {"connection_id":65491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:00] 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-05-08 01:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:44:00] 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-05-08 01:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:44:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":65491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:44:00] local.INFO: GPS data processed {"connection_id":65491,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:44:00] local.INFO: Acknowledgment sent {"connection_id":65491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:44:32] local.INFO: TCP Data received {"connection_id":65491,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:32] local.INFO: Processing buffer {"connection_id":65491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:32] local.INFO: Packet analysis {"connection_id":65491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:44:32] local.INFO: Extracted packet for processing {"connection_id":65491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:32] 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-05-08 01:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:44:32] 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-05-08 01:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:44:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":65491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:44:32] local.INFO: GPS data processed {"connection_id":65491,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:44:32] local.INFO: Acknowledgment sent {"connection_id":65491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:44:54] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:44:54] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:44:54] local.INFO: IMEI packet received {"connection_id":64751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":64751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:44:58] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:44:58] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:44:58] local.INFO: IMEI packet received {"connection_id":64751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":64751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:44:59] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:59] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:44:59] local.INFO: Packet analysis {"connection_id":64751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:44:59] local.INFO: Extracted packet for processing {"connection_id":64751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:44:59] 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-05-08 01:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:44:59] 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-05-08 01:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:44:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":64751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:44:59] local.INFO: GPS data processed {"connection_id":64751,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:44:59] local.INFO: Acknowledgment sent {"connection_id":64751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:45:30] local.INFO: TCP Data received {"connection_id":64687,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:45:30] local.INFO: Processing buffer {"connection_id":64687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:45:30] local.INFO: IMEI packet received {"connection_id":64687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:45:30] local.INFO: IMEI acknowledgment sent {"connection_id":64687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:45:31] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:45:31] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:45:31] local.INFO: Packet analysis {"connection_id":64751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:45:31] local.INFO: Extracted packet for processing {"connection_id":64751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:45:31] 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-05-08 01:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:45:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":64751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:45:31] local.INFO: GPS data processed {"connection_id":64751,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:45:31] local.INFO: Acknowledgment sent {"connection_id":64751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:45:43] local.INFO: TCP Data received {"connection_id":65492,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65492,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:45:43] local.INFO: Processing buffer {"connection_id":65492,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:45:43] local.INFO: IMEI packet received {"connection_id":65492,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:45:43] local.INFO: IMEI acknowledgment sent {"connection_id":65492,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:45:53] local.INFO: TCP Data received {"connection_id":65493,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:45:53] local.INFO: Processing buffer {"connection_id":65493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:45:53] local.INFO: IMEI packet received {"connection_id":65493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":65493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:45:59] local.INFO: TCP Data received {"connection_id":65493,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:45:59] local.INFO: Processing buffer {"connection_id":65493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:45:59] local.INFO: IMEI packet received {"connection_id":65493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":65493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:46:00] local.INFO: TCP Data received {"connection_id":65493,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:46:00] local.INFO: Processing buffer {"connection_id":65493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:46:00] local.INFO: Packet analysis {"connection_id":65493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:46:00] local.INFO: Extracted packet for processing {"connection_id":65493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:46:00] 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-05-08 01:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:46:00] 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-05-08 01:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:46:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":65493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:46:00] local.INFO: GPS data processed {"connection_id":65493,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:46:00] local.INFO: Acknowledgment sent {"connection_id":65493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:46:31] local.INFO: TCP Data received {"connection_id":65493,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:46:31] local.INFO: Processing buffer {"connection_id":65493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:46:31] local.INFO: Packet analysis {"connection_id":65493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:46:31] local.INFO: Extracted packet for processing {"connection_id":65493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:46:31] 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-05-08 01:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:46:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":65493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:46:31] local.INFO: GPS data processed {"connection_id":65493,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:46:31] local.INFO: Acknowledgment sent {"connection_id":65493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:46:53] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:46:53] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:46:53] local.INFO: IMEI packet received {"connection_id":64752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":64752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:46:59] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:46:59] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:46:59] local.INFO: IMEI packet received {"connection_id":64752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":64752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:47:00] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:00] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:00] local.INFO: Packet analysis {"connection_id":64752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:47:00] local.INFO: Extracted packet for processing {"connection_id":64752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:47:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47:00] 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-05-08 01:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:47:00] 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-05-08 01:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:47:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":64752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:47:00] local.INFO: GPS data processed {"connection_id":64752,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:47:00] local.INFO: Acknowledgment sent {"connection_id":64752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:47:36] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:36] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:36] local.INFO: Packet analysis {"connection_id":64752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:47:36] local.INFO: Extracted packet for processing {"connection_id":64752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:47:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:47:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47: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-05-08 01:47:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:47:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01: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-05-08 01: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:47:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:47:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:47:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:47:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:47:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:47:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:47:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:47:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:47:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:47:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:47:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:47:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:47:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:47:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:47:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:47:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:47:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:47:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:47:36] local.INFO: DEBUG: GPS processor result {"connection_id":64752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:47:36] local.INFO: GPS data processed {"connection_id":64752,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:47:36] local.INFO: Acknowledgment sent {"connection_id":64752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:47:53] local.INFO: TCP Data received {"connection_id":64641,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:47:53] local.INFO: Processing buffer {"connection_id":64641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:47:53] local.INFO: IMEI packet received {"connection_id":64641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":64641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:47:58] local.INFO: TCP Data received {"connection_id":64641,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:47:58] local.INFO: Processing buffer {"connection_id":64641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:47:58] local.INFO: IMEI packet received {"connection_id":64641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:47:59] local.INFO: TCP Data received {"connection_id":64641,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:59] local.INFO: Processing buffer {"connection_id":64641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:47:59] local.INFO: Packet analysis {"connection_id":64641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:47:59] local.INFO: Extracted packet for processing {"connection_id":64641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:47:59] 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-05-08 01:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:47:59] 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-05-08 01: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-05-08 01:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:47:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":64641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:47:59] local.INFO: GPS data processed {"connection_id":64641,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:47:59] local.INFO: Acknowledgment sent {"connection_id":64641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:48:31] local.INFO: TCP Data received {"connection_id":64641,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:48:31] local.INFO: Processing buffer {"connection_id":64641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0412a3d8012d34c54006aa5070000200622a..."} 
[2026-05-08 01:48:31] local.INFO: Packet analysis {"connection_id":64641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:48:31] local.INFO: Extracted packet for processing {"connection_id":64641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0412"} 
[2026-05-08 01:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215229440001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:48:31] 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-05-08 01:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778184791000,"timestamp_ms":1778184791000,"timestamp_seconds":1778184791,"priority":1,"record_length":96,"hex_timestamp":"0000019e0412a3d8"} 
[2026-05-08 01:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215229440001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215229440001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:48:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215229440001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":64641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:48:31] local.INFO: GPS data processed {"connection_id":64641,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:48:31] local.INFO: Acknowledgment sent {"connection_id":64641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:48:59] local.INFO: TCP Data received {"connection_id":64689,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:48:59] local.INFO: Processing buffer {"connection_id":64689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:48:59] local.INFO: IMEI packet received {"connection_id":64689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":64689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:49:04] local.INFO: TCP Data received {"connection_id":64689,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:04] local.INFO: Processing buffer {"connection_id":64689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:04] local.INFO: IMEI packet received {"connection_id":64689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":64689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:49:05] local.INFO: TCP Data received {"connection_id":64689,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:49:05] local.INFO: Processing buffer {"connection_id":64689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:49:05] local.INFO: Packet analysis {"connection_id":64689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:49:05] local.INFO: Extracted packet for processing {"connection_id":64689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:49:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:49:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:49:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:49:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:49:05] 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-05-08 01:49:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:49:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:49:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:49:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:49:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:49:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:49:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:49:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:49:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:49:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:49:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:49:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:49:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:49:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:49:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:49:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:49:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:49:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:49:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:49:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:49:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:49:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:49:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:49:05] local.INFO: DEBUG: GPS processor result {"connection_id":64689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:49:05] local.INFO: GPS data processed {"connection_id":64689,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:49:05] local.INFO: Acknowledgment sent {"connection_id":64689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:49:09] local.INFO: TCP Data received {"connection_id":64689,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:49:09] local.INFO: Processing buffer {"connection_id":64689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:49:09] local.INFO: Packet analysis {"connection_id":64689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:49:09] local.INFO: Extracted packet for processing {"connection_id":64689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:49: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-05-08 01:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01: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-05-08 01: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:49: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-05-08 01: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-05-08 01:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:49:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":64689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:49:09] local.INFO: GPS data processed {"connection_id":64689,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:49:09] local.INFO: Acknowledgment sent {"connection_id":64689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:49:53] local.INFO: TCP Data received {"connection_id":64753,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:53] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:53] local.INFO: IMEI packet received {"connection_id":64753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":64753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:49:59] local.INFO: TCP Data received {"connection_id":64753,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:59] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:49:59] local.INFO: IMEI packet received {"connection_id":64753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":64753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:50:00] local.INFO: TCP Data received {"connection_id":64753,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:50:00] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:50:00] local.INFO: Packet analysis {"connection_id":64753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:50:00] local.INFO: Extracted packet for processing {"connection_id":64753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 01:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:50:00] 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-05-08 01:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 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-05-08 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:50:00] 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-05-08 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-05-08 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-05-08 01:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:50:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":64753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:50:00] local.INFO: GPS data processed {"connection_id":64753,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:50:00] local.INFO: Acknowledgment sent {"connection_id":64753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:50:32] local.INFO: TCP Data received {"connection_id":64753,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:50:32] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:50:32] local.INFO: Packet analysis {"connection_id":64753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:50:32] local.INFO: Extracted packet for processing {"connection_id":64753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:50:32] 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-05-08 01:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:50:32] 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-05-08 01:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:50:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":64753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:50:32] local.INFO: GPS data processed {"connection_id":64753,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:50:32] local.INFO: Acknowledgment sent {"connection_id":64753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:50:53] local.INFO: TCP Data received {"connection_id":64644,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:50:53] local.INFO: Processing buffer {"connection_id":64644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:50:53] local.INFO: IMEI packet received {"connection_id":64644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":64644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:50:59] local.INFO: TCP Data received {"connection_id":64644,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:50:59] local.INFO: Processing buffer {"connection_id":64644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:50:59] local.INFO: IMEI packet received {"connection_id":64644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":64644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:51:00] local.INFO: TCP Data received {"connection_id":64644,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:51:00] local.INFO: Processing buffer {"connection_id":64644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:51:00] local.INFO: Packet analysis {"connection_id":64644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:51:00] local.INFO: Extracted packet for processing {"connection_id":64644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:51:00] 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-05-08 01:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:51:00] 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-05-08 01:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:51:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":64644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:51:00] local.INFO: GPS data processed {"connection_id":64644,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:51:00] local.INFO: Acknowledgment sent {"connection_id":64644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:51:17] local.INFO: TCP Data received {"connection_id":64690,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:51:17] local.INFO: Processing buffer {"connection_id":64690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:51:17] local.INFO: IMEI packet received {"connection_id":64690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":64690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:51:31] local.INFO: TCP Data received {"connection_id":64644,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:51:31] local.INFO: Processing buffer {"connection_id":64644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:51:31] local.INFO: Packet analysis {"connection_id":64644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:51:31] local.INFO: Extracted packet for processing {"connection_id":64644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:51:31] 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-05-08 01:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:51:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":64644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:51:31] local.INFO: GPS data processed {"connection_id":64644,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:51:31] local.INFO: Acknowledgment sent {"connection_id":64644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:51:44] local.INFO: TCP Data received {"connection_id":65494,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65494,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:51:44] local.INFO: Processing buffer {"connection_id":65494,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:51:44] local.INFO: IMEI packet received {"connection_id":65494,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:51:44] local.INFO: IMEI acknowledgment sent {"connection_id":65494,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:51:53] local.INFO: TCP Data received {"connection_id":65495,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:51:53] local.INFO: Processing buffer {"connection_id":65495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:51:53] local.INFO: IMEI packet received {"connection_id":65495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":65495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:51:59] local.INFO: TCP Data received {"connection_id":65495,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:51:59] local.INFO: Processing buffer {"connection_id":65495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:51:59] local.INFO: IMEI packet received {"connection_id":65495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":65495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:52:00] local.INFO: TCP Data received {"connection_id":65495,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:52:00] local.INFO: Processing buffer {"connection_id":65495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:52:00] local.INFO: Packet analysis {"connection_id":65495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:52:00] local.INFO: Extracted packet for processing {"connection_id":65495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:52:00] 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-05-08 01:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:52:00] 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-05-08 01:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:52:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":65495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:52:00] local.INFO: GPS data processed {"connection_id":65495,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:52:00] local.INFO: Acknowledgment sent {"connection_id":65495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:52:31] local.INFO: TCP Data received {"connection_id":65495,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:52:31] local.INFO: Processing buffer {"connection_id":65495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:52:31] local.INFO: Packet analysis {"connection_id":65495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:52:31] local.INFO: Extracted packet for processing {"connection_id":65495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:52:31] 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-05-08 01:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01: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-05-08 01:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:52:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":65495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:52:31] local.INFO: GPS data processed {"connection_id":65495,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:52:31] local.INFO: Acknowledgment sent {"connection_id":65495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:52:59] local.INFO: TCP Data received {"connection_id":64692,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:52:59] local.INFO: Processing buffer {"connection_id":64692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:52:59] local.INFO: IMEI packet received {"connection_id":64692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":64692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:53:04] local.INFO: TCP Data received {"connection_id":64692,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:04] local.INFO: Processing buffer {"connection_id":64692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:04] local.INFO: IMEI packet received {"connection_id":64692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":64692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:53:05] local.INFO: TCP Data received {"connection_id":64692,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:53:05] local.INFO: Processing buffer {"connection_id":64692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:53:05] local.INFO: Packet analysis {"connection_id":64692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:53:05] local.INFO: Extracted packet for processing {"connection_id":64692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:53:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:53:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:53:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:53:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:53:05] 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-05-08 01:53:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:53:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:53:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:53:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:53:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:53:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:53:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:53:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:53:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:53:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:53:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:53:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:53:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:53:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:53:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:53:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:53:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:53:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:53:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:53:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:53:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:53:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:53:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:53:05] local.INFO: DEBUG: GPS processor result {"connection_id":64692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:53:05] local.INFO: GPS data processed {"connection_id":64692,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:53:05] local.INFO: Acknowledgment sent {"connection_id":64692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:53:09] local.INFO: TCP Data received {"connection_id":64692,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:53:09] local.INFO: Processing buffer {"connection_id":64692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04173ba0012d34c54006aa5070000300622b..."} 
[2026-05-08 01:53:09] local.INFO: Packet analysis {"connection_id":64692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:53:09] local.INFO: Extracted packet for processing {"connection_id":64692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0417"} 
[2026-05-08 01:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215306496001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:53: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-05-08 01:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778185092000,"timestamp_ms":1778185092000,"timestamp_seconds":1778185092,"priority":1,"record_length":96,"hex_timestamp":"0000019e04173ba0"} 
[2026-05-08 01:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:53: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-05-08 01: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 01:53: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-05-08 01: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-05-08 01:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215306496001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215306496001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:53:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215306496001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":64692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:53:09] local.INFO: GPS data processed {"connection_id":64692,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:53:09] local.INFO: Acknowledgment sent {"connection_id":64692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:53:50] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:50] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:50] local.INFO: IMEI packet received {"connection_id":64646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":64646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:53:54] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:54] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:54] local.INFO: IMEI packet received {"connection_id":64646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":64646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:53:59] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:59] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:53:59] local.INFO: IMEI packet received {"connection_id":64646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":64646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:54:00] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:54:00] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:54:00] local.INFO: Packet analysis {"connection_id":64646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:54:00] local.INFO: Extracted packet for processing {"connection_id":64646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 01:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:54:00] 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-05-08 01:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 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-05-08 01:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:54:00] 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-05-08 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-05-08 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-05-08 01:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:54:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":64646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:54:00] local.INFO: GPS data processed {"connection_id":64646,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:54:00] local.INFO: Acknowledgment sent {"connection_id":64646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:54:32] local.INFO: TCP Data received {"connection_id":64646,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:54:32] local.INFO: Processing buffer {"connection_id":64646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:54:32] local.INFO: Packet analysis {"connection_id":64646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:54:32] local.INFO: Extracted packet for processing {"connection_id":64646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:54:32] 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-05-08 01:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:54:32] 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-05-08 01:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:54:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":64646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:54:32] local.INFO: GPS data processed {"connection_id":64646,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:54:32] local.INFO: Acknowledgment sent {"connection_id":64646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:54:53] local.INFO: TCP Data received {"connection_id":65496,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:54:53] local.INFO: Processing buffer {"connection_id":65496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:54:53] local.INFO: IMEI packet received {"connection_id":65496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":65496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:54:59] local.INFO: TCP Data received {"connection_id":65496,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:54:59] local.INFO: Processing buffer {"connection_id":65496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:54:59] local.INFO: IMEI packet received {"connection_id":65496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":65496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:55:00] local.INFO: TCP Data received {"connection_id":65496,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:55:00] local.INFO: Processing buffer {"connection_id":65496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:55:00] local.INFO: Packet analysis {"connection_id":65496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:55:00] local.INFO: Extracted packet for processing {"connection_id":65496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:55:00] 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-05-08 01:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:55:00] 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-05-08 01: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-05-08 01:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:55:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":65496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:55:00] local.INFO: GPS data processed {"connection_id":65496,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:55:00] local.INFO: Acknowledgment sent {"connection_id":65496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:55:32] local.INFO: TCP Data received {"connection_id":65496,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:55:32] local.INFO: Processing buffer {"connection_id":65496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:55:32] local.INFO: Packet analysis {"connection_id":65496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:55:32] local.INFO: Extracted packet for processing {"connection_id":65496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:55:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:55:32] 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-05-08 01:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:55:32] 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-05-08 01:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:55:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":65496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:55:32] local.INFO: GPS data processed {"connection_id":65496,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:55:32] local.INFO: Acknowledgment sent {"connection_id":65496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:55:53] local.INFO: TCP Data received {"connection_id":64648,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:55:53] local.INFO: Processing buffer {"connection_id":64648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:55:53] local.INFO: IMEI packet received {"connection_id":64648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":64648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:55:59] local.INFO: TCP Data received {"connection_id":64648,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:55:59] local.INFO: Processing buffer {"connection_id":64648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:55:59] local.INFO: IMEI packet received {"connection_id":64648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":64648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:56:00] local.INFO: TCP Data received {"connection_id":64648,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:56:00] local.INFO: Processing buffer {"connection_id":64648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:56:00] local.INFO: Packet analysis {"connection_id":64648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:56:00] local.INFO: Extracted packet for processing {"connection_id":64648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:56:00] 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-05-08 01:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:56:00] 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-05-08 01:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:56:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":64648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:56:00] local.INFO: GPS data processed {"connection_id":64648,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:56:00] local.INFO: Acknowledgment sent {"connection_id":64648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:56:32] local.INFO: TCP Data received {"connection_id":64648,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:56:32] local.INFO: Processing buffer {"connection_id":64648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:56:32] local.INFO: Packet analysis {"connection_id":64648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:56:32] local.INFO: Extracted packet for processing {"connection_id":64648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:56:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:56:32] 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-05-08 01:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:56:32] 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-05-08 01:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:56:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":64648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:56:32] local.INFO: GPS data processed {"connection_id":64648,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:56:32] local.INFO: Acknowledgment sent {"connection_id":64648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:56:59] local.INFO: TCP Data received {"connection_id":64755,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:56:59] local.INFO: Processing buffer {"connection_id":64755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:56:59] local.INFO: IMEI packet received {"connection_id":64755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":64755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:57:04] local.INFO: TCP Data received {"connection_id":64755,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:04] local.INFO: Processing buffer {"connection_id":64755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:04] local.INFO: IMEI packet received {"connection_id":64755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":64755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:57:05] local.INFO: TCP Data received {"connection_id":64755,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:57:05] local.INFO: Processing buffer {"connection_id":64755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:57:05] local.INFO: Packet analysis {"connection_id":64755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:57:05] local.INFO: Extracted packet for processing {"connection_id":64755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:57:05] 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-05-08 01:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 01:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:57:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":64755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:57:05] local.INFO: GPS data processed {"connection_id":64755,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:57:05] local.INFO: Acknowledgment sent {"connection_id":64755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:57:09] local.INFO: TCP Data received {"connection_id":64755,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:57:09] local.INFO: Processing buffer {"connection_id":64755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:57:09] local.INFO: Packet analysis {"connection_id":64755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:57:09] local.INFO: Extracted packet for processing {"connection_id":64755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:57: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-05-08 01:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:57: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-05-08 01: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:57: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-05-08 01: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-05-08 01:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:57:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:57:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":64755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:57:09] local.INFO: GPS data processed {"connection_id":64755,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:57:09] local.INFO: Acknowledgment sent {"connection_id":64755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:57:16] local.INFO: TCP Data received {"connection_id":64649,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:57:16] local.INFO: Processing buffer {"connection_id":64649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:57:16] local.INFO: IMEI packet received {"connection_id":64649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":64649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:57:42] local.INFO: TCP Data received {"connection_id":64650,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:57:42] local.INFO: Processing buffer {"connection_id":64650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 01:57:42] local.INFO: IMEI packet received {"connection_id":64650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 01:57:42] local.INFO: IMEI acknowledgment sent {"connection_id":64650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:57:54] local.INFO: TCP Data received {"connection_id":65497,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:54] local.INFO: Processing buffer {"connection_id":65497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:54] local.INFO: IMEI packet received {"connection_id":65497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":65497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:57:59] local.INFO: TCP Data received {"connection_id":65497,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:59] local.INFO: Processing buffer {"connection_id":65497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:57:59] local.INFO: IMEI packet received {"connection_id":65497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":65497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:58:00] local.INFO: TCP Data received {"connection_id":65497,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:58:00] local.INFO: Processing buffer {"connection_id":65497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:58:00] local.INFO: Packet analysis {"connection_id":65497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:58:00] local.INFO: Extracted packet for processing {"connection_id":65497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:58:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:58:00] 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-05-08 01:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:58:00] 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-05-08 01:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:58:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":65497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:58:00] local.INFO: GPS data processed {"connection_id":65497,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:58:00] local.INFO: Acknowledgment sent {"connection_id":65497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:58:31] local.INFO: TCP Data received {"connection_id":65497,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:58:31] local.INFO: Processing buffer {"connection_id":65497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e041bd368012d34c54006aa5070000300622c..."} 
[2026-05-08 01:58:31] local.INFO: Packet analysis {"connection_id":65497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:58:31] local.INFO: Extracted packet for processing {"connection_id":65497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e041b"} 
[2026-05-08 01:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":3,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:58:31] 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-05-08 01:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778185393000,"timestamp_ms":1778185393000,"timestamp_seconds":1778185393,"priority":1,"record_length":96,"hex_timestamp":"0000019e041bd368"} 
[2026-05-08 01:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 01:58:31] 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-05-08 01: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-05-08 01:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215383552001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:58:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215383552001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":65497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:58:31] local.INFO: GPS data processed {"connection_id":65497,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:58:31] local.INFO: Acknowledgment sent {"connection_id":65497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:58:51] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:51] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:51] local.INFO: IMEI packet received {"connection_id":64757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":64757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:58:53] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:53] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:53] local.INFO: IMEI packet received {"connection_id":64757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":64757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:58:59] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:59] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:58:59] local.INFO: IMEI packet received {"connection_id":64757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":64757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 01:59:00] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 01:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 01:59:00] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 01:59:00] local.INFO: Packet analysis {"connection_id":64757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 01:59:00] local.INFO: Extracted packet for processing {"connection_id":64757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 01:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01: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-05-08 01:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:59:00] 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-05-08 01:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 01:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:59:00] 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-05-08 01: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-05-08 01:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:59:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":64757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:59:00] local.INFO: GPS data processed {"connection_id":64757,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:59:00] local.INFO: Acknowledgment sent {"connection_id":64757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:59:32] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 01:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 01:59:32] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 01:59:32] local.INFO: Packet analysis {"connection_id":64757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 01:59:32] local.INFO: Extracted packet for processing {"connection_id":64757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 01:59:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 01:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 01:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 01:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 01:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 01:59:32] 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-05-08 01:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 01:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 01:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 01:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 01:59:32] 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-05-08 01:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 01:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 01:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 01:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 01:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 01:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 01:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 01:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 01:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 01:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 01:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 01:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 01:59:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 01:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 01:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 01:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 01:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 01:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":64757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 01:59:32] local.INFO: GPS data processed {"connection_id":64757,"processed":1,"errors":0,"total":1} 
[2026-05-08 01:59:32] local.INFO: Acknowledgment sent {"connection_id":64757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 01:59:53] local.INFO: TCP Data received {"connection_id":65499,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:59:53] local.INFO: Processing buffer {"connection_id":65499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:59:53] local.INFO: IMEI packet received {"connection_id":65499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 01:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":65499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 01:59:59] local.INFO: TCP Data received {"connection_id":65499,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:59:59] local.INFO: Processing buffer {"connection_id":65499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 01:59:59] local.INFO: IMEI packet received {"connection_id":65499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 01:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":65499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:00:00] local.INFO: TCP Data received {"connection_id":65499,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:00:00] local.INFO: Processing buffer {"connection_id":65499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:00:00] local.INFO: Packet analysis {"connection_id":65499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:00:00] local.INFO: Extracted packet for processing {"connection_id":65499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:00:00] 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-05-08 02:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 02:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 02:00:00] 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-05-08 02:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:00:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":65499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:00:00] local.INFO: GPS data processed {"connection_id":65499,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:00:00] local.INFO: Acknowledgment sent {"connection_id":65499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:00:32] local.INFO: TCP Data received {"connection_id":65499,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:00:32] local.INFO: Processing buffer {"connection_id":65499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:00:32] local.INFO: Packet analysis {"connection_id":65499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:00:32] local.INFO: Extracted packet for processing {"connection_id":65499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:00:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:00:32] 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-05-08 02:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 02:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 02:00:32] 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-05-08 02:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:00:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":65499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:00:32] local.INFO: GPS data processed {"connection_id":65499,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:00:32] local.INFO: Acknowledgment sent {"connection_id":65499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:00:59] local.INFO: TCP Data received {"connection_id":64652,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:00:59] local.INFO: Processing buffer {"connection_id":64652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:00:59] local.INFO: IMEI packet received {"connection_id":64652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":64652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:01:04] local.INFO: TCP Data received {"connection_id":64652,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:04] local.INFO: Processing buffer {"connection_id":64652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:04] local.INFO: IMEI packet received {"connection_id":64652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":64652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:01:05] local.INFO: TCP Data received {"connection_id":64652,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:01:05] local.INFO: Processing buffer {"connection_id":64652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:01:05] local.INFO: Packet analysis {"connection_id":64652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:01:05] local.INFO: Extracted packet for processing {"connection_id":64652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:01:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:01:05] 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-05-08 02:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 02:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 02:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:01:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:01:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":64652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:01:05] local.INFO: GPS data processed {"connection_id":64652,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:01:05] local.INFO: Acknowledgment sent {"connection_id":64652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:01:09] local.INFO: TCP Data received {"connection_id":64652,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:01:09] local.INFO: Processing buffer {"connection_id":64652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:01:09] local.INFO: Packet analysis {"connection_id":64652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:01:09] local.INFO: Extracted packet for processing {"connection_id":64652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:01: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-05-08 02:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 02:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02: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-05-08 02: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 02:01: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-05-08 02: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-05-08 02:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:01:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":64652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:01:09] local.INFO: GPS data processed {"connection_id":64652,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:01:09] local.INFO: Acknowledgment sent {"connection_id":64652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:01:54] local.INFO: TCP Data received {"connection_id":64696,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:54] local.INFO: Processing buffer {"connection_id":64696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:54] local.INFO: IMEI packet received {"connection_id":64696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":64696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:01:59] local.INFO: TCP Data received {"connection_id":64696,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:59] local.INFO: Processing buffer {"connection_id":64696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:01:59] local.INFO: IMEI packet received {"connection_id":64696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":64696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:02:00] local.INFO: TCP Data received {"connection_id":64696,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:02:00] local.INFO: Processing buffer {"connection_id":64696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:02:00] local.INFO: Packet analysis {"connection_id":64696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:02:00] local.INFO: Extracted packet for processing {"connection_id":64696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:02:00] 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-05-08 02:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 02:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 02:02:00] 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-05-08 02:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:02:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":64696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:02:00] local.INFO: GPS data processed {"connection_id":64696,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:02:00] local.INFO: Acknowledgment sent {"connection_id":64696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:02:31] local.INFO: TCP Data received {"connection_id":64696,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:02:31] local.INFO: Processing buffer {"connection_id":64696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:02:31] local.INFO: Packet analysis {"connection_id":64696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:02:31] local.INFO: Extracted packet for processing {"connection_id":64696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:02:31] 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-05-08 02:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 02:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 02:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:02:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":64696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:02:31] local.INFO: GPS data processed {"connection_id":64696,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:02:31] local.INFO: Acknowledgment sent {"connection_id":64696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:02:49] local.INFO: TCP Data received {"connection_id":64653,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:02:49] local.INFO: Processing buffer {"connection_id":64653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:02:49] local.INFO: IMEI packet received {"connection_id":64653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":64653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:02:54] local.INFO: TCP Data received {"connection_id":65500,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:02:54] local.INFO: Processing buffer {"connection_id":65500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:02:54] local.INFO: IMEI packet received {"connection_id":65500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":65500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:02:59] local.INFO: TCP Data received {"connection_id":65500,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:02:59] local.INFO: Processing buffer {"connection_id":65500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:02:59] local.INFO: IMEI packet received {"connection_id":65500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":65500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:03:00] local.INFO: TCP Data received {"connection_id":65500,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:03:00] local.INFO: Processing buffer {"connection_id":65500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:03:00] local.INFO: Packet analysis {"connection_id":65500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:03:00] local.INFO: Extracted packet for processing {"connection_id":65500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:03:00] 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-05-08 02:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 02:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 02:03:00] 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-05-08 02:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:03:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":65500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:03:00] local.INFO: GPS data processed {"connection_id":65500,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:03:00] local.INFO: Acknowledgment sent {"connection_id":65500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:03:31] local.INFO: TCP Data received {"connection_id":65500,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:03:31] local.INFO: Processing buffer {"connection_id":65500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04206b30012d34c54006aa5070000400622e..."} 
[2026-05-08 02:03:31] local.INFO: Packet analysis {"connection_id":65500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:03:31] local.INFO: Extracted packet for processing {"connection_id":65500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0420"} 
[2026-05-08 02:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215460608001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:03:31] 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-05-08 02:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778185694000,"timestamp_ms":1778185694000,"timestamp_seconds":1778185694,"priority":1,"record_length":96,"hex_timestamp":"0000019e04206b30"} 
[2026-05-08 02:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 02:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215460608001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215460608001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:03:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215460608001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":65500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:03:31] local.INFO: GPS data processed {"connection_id":65500,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:03:31] local.INFO: Acknowledgment sent {"connection_id":65500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:03:52] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:52] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:52] local.INFO: IMEI packet received {"connection_id":64697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":64697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:03:53] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:53] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:53] local.INFO: IMEI packet received {"connection_id":64697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":64697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:03:59] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:59] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:03:59] local.INFO: IMEI packet received {"connection_id":64697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":64697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:04:00] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:04:00] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:04:00] local.INFO: Packet analysis {"connection_id":64697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:04:00] local.INFO: Extracted packet for processing {"connection_id":64697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:04:00] 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-05-08 02:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:04:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:04:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":64697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:04:00] local.INFO: GPS data processed {"connection_id":64697,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:04:00] local.INFO: Acknowledgment sent {"connection_id":64697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:04:31] local.INFO: TCP Data received {"connection_id":64697,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:04:31] local.INFO: Processing buffer {"connection_id":64697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:04:31] local.INFO: Packet analysis {"connection_id":64697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:04:31] local.INFO: Extracted packet for processing {"connection_id":64697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:04:31] 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-05-08 02:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:04:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":64697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:04:31] local.INFO: GPS data processed {"connection_id":64697,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:04:31] local.INFO: Acknowledgment sent {"connection_id":64697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:04:59] local.INFO: TCP Data received {"connection_id":65501,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:04:59] local.INFO: Processing buffer {"connection_id":65501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:04:59] local.INFO: IMEI packet received {"connection_id":65501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":65501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:05:04] local.INFO: TCP Data received {"connection_id":65501,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:04] local.INFO: Processing buffer {"connection_id":65501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:04] local.INFO: IMEI packet received {"connection_id":65501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":65501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:05:05] local.INFO: TCP Data received {"connection_id":65501,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:05:05] local.INFO: Processing buffer {"connection_id":65501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:05:05] local.INFO: Packet analysis {"connection_id":65501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:05:05] local.INFO: Extracted packet for processing {"connection_id":65501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:05:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:05:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:05:05] 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-05-08 02:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:05:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:05:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:05:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":65501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:05:05] local.INFO: GPS data processed {"connection_id":65501,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:05:05] local.INFO: Acknowledgment sent {"connection_id":65501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:05:10] local.INFO: TCP Data received {"connection_id":65501,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:05:10] local.INFO: Processing buffer {"connection_id":65501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:05:10] local.INFO: Packet analysis {"connection_id":65501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:05:10] local.INFO: Extracted packet for processing {"connection_id":65501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:05:10] 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-05-08 02:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:05: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-05-08 02:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:05:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:05:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:05:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":65501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:05:10] local.INFO: GPS data processed {"connection_id":65501,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:05:10] local.INFO: Acknowledgment sent {"connection_id":65501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:05:54] local.INFO: TCP Data received {"connection_id":64655,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:54] local.INFO: Processing buffer {"connection_id":64655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:54] local.INFO: IMEI packet received {"connection_id":64655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:05:54] local.INFO: IMEI acknowledgment sent {"connection_id":64655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:05:59] local.INFO: TCP Data received {"connection_id":64655,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:59] local.INFO: Processing buffer {"connection_id":64655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:05:59] local.INFO: IMEI packet received {"connection_id":64655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":64655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:06:00] local.INFO: TCP Data received {"connection_id":64655,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:06:00] local.INFO: Processing buffer {"connection_id":64655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:06:00] local.INFO: Packet analysis {"connection_id":64655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:06:00] local.INFO: Extracted packet for processing {"connection_id":64655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:06:00] 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-05-08 02:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:06:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":64655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:06:00] local.INFO: GPS data processed {"connection_id":64655,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:06:00] local.INFO: Acknowledgment sent {"connection_id":64655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:06:32] local.INFO: TCP Data received {"connection_id":64655,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:06:32] local.INFO: Processing buffer {"connection_id":64655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:06:32] local.INFO: Packet analysis {"connection_id":64655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:06:32] local.INFO: Extracted packet for processing {"connection_id":64655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:06:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:06:32] 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-05-08 02:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:06:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":64655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:06:32] local.INFO: GPS data processed {"connection_id":64655,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:06:32] local.INFO: Acknowledgment sent {"connection_id":64655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:06:54] local.INFO: TCP Data received {"connection_id":65503,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:06:54] local.INFO: Processing buffer {"connection_id":65503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:06:54] local.INFO: IMEI packet received {"connection_id":65503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":65503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:06:59] local.INFO: TCP Data received {"connection_id":65503,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:06:59] local.INFO: Processing buffer {"connection_id":65503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:06:59] local.INFO: IMEI packet received {"connection_id":65503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":65503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:07:00] local.INFO: TCP Data received {"connection_id":65503,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:07:00] local.INFO: Processing buffer {"connection_id":65503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:07:00] local.INFO: Packet analysis {"connection_id":65503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:07:00] local.INFO: Extracted packet for processing {"connection_id":65503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:07:00] 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-05-08 02:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:07:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":65503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:07:00] local.INFO: GPS data processed {"connection_id":65503,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:07:00] local.INFO: Acknowledgment sent {"connection_id":65503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:07:32] local.INFO: TCP Data received {"connection_id":65503,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:07:32] local.INFO: Processing buffer {"connection_id":65503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:07:32] local.INFO: Packet analysis {"connection_id":65503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:07:32] local.INFO: Extracted packet for processing {"connection_id":65503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:07:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:07:32] 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-05-08 02:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:07:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":65503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:07:32] local.INFO: GPS data processed {"connection_id":65503,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:07:32] local.INFO: Acknowledgment sent {"connection_id":65503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:07:53] local.INFO: TCP Data received {"connection_id":64656,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:07:53] local.INFO: Processing buffer {"connection_id":64656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:07:53] local.INFO: IMEI packet received {"connection_id":64656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":64656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:07:59] local.INFO: TCP Data received {"connection_id":64656,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:07:59] local.INFO: Processing buffer {"connection_id":64656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:07:59] local.INFO: IMEI packet received {"connection_id":64656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":64656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:08:00] local.INFO: TCP Data received {"connection_id":64656,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:08:00] local.INFO: Processing buffer {"connection_id":64656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:08:00] local.INFO: Packet analysis {"connection_id":64656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:08:00] local.INFO: Extracted packet for processing {"connection_id":64656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:08:00] 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-05-08 02:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:08:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":64656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:08:00] local.INFO: GPS data processed {"connection_id":64656,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:08:00] local.INFO: Acknowledgment sent {"connection_id":64656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:08:22] local.INFO: TCP Data received {"connection_id":64699,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64699,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:08:22] local.INFO: Processing buffer {"connection_id":64699,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:08:22] local.INFO: IMEI packet received {"connection_id":64699,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":64699,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:08:31] local.INFO: TCP Data received {"connection_id":64656,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:08:31] local.INFO: Processing buffer {"connection_id":64656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042502f8012d34c54006aa5070000500622d..."} 
[2026-05-08 02:08:31] local.INFO: Packet analysis {"connection_id":64656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:08:31] local.INFO: Extracted packet for processing {"connection_id":64656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0425"} 
[2026-05-08 02:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215537664001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:08:31] 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-05-08 02:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778185995000,"timestamp_ms":1778185995000,"timestamp_seconds":1778185995,"priority":1,"record_length":96,"hex_timestamp":"0000019e042502f8"} 
[2026-05-08 02:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215537664001,"66":24245,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215537664001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:08:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215537664001,"power":24245,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":64656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:08:31] local.INFO: GPS data processed {"connection_id":64656,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:08:31] local.INFO: Acknowledgment sent {"connection_id":64656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:08:42] local.INFO: TCP Data received {"connection_id":65504,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:08:42] local.INFO: Processing buffer {"connection_id":65504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:08:42] local.INFO: IMEI packet received {"connection_id":65504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":65504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:08:53] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:53] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:53] local.INFO: IMEI packet received {"connection_id":64759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":64759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:08:54] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:54] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:54] local.INFO: IMEI packet received {"connection_id":64759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":64759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:08:59] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:59] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:08:59] local.INFO: IMEI packet received {"connection_id":64759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":64759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:09:00] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:09:00] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:09:00] local.INFO: Packet analysis {"connection_id":64759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:09:00] local.INFO: Extracted packet for processing {"connection_id":64759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:09:00] 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-05-08 02:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:09:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":64759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:09:00] local.INFO: GPS data processed {"connection_id":64759,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:09:00] local.INFO: Acknowledgment sent {"connection_id":64759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:09:32] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:09:32] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:09:32] local.INFO: Packet analysis {"connection_id":64759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:09:32] local.INFO: Extracted packet for processing {"connection_id":64759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:09:32] 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-05-08 02:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:09:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:09:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":64759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:09:32] local.INFO: GPS data processed {"connection_id":64759,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:09:32] local.INFO: Acknowledgment sent {"connection_id":64759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:09:54] local.INFO: TCP Data received {"connection_id":65506,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:09:54] local.INFO: Processing buffer {"connection_id":65506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:09:54] local.INFO: IMEI packet received {"connection_id":65506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":65506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:09:59] local.INFO: TCP Data received {"connection_id":65506,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:09:59] local.INFO: Processing buffer {"connection_id":65506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:09:59] local.INFO: IMEI packet received {"connection_id":65506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":65506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:10:00] local.INFO: TCP Data received {"connection_id":65506,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:00] local.INFO: Processing buffer {"connection_id":65506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:00] local.INFO: Packet analysis {"connection_id":65506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:10:00] local.INFO: Extracted packet for processing {"connection_id":65506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10:00] 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-05-08 02:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:10:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":65506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:10:00] local.INFO: GPS data processed {"connection_id":65506,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:10:00] local.INFO: Acknowledgment sent {"connection_id":65506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:10:04] local.INFO: TCP Data received {"connection_id":65506,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:04] local.INFO: Processing buffer {"connection_id":65506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:04] local.INFO: Packet analysis {"connection_id":65506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:10:04] local.INFO: Extracted packet for processing {"connection_id":65506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10:04] 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-05-08 02:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:10:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:10:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":65506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:10:04] local.INFO: GPS data processed {"connection_id":65506,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:10:04] local.INFO: Acknowledgment sent {"connection_id":65506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:10:36] local.INFO: TCP Data received {"connection_id":65506,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:36] local.INFO: Processing buffer {"connection_id":65506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:10:36] local.INFO: Packet analysis {"connection_id":65506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:10:36] local.INFO: Extracted packet for processing {"connection_id":65506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:10:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:10:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:10: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-05-08 02:10:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:10:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:10: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-05-08 02: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":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:10:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:10:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:10:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:10:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:10:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:10:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:10:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:10:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:10:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:10:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:10:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:10:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:10:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:10:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:10:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:10:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:10:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:10:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:10:36] local.INFO: DEBUG: GPS processor result {"connection_id":65506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:10:36] local.INFO: GPS data processed {"connection_id":65506,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:10:36] local.INFO: Acknowledgment sent {"connection_id":65506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:10:54] local.INFO: TCP Data received {"connection_id":64657,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:10:54] local.INFO: Processing buffer {"connection_id":64657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:10:54] local.INFO: IMEI packet received {"connection_id":64657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":64657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:10:59] local.INFO: TCP Data received {"connection_id":64657,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:10:59] local.INFO: Processing buffer {"connection_id":64657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:10:59] local.INFO: IMEI packet received {"connection_id":64657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":64657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:11:01] local.INFO: TCP Data received {"connection_id":64657,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:11:01] local.INFO: Processing buffer {"connection_id":64657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:11:01] local.INFO: Packet analysis {"connection_id":64657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:11:01] local.INFO: Extracted packet for processing {"connection_id":64657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:11:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:11: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-05-08 02:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:11:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:11:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":64657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:11:01] local.INFO: GPS data processed {"connection_id":64657,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:11:01] local.INFO: Acknowledgment sent {"connection_id":64657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:11:33] local.INFO: TCP Data received {"connection_id":64657,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:11:33] local.INFO: Processing buffer {"connection_id":64657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:11:33] local.INFO: Packet analysis {"connection_id":64657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:11:33] local.INFO: Extracted packet for processing {"connection_id":64657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:11:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:11: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-05-08 02:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:11: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-05-08 02:11:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:11:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:11:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:11:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:11:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":64657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:11:33] local.INFO: GPS data processed {"connection_id":64657,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:11:33] local.INFO: Acknowledgment sent {"connection_id":64657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:11:53] local.INFO: TCP Data received {"connection_id":64658,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:11:53] local.INFO: Processing buffer {"connection_id":64658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:11:53] local.INFO: IMEI packet received {"connection_id":64658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":64658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:11:59] local.INFO: TCP Data received {"connection_id":64658,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:11:59] local.INFO: Processing buffer {"connection_id":64658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:11:59] local.INFO: IMEI packet received {"connection_id":64658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":64658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:12:00] local.INFO: TCP Data received {"connection_id":64658,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:12:00] local.INFO: Processing buffer {"connection_id":64658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:12:00] local.INFO: Packet analysis {"connection_id":64658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:12:00] local.INFO: Extracted packet for processing {"connection_id":64658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:12:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:12:00] 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-05-08 02:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:12:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":64658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:12:00] local.INFO: GPS data processed {"connection_id":64658,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:12:00] local.INFO: Acknowledgment sent {"connection_id":64658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:12:31] local.INFO: TCP Data received {"connection_id":64658,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:12:31] local.INFO: Processing buffer {"connection_id":64658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:12:31] local.INFO: Packet analysis {"connection_id":64658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:12:31] local.INFO: Extracted packet for processing {"connection_id":64658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:12:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:12:32] 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-05-08 02:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:12:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":64658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:12:32] local.INFO: GPS data processed {"connection_id":64658,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:12:32] local.INFO: Acknowledgment sent {"connection_id":64658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:12:53] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:12:53] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:12:53] local.INFO: IMEI packet received {"connection_id":64762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":64762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:12:59] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:12:59] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:12:59] local.INFO: IMEI packet received {"connection_id":64762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":64762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:13:00] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:13:00] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:13:00] local.INFO: Packet analysis {"connection_id":64762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:13:00] local.INFO: Extracted packet for processing {"connection_id":64762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:13:00] 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-05-08 02:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:13:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":64762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:13:00] local.INFO: GPS data processed {"connection_id":64762,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:13:00] local.INFO: Acknowledgment sent {"connection_id":64762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:13:32] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:13:32] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04299ac0012d34c54006aa50700004006226..."} 
[2026-05-08 02:13:32] local.INFO: Packet analysis {"connection_id":64762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:13:32] local.INFO: Extracted packet for processing {"connection_id":64762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0429"} 
[2026-05-08 02:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215614720001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:13:32] 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-05-08 02:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778186296000,"timestamp_ms":1778186296000,"timestamp_seconds":1778186296,"priority":1,"record_length":96,"hex_timestamp":"0000019e04299ac0"} 
[2026-05-08 02:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-05-08 02:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2297,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215614720001,"66":24788,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215614720001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:13:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215614720001,"power":24788,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":64762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:13:32] local.INFO: GPS data processed {"connection_id":64762,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:13:32] local.INFO: Acknowledgment sent {"connection_id":64762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:13:53] local.INFO: TCP Data received {"connection_id":65507,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:53] local.INFO: Processing buffer {"connection_id":65507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:53] local.INFO: IMEI packet received {"connection_id":65507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":65507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:13:54] local.INFO: TCP Data received {"connection_id":65507,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:54] local.INFO: Processing buffer {"connection_id":65507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:54] local.INFO: IMEI packet received {"connection_id":65507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":65507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:13:59] local.INFO: TCP Data received {"connection_id":65507,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:59] local.INFO: Processing buffer {"connection_id":65507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:13:59] local.INFO: IMEI packet received {"connection_id":65507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":65507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:14:00] local.INFO: TCP Data received {"connection_id":65507,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:14:00] local.INFO: Processing buffer {"connection_id":65507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:14:00] local.INFO: Packet analysis {"connection_id":65507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:14:00] local.INFO: Extracted packet for processing {"connection_id":65507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:14:00] 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-05-08 02:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:14:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:14:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":65507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:14:00] local.INFO: GPS data processed {"connection_id":65507,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:14:00] local.INFO: Acknowledgment sent {"connection_id":65507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:14:32] local.INFO: TCP Data received {"connection_id":65507,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:14:32] local.INFO: Processing buffer {"connection_id":65507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:14:32] local.INFO: Packet analysis {"connection_id":65507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:14:32] local.INFO: Extracted packet for processing {"connection_id":65507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:14:32] 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-05-08 02:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:14:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":65507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:14:32] local.INFO: GPS data processed {"connection_id":65507,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:14:32] local.INFO: Acknowledgment sent {"connection_id":65507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:14:41] local.INFO: TCP Data received {"connection_id":64701,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:41] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:41] local.INFO: IMEI packet received {"connection_id":64701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:14:41] local.INFO: IMEI acknowledgment sent {"connection_id":64701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:14:42] local.INFO: TCP Data received {"connection_id":64701,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:42] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:42] local.INFO: IMEI packet received {"connection_id":64701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 02:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":64701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:14:48] local.INFO: TCP Data received {"connection_id":64701,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:48] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:14:48] local.INFO: IMEI packet received {"connection_id":64701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 02:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":64701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:14:54] local.INFO: TCP Data received {"connection_id":64660,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:14:54] local.INFO: Processing buffer {"connection_id":64660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:14:54] local.INFO: IMEI packet received {"connection_id":64660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":64660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:14:59] local.INFO: TCP Data received {"connection_id":64660,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:14:59] local.INFO: Processing buffer {"connection_id":64660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:14:59] local.INFO: IMEI packet received {"connection_id":64660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":64660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:15:00] local.INFO: TCP Data received {"connection_id":64660,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:15:00] local.INFO: Processing buffer {"connection_id":64660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:15:00] local.INFO: Packet analysis {"connection_id":64660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:15:00] local.INFO: Extracted packet for processing {"connection_id":64660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:15:00] 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-05-08 02:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:15:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":64660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:15:00] local.INFO: GPS data processed {"connection_id":64660,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:15:00] local.INFO: Acknowledgment sent {"connection_id":64660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:15:31] local.INFO: TCP Data received {"connection_id":64660,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:15:31] local.INFO: Processing buffer {"connection_id":64660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:15:31] local.INFO: Packet analysis {"connection_id":64660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:15:31] local.INFO: Extracted packet for processing {"connection_id":64660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:15:31] 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-05-08 02:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:15:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":64660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:15:32] local.INFO: GPS data processed {"connection_id":64660,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:15:32] local.INFO: Acknowledgment sent {"connection_id":64660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:15:53] local.INFO: TCP Data received {"connection_id":64702,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:15:53] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:15:53] local.INFO: IMEI packet received {"connection_id":64702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":64702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:15:59] local.INFO: TCP Data received {"connection_id":64702,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:15:59] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:15:59] local.INFO: IMEI packet received {"connection_id":64702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":64702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:16:00] local.INFO: TCP Data received {"connection_id":64702,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:16:00] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:16:00] local.INFO: Packet analysis {"connection_id":64702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:16:00] local.INFO: Extracted packet for processing {"connection_id":64702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:16:00] 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-05-08 02:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:16:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":64702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:16:00] local.INFO: GPS data processed {"connection_id":64702,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:16:00] local.INFO: Acknowledgment sent {"connection_id":64702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:16:32] local.INFO: TCP Data received {"connection_id":64702,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:16:32] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:16:32] local.INFO: Packet analysis {"connection_id":64702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:16:32] local.INFO: Extracted packet for processing {"connection_id":64702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:16:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:16:32] 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-05-08 02:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:16:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":64702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:16:32] local.INFO: GPS data processed {"connection_id":64702,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:16:32] local.INFO: Acknowledgment sent {"connection_id":64702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:16:53] local.INFO: TCP Data received {"connection_id":65509,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:16:53] local.INFO: Processing buffer {"connection_id":65509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:16:53] local.INFO: IMEI packet received {"connection_id":65509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":65509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:16:59] local.INFO: TCP Data received {"connection_id":65509,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:16:59] local.INFO: Processing buffer {"connection_id":65509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:16:59] local.INFO: IMEI packet received {"connection_id":65509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":65509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:17:00] local.INFO: TCP Data received {"connection_id":65509,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:17:00] local.INFO: Processing buffer {"connection_id":65509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:17:00] local.INFO: Packet analysis {"connection_id":65509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:17:00] local.INFO: Extracted packet for processing {"connection_id":65509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:17:00] 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-05-08 02:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:17:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":65509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:17:00] local.INFO: GPS data processed {"connection_id":65509,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:17:00] local.INFO: Acknowledgment sent {"connection_id":65509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:17:32] local.INFO: TCP Data received {"connection_id":65509,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:17:32] local.INFO: Processing buffer {"connection_id":65509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:17:32] local.INFO: Packet analysis {"connection_id":65509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:17:32] local.INFO: Extracted packet for processing {"connection_id":65509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:17:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:17:32] 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-05-08 02:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:17:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":65509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:17:32] local.INFO: GPS data processed {"connection_id":65509,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:17:32] local.INFO: Acknowledgment sent {"connection_id":65509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:17:53] local.INFO: TCP Data received {"connection_id":65510,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:17:53] local.INFO: Processing buffer {"connection_id":65510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:17:53] local.INFO: IMEI packet received {"connection_id":65510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":65510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:17:59] local.INFO: TCP Data received {"connection_id":65510,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:17:59] local.INFO: Processing buffer {"connection_id":65510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:17:59] local.INFO: IMEI packet received {"connection_id":65510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":65510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:18:01] local.INFO: TCP Data received {"connection_id":65510,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:18:01] local.INFO: Processing buffer {"connection_id":65510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:18:01] local.INFO: Packet analysis {"connection_id":65510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:18:01] local.INFO: Extracted packet for processing {"connection_id":65510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:18:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:18: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-05-08 02:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:18:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:18:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:18:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":65510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:18:01] local.INFO: GPS data processed {"connection_id":65510,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:18:01] local.INFO: Acknowledgment sent {"connection_id":65510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:18:33] local.INFO: TCP Data received {"connection_id":65510,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:18:33] local.INFO: Processing buffer {"connection_id":65510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e042e3288012d34c54006aa50700005006228..."} 
[2026-05-08 02:18:33] local.INFO: Packet analysis {"connection_id":65510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:18:33] local.INFO: Extracted packet for processing {"connection_id":65510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e042e"} 
[2026-05-08 02:18:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":5,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215691776001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:18: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-05-08 02:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778186597000,"timestamp_ms":1778186597000,"timestamp_seconds":1778186597,"priority":1,"record_length":96,"hex_timestamp":"0000019e042e3288"} 
[2026-05-08 02:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:18: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-05-08 02:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 02:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215691776001,"66":24854,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215691776001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:18:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:18:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215691776001,"power":24854,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":65510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:18:33] local.INFO: GPS data processed {"connection_id":65510,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:18:33] local.INFO: Acknowledgment sent {"connection_id":65510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:18:55] local.INFO: TCP Data received {"connection_id":65511,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:18:55] local.INFO: Processing buffer {"connection_id":65511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:18:55] local.INFO: IMEI packet received {"connection_id":65511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":65511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:18:59] local.INFO: TCP Data received {"connection_id":65511,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:18:59] local.INFO: Processing buffer {"connection_id":65511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:18:59] local.INFO: IMEI packet received {"connection_id":65511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":65511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:19:04] local.INFO: TCP Data received {"connection_id":65511,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:04] local.INFO: Processing buffer {"connection_id":65511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:04] local.INFO: IMEI packet received {"connection_id":65511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":65511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:19:05] local.INFO: TCP Data received {"connection_id":65511,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:19:05] local.INFO: Processing buffer {"connection_id":65511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:19:05] local.INFO: Packet analysis {"connection_id":65511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:19:05] local.INFO: Extracted packet for processing {"connection_id":65511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:19:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:19:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:19:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:19:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:19:05] 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-05-08 02:19:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:19:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:19:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:19:05] 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-05-08 02: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-05-08 02:19:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:19:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:19:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:19:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:19:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:19:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:19:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:19:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:19:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:19:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:19:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:19:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:19:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:19:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:19:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:19:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:19:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:19:05] local.INFO: DEBUG: GPS processor result {"connection_id":65511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:19:05] local.INFO: GPS data processed {"connection_id":65511,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:19:05] local.INFO: Acknowledgment sent {"connection_id":65511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:19:09] local.INFO: TCP Data received {"connection_id":65511,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:19:09] local.INFO: Processing buffer {"connection_id":65511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:19:09] local.INFO: Packet analysis {"connection_id":65511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:19:09] local.INFO: Extracted packet for processing {"connection_id":65511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:19: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-05-08 02:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:19: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-05-08 02: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:19:09] 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-05-08 02: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-05-08 02:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:19:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":65511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:19:09] local.INFO: GPS data processed {"connection_id":65511,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:19:09] local.INFO: Acknowledgment sent {"connection_id":65511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:19:53] local.INFO: TCP Data received {"connection_id":65512,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:53] local.INFO: Processing buffer {"connection_id":65512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:53] local.INFO: IMEI packet received {"connection_id":65512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":65512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:19:59] local.INFO: TCP Data received {"connection_id":65512,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:59] local.INFO: Processing buffer {"connection_id":65512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:19:59] local.INFO: IMEI packet received {"connection_id":65512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":65512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:20:00] local.INFO: TCP Data received {"connection_id":65512,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:20:00] local.INFO: Processing buffer {"connection_id":65512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:20:00] local.INFO: Packet analysis {"connection_id":65512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:20:00] local.INFO: Extracted packet for processing {"connection_id":65512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:20:00] 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-05-08 02:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:20:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":65512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:20:00] local.INFO: GPS data processed {"connection_id":65512,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:20:00] local.INFO: Acknowledgment sent {"connection_id":65512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:20:31] local.INFO: TCP Data received {"connection_id":65512,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:20:31] local.INFO: Processing buffer {"connection_id":65512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:20:31] local.INFO: Packet analysis {"connection_id":65512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:20:31] local.INFO: Extracted packet for processing {"connection_id":65512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:20:31] 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-05-08 02:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:20:31] 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-05-08 02:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:20:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":65512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:20:31] local.INFO: GPS data processed {"connection_id":65512,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:20:31] local.INFO: Acknowledgment sent {"connection_id":65512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:20:41] local.INFO: TCP Data received {"connection_id":64765,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:20:41] local.INFO: Processing buffer {"connection_id":64765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:20:41] local.INFO: IMEI packet received {"connection_id":64765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":64765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:20:53] local.INFO: TCP Data received {"connection_id":64662,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:20:53] local.INFO: Processing buffer {"connection_id":64662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:20:53] local.INFO: IMEI packet received {"connection_id":64662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":64662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:20:59] local.INFO: TCP Data received {"connection_id":64662,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:20:59] local.INFO: Processing buffer {"connection_id":64662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:20:59] local.INFO: IMEI packet received {"connection_id":64662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":64662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:21:00] local.INFO: TCP Data received {"connection_id":64662,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:21:00] local.INFO: Processing buffer {"connection_id":64662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:21:00] local.INFO: Packet analysis {"connection_id":64662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:21:00] local.INFO: Extracted packet for processing {"connection_id":64662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:21:00] 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-05-08 02:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:21:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":64662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:21:00] local.INFO: GPS data processed {"connection_id":64662,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:21:00] local.INFO: Acknowledgment sent {"connection_id":64662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:21:31] local.INFO: TCP Data received {"connection_id":64662,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:21:31] local.INFO: Processing buffer {"connection_id":64662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:21:31] local.INFO: Packet analysis {"connection_id":64662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:21:31] local.INFO: Extracted packet for processing {"connection_id":64662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:21:31] 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-05-08 02:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:21:31] 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-05-08 02: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-05-08 02:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:21:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":64662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:21:31] local.INFO: GPS data processed {"connection_id":64662,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:21:31] local.INFO: Acknowledgment sent {"connection_id":64662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:21:53] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:21:53] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:21:53] local.INFO: IMEI packet received {"connection_id":64705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":64705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:21:59] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:21:59] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:21:59] local.INFO: IMEI packet received {"connection_id":64705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":64705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:22:00] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:22:00] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:22:00] local.INFO: Packet analysis {"connection_id":64705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:22:00] local.INFO: Extracted packet for processing {"connection_id":64705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:22:00] 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-05-08 02:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:22:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":64705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:22:00] local.INFO: GPS data processed {"connection_id":64705,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:22:00] local.INFO: Acknowledgment sent {"connection_id":64705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:22:32] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:22:32] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:22:32] local.INFO: Packet analysis {"connection_id":64705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:22:32] local.INFO: Extracted packet for processing {"connection_id":64705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:22:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:22:32] 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-05-08 02:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":881,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:22:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":64705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:22:32] local.INFO: GPS data processed {"connection_id":64705,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:22:32] local.INFO: Acknowledgment sent {"connection_id":64705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:22:59] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:22:59] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:22:59] local.INFO: IMEI packet received {"connection_id":64707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":64707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:23:04] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:04] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:04] local.INFO: IMEI packet received {"connection_id":64707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":64707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:23:05] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:23:05] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:23:05] local.INFO: Packet analysis {"connection_id":64707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:23:05] local.INFO: Extracted packet for processing {"connection_id":64707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23:05] 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-05-08 02:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:23:05] 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-05-08 02:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:23:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":64707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:23:05] local.INFO: GPS data processed {"connection_id":64707,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:23:05] local.INFO: Acknowledgment sent {"connection_id":64707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:23:09] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:23:09] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0432ca50012d34c54006aa5070000400622f..."} 
[2026-05-08 02:23:09] local.INFO: Packet analysis {"connection_id":64707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:23:09] local.INFO: Extracted packet for processing {"connection_id":64707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0432"} 
[2026-05-08 02:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215768832001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23: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-05-08 02:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778186898000,"timestamp_ms":1778186898000,"timestamp_seconds":1778186898,"priority":1,"record_length":96,"hex_timestamp":"0000019e0432ca50"} 
[2026-05-08 02:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:23: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-05-08 02: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":97,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 02:23:09] 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-05-08 02: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-05-08 02:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215768832001,"66":24864,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215768832001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:23:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215768832001,"power":24864,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":64707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:23:09] local.INFO: GPS data processed {"connection_id":64707,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:23:09] local.INFO: Acknowledgment sent {"connection_id":64707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:23:54] local.INFO: TCP Data received {"connection_id":64664,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:54] local.INFO: Processing buffer {"connection_id":64664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:54] local.INFO: IMEI packet received {"connection_id":64664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":64664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:23:56] local.INFO: TCP Data received {"connection_id":64664,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:56] local.INFO: Processing buffer {"connection_id":64664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:23:56] local.INFO: IMEI packet received {"connection_id":64664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":64664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:23:57] local.INFO: TCP Data received {"connection_id":64664,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:23:57] local.INFO: Processing buffer {"connection_id":64664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:23:57] local.INFO: Packet analysis {"connection_id":64664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:23:57] local.INFO: Extracted packet for processing {"connection_id":64664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:23:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:23:57] 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-05-08 02:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:23: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-05-08 02:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":64664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":64664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":64664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:23:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:23:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":64664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:23:57] local.INFO: GPS data processed {"connection_id":64664,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:23:57] local.INFO: Acknowledgment sent {"connection_id":64664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:24:29] local.INFO: TCP Data received {"connection_id":64664,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:24:29] local.INFO: Processing buffer {"connection_id":64664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:24:29] local.INFO: Packet analysis {"connection_id":64664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:24:29] local.INFO: Extracted packet for processing {"connection_id":64664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:24:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:24:29] 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-05-08 02:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":64664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":64664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":64664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:24:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:24:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":64664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:24:29] local.INFO: GPS data processed {"connection_id":64664,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:24:29] local.INFO: Acknowledgment sent {"connection_id":64664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:24:53] local.INFO: TCP Data received {"connection_id":65514,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:24:53] local.INFO: Processing buffer {"connection_id":65514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:24:53] local.INFO: IMEI packet received {"connection_id":65514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":65514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:24:59] local.INFO: TCP Data received {"connection_id":65514,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:24:59] local.INFO: Processing buffer {"connection_id":65514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:24:59] local.INFO: IMEI packet received {"connection_id":65514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":65514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:25:00] local.INFO: TCP Data received {"connection_id":65514,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:25:00] local.INFO: Processing buffer {"connection_id":65514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:25:00] local.INFO: Packet analysis {"connection_id":65514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:25:00] local.INFO: Extracted packet for processing {"connection_id":65514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:25:00] 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-05-08 02:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:25:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":65514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:25:00] local.INFO: GPS data processed {"connection_id":65514,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:25:00] local.INFO: Acknowledgment sent {"connection_id":65514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:25:31] local.INFO: TCP Data received {"connection_id":65514,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:25:31] local.INFO: Processing buffer {"connection_id":65514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:25:31] local.INFO: Packet analysis {"connection_id":65514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:25:31] local.INFO: Extracted packet for processing {"connection_id":65514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:25:31] 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-05-08 02:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":65514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:25:31] local.INFO: GPS data processed {"connection_id":65514,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:25:31] local.INFO: Acknowledgment sent {"connection_id":65514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:25:53] local.INFO: TCP Data received {"connection_id":64665,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:25:53] local.INFO: Processing buffer {"connection_id":64665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:25:53] local.INFO: IMEI packet received {"connection_id":64665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":64665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:25:59] local.INFO: TCP Data received {"connection_id":64665,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:25:59] local.INFO: Processing buffer {"connection_id":64665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:25:59] local.INFO: IMEI packet received {"connection_id":64665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":64665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:26:00] local.INFO: TCP Data received {"connection_id":64665,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:26:00] local.INFO: Processing buffer {"connection_id":64665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:26:00] local.INFO: Packet analysis {"connection_id":64665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:26:00] local.INFO: Extracted packet for processing {"connection_id":64665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:26:00] 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-05-08 02:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:26:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":64665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:26:00] local.INFO: GPS data processed {"connection_id":64665,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:26:00] local.INFO: Acknowledgment sent {"connection_id":64665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:26:22] local.INFO: TCP Data received {"connection_id":65515,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65515,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:26:22] local.INFO: Processing buffer {"connection_id":65515,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:26:22] local.INFO: IMEI packet received {"connection_id":65515,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":65515,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:26:31] local.INFO: TCP Data received {"connection_id":64665,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:26:31] local.INFO: Processing buffer {"connection_id":64665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:26:31] local.INFO: Packet analysis {"connection_id":64665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:26:31] local.INFO: Extracted packet for processing {"connection_id":64665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:26:31] 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-05-08 02:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:26:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":64665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:26:31] local.INFO: GPS data processed {"connection_id":64665,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:26:31] local.INFO: Acknowledgment sent {"connection_id":64665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:26:44] local.INFO: TCP Data received {"connection_id":65516,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:26:44] local.INFO: Processing buffer {"connection_id":65516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:26:44] local.INFO: IMEI packet received {"connection_id":65516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:26:44] local.INFO: IMEI acknowledgment sent {"connection_id":65516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:26:59] local.INFO: TCP Data received {"connection_id":64708,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:26:59] local.INFO: Processing buffer {"connection_id":64708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:26:59] local.INFO: IMEI packet received {"connection_id":64708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":64708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:27:04] local.INFO: TCP Data received {"connection_id":64708,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:04] local.INFO: Processing buffer {"connection_id":64708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:04] local.INFO: IMEI packet received {"connection_id":64708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":64708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:27:05] local.INFO: TCP Data received {"connection_id":64708,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:27:05] local.INFO: Processing buffer {"connection_id":64708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:27:05] local.INFO: Packet analysis {"connection_id":64708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:27:05] local.INFO: Extracted packet for processing {"connection_id":64708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:27:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:27:05] 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-05-08 02:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:27:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:27:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:27:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":64708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:27:05] local.INFO: GPS data processed {"connection_id":64708,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:27:05] local.INFO: Acknowledgment sent {"connection_id":64708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:27:10] local.INFO: TCP Data received {"connection_id":64708,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:27:10] local.INFO: Processing buffer {"connection_id":64708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:27:10] local.INFO: Packet analysis {"connection_id":64708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:27:10] local.INFO: Extracted packet for processing {"connection_id":64708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:27:10] 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-05-08 02:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:27:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:27:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":64708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:27:10] local.INFO: GPS data processed {"connection_id":64708,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:27:10] local.INFO: Acknowledgment sent {"connection_id":64708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:27:54] local.INFO: TCP Data received {"connection_id":64709,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:54] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:54] local.INFO: IMEI packet received {"connection_id":64709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":64709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:27:59] local.INFO: TCP Data received {"connection_id":64709,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:59] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:27:59] local.INFO: IMEI packet received {"connection_id":64709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":64709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:28:00] local.INFO: TCP Data received {"connection_id":64709,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:28:00] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:28:00] local.INFO: Packet analysis {"connection_id":64709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:28:00] local.INFO: Extracted packet for processing {"connection_id":64709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:00] 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-05-08 02:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:28:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":64709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:28:00] local.INFO: GPS data processed {"connection_id":64709,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:28:00] local.INFO: Acknowledgment sent {"connection_id":64709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:28:32] local.INFO: TCP Data received {"connection_id":64709,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:28:32] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04376218012d34c54006aa5070000000622f..."} 
[2026-05-08 02:28:32] local.INFO: Packet analysis {"connection_id":64709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:28:32] local.INFO: Extracted packet for processing {"connection_id":64709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0437"} 
[2026-05-08 02:28:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215845888001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:32] 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-05-08 02:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778187199000,"timestamp_ms":1778187199000,"timestamp_seconds":1778187199,"priority":1,"record_length":96,"hex_timestamp":"0000019e04376218"} 
[2026-05-08 02:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-05-08 02:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":971,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215845888001,"66":24875,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215845888001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:28:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215845888001,"power":24875,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":64709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:28:32] local.INFO: GPS data processed {"connection_id":64709,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:28:32] local.INFO: Acknowledgment sent {"connection_id":64709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:28:53] local.INFO: TCP Data received {"connection_id":64768,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:28:53] local.INFO: Processing buffer {"connection_id":64768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:28:53] local.INFO: IMEI packet received {"connection_id":64768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":64768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:28:58] local.INFO: TCP Data received {"connection_id":64768,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:28:58] local.INFO: Processing buffer {"connection_id":64768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:28:58] local.INFO: IMEI packet received {"connection_id":64768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":64768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:28:59] local.INFO: TCP Data received {"connection_id":64768,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:28:59] local.INFO: Processing buffer {"connection_id":64768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:28:59] local.INFO: Packet analysis {"connection_id":64768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:28:59] local.INFO: Extracted packet for processing {"connection_id":64768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:28:59] 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-05-08 02:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:28:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":64768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:28:59] local.INFO: GPS data processed {"connection_id":64768,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:28:59] local.INFO: Acknowledgment sent {"connection_id":64768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:29:30] local.INFO: TCP Data received {"connection_id":64768,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:29:30] local.INFO: Processing buffer {"connection_id":64768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:29:30] local.INFO: Packet analysis {"connection_id":64768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:29:30] local.INFO: Extracted packet for processing {"connection_id":64768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:29:30] 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-05-08 02:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:29: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-05-08 02:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:29:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":64768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:29:30] local.INFO: GPS data processed {"connection_id":64768,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:29:30] local.INFO: Acknowledgment sent {"connection_id":64768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:29:59] local.INFO: TCP Data received {"connection_id":64667,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:29:59] local.INFO: Processing buffer {"connection_id":64667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:29:59] local.INFO: IMEI packet received {"connection_id":64667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":64667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:30:04] local.INFO: TCP Data received {"connection_id":64667,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:04] local.INFO: Processing buffer {"connection_id":64667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:04] local.INFO: IMEI packet received {"connection_id":64667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":64667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:30:05] local.INFO: TCP Data received {"connection_id":64667,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:30:05] local.INFO: Processing buffer {"connection_id":64667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:30:05] local.INFO: Packet analysis {"connection_id":64667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:30:05] local.INFO: Extracted packet for processing {"connection_id":64667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:30:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:30:05] 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-05-08 02:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:30:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:30:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:30:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:30:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:30:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:30:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:30:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":64667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:30:05] local.INFO: GPS data processed {"connection_id":64667,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:30:05] local.INFO: Acknowledgment sent {"connection_id":64667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:30:10] local.INFO: TCP Data received {"connection_id":64667,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:30:10] local.INFO: Processing buffer {"connection_id":64667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:30:10] local.INFO: Packet analysis {"connection_id":64667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:30:10] local.INFO: Extracted packet for processing {"connection_id":64667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 02:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:30:10] 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-05-08 02:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 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-05-08 02:30: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-05-08 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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 02:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:30:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:30:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":64667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:30:10] local.INFO: GPS data processed {"connection_id":64667,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:30:10] local.INFO: Acknowledgment sent {"connection_id":64667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:30:54] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:54] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:54] local.INFO: IMEI packet received {"connection_id":64710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":64710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:30:59] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:59] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:30:59] local.INFO: IMEI packet received {"connection_id":64710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":64710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:31:00] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:31:00] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:31:00] local.INFO: Packet analysis {"connection_id":64710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:31:00] local.INFO: Extracted packet for processing {"connection_id":64710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:31:00] 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-05-08 02:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:31:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":64710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:31:00] local.INFO: GPS data processed {"connection_id":64710,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:31:00] local.INFO: Acknowledgment sent {"connection_id":64710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:31:32] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:31:32] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:31:32] local.INFO: Packet analysis {"connection_id":64710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:31:32] local.INFO: Extracted packet for processing {"connection_id":64710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:31:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:31:32] 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-05-08 02:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:31:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:31:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":64710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:31:32] local.INFO: GPS data processed {"connection_id":64710,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:31:32] local.INFO: Acknowledgment sent {"connection_id":64710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:31:54] local.INFO: TCP Data received {"connection_id":65518,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:31:54] local.INFO: Processing buffer {"connection_id":65518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:31:54] local.INFO: IMEI packet received {"connection_id":65518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":65518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:31:59] local.INFO: TCP Data received {"connection_id":65518,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:31:59] local.INFO: Processing buffer {"connection_id":65518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:31:59] local.INFO: IMEI packet received {"connection_id":65518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":65518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:32:00] local.INFO: TCP Data received {"connection_id":65518,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:32:00] local.INFO: Processing buffer {"connection_id":65518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:32:00] local.INFO: Packet analysis {"connection_id":65518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:32:00] local.INFO: Extracted packet for processing {"connection_id":65518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:32:00] 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-05-08 02:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:32:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":65518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:32:00] local.INFO: GPS data processed {"connection_id":65518,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:32:00] local.INFO: Acknowledgment sent {"connection_id":65518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:32:18] local.INFO: TCP Data received {"connection_id":64770,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:32:18] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:32:18] local.INFO: IMEI packet received {"connection_id":64770,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":64770,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:32:32] local.INFO: TCP Data received {"connection_id":65518,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:32:32] local.INFO: Processing buffer {"connection_id":65518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:32:32] local.INFO: Packet analysis {"connection_id":65518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:32:32] local.INFO: Extracted packet for processing {"connection_id":65518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:32:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:32:32] 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-05-08 02:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:32:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:32:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":65518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:32:32] local.INFO: GPS data processed {"connection_id":65518,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:32:32] local.INFO: Acknowledgment sent {"connection_id":65518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:32:53] local.INFO: TCP Data received {"connection_id":64711,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:32:53] local.INFO: Processing buffer {"connection_id":64711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:32:53] local.INFO: IMEI packet received {"connection_id":64711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":64711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:32:59] local.INFO: TCP Data received {"connection_id":64711,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:32:59] local.INFO: Processing buffer {"connection_id":64711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:32:59] local.INFO: IMEI packet received {"connection_id":64711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":64711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:33:00] local.INFO: TCP Data received {"connection_id":64711,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:33:00] local.INFO: Processing buffer {"connection_id":64711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:33:00] local.INFO: Packet analysis {"connection_id":64711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:33:00] local.INFO: Extracted packet for processing {"connection_id":64711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:33:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:33:00] 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-05-08 02:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:33:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":64711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:33:00] local.INFO: GPS data processed {"connection_id":64711,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:33:00] local.INFO: Acknowledgment sent {"connection_id":64711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:33:03] local.INFO: TCP Data received {"connection_id":64668,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:33:03] local.INFO: Processing buffer {"connection_id":64668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:33:03] local.INFO: IMEI packet received {"connection_id":64668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":64668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:33:32] local.INFO: TCP Data received {"connection_id":64711,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:33:32] local.INFO: Processing buffer {"connection_id":64711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e043bf9e0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:33:32] local.INFO: Packet analysis {"connection_id":64711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:33:32] local.INFO: Extracted packet for processing {"connection_id":64711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e043b"} 
[2026-05-08 02:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455215922944001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:33:32] 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-05-08 02:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778187500000,"timestamp_ms":1778187500000,"timestamp_seconds":1778187500,"priority":1,"record_length":96,"hex_timestamp":"0000019e043bf9e0"} 
[2026-05-08 02:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 02:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455215922944001,"66":25038,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455215922944001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:33:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455215922944001,"power":25038,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":64711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:33:32] local.INFO: GPS data processed {"connection_id":64711,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:33:32] local.INFO: Acknowledgment sent {"connection_id":64711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:33:53] local.INFO: TCP Data received {"connection_id":64712,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:33:53] local.INFO: Processing buffer {"connection_id":64712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:33:53] local.INFO: IMEI packet received {"connection_id":64712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":64712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:33:59] local.INFO: TCP Data received {"connection_id":64712,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:33:59] local.INFO: Processing buffer {"connection_id":64712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:33:59] local.INFO: IMEI packet received {"connection_id":64712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":64712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:34:00] local.INFO: TCP Data received {"connection_id":64712,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:34:00] local.INFO: Processing buffer {"connection_id":64712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:34:00] local.INFO: Packet analysis {"connection_id":64712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:34:00] local.INFO: Extracted packet for processing {"connection_id":64712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:34:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:34:00] 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-05-08 02:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:34:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":64712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:34:00] local.INFO: GPS data processed {"connection_id":64712,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:34:00] local.INFO: Acknowledgment sent {"connection_id":64712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:34:31] local.INFO: TCP Data received {"connection_id":64712,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:34:31] local.INFO: Processing buffer {"connection_id":64712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:34:31] local.INFO: Packet analysis {"connection_id":64712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:34:31] local.INFO: Extracted packet for processing {"connection_id":64712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:34:31] 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-05-08 02:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:34:31] 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-05-08 02:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:34:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":64712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:34:31] local.INFO: GPS data processed {"connection_id":64712,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:34:31] local.INFO: Acknowledgment sent {"connection_id":64712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:34:54] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:34:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:34:54] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:34:54] local.INFO: IMEI packet received {"connection_id":64771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:34:54] local.INFO: IMEI acknowledgment sent {"connection_id":64771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:34:59] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:34:59] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:34:59] local.INFO: IMEI packet received {"connection_id":64771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":64771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:35:00] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:35:00] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:35:00] local.INFO: Packet analysis {"connection_id":64771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:35:00] local.INFO: Extracted packet for processing {"connection_id":64771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:35:00] 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-05-08 02:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:35:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":64771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:35:00] local.INFO: GPS data processed {"connection_id":64771,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:35:00] local.INFO: Acknowledgment sent {"connection_id":64771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:35:31] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:35:31] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:35:31] local.INFO: Packet analysis {"connection_id":64771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:35:31] local.INFO: Extracted packet for processing {"connection_id":64771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:35:31] 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-05-08 02:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:35:31] 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-05-08 02: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-05-08 02:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:35:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":64771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:35:31] local.INFO: GPS data processed {"connection_id":64771,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:35:31] local.INFO: Acknowledgment sent {"connection_id":64771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:35:54] local.INFO: TCP Data received {"connection_id":65519,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:35:54] local.INFO: Processing buffer {"connection_id":65519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:35:54] local.INFO: IMEI packet received {"connection_id":65519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":65519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:35:59] local.INFO: TCP Data received {"connection_id":65519,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:35:59] local.INFO: Processing buffer {"connection_id":65519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:35:59] local.INFO: IMEI packet received {"connection_id":65519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":65519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:36:00] local.INFO: TCP Data received {"connection_id":65519,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:00] local.INFO: Processing buffer {"connection_id":65519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:00] local.INFO: Packet analysis {"connection_id":65519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:36:00] local.INFO: Extracted packet for processing {"connection_id":65519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:00] 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-05-08 02:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:36:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":65519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:36:00] local.INFO: GPS data processed {"connection_id":65519,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:36:00] local.INFO: Acknowledgment sent {"connection_id":65519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:36:31] local.INFO: TCP Data received {"connection_id":65519,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:31] local.INFO: Processing buffer {"connection_id":65519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:31] local.INFO: Packet analysis {"connection_id":65519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:36:31] local.INFO: Extracted packet for processing {"connection_id":65519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:31] 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-05-08 02:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:36:31] 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-05-08 02: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-05-08 02:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:36:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":65519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:36:31] local.INFO: GPS data processed {"connection_id":65519,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:36:31] local.INFO: Acknowledgment sent {"connection_id":65519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:36:53] local.INFO: TCP Data received {"connection_id":64715,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:36:53] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:36:53] local.INFO: IMEI packet received {"connection_id":64715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":64715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:36:58] local.INFO: TCP Data received {"connection_id":64715,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:36:58] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:36:58] local.INFO: IMEI packet received {"connection_id":64715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":64715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:36:59] local.INFO: TCP Data received {"connection_id":64715,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:59] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:36:59] local.INFO: Packet analysis {"connection_id":64715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:36:59] local.INFO: Extracted packet for processing {"connection_id":64715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:36:59] 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-05-08 02:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:36:59] 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-05-08 02: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-05-08 02:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:36:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":64715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:36:59] local.INFO: GPS data processed {"connection_id":64715,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:36:59] local.INFO: Acknowledgment sent {"connection_id":64715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:37:31] local.INFO: TCP Data received {"connection_id":64715,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:37:31] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:37:31] local.INFO: Packet analysis {"connection_id":64715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:37:31] local.INFO: Extracted packet for processing {"connection_id":64715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:37:31] 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-05-08 02:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:37:31] 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-05-08 02: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-05-08 02:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":64715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:37:31] local.INFO: GPS data processed {"connection_id":64715,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:37:31] local.INFO: Acknowledgment sent {"connection_id":64715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:37:53] local.INFO: TCP Data received {"connection_id":64716,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:37:53] local.INFO: Processing buffer {"connection_id":64716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:37:53] local.INFO: IMEI packet received {"connection_id":64716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":64716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:37:58] local.INFO: TCP Data received {"connection_id":64716,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:37:58] local.INFO: Processing buffer {"connection_id":64716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:37:58] local.INFO: IMEI packet received {"connection_id":64716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":64716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:37:59] local.INFO: TCP Data received {"connection_id":64716,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:37:59] local.INFO: Processing buffer {"connection_id":64716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:37:59] local.INFO: Packet analysis {"connection_id":64716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:37:59] local.INFO: Extracted packet for processing {"connection_id":64716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:37:59] 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-05-08 02:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:37:59] 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-05-08 02:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":64716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:37:59] local.INFO: GPS data processed {"connection_id":64716,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:37:59] local.INFO: Acknowledgment sent {"connection_id":64716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:38:24] local.INFO: TCP Data received {"connection_id":65520,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:38:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:38:24] local.INFO: Processing buffer {"connection_id":65520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:38:24] local.INFO: IMEI packet received {"connection_id":65520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:38:24] local.INFO: IMEI acknowledgment sent {"connection_id":65520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:38:30] local.INFO: TCP Data received {"connection_id":64716,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:38:30] local.INFO: Processing buffer {"connection_id":64716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044091a8012d34c54006aa5070000000622e..."} 
[2026-05-08 02:38:30] local.INFO: Packet analysis {"connection_id":64716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:38:30] local.INFO: Extracted packet for processing {"connection_id":64716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0440"} 
[2026-05-08 02:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216000000001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:38:30] 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-05-08 02:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778187801000,"timestamp_ms":1778187801000,"timestamp_seconds":1778187801,"priority":1,"record_length":96,"hex_timestamp":"0000019e044091a8"} 
[2026-05-08 02:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:38: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-05-08 02: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 02:38:30] 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-05-08 02: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-05-08 02:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216000000001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216000000001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:38:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216000000001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":64716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:38:30] local.INFO: GPS data processed {"connection_id":64716,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:38:30] local.INFO: Acknowledgment sent {"connection_id":64716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:38:54] local.INFO: TCP Data received {"connection_id":64671,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:38:54] local.INFO: Processing buffer {"connection_id":64671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:38:54] local.INFO: IMEI packet received {"connection_id":64671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":64671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:38:59] local.INFO: TCP Data received {"connection_id":64671,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:38:59] local.INFO: Processing buffer {"connection_id":64671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:38:59] local.INFO: IMEI packet received {"connection_id":64671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":64671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:39:00] local.INFO: TCP Data received {"connection_id":64671,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:39:00] local.INFO: Processing buffer {"connection_id":64671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:39:00] local.INFO: Packet analysis {"connection_id":64671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:39:00] local.INFO: Extracted packet for processing {"connection_id":64671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:39: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-05-08 02:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:39:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":64671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:39:00] local.INFO: GPS data processed {"connection_id":64671,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:39:00] local.INFO: Acknowledgment sent {"connection_id":64671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:39:02] local.INFO: TCP Data received {"connection_id":64772,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:39:02] local.INFO: Processing buffer {"connection_id":64772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:39:02] local.INFO: IMEI packet received {"connection_id":64772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":64772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:39:32] local.INFO: TCP Data received {"connection_id":64671,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:39:32] local.INFO: Processing buffer {"connection_id":64671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:39:32] local.INFO: Packet analysis {"connection_id":64671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:39:32] local.INFO: Extracted packet for processing {"connection_id":64671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:39:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:39:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":64671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:39:32] local.INFO: GPS data processed {"connection_id":64671,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:39:32] local.INFO: Acknowledgment sent {"connection_id":64671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:39:53] local.INFO: TCP Data received {"connection_id":64717,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:39:54] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:39:54] local.INFO: IMEI packet received {"connection_id":64717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":64717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:39:59] local.INFO: TCP Data received {"connection_id":64717,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:39:59] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:39:59] local.INFO: IMEI packet received {"connection_id":64717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":64717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:40:00] local.INFO: TCP Data received {"connection_id":64717,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:40:00] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:40:00] local.INFO: Packet analysis {"connection_id":64717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:40:00] local.INFO: Extracted packet for processing {"connection_id":64717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:40: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-05-08 02:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:40:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":64717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:40:00] local.INFO: GPS data processed {"connection_id":64717,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:40:00] local.INFO: Acknowledgment sent {"connection_id":64717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:40:32] local.INFO: TCP Data received {"connection_id":64717,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:40:32] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:40:32] local.INFO: Packet analysis {"connection_id":64717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:40:32] local.INFO: Extracted packet for processing {"connection_id":64717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:40:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:40:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":64717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:40:32] local.INFO: GPS data processed {"connection_id":64717,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:40:32] local.INFO: Acknowledgment sent {"connection_id":64717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:40:53] local.INFO: TCP Data received {"connection_id":64718,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:40:53] local.INFO: Processing buffer {"connection_id":64718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:40:53] local.INFO: IMEI packet received {"connection_id":64718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":64718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:40:59] local.INFO: TCP Data received {"connection_id":64718,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:40:59] local.INFO: Processing buffer {"connection_id":64718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:40:59] local.INFO: IMEI packet received {"connection_id":64718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":64718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:41:00] local.INFO: TCP Data received {"connection_id":64718,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:41:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:41:00] local.INFO: Processing buffer {"connection_id":64718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:41:00] local.INFO: Packet analysis {"connection_id":64718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:41:00] local.INFO: Extracted packet for processing {"connection_id":64718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:41:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:41:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:41:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:41:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:41: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-05-08 02:41:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:41:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:41:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:41:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:41:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:41:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:41:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:41:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:41:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:41:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:41:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:41:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:41:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:41:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:41:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:41:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:41:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:41:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:41:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:41:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:41:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:41:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:41:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:41:00] local.INFO: DEBUG: GPS processor result {"connection_id":64718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:41:00] local.INFO: GPS data processed {"connection_id":64718,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:41:00] local.INFO: Acknowledgment sent {"connection_id":64718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:41:31] local.INFO: TCP Data received {"connection_id":64718,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:41:31] local.INFO: Processing buffer {"connection_id":64718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:41:31] local.INFO: Packet analysis {"connection_id":64718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:41:31] local.INFO: Extracted packet for processing {"connection_id":64718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:41:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":64718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:41:31] local.INFO: GPS data processed {"connection_id":64718,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:41:31] local.INFO: Acknowledgment sent {"connection_id":64718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:41:53] local.INFO: TCP Data received {"connection_id":64775,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:41:53] local.INFO: Processing buffer {"connection_id":64775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:41:53] local.INFO: IMEI packet received {"connection_id":64775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":64775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:41:59] local.INFO: TCP Data received {"connection_id":64775,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:41:59] local.INFO: Processing buffer {"connection_id":64775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:41:59] local.INFO: IMEI packet received {"connection_id":64775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":64775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:42:00] local.INFO: TCP Data received {"connection_id":64775,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:42:00] local.INFO: Processing buffer {"connection_id":64775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:42:00] local.INFO: Packet analysis {"connection_id":64775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:42:00] local.INFO: Extracted packet for processing {"connection_id":64775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:42: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-05-08 02:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:42:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":64775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:42:00] local.INFO: GPS data processed {"connection_id":64775,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:42:00] local.INFO: Acknowledgment sent {"connection_id":64775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:42:32] local.INFO: TCP Data received {"connection_id":64775,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:42:32] local.INFO: Processing buffer {"connection_id":64775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:42:32] local.INFO: Packet analysis {"connection_id":64775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:42:32] local.INFO: Extracted packet for processing {"connection_id":64775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:42:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:42:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":64775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:42:32] local.INFO: GPS data processed {"connection_id":64775,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:42:32] local.INFO: Acknowledgment sent {"connection_id":64775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:42:59] local.INFO: TCP Data received {"connection_id":65521,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:42:59] local.INFO: Processing buffer {"connection_id":65521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:42:59] local.INFO: IMEI packet received {"connection_id":65521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":65521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:43:04] local.INFO: TCP Data received {"connection_id":65521,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:04] local.INFO: Processing buffer {"connection_id":65521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:04] local.INFO: IMEI packet received {"connection_id":65521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":65521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:43:05] local.INFO: TCP Data received {"connection_id":65521,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:43:05] local.INFO: Processing buffer {"connection_id":65521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:43:05] local.INFO: Packet analysis {"connection_id":65521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:43:05] local.INFO: Extracted packet for processing {"connection_id":65521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:43:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:43:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:43:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:43:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:43: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-05-08 02:43:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:43:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:43:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:43:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:43:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:43:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:43:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:43:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:43:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:43:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:43:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:43:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:43:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:43:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:43:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:43:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:43:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:43:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:43:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:43:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:43:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:43:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:43:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":65521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:43:05] local.INFO: GPS data processed {"connection_id":65521,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:43:05] local.INFO: Acknowledgment sent {"connection_id":65521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:43:10] local.INFO: TCP Data received {"connection_id":65521,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:43:10] local.INFO: Processing buffer {"connection_id":65521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:43:10] local.INFO: Packet analysis {"connection_id":65521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:43:10] local.INFO: Extracted packet for processing {"connection_id":65521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02: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-05-08 02:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:43: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-05-08 02: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:43:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:43:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":65521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:43:10] local.INFO: GPS data processed {"connection_id":65521,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:43:10] local.INFO: Acknowledgment sent {"connection_id":65521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:43:54] local.INFO: TCP Data received {"connection_id":64776,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:54] local.INFO: Processing buffer {"connection_id":64776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:54] local.INFO: IMEI packet received {"connection_id":64776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":64776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:43:59] local.INFO: TCP Data received {"connection_id":64776,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:59] local.INFO: Processing buffer {"connection_id":64776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:43:59] local.INFO: IMEI packet received {"connection_id":64776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":64776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:44:01] local.INFO: TCP Data received {"connection_id":64776,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:44:01] local.INFO: Processing buffer {"connection_id":64776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04452970012d34c54006aa5070000000622b..."} 
[2026-05-08 02:44:01] local.INFO: Packet analysis {"connection_id":64776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:44:01] local.INFO: Extracted packet for processing {"connection_id":64776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0445"} 
[2026-05-08 02:44:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216077056001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:44: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-05-08 02:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778188102000,"timestamp_ms":1778188102000,"timestamp_seconds":1778188102,"priority":1,"record_length":96,"hex_timestamp":"0000019e04452970"} 
[2026-05-08 02:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 02:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:44:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216077056001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216077056001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:44:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:44:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216077056001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":64776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:44:01] local.INFO: GPS data processed {"connection_id":64776,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:44:01] local.INFO: Acknowledgment sent {"connection_id":64776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:44:32] local.INFO: TCP Data received {"connection_id":64776,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:44:32] local.INFO: Processing buffer {"connection_id":64776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:44:32] local.INFO: Packet analysis {"connection_id":64776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:44:32] local.INFO: Extracted packet for processing {"connection_id":64776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:44:32] 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-05-08 02:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:44:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":64776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:44:32] local.INFO: GPS data processed {"connection_id":64776,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:44:32] local.INFO: Acknowledgment sent {"connection_id":64776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:44:43] local.INFO: TCP Data received {"connection_id":65522,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:44:43] local.INFO: Processing buffer {"connection_id":65522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:44:43] local.INFO: IMEI packet received {"connection_id":65522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:44:43] local.INFO: IMEI acknowledgment sent {"connection_id":65522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:44:46] local.INFO: TCP Data received {"connection_id":65522,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:44:46] local.INFO: Processing buffer {"connection_id":65522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:44:46] local.INFO: IMEI packet received {"connection_id":65522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 02:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":65522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:44:51] local.INFO: TCP Data received {"connection_id":65522,"ip":"42.106.6.41","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-05-08 02:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65522,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-05-08 02:44:51] local.INFO: Processing buffer {"connection_id":65522,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-05-08 02:44:51] local.INFO: IMEI packet received {"connection_id":65522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 02:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":65522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:44:53] local.INFO: TCP Data received {"connection_id":64674,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:44:53] local.INFO: Processing buffer {"connection_id":64674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:44:53] local.INFO: IMEI packet received {"connection_id":64674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":64674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:44:59] local.INFO: TCP Data received {"connection_id":64674,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:44:59] local.INFO: Processing buffer {"connection_id":64674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:44:59] local.INFO: IMEI packet received {"connection_id":64674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":64674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:45:00] local.INFO: TCP Data received {"connection_id":64674,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:45:00] local.INFO: Processing buffer {"connection_id":64674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:45:00] local.INFO: Packet analysis {"connection_id":64674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:45:00] local.INFO: Extracted packet for processing {"connection_id":64674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:45: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-05-08 02:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":64674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:45:00] local.INFO: GPS data processed {"connection_id":64674,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:45:00] local.INFO: Acknowledgment sent {"connection_id":64674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:45:22] local.INFO: TCP Data received {"connection_id":64720,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:45:22] local.INFO: Processing buffer {"connection_id":64720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:45:22] local.INFO: IMEI packet received {"connection_id":64720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":64720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:45:32] local.INFO: TCP Data received {"connection_id":64674,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:45:32] local.INFO: Processing buffer {"connection_id":64674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:45:32] local.INFO: Packet analysis {"connection_id":64674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:45:32] local.INFO: Extracted packet for processing {"connection_id":64674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:45:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:45:32] 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-05-08 02:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":64674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:45:32] local.INFO: GPS data processed {"connection_id":64674,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:45:32] local.INFO: Acknowledgment sent {"connection_id":64674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:45:53] local.INFO: TCP Data received {"connection_id":64675,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:45:53] local.INFO: Processing buffer {"connection_id":64675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:45:53] local.INFO: IMEI packet received {"connection_id":64675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":64675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:45:53] local.INFO: TCP Data received {"connection_id":64676,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:45:53] local.INFO: Processing buffer {"connection_id":64676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:45:53] local.INFO: IMEI packet received {"connection_id":64676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":64676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:45:59] local.INFO: TCP Data received {"connection_id":64676,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:45:59] local.INFO: Processing buffer {"connection_id":64676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:45:59] local.INFO: IMEI packet received {"connection_id":64676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":64676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:46:00] local.INFO: TCP Data received {"connection_id":64676,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:46:00] local.INFO: Processing buffer {"connection_id":64676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:46:00] local.INFO: Packet analysis {"connection_id":64676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:46:00] local.INFO: Extracted packet for processing {"connection_id":64676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:46: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-05-08 02:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:46:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":64676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:46:00] local.INFO: GPS data processed {"connection_id":64676,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:46:00] local.INFO: Acknowledgment sent {"connection_id":64676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:46:32] local.INFO: TCP Data received {"connection_id":64676,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:46:32] local.INFO: Processing buffer {"connection_id":64676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:46:32] local.INFO: Packet analysis {"connection_id":64676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:46:32] local.INFO: Extracted packet for processing {"connection_id":64676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:46:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:46:32] 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-05-08 02:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:46:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":64676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:46:32] local.INFO: GPS data processed {"connection_id":64676,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:46:32] local.INFO: Acknowledgment sent {"connection_id":64676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:46:59] local.INFO: TCP Data received {"connection_id":64721,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:46:59] local.INFO: Processing buffer {"connection_id":64721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:46:59] local.INFO: IMEI packet received {"connection_id":64721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":64721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:47:04] local.INFO: TCP Data received {"connection_id":64721,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:04] local.INFO: Processing buffer {"connection_id":64721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:04] local.INFO: IMEI packet received {"connection_id":64721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":64721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:47:05] local.INFO: TCP Data received {"connection_id":64721,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:47:05] local.INFO: Processing buffer {"connection_id":64721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:47:05] local.INFO: Packet analysis {"connection_id":64721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:47:05] local.INFO: Extracted packet for processing {"connection_id":64721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:47: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-05-08 02:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:47:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":64721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:47:05] local.INFO: GPS data processed {"connection_id":64721,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:47:05] local.INFO: Acknowledgment sent {"connection_id":64721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:47:09] local.INFO: TCP Data received {"connection_id":64721,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:47:09] local.INFO: Processing buffer {"connection_id":64721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:47:09] local.INFO: Packet analysis {"connection_id":64721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:47:09] local.INFO: Extracted packet for processing {"connection_id":64721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 02:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02: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-05-08 02:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 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-05-08 02: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-05-08 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":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:47: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-05-08 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-05-08 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-05-08 02:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:47:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":64721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:47:09] local.INFO: GPS data processed {"connection_id":64721,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:47:09] local.INFO: Acknowledgment sent {"connection_id":64721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:47:54] local.INFO: TCP Data received {"connection_id":64778,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:54] local.INFO: Processing buffer {"connection_id":64778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:54] local.INFO: IMEI packet received {"connection_id":64778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":64778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:47:59] local.INFO: TCP Data received {"connection_id":64778,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:59] local.INFO: Processing buffer {"connection_id":64778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:47:59] local.INFO: IMEI packet received {"connection_id":64778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":64778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:48:00] local.INFO: TCP Data received {"connection_id":64778,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:48:00] local.INFO: Processing buffer {"connection_id":64778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:48:00] local.INFO: Packet analysis {"connection_id":64778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:48:00] local.INFO: Extracted packet for processing {"connection_id":64778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:48: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-05-08 02:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:48:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":64778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:48:00] local.INFO: GPS data processed {"connection_id":64778,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:48:00] local.INFO: Acknowledgment sent {"connection_id":64778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:48:32] local.INFO: TCP Data received {"connection_id":64778,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:48:32] local.INFO: Processing buffer {"connection_id":64778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:48:32] local.INFO: Packet analysis {"connection_id":64778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:48:32] local.INFO: Extracted packet for processing {"connection_id":64778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:48:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:48:32] 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-05-08 02: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-05-08 02:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:48:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":64778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:48:32] local.INFO: GPS data processed {"connection_id":64778,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:48:32] local.INFO: Acknowledgment sent {"connection_id":64778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:48:54] local.INFO: TCP Data received {"connection_id":65526,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:48:54] local.INFO: Processing buffer {"connection_id":65526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:48:54] local.INFO: IMEI packet received {"connection_id":65526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":65526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:48:59] local.INFO: TCP Data received {"connection_id":65526,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:48:59] local.INFO: Processing buffer {"connection_id":65526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:48:59] local.INFO: IMEI packet received {"connection_id":65526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":65526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:49:00] local.INFO: TCP Data received {"connection_id":65526,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:49:00] local.INFO: Processing buffer {"connection_id":65526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0449c138012d34c54006aa5070000000622c..."} 
[2026-05-08 02:49:00] local.INFO: Packet analysis {"connection_id":65526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:49:00] local.INFO: Extracted packet for processing {"connection_id":65526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0449"} 
[2026-05-08 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216154112001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:49: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-05-08 02:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188403000,"timestamp_ms":1778188403000,"timestamp_seconds":1778188403,"priority":1,"record_length":96,"hex_timestamp":"0000019e0449c138"} 
[2026-05-08 02:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 02:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216154112001,"66":24636,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216154112001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:49:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216154112001,"power":24636,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":65526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:49:00] local.INFO: GPS data processed {"connection_id":65526,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:49:00] local.INFO: Acknowledgment sent {"connection_id":65526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:49:32] local.INFO: TCP Data received {"connection_id":65526,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:49:32] local.INFO: Processing buffer {"connection_id":65526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:49:32] local.INFO: Packet analysis {"connection_id":65526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:49:32] local.INFO: Extracted packet for processing {"connection_id":65526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:49:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:49:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:49:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":65526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:49:32] local.INFO: GPS data processed {"connection_id":65526,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:49:32] local.INFO: Acknowledgment sent {"connection_id":65526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:49:59] local.INFO: TCP Data received {"connection_id":64678,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:49:59] local.INFO: Processing buffer {"connection_id":64678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:49:59] local.INFO: IMEI packet received {"connection_id":64678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":64678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:50:04] local.INFO: TCP Data received {"connection_id":64678,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:04] local.INFO: Processing buffer {"connection_id":64678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:04] local.INFO: IMEI packet received {"connection_id":64678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":64678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:50:05] local.INFO: TCP Data received {"connection_id":64678,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:50:05] local.INFO: Processing buffer {"connection_id":64678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:50:05] local.INFO: Packet analysis {"connection_id":64678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:50:05] local.INFO: Extracted packet for processing {"connection_id":64678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:50: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-05-08 02:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:50:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":64678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:50:05] local.INFO: GPS data processed {"connection_id":64678,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:50:05] local.INFO: Acknowledgment sent {"connection_id":64678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:50:09] local.INFO: TCP Data received {"connection_id":64678,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:50:09] local.INFO: Processing buffer {"connection_id":64678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:50:09] local.INFO: Packet analysis {"connection_id":64678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:50:09] local.INFO: Extracted packet for processing {"connection_id":64678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02: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-05-08 02:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02: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-05-08 02: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:50:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":64678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:50:09] local.INFO: GPS data processed {"connection_id":64678,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:50:09] local.INFO: Acknowledgment sent {"connection_id":64678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:50:54] local.INFO: TCP Data received {"connection_id":64679,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:54] local.INFO: Processing buffer {"connection_id":64679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:54] local.INFO: IMEI packet received {"connection_id":64679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":64679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:50:59] local.INFO: TCP Data received {"connection_id":64679,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:59] local.INFO: Processing buffer {"connection_id":64679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:50:59] local.INFO: IMEI packet received {"connection_id":64679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":64679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:51:00] local.INFO: TCP Data received {"connection_id":64679,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:51:00] local.INFO: Processing buffer {"connection_id":64679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:51:00] local.INFO: Packet analysis {"connection_id":64679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:51:00] local.INFO: Extracted packet for processing {"connection_id":64679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:51: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-05-08 02:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:51:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":64679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:51:00] local.INFO: GPS data processed {"connection_id":64679,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:51:00] local.INFO: Acknowledgment sent {"connection_id":64679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:51:13] local.INFO: TCP Data received {"connection_id":64722,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:51:13] local.INFO: Processing buffer {"connection_id":64722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:51:13] local.INFO: IMEI packet received {"connection_id":64722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":64722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:51:31] local.INFO: TCP Data received {"connection_id":64679,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:51:31] local.INFO: Processing buffer {"connection_id":64679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:51:31] local.INFO: Packet analysis {"connection_id":64679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:51:31] local.INFO: Extracted packet for processing {"connection_id":64679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:51:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":64679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:51:31] local.INFO: GPS data processed {"connection_id":64679,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:51:31] local.INFO: Acknowledgment sent {"connection_id":64679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:51:42] local.INFO: TCP Data received {"connection_id":64680,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:51:42] local.INFO: Processing buffer {"connection_id":64680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:51:42] local.INFO: IMEI packet received {"connection_id":64680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":64680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:51:53] local.INFO: TCP Data received {"connection_id":64723,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:51:53] local.INFO: Processing buffer {"connection_id":64723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:51:53] local.INFO: IMEI packet received {"connection_id":64723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":64723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:51:59] local.INFO: TCP Data received {"connection_id":64723,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:51:59] local.INFO: Processing buffer {"connection_id":64723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:51:59] local.INFO: IMEI packet received {"connection_id":64723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":64723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:52:00] local.INFO: TCP Data received {"connection_id":64723,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:52:00] local.INFO: Processing buffer {"connection_id":64723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:52:00] local.INFO: Packet analysis {"connection_id":64723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:52:00] local.INFO: Extracted packet for processing {"connection_id":64723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:52: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-05-08 02:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:52:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":64723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:52:00] local.INFO: GPS data processed {"connection_id":64723,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:52:00] local.INFO: Acknowledgment sent {"connection_id":64723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:52:31] local.INFO: TCP Data received {"connection_id":64723,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:52:31] local.INFO: Processing buffer {"connection_id":64723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:52:31] local.INFO: Packet analysis {"connection_id":64723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:52:31] local.INFO: Extracted packet for processing {"connection_id":64723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":64723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:52:31] local.INFO: GPS data processed {"connection_id":64723,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:52:31] local.INFO: Acknowledgment sent {"connection_id":64723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:52:53] local.INFO: TCP Data received {"connection_id":64724,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:52:53] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:52:53] local.INFO: IMEI packet received {"connection_id":64724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":64724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:52:59] local.INFO: TCP Data received {"connection_id":64724,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:52:59] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:52:59] local.INFO: IMEI packet received {"connection_id":64724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":64724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:53:00] local.INFO: TCP Data received {"connection_id":64724,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:53:00] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:53:00] local.INFO: Packet analysis {"connection_id":64724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:53:00] local.INFO: Extracted packet for processing {"connection_id":64724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:53: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-05-08 02:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:53:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":64724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:53:00] local.INFO: GPS data processed {"connection_id":64724,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:53:00] local.INFO: Acknowledgment sent {"connection_id":64724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:53:31] local.INFO: TCP Data received {"connection_id":64724,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:53:31] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:53:31] local.INFO: Packet analysis {"connection_id":64724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:53:31] local.INFO: Extracted packet for processing {"connection_id":64724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:53:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":64724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:53:31] local.INFO: GPS data processed {"connection_id":64724,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:53:31] local.INFO: Acknowledgment sent {"connection_id":64724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:53:53] local.INFO: TCP Data received {"connection_id":64682,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:53:53] local.INFO: Processing buffer {"connection_id":64682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:53:53] local.INFO: IMEI packet received {"connection_id":64682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":64682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:53:59] local.INFO: TCP Data received {"connection_id":64682,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:53:59] local.INFO: Processing buffer {"connection_id":64682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:53:59] local.INFO: IMEI packet received {"connection_id":64682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":64682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:54:00] local.INFO: TCP Data received {"connection_id":64682,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:54:00] local.INFO: Processing buffer {"connection_id":64682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e044e5518012d34c54006aa5070000000622e..."} 
[2026-05-08 02:54:00] local.INFO: Packet analysis {"connection_id":64682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:54:00] local.INFO: Extracted packet for processing {"connection_id":64682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e044e"} 
[2026-05-08 02:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216231168001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:54: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-05-08 02:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778188703000,"timestamp_ms":1778188703000,"timestamp_seconds":1778188703,"priority":1,"record_length":96,"hex_timestamp":"0000019e044e5518"} 
[2026-05-08 02:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":96,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-05-08 02:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1218,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216231168001,"66":25071,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216231168001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:54:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216231168001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":64682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:54:00] local.INFO: GPS data processed {"connection_id":64682,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:54:00] local.INFO: Acknowledgment sent {"connection_id":64682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:54:31] local.INFO: TCP Data received {"connection_id":64682,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:54:31] local.INFO: Processing buffer {"connection_id":64682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:54:31] local.INFO: Packet analysis {"connection_id":64682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:54:31] local.INFO: Extracted packet for processing {"connection_id":64682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:54:31] 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-05-08 02:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:54:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":64682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:54:31] local.INFO: GPS data processed {"connection_id":64682,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:54:31] local.INFO: Acknowledgment sent {"connection_id":64682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:54:59] local.INFO: TCP Data received {"connection_id":64683,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:54:59] local.INFO: Processing buffer {"connection_id":64683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:54:59] local.INFO: IMEI packet received {"connection_id":64683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":64683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:55:04] local.INFO: TCP Data received {"connection_id":64683,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:04] local.INFO: Processing buffer {"connection_id":64683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:04] local.INFO: IMEI packet received {"connection_id":64683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":64683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:55:05] local.INFO: TCP Data received {"connection_id":64683,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:55:05] local.INFO: Processing buffer {"connection_id":64683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:55:05] local.INFO: Packet analysis {"connection_id":64683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:55:05] local.INFO: Extracted packet for processing {"connection_id":64683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:55:05] 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-05-08 02:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:55:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":64683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:55:05] local.INFO: GPS data processed {"connection_id":64683,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:55:05] local.INFO: Acknowledgment sent {"connection_id":64683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:55:10] local.INFO: TCP Data received {"connection_id":64683,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:55:10] local.INFO: Processing buffer {"connection_id":64683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:55:10] local.INFO: Packet analysis {"connection_id":64683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:55:10] local.INFO: Extracted packet for processing {"connection_id":64683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:55:10] 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-05-08 02:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02: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-05-08 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:55:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:55:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":64683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:55:10] local.INFO: GPS data processed {"connection_id":64683,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:55:10] local.INFO: Acknowledgment sent {"connection_id":64683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:55:53] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:53] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:53] local.INFO: IMEI packet received {"connection_id":64726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":64726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:55:59] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:59] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:55:59] local.INFO: IMEI packet received {"connection_id":64726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":64726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:56:00] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:56:00] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:56:00] local.INFO: Packet analysis {"connection_id":64726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:56:00] local.INFO: Extracted packet for processing {"connection_id":64726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:56:00] 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-05-08 02:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:56:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":64726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:56:00] local.INFO: GPS data processed {"connection_id":64726,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:56:00] local.INFO: Acknowledgment sent {"connection_id":64726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:56:32] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:56:32] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:56:32] local.INFO: Packet analysis {"connection_id":64726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:56:32] local.INFO: Extracted packet for processing {"connection_id":64726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:56:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:56:32] 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-05-08 02:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:56:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":64726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:56:32] local.INFO: GPS data processed {"connection_id":64726,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:56:32] local.INFO: Acknowledgment sent {"connection_id":64726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:56:54] local.INFO: TCP Data received {"connection_id":64684,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:56:54] local.INFO: Processing buffer {"connection_id":64684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:56:54] local.INFO: IMEI packet received {"connection_id":64684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":64684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:56:59] local.INFO: TCP Data received {"connection_id":64684,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:56:59] local.INFO: Processing buffer {"connection_id":64684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:56:59] local.INFO: IMEI packet received {"connection_id":64684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":64684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:57:00] local.INFO: TCP Data received {"connection_id":64684,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:57:00] local.INFO: Processing buffer {"connection_id":64684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:57:00] local.INFO: Packet analysis {"connection_id":64684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:57:00] local.INFO: Extracted packet for processing {"connection_id":64684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:57:00] 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-05-08 02:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:57:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":64684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:57:00] local.INFO: GPS data processed {"connection_id":64684,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:57:00] local.INFO: Acknowledgment sent {"connection_id":64684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:57:18] local.INFO: TCP Data received {"connection_id":65528,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:57:18] local.INFO: Processing buffer {"connection_id":65528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:57:18] local.INFO: IMEI packet received {"connection_id":65528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":65528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:57:31] local.INFO: TCP Data received {"connection_id":64684,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:57:31] local.INFO: Processing buffer {"connection_id":64684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:57:31] local.INFO: Packet analysis {"connection_id":64684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:57:31] local.INFO: Extracted packet for processing {"connection_id":64684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:57:31] 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-05-08 02:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:57:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":64684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:57:31] local.INFO: GPS data processed {"connection_id":64684,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:57:31] local.INFO: Acknowledgment sent {"connection_id":64684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:57:43] local.INFO: TCP Data received {"connection_id":64780,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:57:43] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 02:57:43] local.INFO: IMEI packet received {"connection_id":64780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 02:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":64780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:57:53] local.INFO: TCP Data received {"connection_id":64727,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:57:53] local.INFO: Processing buffer {"connection_id":64727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:57:53] local.INFO: IMEI packet received {"connection_id":64727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":64727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:57:59] local.INFO: TCP Data received {"connection_id":64727,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:57:59] local.INFO: Processing buffer {"connection_id":64727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:57:59] local.INFO: IMEI packet received {"connection_id":64727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":64727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:58:00] local.INFO: TCP Data received {"connection_id":64727,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:58:00] local.INFO: Processing buffer {"connection_id":64727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:58:00] local.INFO: Packet analysis {"connection_id":64727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:58:00] local.INFO: Extracted packet for processing {"connection_id":64727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:58:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:58:00] 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-05-08 02:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:58:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":64727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:58:00] local.INFO: GPS data processed {"connection_id":64727,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:58:00] local.INFO: Acknowledgment sent {"connection_id":64727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:58:32] local.INFO: TCP Data received {"connection_id":64727,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:58:32] local.INFO: Processing buffer {"connection_id":64727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:58:32] local.INFO: Packet analysis {"connection_id":64727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:58:32] local.INFO: Extracted packet for processing {"connection_id":64727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 02:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:58:32] 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-05-08 02:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:58:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:58:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:58:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02:58:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 02:58:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:58:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:58:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":64727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:58:32] local.INFO: GPS data processed {"connection_id":64727,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:58:32] local.INFO: Acknowledgment sent {"connection_id":64727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:58:53] local.INFO: TCP Data received {"connection_id":64781,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:58:53] local.INFO: Processing buffer {"connection_id":64781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:58:53] local.INFO: IMEI packet received {"connection_id":64781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":64781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:58:59] local.INFO: TCP Data received {"connection_id":64781,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:58:59] local.INFO: Processing buffer {"connection_id":64781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:58:59] local.INFO: IMEI packet received {"connection_id":64781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":64781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 02:59:00] local.INFO: TCP Data received {"connection_id":64781,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:59:00] local.INFO: Processing buffer {"connection_id":64781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0452ece0012d34c54006aa5070000000622e..."} 
[2026-05-08 02:59:00] local.INFO: Packet analysis {"connection_id":64781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:59:00] local.INFO: Extracted packet for processing {"connection_id":64781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0452"} 
[2026-05-08 02:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216307968001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:59:00] 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-05-08 02:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189004000,"timestamp_ms":1778189004000,"timestamp_seconds":1778189004,"priority":1,"record_length":96,"hex_timestamp":"0000019e0452ece0"} 
[2026-05-08 02:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 02:59:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216307968001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 02:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216307968001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:59:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 02:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216307968001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":64781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:59:00] local.INFO: GPS data processed {"connection_id":64781,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:59:00] local.INFO: Acknowledgment sent {"connection_id":64781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:59:31] local.INFO: TCP Data received {"connection_id":64781,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 02:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 02:59:31] local.INFO: Processing buffer {"connection_id":64781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 02:59:31] local.INFO: Packet analysis {"connection_id":64781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 02:59:31] local.INFO: Extracted packet for processing {"connection_id":64781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 02: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-05-08 02:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 02:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 02:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 02:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 02:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 02:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 02:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 02: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 02:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 02: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-05-08 02:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 02:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 02:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 02:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 02:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 02:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 02:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 02:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 02:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 02:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 02:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 02:59:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 02:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 02:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 02:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 02:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 02:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":64781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 02:59:31] local.INFO: GPS data processed {"connection_id":64781,"processed":1,"errors":0,"total":1} 
[2026-05-08 02:59:31] local.INFO: Acknowledgment sent {"connection_id":64781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 02:59:54] local.INFO: TCP Data received {"connection_id":64686,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:59:54] local.INFO: Processing buffer {"connection_id":64686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:59:54] local.INFO: IMEI packet received {"connection_id":64686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 02:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":64686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 02:59:59] local.INFO: TCP Data received {"connection_id":64686,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:59:59] local.INFO: Processing buffer {"connection_id":64686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 02:59:59] local.INFO: IMEI packet received {"connection_id":64686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 02:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":64686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:00:00] local.INFO: TCP Data received {"connection_id":64686,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:00:00] local.INFO: Processing buffer {"connection_id":64686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:00:00] local.INFO: Packet analysis {"connection_id":64686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:00:00] local.INFO: Extracted packet for processing {"connection_id":64686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:00: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-05-08 03:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":64686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:00:00] local.INFO: GPS data processed {"connection_id":64686,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:00:00] local.INFO: Acknowledgment sent {"connection_id":64686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:00:31] local.INFO: TCP Data received {"connection_id":64686,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:00:31] local.INFO: Processing buffer {"connection_id":64686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:00:31] local.INFO: Packet analysis {"connection_id":64686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:00:31] local.INFO: Extracted packet for processing {"connection_id":64686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":64686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:00:31] local.INFO: GPS data processed {"connection_id":64686,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:00:31] local.INFO: Acknowledgment sent {"connection_id":64686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:00:54] local.INFO: TCP Data received {"connection_id":65530,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:00:54] local.INFO: Processing buffer {"connection_id":65530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:00:54] local.INFO: IMEI packet received {"connection_id":65530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":65530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:00:59] local.INFO: TCP Data received {"connection_id":65530,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:00:59] local.INFO: Processing buffer {"connection_id":65530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:00:59] local.INFO: IMEI packet received {"connection_id":65530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":65530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:01:00] local.INFO: TCP Data received {"connection_id":65530,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:01:00] local.INFO: Processing buffer {"connection_id":65530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:01:00] local.INFO: Packet analysis {"connection_id":65530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:01:00] local.INFO: Extracted packet for processing {"connection_id":65530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:01:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:01: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-05-08 03:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:01:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":65530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:01:00] local.INFO: GPS data processed {"connection_id":65530,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:01:00] local.INFO: Acknowledgment sent {"connection_id":65530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:01:31] local.INFO: TCP Data received {"connection_id":65530,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:01:31] local.INFO: Processing buffer {"connection_id":65530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:01:31] local.INFO: Packet analysis {"connection_id":65530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:01:31] local.INFO: Extracted packet for processing {"connection_id":65530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:01:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":65530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:01:31] local.INFO: GPS data processed {"connection_id":65530,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:01:31] local.INFO: Acknowledgment sent {"connection_id":65530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:01:53] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:01:53] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:01:53] local.INFO: IMEI packet received {"connection_id":64783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":64783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:01:59] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:01:59] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:01:59] local.INFO: IMEI packet received {"connection_id":64783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":64783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:02:00] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:02:00] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:02:00] local.INFO: Packet analysis {"connection_id":64783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:02:00] local.INFO: Extracted packet for processing {"connection_id":64783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:02: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-05-08 03:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:02:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":64783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:02:00] local.INFO: GPS data processed {"connection_id":64783,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:02:00] local.INFO: Acknowledgment sent {"connection_id":64783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:02:32] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:02:32] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:02:32] local.INFO: Packet analysis {"connection_id":64783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:02:32] local.INFO: Extracted packet for processing {"connection_id":64783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:02:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:02:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:02:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:02:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":64783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:02:32] local.INFO: GPS data processed {"connection_id":64783,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:02:32] local.INFO: Acknowledgment sent {"connection_id":64783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:02:53] local.INFO: TCP Data received {"connection_id":65532,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:02:53] local.INFO: Processing buffer {"connection_id":65532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:02:53] local.INFO: IMEI packet received {"connection_id":65532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":65532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:02:59] local.INFO: TCP Data received {"connection_id":65532,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:02:59] local.INFO: Processing buffer {"connection_id":65532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:02:59] local.INFO: IMEI packet received {"connection_id":65532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":65532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:03:00] local.INFO: TCP Data received {"connection_id":65532,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:03:00] local.INFO: Processing buffer {"connection_id":65532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:03:00] local.INFO: Packet analysis {"connection_id":65532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:03:00] local.INFO: Extracted packet for processing {"connection_id":65532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:03: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-05-08 03:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:03:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":65532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:03:00] local.INFO: GPS data processed {"connection_id":65532,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:03:00] local.INFO: Acknowledgment sent {"connection_id":65532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:03:32] local.INFO: TCP Data received {"connection_id":65532,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:03:32] local.INFO: Processing buffer {"connection_id":65532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:03:32] local.INFO: Packet analysis {"connection_id":65532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:03:32] local.INFO: Extracted packet for processing {"connection_id":65532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:03:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":65532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:03:32] local.INFO: GPS data processed {"connection_id":65532,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:03:32] local.INFO: Acknowledgment sent {"connection_id":65532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:03:49] local.INFO: TCP Data received {"connection_id":64687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:49] local.INFO: Processing buffer {"connection_id":64687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:49] local.INFO: IMEI packet received {"connection_id":64687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":64687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:03:54] local.INFO: TCP Data received {"connection_id":64687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:54] local.INFO: Processing buffer {"connection_id":64687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:54] local.INFO: IMEI packet received {"connection_id":64687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 03:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":64687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:03:58] local.INFO: TCP Data received {"connection_id":64687,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:58] local.INFO: Processing buffer {"connection_id":64687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:03:58] local.INFO: IMEI packet received {"connection_id":64687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 03:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":64687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:03:59] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:03:59] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:03:59] local.INFO: IMEI packet received {"connection_id":64784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":64784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:04:04] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:04] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:04] local.INFO: IMEI packet received {"connection_id":64784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":64784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:04:05] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:05] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045784a8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:05] local.INFO: Packet analysis {"connection_id":64784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:04:05] local.INFO: Extracted packet for processing {"connection_id":64784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216385024001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:04: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-05-08 03:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778189305000,"timestamp_ms":1778189305000,"timestamp_seconds":1778189305,"priority":1,"record_length":96,"hex_timestamp":"0000019e045784a8"} 
[2026-05-08 03:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 03:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216385024001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216385024001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:04:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216385024001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":64784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:04:05] local.INFO: GPS data processed {"connection_id":64784,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:04:05] local.INFO: Acknowledgment sent {"connection_id":64784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:04:05] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:05] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:05] local.INFO: Packet analysis {"connection_id":64784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:04:05] local.INFO: Extracted packet for processing {"connection_id":64784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:04: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-05-08 03:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:04:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":64784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:04:05] local.INFO: GPS data processed {"connection_id":64784,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:04:05] local.INFO: Acknowledgment sent {"connection_id":64784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:04:37] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:37] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:04:37] local.INFO: Packet analysis {"connection_id":64784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:04:37] local.INFO: Extracted packet for processing {"connection_id":64784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:04:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03: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-05-08 03:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":64784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:04:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":64784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:04:37] local.INFO: GPS data processed {"connection_id":64784,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:04:37] local.INFO: Acknowledgment sent {"connection_id":64784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:04:42] local.INFO: TCP Data received {"connection_id":64729,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:04:42] local.INFO: Processing buffer {"connection_id":64729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:04:42] local.INFO: IMEI packet received {"connection_id":64729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:04:42] local.INFO: IMEI acknowledgment sent {"connection_id":64729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:04:53] local.INFO: TCP Data received {"connection_id":64730,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:53] local.INFO: Processing buffer {"connection_id":64730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:53] local.INFO: IMEI packet received {"connection_id":64730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":64730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:04:59] local.INFO: TCP Data received {"connection_id":64730,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:59] local.INFO: Processing buffer {"connection_id":64730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:04:59] local.INFO: IMEI packet received {"connection_id":64730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":64730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:05:00] local.INFO: TCP Data received {"connection_id":64730,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:05:00] local.INFO: Processing buffer {"connection_id":64730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:05:00] local.INFO: Packet analysis {"connection_id":64730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:05:00] local.INFO: Extracted packet for processing {"connection_id":64730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:05: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-05-08 03:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:05:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":64730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:05:00] local.INFO: GPS data processed {"connection_id":64730,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:05:00] local.INFO: Acknowledgment sent {"connection_id":64730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:05:31] local.INFO: TCP Data received {"connection_id":64730,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:05:31] local.INFO: Processing buffer {"connection_id":64730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:05:31] local.INFO: Packet analysis {"connection_id":64730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:05:31] local.INFO: Extracted packet for processing {"connection_id":64730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:05:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":64730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:05:31] local.INFO: GPS data processed {"connection_id":64730,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:05:31] local.INFO: Acknowledgment sent {"connection_id":64730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:05:53] local.INFO: TCP Data received {"connection_id":64785,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:05:53] local.INFO: Processing buffer {"connection_id":64785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:05:53] local.INFO: IMEI packet received {"connection_id":64785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":64785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:05:59] local.INFO: TCP Data received {"connection_id":64785,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:05:59] local.INFO: Processing buffer {"connection_id":64785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:05:59] local.INFO: IMEI packet received {"connection_id":64785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":64785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:06:00] local.INFO: TCP Data received {"connection_id":64785,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:06:00] local.INFO: Processing buffer {"connection_id":64785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:06:00] local.INFO: Packet analysis {"connection_id":64785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:06:00] local.INFO: Extracted packet for processing {"connection_id":64785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:06: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-05-08 03:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:06:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":64785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:06:00] local.INFO: GPS data processed {"connection_id":64785,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:06:00] local.INFO: Acknowledgment sent {"connection_id":64785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:06:32] local.INFO: TCP Data received {"connection_id":64785,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:06:32] local.INFO: Processing buffer {"connection_id":64785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:06:32] local.INFO: Packet analysis {"connection_id":64785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:06:32] local.INFO: Extracted packet for processing {"connection_id":64785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:06:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:06:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":64785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:06:32] local.INFO: GPS data processed {"connection_id":64785,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:06:32] local.INFO: Acknowledgment sent {"connection_id":64785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:06:53] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:06:53] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:06:53] local.INFO: IMEI packet received {"connection_id":64731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":64731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:06:59] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:06:59] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:06:59] local.INFO: IMEI packet received {"connection_id":64731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":64731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:07:00] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:07:00] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:07:00] local.INFO: Packet analysis {"connection_id":64731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:07:00] local.INFO: Extracted packet for processing {"connection_id":64731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:07: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-05-08 03:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":64731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:07:00] local.INFO: GPS data processed {"connection_id":64731,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:07:00] local.INFO: Acknowledgment sent {"connection_id":64731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:07:32] local.INFO: TCP Data received {"connection_id":64731,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:07:32] local.INFO: Processing buffer {"connection_id":64731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:07:32] local.INFO: Packet analysis {"connection_id":64731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:07:32] local.INFO: Extracted packet for processing {"connection_id":64731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:07:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:07:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":64731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:07:32] local.INFO: GPS data processed {"connection_id":64731,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:07:32] local.INFO: Acknowledgment sent {"connection_id":64731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:07:53] local.INFO: TCP Data received {"connection_id":65534,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:07:53] local.INFO: Processing buffer {"connection_id":65534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:07:53] local.INFO: IMEI packet received {"connection_id":65534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":65534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:07:59] local.INFO: TCP Data received {"connection_id":65534,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:07:59] local.INFO: Processing buffer {"connection_id":65534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:07:59] local.INFO: IMEI packet received {"connection_id":65534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":65534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:08:00] local.INFO: TCP Data received {"connection_id":65534,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:08:00] local.INFO: Processing buffer {"connection_id":65534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:08:00] local.INFO: Packet analysis {"connection_id":65534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:08:00] local.INFO: Extracted packet for processing {"connection_id":65534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:08: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-05-08 03:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:08:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":65534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:08:00] local.INFO: GPS data processed {"connection_id":65534,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:08:00] local.INFO: Acknowledgment sent {"connection_id":65534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:08:31] local.INFO: TCP Data received {"connection_id":65534,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:08:31] local.INFO: Processing buffer {"connection_id":65534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:08:31] local.INFO: Packet analysis {"connection_id":65534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:08:31] local.INFO: Extracted packet for processing {"connection_id":65534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:08:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":65534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:08:31] local.INFO: GPS data processed {"connection_id":65534,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:08:31] local.INFO: Acknowledgment sent {"connection_id":65534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:08:59] local.INFO: TCP Data received {"connection_id":64732,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:08:59] local.INFO: Processing buffer {"connection_id":64732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:08:59] local.INFO: IMEI packet received {"connection_id":64732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":64732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:09:04] local.INFO: TCP Data received {"connection_id":64732,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:04] local.INFO: Processing buffer {"connection_id":64732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:04] local.INFO: IMEI packet received {"connection_id":64732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":64732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:09:05] local.INFO: TCP Data received {"connection_id":64732,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:09:05] local.INFO: Processing buffer {"connection_id":64732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e045c1c70012d34c54006aa5070000000622c..."} 
[2026-05-08 03:09:05] local.INFO: Packet analysis {"connection_id":64732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:09:05] local.INFO: Extracted packet for processing {"connection_id":64732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e045c"} 
[2026-05-08 03:09:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216462080001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:09: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-05-08 03:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778189606000,"timestamp_ms":1778189606000,"timestamp_seconds":1778189606,"priority":1,"record_length":96,"hex_timestamp":"0000019e045c1c70"} 
[2026-05-08 03:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216462080001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216462080001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:09:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:09:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216462080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":64732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:09:05] local.INFO: GPS data processed {"connection_id":64732,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:09:05] local.INFO: Acknowledgment sent {"connection_id":64732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:09:06] local.INFO: TCP Data received {"connection_id":64732,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:09:06] local.INFO: Processing buffer {"connection_id":64732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:09:06] local.INFO: Packet analysis {"connection_id":64732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:09:06] local.INFO: Extracted packet for processing {"connection_id":64732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:09: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-05-08 03:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:09:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:09:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":64732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":64732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":64732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:09:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:09:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":64732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:09:06] local.INFO: GPS data processed {"connection_id":64732,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:09:06] local.INFO: Acknowledgment sent {"connection_id":64732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:09:37] local.INFO: TCP Data received {"connection_id":64732,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:09:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:09:37] local.INFO: Processing buffer {"connection_id":64732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:09:37] local.INFO: Packet analysis {"connection_id":64732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:09:37] local.INFO: Extracted packet for processing {"connection_id":64732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:09:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:09:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:09:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:09:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:09:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:09:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03: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-05-08 03:09:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:09: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-05-08 03:09:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:09:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:09:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:09:37] local.INFO: Teltonika packet parsed successfully {"connection_id":64732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:09:37] local.INFO: Passing IMEI to GPS processor {"connection_id":64732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:09:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":64732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:09:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:09:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:09:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:09:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:09:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:09:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:09:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:09:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:09:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:09:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:09:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:09:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:09:37] local.INFO: DEBUG: GPS processor result {"connection_id":64732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:09:37] local.INFO: GPS data processed {"connection_id":64732,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:09:37] local.INFO: Acknowledgment sent {"connection_id":64732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:09:54] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:54] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:54] local.INFO: IMEI packet received {"connection_id":64734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":64734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:09:59] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:59] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:09:59] local.INFO: IMEI packet received {"connection_id":64734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":64734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:10:00] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:10:00] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:10:00] local.INFO: Packet analysis {"connection_id":64734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:10:00] local.INFO: Extracted packet for processing {"connection_id":64734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:10: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-05-08 03:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:10:00] 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-05-08 03:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:10:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":64734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:10:00] local.INFO: GPS data processed {"connection_id":64734,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:10:00] local.INFO: Acknowledgment sent {"connection_id":64734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:10:08] local.INFO: TCP Data received {"connection_id":64733,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:10:08] local.INFO: Processing buffer {"connection_id":64733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:10:08] local.INFO: IMEI packet received {"connection_id":64733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":64733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:10:32] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:10:32] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:10:32] local.INFO: Packet analysis {"connection_id":64734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:10:32] local.INFO: Extracted packet for processing {"connection_id":64734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:10:32] 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-05-08 03:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:10:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":64734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:10:32] local.INFO: GPS data processed {"connection_id":64734,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:10:32] local.INFO: Acknowledgment sent {"connection_id":64734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:10:42] local.INFO: TCP Data received {"connection_id":64689,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:10:43] local.INFO: Processing buffer {"connection_id":64689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:10:43] local.INFO: IMEI packet received {"connection_id":64689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:10:43] local.INFO: IMEI acknowledgment sent {"connection_id":64689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:10:53] local.INFO: TCP Data received {"connection_id":64690,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:10:53] local.INFO: Processing buffer {"connection_id":64690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:10:53] local.INFO: IMEI packet received {"connection_id":64690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":64690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:10:59] local.INFO: TCP Data received {"connection_id":64690,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:10:59] local.INFO: Processing buffer {"connection_id":64690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:10:59] local.INFO: IMEI packet received {"connection_id":64690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":64690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:11:00] local.INFO: TCP Data received {"connection_id":64690,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:11:00] local.INFO: Processing buffer {"connection_id":64690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:11:00] local.INFO: Packet analysis {"connection_id":64690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:11:00] local.INFO: Extracted packet for processing {"connection_id":64690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:11: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-05-08 03:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:11:00] 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-05-08 03:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:11:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":64690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:11:00] local.INFO: GPS data processed {"connection_id":64690,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:11:00] local.INFO: Acknowledgment sent {"connection_id":64690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:11:31] local.INFO: TCP Data received {"connection_id":64690,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:11:31] local.INFO: Processing buffer {"connection_id":64690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:11:31] local.INFO: Packet analysis {"connection_id":64690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:11:31] local.INFO: Extracted packet for processing {"connection_id":64690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:11:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":64690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:11:31] local.INFO: GPS data processed {"connection_id":64690,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:11:31] local.INFO: Acknowledgment sent {"connection_id":64690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:11:53] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:11:53] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:11:53] local.INFO: IMEI packet received {"connection_id":64735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":64735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:11:59] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:11:59] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:11:59] local.INFO: IMEI packet received {"connection_id":64735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:11:59] local.INFO: IMEI acknowledgment sent {"connection_id":64735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:12:00] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:12:00] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:12:00] local.INFO: Packet analysis {"connection_id":64735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:12:00] local.INFO: Extracted packet for processing {"connection_id":64735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:12:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:12: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-05-08 03:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:12:00] 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-05-08 03:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:12:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":64735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:12:00] local.INFO: GPS data processed {"connection_id":64735,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:12:00] local.INFO: Acknowledgment sent {"connection_id":64735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:12:31] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:12:31] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:12:31] local.INFO: Packet analysis {"connection_id":64735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:12:31] local.INFO: Extracted packet for processing {"connection_id":64735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:12:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":64735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:12:31] local.INFO: GPS data processed {"connection_id":64735,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:12:31] local.INFO: Acknowledgment sent {"connection_id":64735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:12:59] local.INFO: TCP Data received {"connection_id":65536,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:12:59] local.INFO: Processing buffer {"connection_id":65536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:12:59] local.INFO: IMEI packet received {"connection_id":65536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":65536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:13:04] local.INFO: TCP Data received {"connection_id":65536,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:04] local.INFO: Processing buffer {"connection_id":65536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:04] local.INFO: IMEI packet received {"connection_id":65536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":65536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:13:05] local.INFO: TCP Data received {"connection_id":65536,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:13:05] local.INFO: Processing buffer {"connection_id":65536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:13:05] local.INFO: Packet analysis {"connection_id":65536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:13:05] local.INFO: Extracted packet for processing {"connection_id":65536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:13: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-05-08 03:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:13:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:13:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:13:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:13:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":65536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:13:05] local.INFO: GPS data processed {"connection_id":65536,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:13:05] local.INFO: Acknowledgment sent {"connection_id":65536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:13:09] local.INFO: TCP Data received {"connection_id":65536,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:13:09] local.INFO: Processing buffer {"connection_id":65536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:13:09] local.INFO: Packet analysis {"connection_id":65536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:13:09] local.INFO: Extracted packet for processing {"connection_id":65536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:13: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-05-08 03: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:13: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-05-08 03: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-05-08 03:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:13:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:13:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":65536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:13:09] local.INFO: GPS data processed {"connection_id":65536,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:13:09] local.INFO: Acknowledgment sent {"connection_id":65536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:13:54] local.INFO: TCP Data received {"connection_id":65537,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:54] local.INFO: Processing buffer {"connection_id":65537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:54] local.INFO: IMEI packet received {"connection_id":65537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":65537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:13:59] local.INFO: TCP Data received {"connection_id":65537,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:59] local.INFO: Processing buffer {"connection_id":65537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:13:59] local.INFO: IMEI packet received {"connection_id":65537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":65537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:14:00] local.INFO: TCP Data received {"connection_id":65537,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:14:00] local.INFO: Processing buffer {"connection_id":65537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0460b438012d34c54006aa5070000000622d..."} 
[2026-05-08 03:14:00] local.INFO: Packet analysis {"connection_id":65537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:14:00] local.INFO: Extracted packet for processing {"connection_id":65537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0460"} 
[2026-05-08 03:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216539136001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:14: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-05-08 03:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778189907000,"timestamp_ms":1778189907000,"timestamp_seconds":1778189907,"priority":1,"record_length":96,"hex_timestamp":"0000019e0460b438"} 
[2026-05-08 03:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 03:14:00] 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-05-08 03:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216539136001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216539136001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:14:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216539136001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":65537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:14:00] local.INFO: GPS data processed {"connection_id":65537,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:14:00] local.INFO: Acknowledgment sent {"connection_id":65537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:14:30] local.INFO: TCP Data received {"connection_id":65537,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:14:30] local.INFO: Processing buffer {"connection_id":65537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:14:30] local.INFO: Packet analysis {"connection_id":65537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:14:30] local.INFO: Extracted packet for processing {"connection_id":65537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:14: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-05-08 03:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:14:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":65537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:14:30] local.INFO: GPS data processed {"connection_id":65537,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:14:30] local.INFO: Acknowledgment sent {"connection_id":65537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:14:53] local.INFO: TCP Data received {"connection_id":64691,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:14:53] local.INFO: Processing buffer {"connection_id":64691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:14:53] local.INFO: IMEI packet received {"connection_id":64691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":64691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:14:59] local.INFO: TCP Data received {"connection_id":64691,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:14:59] local.INFO: Processing buffer {"connection_id":64691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:14:59] local.INFO: IMEI packet received {"connection_id":64691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":64691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:15:00] local.INFO: TCP Data received {"connection_id":64691,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:15:00] local.INFO: Processing buffer {"connection_id":64691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:15:00] local.INFO: Packet analysis {"connection_id":64691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:15:00] local.INFO: Extracted packet for processing {"connection_id":64691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:15: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-05-08 03:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:15:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":64691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:15:00] local.INFO: GPS data processed {"connection_id":64691,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:15:00] local.INFO: Acknowledgment sent {"connection_id":64691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:15:31] local.INFO: TCP Data received {"connection_id":64691,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:15:31] local.INFO: Processing buffer {"connection_id":64691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:15:31] local.INFO: Packet analysis {"connection_id":64691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:15:31] local.INFO: Extracted packet for processing {"connection_id":64691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:15:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":64691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:15:31] local.INFO: GPS data processed {"connection_id":64691,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:15:31] local.INFO: Acknowledgment sent {"connection_id":64691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:15:53] local.INFO: TCP Data received {"connection_id":64692,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:15:53] local.INFO: Processing buffer {"connection_id":64692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:15:53] local.INFO: IMEI packet received {"connection_id":64692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":64692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:15:59] local.INFO: TCP Data received {"connection_id":64692,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:15:59] local.INFO: Processing buffer {"connection_id":64692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:15:59] local.INFO: IMEI packet received {"connection_id":64692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":64692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:16:00] local.INFO: TCP Data received {"connection_id":64692,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:16:00] local.INFO: Processing buffer {"connection_id":64692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:16:00] local.INFO: Packet analysis {"connection_id":64692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:16:00] local.INFO: Extracted packet for processing {"connection_id":64692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:16: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-05-08 03:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:16:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":64692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:16:00] local.INFO: GPS data processed {"connection_id":64692,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:16:00] local.INFO: Acknowledgment sent {"connection_id":64692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:16:23] local.INFO: TCP Data received {"connection_id":65539,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:16:23] local.INFO: Processing buffer {"connection_id":65539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:16:23] local.INFO: IMEI packet received {"connection_id":65539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":65539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:16:32] local.INFO: TCP Data received {"connection_id":64692,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:16:32] local.INFO: Processing buffer {"connection_id":64692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:16:32] local.INFO: Packet analysis {"connection_id":64692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:16:32] local.INFO: Extracted packet for processing {"connection_id":64692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:16:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:16:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":64692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:16:32] local.INFO: GPS data processed {"connection_id":64692,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:16:32] local.INFO: Acknowledgment sent {"connection_id":64692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:16:47] local.INFO: TCP Data received {"connection_id":65540,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:16:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:16:47] local.INFO: Processing buffer {"connection_id":65540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:16:47] local.INFO: IMEI packet received {"connection_id":65540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:16:47] local.INFO: IMEI acknowledgment sent {"connection_id":65540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:16:59] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:16:59] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:16:59] local.INFO: IMEI packet received {"connection_id":64737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":64737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:17:04] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:04] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:04] local.INFO: IMEI packet received {"connection_id":64737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":64737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:17:05] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:17:05] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:17:05] local.INFO: Packet analysis {"connection_id":64737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:17:05] local.INFO: Extracted packet for processing {"connection_id":64737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:17:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:17:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:17:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:17:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:17: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-05-08 03:17:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:17:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:17:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:17:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:17:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:17:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:17:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:17:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:17:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:17:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:17:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:17:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:17:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:17:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:17:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:17:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:17:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:17:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:17:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:17:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:17:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:17:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:17:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:17:05] local.INFO: DEBUG: GPS processor result {"connection_id":64737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:17:05] local.INFO: GPS data processed {"connection_id":64737,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:17:05] local.INFO: Acknowledgment sent {"connection_id":64737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:17:09] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:17:09] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:17:09] local.INFO: Packet analysis {"connection_id":64737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:17:09] local.INFO: Extracted packet for processing {"connection_id":64737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 03:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 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-05-08 03:17: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-05-08 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":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:17:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 03:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:17:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:17:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":64737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:17:09] local.INFO: GPS data processed {"connection_id":64737,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:17:09] local.INFO: Acknowledgment sent {"connection_id":64737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:17:54] local.INFO: TCP Data received {"connection_id":65542,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:54] local.INFO: Processing buffer {"connection_id":65542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:54] local.INFO: IMEI packet received {"connection_id":65542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":65542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:17:59] local.INFO: TCP Data received {"connection_id":65542,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65542,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:59] local.INFO: Processing buffer {"connection_id":65542,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:17:59] local.INFO: IMEI packet received {"connection_id":65542,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":65542,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:18:00] local.INFO: TCP Data received {"connection_id":65542,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:18:00] local.INFO: Processing buffer {"connection_id":65542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:18:00] local.INFO: Packet analysis {"connection_id":65542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:18:00] local.INFO: Extracted packet for processing {"connection_id":65542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:18:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:18: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-05-08 03:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:18:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":65542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:18:00] local.INFO: GPS data processed {"connection_id":65542,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:18:00] local.INFO: Acknowledgment sent {"connection_id":65542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:18:32] local.INFO: TCP Data received {"connection_id":65542,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:18:32] local.INFO: Processing buffer {"connection_id":65542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:18:32] local.INFO: Packet analysis {"connection_id":65542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:18:32] local.INFO: Extracted packet for processing {"connection_id":65542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:18:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:18:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65542,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:18:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:18:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":65542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:18:32] local.INFO: GPS data processed {"connection_id":65542,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:18:32] local.INFO: Acknowledgment sent {"connection_id":65542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:18:54] local.INFO: TCP Data received {"connection_id":64694,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:18:54] local.INFO: Processing buffer {"connection_id":64694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:18:54] local.INFO: IMEI packet received {"connection_id":64694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":64694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:18:59] local.INFO: TCP Data received {"connection_id":64694,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:18:59] local.INFO: Processing buffer {"connection_id":64694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:18:59] local.INFO: IMEI packet received {"connection_id":64694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":64694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:19:00] local.INFO: TCP Data received {"connection_id":64694,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:00] local.INFO: Processing buffer {"connection_id":64694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04654c00012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:00] local.INFO: Packet analysis {"connection_id":64694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:19:00] local.INFO: Extracted packet for processing {"connection_id":64694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0465"} 
[2026-05-08 03:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216616192001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19: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-05-08 03:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190208000,"timestamp_ms":1778190208000,"timestamp_seconds":1778190208,"priority":1,"record_length":96,"hex_timestamp":"0000019e04654c00"} 
[2026-05-08 03:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216616192001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216616192001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:19:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216616192001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":64694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:19:00] local.INFO: GPS data processed {"connection_id":64694,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:19:00] local.INFO: Acknowledgment sent {"connection_id":64694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:19:31] local.INFO: TCP Data received {"connection_id":64694,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:31] local.INFO: Processing buffer {"connection_id":64694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:31] local.INFO: Packet analysis {"connection_id":64694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:19:31] local.INFO: Extracted packet for processing {"connection_id":64694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:19:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":64694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:19:31] local.INFO: GPS data processed {"connection_id":64694,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:19:31] local.INFO: Acknowledgment sent {"connection_id":64694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:19:53] local.INFO: TCP Data received {"connection_id":64789,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:19:53] local.INFO: Processing buffer {"connection_id":64789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:19:53] local.INFO: IMEI packet received {"connection_id":64789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":64789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:19:58] local.INFO: TCP Data received {"connection_id":64789,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:19:58] local.INFO: Processing buffer {"connection_id":64789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:19:58] local.INFO: IMEI packet received {"connection_id":64789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":64789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:19:59] local.INFO: TCP Data received {"connection_id":64789,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:59] local.INFO: Processing buffer {"connection_id":64789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:19:59] local.INFO: Packet analysis {"connection_id":64789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:19:59] local.INFO: Extracted packet for processing {"connection_id":64789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:19: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-05-08 03:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:19:59] 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-05-08 03:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:19:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":64789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:19:59] local.INFO: GPS data processed {"connection_id":64789,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:19:59] local.INFO: Acknowledgment sent {"connection_id":64789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:20:31] local.INFO: TCP Data received {"connection_id":64789,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:20:31] local.INFO: Processing buffer {"connection_id":64789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:20:31] local.INFO: Packet analysis {"connection_id":64789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:20:31] local.INFO: Extracted packet for processing {"connection_id":64789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:20:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":64789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:20:31] local.INFO: GPS data processed {"connection_id":64789,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:20:31] local.INFO: Acknowledgment sent {"connection_id":64789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:20:59] local.INFO: TCP Data received {"connection_id":64740,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:20:59] local.INFO: Processing buffer {"connection_id":64740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:20:59] local.INFO: IMEI packet received {"connection_id":64740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":64740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:21:04] local.INFO: TCP Data received {"connection_id":64740,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:04] local.INFO: Processing buffer {"connection_id":64740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:04] local.INFO: IMEI packet received {"connection_id":64740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":64740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:21:05] local.INFO: TCP Data received {"connection_id":64740,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:21:05] local.INFO: Processing buffer {"connection_id":64740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:21:05] local.INFO: Packet analysis {"connection_id":64740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:21:05] local.INFO: Extracted packet for processing {"connection_id":64740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:21:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:21: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-05-08 03:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:21:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:21:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:21:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:21:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":64740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:21:05] local.INFO: GPS data processed {"connection_id":64740,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:21:05] local.INFO: Acknowledgment sent {"connection_id":64740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:21:09] local.INFO: TCP Data received {"connection_id":64740,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:21:09] local.INFO: Processing buffer {"connection_id":64740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:21:09] local.INFO: Packet analysis {"connection_id":64740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:21:09] local.INFO: Extracted packet for processing {"connection_id":64740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03: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-05-08 03: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:21: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-05-08 03: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-05-08 03:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:21:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":64740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:21:09] local.INFO: GPS data processed {"connection_id":64740,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:21:09] local.INFO: Acknowledgment sent {"connection_id":64740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:21:54] local.INFO: TCP Data received {"connection_id":64695,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:54] local.INFO: Processing buffer {"connection_id":64695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:54] local.INFO: IMEI packet received {"connection_id":64695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":64695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:21:59] local.INFO: TCP Data received {"connection_id":64695,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:59] local.INFO: Processing buffer {"connection_id":64695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:21:59] local.INFO: IMEI packet received {"connection_id":64695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":64695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:22:00] local.INFO: TCP Data received {"connection_id":64695,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:22:00] local.INFO: Processing buffer {"connection_id":64695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:22:00] local.INFO: Packet analysis {"connection_id":64695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:22:00] local.INFO: Extracted packet for processing {"connection_id":64695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:22: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-05-08 03:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:22:00] 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-05-08 03: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-05-08 03:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:22:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":64695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:22:00] local.INFO: GPS data processed {"connection_id":64695,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:22:00] local.INFO: Acknowledgment sent {"connection_id":64695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:22:13] local.INFO: TCP Data received {"connection_id":64741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:22:13] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:22:13] local.INFO: IMEI packet received {"connection_id":64741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":64741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:22:31] local.INFO: TCP Data received {"connection_id":64695,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:22:31] local.INFO: Processing buffer {"connection_id":64695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:22:31] local.INFO: Packet analysis {"connection_id":64695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:22:31] local.INFO: Extracted packet for processing {"connection_id":64695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:22:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":64695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:22:32] local.INFO: GPS data processed {"connection_id":64695,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:22:32] local.INFO: Acknowledgment sent {"connection_id":64695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:22:47] local.INFO: TCP Data received {"connection_id":65543,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:22:47] local.INFO: Processing buffer {"connection_id":65543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:22:47] local.INFO: IMEI packet received {"connection_id":65543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":65543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:22:53] local.INFO: TCP Data received {"connection_id":65544,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:22:53] local.INFO: Processing buffer {"connection_id":65544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:22:53] local.INFO: IMEI packet received {"connection_id":65544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":65544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:22:59] local.INFO: TCP Data received {"connection_id":65544,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:22:59] local.INFO: Processing buffer {"connection_id":65544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:22:59] local.INFO: IMEI packet received {"connection_id":65544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":65544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:23:00] local.INFO: TCP Data received {"connection_id":65544,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:23:00] local.INFO: Processing buffer {"connection_id":65544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:23:00] local.INFO: Packet analysis {"connection_id":65544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:23:00] local.INFO: Extracted packet for processing {"connection_id":65544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:23: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-05-08 03:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:23:00] 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-05-08 03:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:23:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":65544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:23:00] local.INFO: GPS data processed {"connection_id":65544,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:23:00] local.INFO: Acknowledgment sent {"connection_id":65544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:23:31] local.INFO: TCP Data received {"connection_id":65544,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:23:31] local.INFO: Processing buffer {"connection_id":65544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:23:31] local.INFO: Packet analysis {"connection_id":65544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:23:31] local.INFO: Extracted packet for processing {"connection_id":65544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:23:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":65544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:23:32] local.INFO: GPS data processed {"connection_id":65544,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:23:32] local.INFO: Acknowledgment sent {"connection_id":65544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:23:53] local.INFO: TCP Data received {"connection_id":64742,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:23:53] local.INFO: Processing buffer {"connection_id":64742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:23:53] local.INFO: IMEI packet received {"connection_id":64742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":64742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:23:59] local.INFO: TCP Data received {"connection_id":64742,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:23:59] local.INFO: Processing buffer {"connection_id":64742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:23:59] local.INFO: IMEI packet received {"connection_id":64742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":64742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:24:00] local.INFO: TCP Data received {"connection_id":64742,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:24:00] local.INFO: Processing buffer {"connection_id":64742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0469e3c8012d34c54006aa5070000000622c..."} 
[2026-05-08 03:24:00] local.INFO: Packet analysis {"connection_id":64742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:24:00] local.INFO: Extracted packet for processing {"connection_id":64742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0469"} 
[2026-05-08 03:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216693248001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:24: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-05-08 03:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190509000,"timestamp_ms":1778190509000,"timestamp_seconds":1778190509,"priority":1,"record_length":96,"hex_timestamp":"0000019e0469e3c8"} 
[2026-05-08 03:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:24:00] 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-05-08 03:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216693248001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216693248001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:24:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216693248001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":64742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:24:00] local.INFO: GPS data processed {"connection_id":64742,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:24:00] local.INFO: Acknowledgment sent {"connection_id":64742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:24:32] local.INFO: TCP Data received {"connection_id":64742,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:24:32] local.INFO: Processing buffer {"connection_id":64742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:24:32] local.INFO: Packet analysis {"connection_id":64742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:24:32] local.INFO: Extracted packet for processing {"connection_id":64742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:24:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:24:32] 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-05-08 03:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:24:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":64742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:24:32] local.INFO: GPS data processed {"connection_id":64742,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:24:32] local.INFO: Acknowledgment sent {"connection_id":64742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:24:54] local.INFO: TCP Data received {"connection_id":64698,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:24:54] local.INFO: Processing buffer {"connection_id":64698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:24:54] local.INFO: IMEI packet received {"connection_id":64698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":64698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:24:59] local.INFO: TCP Data received {"connection_id":64698,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:24:59] local.INFO: Processing buffer {"connection_id":64698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:24:59] local.INFO: IMEI packet received {"connection_id":64698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":64698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:25:00] local.INFO: TCP Data received {"connection_id":64698,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:25:00] local.INFO: Processing buffer {"connection_id":64698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:25:00] local.INFO: Packet analysis {"connection_id":64698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:25:00] local.INFO: Extracted packet for processing {"connection_id":64698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:25: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-05-08 03:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:25:00] 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-05-08 03:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":64698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:25:00] local.INFO: GPS data processed {"connection_id":64698,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:25:00] local.INFO: Acknowledgment sent {"connection_id":64698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:25:31] local.INFO: TCP Data received {"connection_id":64698,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:25:31] local.INFO: Processing buffer {"connection_id":64698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:25:31] local.INFO: Packet analysis {"connection_id":64698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:25:31] local.INFO: Extracted packet for processing {"connection_id":64698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:25:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":64698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:25:31] local.INFO: GPS data processed {"connection_id":64698,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:25:31] local.INFO: Acknowledgment sent {"connection_id":64698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:25:54] local.INFO: TCP Data received {"connection_id":64744,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:25:54] local.INFO: Processing buffer {"connection_id":64744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:25:54] local.INFO: IMEI packet received {"connection_id":64744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":64744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:25:59] local.INFO: TCP Data received {"connection_id":64744,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:25:59] local.INFO: Processing buffer {"connection_id":64744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:25:59] local.INFO: IMEI packet received {"connection_id":64744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":64744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:26:00] local.INFO: TCP Data received {"connection_id":64744,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:26:00] local.INFO: Processing buffer {"connection_id":64744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:26:00] local.INFO: Packet analysis {"connection_id":64744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:26:00] local.INFO: Extracted packet for processing {"connection_id":64744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:26: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-05-08 03:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:26:00] 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-05-08 03:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":64744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:26:00] local.INFO: GPS data processed {"connection_id":64744,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:26:00] local.INFO: Acknowledgment sent {"connection_id":64744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:26:31] local.INFO: TCP Data received {"connection_id":64744,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:26:31] local.INFO: Processing buffer {"connection_id":64744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:26:31] local.INFO: Packet analysis {"connection_id":64744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:26:31] local.INFO: Extracted packet for processing {"connection_id":64744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:26:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":64744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:26:32] local.INFO: GPS data processed {"connection_id":64744,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:26:32] local.INFO: Acknowledgment sent {"connection_id":64744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:26:53] local.INFO: TCP Data received {"connection_id":64746,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:26:53] local.INFO: Processing buffer {"connection_id":64746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:26:53] local.INFO: IMEI packet received {"connection_id":64746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":64746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:26:59] local.INFO: TCP Data received {"connection_id":64746,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:26:59] local.INFO: Processing buffer {"connection_id":64746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:26:59] local.INFO: IMEI packet received {"connection_id":64746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":64746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:27:00] local.INFO: TCP Data received {"connection_id":64746,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:27:00] local.INFO: Processing buffer {"connection_id":64746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:27:00] local.INFO: Packet analysis {"connection_id":64746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:27:00] local.INFO: Extracted packet for processing {"connection_id":64746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:27:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:27: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-05-08 03:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:27:00] 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-05-08 03:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:27:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":64746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:27:00] local.INFO: GPS data processed {"connection_id":64746,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:27:00] local.INFO: Acknowledgment sent {"connection_id":64746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:27:31] local.INFO: TCP Data received {"connection_id":64746,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:27:31] local.INFO: Processing buffer {"connection_id":64746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:27:31] local.INFO: Packet analysis {"connection_id":64746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:27:31] local.INFO: Extracted packet for processing {"connection_id":64746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:27:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":64746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:27:31] local.INFO: GPS data processed {"connection_id":64746,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:27:31] local.INFO: Acknowledgment sent {"connection_id":64746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:27:53] local.INFO: TCP Data received {"connection_id":65545,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:27:53] local.INFO: Processing buffer {"connection_id":65545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:27:53] local.INFO: IMEI packet received {"connection_id":65545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":65545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:27:59] local.INFO: TCP Data received {"connection_id":65545,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:27:59] local.INFO: Processing buffer {"connection_id":65545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:27:59] local.INFO: IMEI packet received {"connection_id":65545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":65545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:28:00] local.INFO: TCP Data received {"connection_id":65545,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:28:00] local.INFO: Processing buffer {"connection_id":65545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:28:00] local.INFO: Packet analysis {"connection_id":65545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:28:00] local.INFO: Extracted packet for processing {"connection_id":65545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:28: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-05-08 03:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:28:00] 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-05-08 03:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:28:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":65545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:28:00] local.INFO: GPS data processed {"connection_id":65545,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:28:00] local.INFO: Acknowledgment sent {"connection_id":65545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:28:08] local.INFO: TCP Data received {"connection_id":64790,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:28:08] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:28:08] local.INFO: IMEI packet received {"connection_id":64790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":64790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:28:31] local.INFO: TCP Data received {"connection_id":65545,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:28:31] local.INFO: Processing buffer {"connection_id":65545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:28:31] local.INFO: Packet analysis {"connection_id":65545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:28:31] local.INFO: Extracted packet for processing {"connection_id":65545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:28:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":65545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:28:31] local.INFO: GPS data processed {"connection_id":65545,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:28:31] local.INFO: Acknowledgment sent {"connection_id":65545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:28:42] local.INFO: TCP Data received {"connection_id":64747,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:28:42] local.INFO: Processing buffer {"connection_id":64747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:28:42] local.INFO: IMEI packet received {"connection_id":64747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:28:42] local.INFO: IMEI acknowledgment sent {"connection_id":64747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:28:59] local.INFO: TCP Data received {"connection_id":65546,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:28:59] local.INFO: Processing buffer {"connection_id":65546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:28:59] local.INFO: IMEI packet received {"connection_id":65546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":65546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:29:04] local.INFO: TCP Data received {"connection_id":65546,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:04] local.INFO: Processing buffer {"connection_id":65546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:04] local.INFO: IMEI packet received {"connection_id":65546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":65546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:29:05] local.INFO: TCP Data received {"connection_id":65546,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:29:05] local.INFO: Processing buffer {"connection_id":65546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:29:05] local.INFO: Packet analysis {"connection_id":65546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:29:05] local.INFO: Extracted packet for processing {"connection_id":65546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:29:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:29: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-05-08 03:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:29:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:29:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:29:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:29:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":65546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:29:05] local.INFO: GPS data processed {"connection_id":65546,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:29:05] local.INFO: Acknowledgment sent {"connection_id":65546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:29:09] local.INFO: TCP Data received {"connection_id":65546,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:29:09] local.INFO: Processing buffer {"connection_id":65546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e046e7b90012d34c54006aa5070000000622d..."} 
[2026-05-08 03:29:09] local.INFO: Packet analysis {"connection_id":65546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:29:09] local.INFO: Extracted packet for processing {"connection_id":65546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e046e"} 
[2026-05-08 03:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216770304001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778190810000,"timestamp_ms":1778190810000,"timestamp_seconds":1778190810,"priority":1,"record_length":96,"hex_timestamp":"0000019e046e7b90"} 
[2026-05-08 03:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:29: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-05-08 03: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-05-08 03:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216770304001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216770304001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:29:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:29:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216770304001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":65546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:29:09] local.INFO: GPS data processed {"connection_id":65546,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:29:09] local.INFO: Acknowledgment sent {"connection_id":65546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:29:54] local.INFO: TCP Data received {"connection_id":64792,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:54] local.INFO: Processing buffer {"connection_id":64792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:54] local.INFO: IMEI packet received {"connection_id":64792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":64792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:29:59] local.INFO: TCP Data received {"connection_id":64792,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:59] local.INFO: Processing buffer {"connection_id":64792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:29:59] local.INFO: IMEI packet received {"connection_id":64792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":64792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:30:00] local.INFO: TCP Data received {"connection_id":64792,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:30:00] local.INFO: Processing buffer {"connection_id":64792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:30:00] local.INFO: Packet analysis {"connection_id":64792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:30:00] local.INFO: Extracted packet for processing {"connection_id":64792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:30: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-05-08 03:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":64792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:30:00] local.INFO: GPS data processed {"connection_id":64792,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:30:00] local.INFO: Acknowledgment sent {"connection_id":64792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:30:31] local.INFO: TCP Data received {"connection_id":64792,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:30:31] local.INFO: Processing buffer {"connection_id":64792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:30:31] local.INFO: Packet analysis {"connection_id":64792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:30:31] local.INFO: Extracted packet for processing {"connection_id":64792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":64792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:30:31] local.INFO: GPS data processed {"connection_id":64792,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:30:31] local.INFO: Acknowledgment sent {"connection_id":64792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:30:53] local.INFO: TCP Data received {"connection_id":64701,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:30:53] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:30:53] local.INFO: IMEI packet received {"connection_id":64701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":64701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:30:59] local.INFO: TCP Data received {"connection_id":64701,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:30:59] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:30:59] local.INFO: IMEI packet received {"connection_id":64701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":64701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:31:00] local.INFO: TCP Data received {"connection_id":64701,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:31:00] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:31:00] local.INFO: Packet analysis {"connection_id":64701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:31:00] local.INFO: Extracted packet for processing {"connection_id":64701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:31: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-05-08 03:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:31:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":64701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:31:00] local.INFO: GPS data processed {"connection_id":64701,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:31:00] local.INFO: Acknowledgment sent {"connection_id":64701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:31:31] local.INFO: TCP Data received {"connection_id":64701,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:31:31] local.INFO: Processing buffer {"connection_id":64701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:31:31] local.INFO: Packet analysis {"connection_id":64701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:31:31] local.INFO: Extracted packet for processing {"connection_id":64701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:31:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":64701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:31:31] local.INFO: GPS data processed {"connection_id":64701,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:31:31] local.INFO: Acknowledgment sent {"connection_id":64701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:31:53] local.INFO: TCP Data received {"connection_id":64702,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:31:53] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:31:53] local.INFO: IMEI packet received {"connection_id":64702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":64702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:31:59] local.INFO: TCP Data received {"connection_id":64702,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:31:59] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:31:59] local.INFO: IMEI packet received {"connection_id":64702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":64702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:32:00] local.INFO: TCP Data received {"connection_id":64702,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:32:00] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:32:00] local.INFO: Packet analysis {"connection_id":64702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:32:00] local.INFO: Extracted packet for processing {"connection_id":64702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:32: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-05-08 03:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:32:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":64702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:32:00] local.INFO: GPS data processed {"connection_id":64702,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:32:00] local.INFO: Acknowledgment sent {"connection_id":64702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:32:31] local.INFO: TCP Data received {"connection_id":64702,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:32:31] local.INFO: Processing buffer {"connection_id":64702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:32:31] local.INFO: Packet analysis {"connection_id":64702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:32:31] local.INFO: Extracted packet for processing {"connection_id":64702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:32:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:32:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":64702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:32:31] local.INFO: GPS data processed {"connection_id":64702,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:32:31] local.INFO: Acknowledgment sent {"connection_id":64702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:32:59] local.INFO: TCP Data received {"connection_id":64748,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:32:59] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:32:59] local.INFO: IMEI packet received {"connection_id":64748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":64748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:33:04] local.INFO: TCP Data received {"connection_id":64748,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:04] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:04] local.INFO: IMEI packet received {"connection_id":64748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":64748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:33:05] local.INFO: TCP Data received {"connection_id":64748,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:33:05] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:33:05] local.INFO: Packet analysis {"connection_id":64748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:33:05] local.INFO: Extracted packet for processing {"connection_id":64748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:33:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:33:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:33:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:33:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:33: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-05-08 03:33:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:33:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:33:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:33:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:33:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:33:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:33:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:33:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:33:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:33:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:33:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:33:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:33:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:33:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:33:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:33:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:33:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:33:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:33:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:33:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:33:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:33:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:33:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:33:05] local.INFO: DEBUG: GPS processor result {"connection_id":64748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:33:05] local.INFO: GPS data processed {"connection_id":64748,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:33:05] local.INFO: Acknowledgment sent {"connection_id":64748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:33:09] local.INFO: TCP Data received {"connection_id":64748,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:33:09] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:33:09] local.INFO: Packet analysis {"connection_id":64748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:33:09] local.INFO: Extracted packet for processing {"connection_id":64748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:33: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-05-08 03: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:33:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:33:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:33:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":64748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:33:09] local.INFO: GPS data processed {"connection_id":64748,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:33:09] local.INFO: Acknowledgment sent {"connection_id":64748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:33:54] local.INFO: TCP Data received {"connection_id":64749,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:54] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:54] local.INFO: IMEI packet received {"connection_id":64749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":64749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:33:59] local.INFO: TCP Data received {"connection_id":64749,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:59] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:33:59] local.INFO: IMEI packet received {"connection_id":64749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:33:59] local.INFO: IMEI acknowledgment sent {"connection_id":64749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:34:00] local.INFO: TCP Data received {"connection_id":64749,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:34:00] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04731358012d34c54006aa5070000000622e..."} 
[2026-05-08 03:34:00] local.INFO: Packet analysis {"connection_id":64749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:34:00] local.INFO: Extracted packet for processing {"connection_id":64749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0473"} 
[2026-05-08 03:34:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216847360001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:34: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-05-08 03:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191111000,"timestamp_ms":1778191111000,"timestamp_seconds":1778191111,"priority":1,"record_length":96,"hex_timestamp":"0000019e04731358"} 
[2026-05-08 03:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216847360001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216847360001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:34:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216847360001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":64749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:34:00] local.INFO: GPS data processed {"connection_id":64749,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:34:00] local.INFO: Acknowledgment sent {"connection_id":64749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:34:18] local.INFO: TCP Data received {"connection_id":64703,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64703,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:34:18] local.INFO: Processing buffer {"connection_id":64703,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:34:18] local.INFO: IMEI packet received {"connection_id":64703,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":64703,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:34:31] local.INFO: TCP Data received {"connection_id":64749,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:34:31] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:34:31] local.INFO: Packet analysis {"connection_id":64749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:34:31] local.INFO: Extracted packet for processing {"connection_id":64749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:34:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":64749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:34:31] local.INFO: GPS data processed {"connection_id":64749,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:34:31] local.INFO: Acknowledgment sent {"connection_id":64749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:34:42] local.INFO: TCP Data received {"connection_id":64750,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:34:42] local.INFO: Processing buffer {"connection_id":64750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:34:42] local.INFO: IMEI packet received {"connection_id":64750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":64750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:34:53] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:34:53] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:34:53] local.INFO: IMEI packet received {"connection_id":64751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":64751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:34:59] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:34:59] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:34:59] local.INFO: IMEI packet received {"connection_id":64751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:34:59] local.INFO: IMEI acknowledgment sent {"connection_id":64751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:35:00] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:35:00] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:35:00] local.INFO: Packet analysis {"connection_id":64751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:35:00] local.INFO: Extracted packet for processing {"connection_id":64751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:35: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-05-08 03:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:35:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":64751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:35:00] local.INFO: GPS data processed {"connection_id":64751,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:35:00] local.INFO: Acknowledgment sent {"connection_id":64751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:35:31] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:35:31] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:35:31] local.INFO: Packet analysis {"connection_id":64751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:35:31] local.INFO: Extracted packet for processing {"connection_id":64751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:35:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:35:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:35:32] local.INFO: DEBUG: GPS processor result {"connection_id":64751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:35:32] local.INFO: GPS data processed {"connection_id":64751,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:35:32] local.INFO: Acknowledgment sent {"connection_id":64751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:35:53] local.INFO: TCP Data received {"connection_id":65547,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:35:53] local.INFO: Processing buffer {"connection_id":65547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:35:53] local.INFO: IMEI packet received {"connection_id":65547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":65547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:35:59] local.INFO: TCP Data received {"connection_id":65547,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:35:59] local.INFO: Processing buffer {"connection_id":65547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:35:59] local.INFO: IMEI packet received {"connection_id":65547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":65547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:36:00] local.INFO: TCP Data received {"connection_id":65547,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:36:00] local.INFO: Processing buffer {"connection_id":65547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:36:00] local.INFO: Packet analysis {"connection_id":65547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:36:00] local.INFO: Extracted packet for processing {"connection_id":65547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:36: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-05-08 03:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:36:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":65547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:36:00] local.INFO: GPS data processed {"connection_id":65547,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:36:00] local.INFO: Acknowledgment sent {"connection_id":65547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:36:32] local.INFO: TCP Data received {"connection_id":65547,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:36:32] local.INFO: Processing buffer {"connection_id":65547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:36:32] local.INFO: Packet analysis {"connection_id":65547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:36:32] local.INFO: Extracted packet for processing {"connection_id":65547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 03:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 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-05-08 03:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 03:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:36:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":65547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:36:32] local.INFO: GPS data processed {"connection_id":65547,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:36:32] local.INFO: Acknowledgment sent {"connection_id":65547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:36:59] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:36:59] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:36:59] local.INFO: IMEI packet received {"connection_id":64705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":64705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:37:04] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:04] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:04] local.INFO: IMEI packet received {"connection_id":64705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":64705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:37:05] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:37:05] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:37:05] local.INFO: Packet analysis {"connection_id":64705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:37:05] local.INFO: Extracted packet for processing {"connection_id":64705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:37: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-05-08 03:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:37:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":64705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:37:05] local.INFO: GPS data processed {"connection_id":64705,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:37:05] local.INFO: Acknowledgment sent {"connection_id":64705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:37:09] local.INFO: TCP Data received {"connection_id":64705,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:37:09] local.INFO: Processing buffer {"connection_id":64705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:37:09] local.INFO: Packet analysis {"connection_id":64705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:37:09] local.INFO: Extracted packet for processing {"connection_id":64705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:37:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:37:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":64705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:37:09] local.INFO: GPS data processed {"connection_id":64705,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:37:09] local.INFO: Acknowledgment sent {"connection_id":64705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:37:53] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:53] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:53] local.INFO: IMEI packet received {"connection_id":64752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":64752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:37:58] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:58] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:37:58] local.INFO: IMEI packet received {"connection_id":64752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":64752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:38:00] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:38:00] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:38:00] local.INFO: Packet analysis {"connection_id":64752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:38:00] local.INFO: Extracted packet for processing {"connection_id":64752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:38:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:38: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-05-08 03:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:38:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:38:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:38:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":64752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:38:00] local.INFO: GPS data processed {"connection_id":64752,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:38:00] local.INFO: Acknowledgment sent {"connection_id":64752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:38:32] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:38:32] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:38:32] local.INFO: Packet analysis {"connection_id":64752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:38:32] local.INFO: Extracted packet for processing {"connection_id":64752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:38:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:38:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:38:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":64752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:38:32] local.INFO: GPS data processed {"connection_id":64752,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:38:32] local.INFO: Acknowledgment sent {"connection_id":64752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:38:54] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:38:54] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:38:54] local.INFO: IMEI packet received {"connection_id":64707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":64707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:38:59] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:38:59] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:38:59] local.INFO: IMEI packet received {"connection_id":64707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:38:59] local.INFO: IMEI acknowledgment sent {"connection_id":64707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:39:00] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:39:00] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0477ab20012d34c54006aa5070000000622c..."} 
[2026-05-08 03:39:00] local.INFO: Packet analysis {"connection_id":64707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:39:00] local.INFO: Extracted packet for processing {"connection_id":64707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0477"} 
[2026-05-08 03:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216924416001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:39: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-05-08 03:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191412000,"timestamp_ms":1778191412000,"timestamp_seconds":1778191412,"priority":1,"record_length":96,"hex_timestamp":"0000019e0477ab20"} 
[2026-05-08 03:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 03:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216924416001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216924416001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:39:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216924416001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":64707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:39:00] local.INFO: GPS data processed {"connection_id":64707,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:39:00] local.INFO: Acknowledgment sent {"connection_id":64707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:39:31] local.INFO: TCP Data received {"connection_id":64707,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:39:31] local.INFO: Processing buffer {"connection_id":64707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:39:31] local.INFO: Packet analysis {"connection_id":64707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:39:31] local.INFO: Extracted packet for processing {"connection_id":64707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:39:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":64707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:39:31] local.INFO: GPS data processed {"connection_id":64707,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:39:31] local.INFO: Acknowledgment sent {"connection_id":64707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:39:53] local.INFO: TCP Data received {"connection_id":64797,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:39:53] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:39:53] local.INFO: IMEI packet received {"connection_id":64797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":64797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:39:58] local.INFO: TCP Data received {"connection_id":64797,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:39:58] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:39:58] local.INFO: IMEI packet received {"connection_id":64797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":64797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:40:00] local.INFO: TCP Data received {"connection_id":64797,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:00] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:00] local.INFO: Packet analysis {"connection_id":64797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:40:00] local.INFO: Extracted packet for processing {"connection_id":64797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40: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-05-08 03:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:40:00] 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-05-08 03:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:40:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":64797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:40:00] local.INFO: GPS data processed {"connection_id":64797,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:40:00] local.INFO: Acknowledgment sent {"connection_id":64797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:40:31] local.INFO: TCP Data received {"connection_id":64797,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:31] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:31] local.INFO: Packet analysis {"connection_id":64797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:40:31] local.INFO: Extracted packet for processing {"connection_id":64797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:40:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":64797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:40:31] local.INFO: GPS data processed {"connection_id":64797,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:40:31] local.INFO: Acknowledgment sent {"connection_id":64797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:40:42] local.INFO: TCP Data received {"connection_id":64709,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:40:42] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:40:42] local.INFO: IMEI packet received {"connection_id":64709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":64709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:40:47] local.INFO: TCP Data received {"connection_id":64709,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:40:47] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:40:47] local.INFO: IMEI packet received {"connection_id":64709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 03:40:47] local.INFO: IMEI acknowledgment sent {"connection_id":64709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:40:48] local.INFO: TCP Data received {"connection_id":64709,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019e04571b30012d34c70006aa3fb8000700b02e..."} 
[2026-05-08 03:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04571b30012d34c70006aa3fb8000700b02e..."} 
[2026-05-08 03:40:48] local.INFO: Processing buffer {"connection_id":64709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04571b30012d34c70006aa3fb8000700b02e..."} 
[2026-05-08 03:40:48] local.INFO: Packet analysis {"connection_id":64709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:40:48] local.INFO: Extracted packet for processing {"connection_id":64709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0457"} 
[2026-05-08 03:40:48] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111820728,"longitude_deg":75.8433536,"latitude_deg":11.1820728,"altitude":7,"angle":176,"satellites":46,"speed":0,"hex_longitude":"2d34c700","hex_latitude":"06aa3fb8","is_valid_coordinates":true} 
[2026-05-08 03:40: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-05-08 03:40:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455216453632001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110100984121786368,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438963779584,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:40:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778189278000,"timestamp_ms":1778189278000,"timestamp_seconds":1778189278,"priority":1,"record_length":96,"hex_timestamp":"0000019e04571b30"} 
[2026-05-08 03:40:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:40:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 03: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-05-08 03:40:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:40:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:40:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:40:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:40:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 03:40:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 03:40:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:40:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 03:40:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 03:40:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455216453632001,"66":28354,"6":206,"81":23296,"24":0,"16":110100984121786368,"45":3803008438963779584},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-05-08 03:40:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 03:40:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 03:40:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455216453632001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:40:48] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-05-08 03:40:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-05-08 03:40:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110100984121786368,"km_value":110100984121786.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:40:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438963779584,"description":"Unknown IO ID 45"} 
[2026-05-08 03:40:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455216453632001,"power":28354,"unknown_6":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3803008438963779584}} 
[2026-05-08 03:40:48] local.INFO: DEBUG: GPS processor result {"connection_id":64709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:40:48] local.INFO: GPS data processed {"connection_id":64709,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:40:48] local.INFO: Acknowledgment sent {"connection_id":64709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:40:53] local.INFO: TCP Data received {"connection_id":64753,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:40:53] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:40:53] local.INFO: IMEI packet received {"connection_id":64753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":64753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:40:58] local.INFO: TCP Data received {"connection_id":64753,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:40:58] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:40:58] local.INFO: IMEI packet received {"connection_id":64753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":64753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:40:59] local.INFO: TCP Data received {"connection_id":64753,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:59] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:40:59] local.INFO: Packet analysis {"connection_id":64753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:40:59] local.INFO: Extracted packet for processing {"connection_id":64753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:40: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-05-08 03:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:40:59] 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-05-08 03:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":64753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:40:59] local.INFO: GPS data processed {"connection_id":64753,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:40:59] local.INFO: Acknowledgment sent {"connection_id":64753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:41:31] local.INFO: TCP Data received {"connection_id":64753,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:41:31] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:41:31] local.INFO: Packet analysis {"connection_id":64753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:41:31] local.INFO: Extracted packet for processing {"connection_id":64753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:41:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":64753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:41:31] local.INFO: GPS data processed {"connection_id":64753,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:41:31] local.INFO: Acknowledgment sent {"connection_id":64753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:41:47] local.INFO: TCP Data received {"connection_id":64798,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:41:47] local.INFO: Processing buffer {"connection_id":64798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:41:47] local.INFO: IMEI packet received {"connection_id":64798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:41:47] local.INFO: IMEI acknowledgment sent {"connection_id":64798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:41:59] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:41:59] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:41:59] local.INFO: IMEI packet received {"connection_id":64710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":64710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:42:04] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:04] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:04] local.INFO: IMEI packet received {"connection_id":64710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":64710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:42:04] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:42:04] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:42:04] local.INFO: Packet analysis {"connection_id":64710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:42:04] local.INFO: Extracted packet for processing {"connection_id":64710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:42:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:42:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":64710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:42:05] local.INFO: GPS data processed {"connection_id":64710,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:42:05] local.INFO: Acknowledgment sent {"connection_id":64710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:42:09] local.INFO: TCP Data received {"connection_id":64710,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:42:09] local.INFO: Processing buffer {"connection_id":64710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:42:09] local.INFO: Packet analysis {"connection_id":64710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:42:09] local.INFO: Extracted packet for processing {"connection_id":64710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:42:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":64710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:42:09] local.INFO: GPS data processed {"connection_id":64710,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:42:09] local.INFO: Acknowledgment sent {"connection_id":64710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:42:54] local.INFO: TCP Data received {"connection_id":64799,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:54] local.INFO: Processing buffer {"connection_id":64799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:54] local.INFO: IMEI packet received {"connection_id":64799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":64799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:42:59] local.INFO: TCP Data received {"connection_id":64799,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:59] local.INFO: Processing buffer {"connection_id":64799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:42:59] local.INFO: IMEI packet received {"connection_id":64799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":64799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:43:00] local.INFO: TCP Data received {"connection_id":64799,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:43:00] local.INFO: Processing buffer {"connection_id":64799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:43:00] local.INFO: Packet analysis {"connection_id":64799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:43:00] local.INFO: Extracted packet for processing {"connection_id":64799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:43:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:43: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-05-08 03:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:43:00] 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-05-08 03:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:43:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":64799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:43:00] local.INFO: GPS data processed {"connection_id":64799,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:43:00] local.INFO: Acknowledgment sent {"connection_id":64799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:43:31] local.INFO: TCP Data received {"connection_id":64799,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:43:31] local.INFO: Processing buffer {"connection_id":64799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:43:31] local.INFO: Packet analysis {"connection_id":64799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:43:31] local.INFO: Extracted packet for processing {"connection_id":64799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:43:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":64799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:43:31] local.INFO: GPS data processed {"connection_id":64799,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:43:31] local.INFO: Acknowledgment sent {"connection_id":64799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:43:53] local.INFO: TCP Data received {"connection_id":64754,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:43:53] local.INFO: Processing buffer {"connection_id":64754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:43:53] local.INFO: IMEI packet received {"connection_id":64754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":64754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:43:59] local.INFO: TCP Data received {"connection_id":64754,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:43:59] local.INFO: Processing buffer {"connection_id":64754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:43:59] local.INFO: IMEI packet received {"connection_id":64754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":64754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:44:00] local.INFO: TCP Data received {"connection_id":64754,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:44:00] local.INFO: Processing buffer {"connection_id":64754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e047c42e8012d34c54006aa5070000000622d..."} 
[2026-05-08 03:44:00] local.INFO: Packet analysis {"connection_id":64754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:44:00] local.INFO: Extracted packet for processing {"connection_id":64754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e047c"} 
[2026-05-08 03:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217001472001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:44: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-05-08 03:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778191713000,"timestamp_ms":1778191713000,"timestamp_seconds":1778191713,"priority":1,"record_length":96,"hex_timestamp":"0000019e047c42e8"} 
[2026-05-08 03:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:44:00] 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-05-08 03:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217001472001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217001472001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:44:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217001472001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":64754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:44:00] local.INFO: GPS data processed {"connection_id":64754,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:44:00] local.INFO: Acknowledgment sent {"connection_id":64754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:44:31] local.INFO: TCP Data received {"connection_id":64754,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:44:31] local.INFO: Processing buffer {"connection_id":64754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:44:31] local.INFO: Packet analysis {"connection_id":64754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:44:31] local.INFO: Extracted packet for processing {"connection_id":64754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:44:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":64754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:44:31] local.INFO: GPS data processed {"connection_id":64754,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:44:31] local.INFO: Acknowledgment sent {"connection_id":64754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:44:53] local.INFO: TCP Data received {"connection_id":65548,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:44:53] local.INFO: Processing buffer {"connection_id":65548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:44:53] local.INFO: IMEI packet received {"connection_id":65548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":65548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:44:59] local.INFO: TCP Data received {"connection_id":65548,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:44:59] local.INFO: Processing buffer {"connection_id":65548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:44:59] local.INFO: IMEI packet received {"connection_id":65548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":65548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:45:01] local.INFO: TCP Data received {"connection_id":65548,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:45:01] local.INFO: Processing buffer {"connection_id":65548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:45:01] local.INFO: Packet analysis {"connection_id":65548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:45:01] local.INFO: Extracted packet for processing {"connection_id":65548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:45:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:45: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-05-08 03:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:45:01] 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-05-08 03:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:45:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:45:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":65548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:45:01] local.INFO: GPS data processed {"connection_id":65548,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:45:01] local.INFO: Acknowledgment sent {"connection_id":65548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:45:32] local.INFO: TCP Data received {"connection_id":65548,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:45:32] local.INFO: Processing buffer {"connection_id":65548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:45:32] local.INFO: Packet analysis {"connection_id":65548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:45:32] local.INFO: Extracted packet for processing {"connection_id":65548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:45:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:45:32] 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-05-08 03:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":65548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:45:32] local.INFO: GPS data processed {"connection_id":65548,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:45:32] local.INFO: Acknowledgment sent {"connection_id":65548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:45:59] local.INFO: TCP Data received {"connection_id":64714,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:45:59] local.INFO: Processing buffer {"connection_id":64714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:45:59] local.INFO: IMEI packet received {"connection_id":64714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":64714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:46:04] local.INFO: TCP Data received {"connection_id":64714,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:04] local.INFO: Processing buffer {"connection_id":64714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:04] local.INFO: IMEI packet received {"connection_id":64714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":64714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:46:05] local.INFO: TCP Data received {"connection_id":64714,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:46:05] local.INFO: Processing buffer {"connection_id":64714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:46:05] local.INFO: Packet analysis {"connection_id":64714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:46:05] local.INFO: Extracted packet for processing {"connection_id":64714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:46:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:46:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:46:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:46:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:46: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-05-08 03:46:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:46:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:46:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:46:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:46:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:46:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:46:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:46:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:46:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:46:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:46:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:46:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:46:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:46:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:46:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:46:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:46:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:46:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:46:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:46:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:46:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:46:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:46:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:46:05] local.INFO: DEBUG: GPS processor result {"connection_id":64714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:46:05] local.INFO: GPS data processed {"connection_id":64714,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:46:05] local.INFO: Acknowledgment sent {"connection_id":64714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:46:09] local.INFO: TCP Data received {"connection_id":64714,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:46:09] local.INFO: Processing buffer {"connection_id":64714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:46:09] local.INFO: Packet analysis {"connection_id":64714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:46:09] local.INFO: Extracted packet for processing {"connection_id":64714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03: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-05-08 03:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:46: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-05-08 03: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:46: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-05-08 03: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-05-08 03:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:46:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:46:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":64714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:46:09] local.INFO: GPS data processed {"connection_id":64714,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:46:09] local.INFO: Acknowledgment sent {"connection_id":64714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:46:54] local.INFO: TCP Data received {"connection_id":65549,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:54] local.INFO: Processing buffer {"connection_id":65549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:54] local.INFO: IMEI packet received {"connection_id":65549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":65549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:46:59] local.INFO: TCP Data received {"connection_id":65549,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:59] local.INFO: Processing buffer {"connection_id":65549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:46:59] local.INFO: IMEI packet received {"connection_id":65549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:46:59] local.INFO: IMEI acknowledgment sent {"connection_id":65549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:47:00] local.INFO: TCP Data received {"connection_id":65549,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:47:00] local.INFO: Processing buffer {"connection_id":65549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:47:00] local.INFO: Packet analysis {"connection_id":65549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:47:00] local.INFO: Extracted packet for processing {"connection_id":65549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:47:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:47: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-05-08 03:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:47:00] 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-05-08 03:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:47:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":65549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:47:00] local.INFO: GPS data processed {"connection_id":65549,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:47:00] local.INFO: Acknowledgment sent {"connection_id":65549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:47:12] local.INFO: TCP Data received {"connection_id":64801,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:47:12] local.INFO: Processing buffer {"connection_id":64801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:47:12] local.INFO: IMEI packet received {"connection_id":64801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":64801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:47:32] local.INFO: TCP Data received {"connection_id":65549,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:47:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:47:32] local.INFO: Processing buffer {"connection_id":65549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:47:32] local.INFO: Packet analysis {"connection_id":65549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:47:32] local.INFO: Extracted packet for processing {"connection_id":65549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:47:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:47:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:47:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:47:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:47:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:47:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:47:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:47:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:47:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:47:32] 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-05-08 03:47:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:47:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:47:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:47:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:47:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:47:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:47:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:47:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:47:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:47:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:47:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:47:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:47:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:47:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:47:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:47:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:47:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:47:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:47:32] local.INFO: DEBUG: GPS processor result {"connection_id":65549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:47:32] local.INFO: GPS data processed {"connection_id":65549,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:47:32] local.INFO: Acknowledgment sent {"connection_id":65549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:47:42] local.INFO: TCP Data received {"connection_id":64715,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:47:42] local.INFO: Processing buffer {"connection_id":64715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:47:42] local.INFO: IMEI packet received {"connection_id":64715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":64715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:47:53] local.INFO: TCP Data received {"connection_id":65550,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:47:53] local.INFO: Processing buffer {"connection_id":65550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:47:53] local.INFO: IMEI packet received {"connection_id":65550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":65550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:47:59] local.INFO: TCP Data received {"connection_id":65550,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:47:59] local.INFO: Processing buffer {"connection_id":65550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:47:59] local.INFO: IMEI packet received {"connection_id":65550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":65550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:48:00] local.INFO: TCP Data received {"connection_id":65550,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:48:00] local.INFO: Processing buffer {"connection_id":65550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:48:00] local.INFO: Packet analysis {"connection_id":65550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:48:00] local.INFO: Extracted packet for processing {"connection_id":65550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:48: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-05-08 03:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:48:00] 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-05-08 03:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:48:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":65550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:48:00] local.INFO: GPS data processed {"connection_id":65550,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:48:00] local.INFO: Acknowledgment sent {"connection_id":65550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:48:31] local.INFO: TCP Data received {"connection_id":65550,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:48:31] local.INFO: Processing buffer {"connection_id":65550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:48:31] local.INFO: Packet analysis {"connection_id":65550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:48:31] local.INFO: Extracted packet for processing {"connection_id":65550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 03:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:48:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":65550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:48:32] local.INFO: GPS data processed {"connection_id":65550,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:48:32] local.INFO: Acknowledgment sent {"connection_id":65550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:48:53] local.INFO: TCP Data received {"connection_id":64802,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:48:53] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:48:53] local.INFO: IMEI packet received {"connection_id":64802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":64802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:48:59] local.INFO: TCP Data received {"connection_id":64802,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:48:59] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:48:59] local.INFO: IMEI packet received {"connection_id":64802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":64802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:49:00] local.INFO: TCP Data received {"connection_id":64802,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:49:00] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0480dab0012d34c54006aa5070000000622c..."} 
[2026-05-08 03:49:00] local.INFO: Packet analysis {"connection_id":64802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:49:00] local.INFO: Extracted packet for processing {"connection_id":64802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0480"} 
[2026-05-08 03:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217078528001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:49: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-05-08 03:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778192014000,"timestamp_ms":1778192014000,"timestamp_seconds":1778192014,"priority":1,"record_length":96,"hex_timestamp":"0000019e0480dab0"} 
[2026-05-08 03:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:49:00] 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-05-08 03:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217078528001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 03:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217078528001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:49:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 03:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217078528001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":64802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:49:00] local.INFO: GPS data processed {"connection_id":64802,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:49:00] local.INFO: Acknowledgment sent {"connection_id":64802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:49:31] local.INFO: TCP Data received {"connection_id":64802,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:49:31] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:49:31] local.INFO: Packet analysis {"connection_id":64802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:49:31] local.INFO: Extracted packet for processing {"connection_id":64802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:49:31] 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-05-08 03:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:49:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":64802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:49:31] local.INFO: GPS data processed {"connection_id":64802,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:49:31] local.INFO: Acknowledgment sent {"connection_id":64802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:49:59] local.INFO: TCP Data received {"connection_id":65551,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:49:59] local.INFO: Processing buffer {"connection_id":65551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:49:59] local.INFO: IMEI packet received {"connection_id":65551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":65551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:50:04] local.INFO: TCP Data received {"connection_id":65551,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:04] local.INFO: Processing buffer {"connection_id":65551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:04] local.INFO: IMEI packet received {"connection_id":65551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":65551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:50:05] local.INFO: TCP Data received {"connection_id":65551,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:05] local.INFO: Processing buffer {"connection_id":65551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:05] local.INFO: Packet analysis {"connection_id":65551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:50:05] local.INFO: Extracted packet for processing {"connection_id":65551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50:05] 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-05-08 03:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:50:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":65551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:50:05] local.INFO: GPS data processed {"connection_id":65551,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:50:05] local.INFO: Acknowledgment sent {"connection_id":65551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:50:09] local.INFO: TCP Data received {"connection_id":65551,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:09] local.INFO: Processing buffer {"connection_id":65551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:09] local.INFO: Packet analysis {"connection_id":65551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:50:09] local.INFO: Extracted packet for processing {"connection_id":65551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50: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-05-08 03:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03: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-05-08 03: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:50: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-05-08 03: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-05-08 03:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:50:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:50:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":65551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:50:09] local.INFO: GPS data processed {"connection_id":65551,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:50:09] local.INFO: Acknowledgment sent {"connection_id":65551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:50:54] local.INFO: TCP Data received {"connection_id":64803,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:54] local.INFO: Processing buffer {"connection_id":64803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:54] local.INFO: IMEI packet received {"connection_id":64803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":64803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:50:59] local.INFO: TCP Data received {"connection_id":64803,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:59] local.INFO: Processing buffer {"connection_id":64803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:50:59] local.INFO: IMEI packet received {"connection_id":64803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:50:59] local.INFO: IMEI acknowledgment sent {"connection_id":64803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:50:59] local.INFO: TCP Data received {"connection_id":64803,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:59] local.INFO: Processing buffer {"connection_id":64803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:50:59] local.INFO: Packet analysis {"connection_id":64803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:50:59] local.INFO: Extracted packet for processing {"connection_id":64803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:50:59] 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-05-08 03:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:50:59] 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-05-08 03:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:51:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":64803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:51:00] local.INFO: GPS data processed {"connection_id":64803,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:51:00] local.INFO: Acknowledgment sent {"connection_id":64803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:51:31] local.INFO: TCP Data received {"connection_id":64803,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:51:31] local.INFO: Processing buffer {"connection_id":64803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:51:31] local.INFO: Packet analysis {"connection_id":64803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:51:31] local.INFO: Extracted packet for processing {"connection_id":64803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:51:31] 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-05-08 03:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:51:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":64803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:51:31] local.INFO: GPS data processed {"connection_id":64803,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:51:31] local.INFO: Acknowledgment sent {"connection_id":64803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:51:54] local.INFO: TCP Data received {"connection_id":64804,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:51:54] local.INFO: Processing buffer {"connection_id":64804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:51:54] local.INFO: IMEI packet received {"connection_id":64804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":64804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:51:59] local.INFO: TCP Data received {"connection_id":64804,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:51:59] local.INFO: Processing buffer {"connection_id":64804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:51:59] local.INFO: IMEI packet received {"connection_id":64804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":64804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:52:00] local.INFO: TCP Data received {"connection_id":64804,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:00] local.INFO: Processing buffer {"connection_id":64804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:00] local.INFO: Packet analysis {"connection_id":64804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:52:00] local.INFO: Extracted packet for processing {"connection_id":64804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:00] 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-05-08 03:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:52:00] 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-05-08 03:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:52:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":64804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:52:00] local.INFO: GPS data processed {"connection_id":64804,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:52:00] local.INFO: Acknowledgment sent {"connection_id":64804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:52:32] local.INFO: TCP Data received {"connection_id":64804,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:32] local.INFO: Processing buffer {"connection_id":64804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:32] local.INFO: Packet analysis {"connection_id":64804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:52:32] local.INFO: Extracted packet for processing {"connection_id":64804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:52:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:32] 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-05-08 03:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:52:32] 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-05-08 03: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-05-08 03:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:52:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":64804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:52:32] local.INFO: GPS data processed {"connection_id":64804,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:52:32] local.INFO: Acknowledgment sent {"connection_id":64804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:52:53] local.INFO: TCP Data received {"connection_id":64758,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:52:53] local.INFO: Processing buffer {"connection_id":64758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:52:53] local.INFO: IMEI packet received {"connection_id":64758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":64758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:52:59] local.INFO: TCP Data received {"connection_id":64758,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:52:59] local.INFO: Processing buffer {"connection_id":64758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:52:59] local.INFO: IMEI packet received {"connection_id":64758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:52:59] local.INFO: IMEI acknowledgment sent {"connection_id":64758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:52:59] local.INFO: TCP Data received {"connection_id":64758,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:59] local.INFO: Processing buffer {"connection_id":64758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:52:59] local.INFO: Packet analysis {"connection_id":64758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:52:59] local.INFO: Extracted packet for processing {"connection_id":64758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:52:59] 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-05-08 03:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:52:59] 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-05-08 03:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:52:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":64758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:52:59] local.INFO: GPS data processed {"connection_id":64758,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:52:59] local.INFO: Acknowledgment sent {"connection_id":64758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:53:17] local.INFO: TCP Data received {"connection_id":64717,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:53:17] local.INFO: Processing buffer {"connection_id":64717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:53:17] local.INFO: IMEI packet received {"connection_id":64717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":64717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:53:31] local.INFO: TCP Data received {"connection_id":64758,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:53:31] local.INFO: Processing buffer {"connection_id":64758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:53:31] local.INFO: Packet analysis {"connection_id":64758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:53:31] local.INFO: Extracted packet for processing {"connection_id":64758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:53:31] 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-05-08 03:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:53:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":64758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:53:31] local.INFO: GPS data processed {"connection_id":64758,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:53:31] local.INFO: Acknowledgment sent {"connection_id":64758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:53:47] local.INFO: TCP Data received {"connection_id":64805,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:53:47] local.INFO: Processing buffer {"connection_id":64805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:53:47] local.INFO: IMEI packet received {"connection_id":64805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":64805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:53:53] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:53:53] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:53:53] local.INFO: IMEI packet received {"connection_id":64806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":64806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:53:59] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:53:59] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:53:59] local.INFO: IMEI packet received {"connection_id":64806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:53:59] local.INFO: IMEI acknowledgment sent {"connection_id":64806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:53:59] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:53:59] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04857278012d34c54006aa50700000006229..."} 
[2026-05-08 03:53:59] local.INFO: Packet analysis {"connection_id":64806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:53:59] local.INFO: Extracted packet for processing {"connection_id":64806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0485"} 
[2026-05-08 03:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217155584001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:53:59] 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-05-08 03:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778192315000,"timestamp_ms":1778192315000,"timestamp_seconds":1778192315,"priority":1,"record_length":96,"hex_timestamp":"0000019e04857278"} 
[2026-05-08 03:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 03:53:59] 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-05-08 03:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217155584001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217155584001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:53:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217155584001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":64806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:53:59] local.INFO: GPS data processed {"connection_id":64806,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:53:59] local.INFO: Acknowledgment sent {"connection_id":64806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:54:31] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:54:31] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:54:31] local.INFO: Packet analysis {"connection_id":64806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:54:31] local.INFO: Extracted packet for processing {"connection_id":64806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:54:31] 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-05-08 03:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:54:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":64806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:54:31] local.INFO: GPS data processed {"connection_id":64806,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:54:31] local.INFO: Acknowledgment sent {"connection_id":64806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:54:59] local.INFO: TCP Data received {"connection_id":65552,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:54:59] local.INFO: Processing buffer {"connection_id":65552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:54:59] local.INFO: IMEI packet received {"connection_id":65552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":65552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:55:04] local.INFO: TCP Data received {"connection_id":65552,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65552,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:04] local.INFO: Processing buffer {"connection_id":65552,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:04] local.INFO: IMEI packet received {"connection_id":65552,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":65552,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:55:05] local.INFO: TCP Data received {"connection_id":65552,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:05] local.INFO: Processing buffer {"connection_id":65552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:05] local.INFO: Packet analysis {"connection_id":65552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:55:05] local.INFO: Extracted packet for processing {"connection_id":65552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55:05] 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-05-08 03:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:55:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:55:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":65552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:55:05] local.INFO: GPS data processed {"connection_id":65552,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:55:05] local.INFO: Acknowledgment sent {"connection_id":65552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:55:09] local.INFO: TCP Data received {"connection_id":65552,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:09] local.INFO: Processing buffer {"connection_id":65552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:09] local.INFO: Packet analysis {"connection_id":65552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:55:09] local.INFO: Extracted packet for processing {"connection_id":65552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55: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-05-08 03:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:55: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-05-08 03: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65552,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:55:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":65552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:55:09] local.INFO: GPS data processed {"connection_id":65552,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:55:09] local.INFO: Acknowledgment sent {"connection_id":65552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:55:54] local.INFO: TCP Data received {"connection_id":64718,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:54] local.INFO: Processing buffer {"connection_id":64718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:54] local.INFO: IMEI packet received {"connection_id":64718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":64718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:55:59] local.INFO: TCP Data received {"connection_id":64718,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:59] local.INFO: Processing buffer {"connection_id":64718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:55:59] local.INFO: IMEI packet received {"connection_id":64718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":64718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:55:59] local.INFO: TCP Data received {"connection_id":64718,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:59] local.INFO: Processing buffer {"connection_id":64718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:55:59] local.INFO: Packet analysis {"connection_id":64718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:55:59] local.INFO: Extracted packet for processing {"connection_id":64718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:55:59] 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-05-08 03:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:55:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":64718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:55:59] local.INFO: GPS data processed {"connection_id":64718,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:55:59] local.INFO: Acknowledgment sent {"connection_id":64718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:56:31] local.INFO: TCP Data received {"connection_id":64718,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:56:31] local.INFO: Processing buffer {"connection_id":64718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:56:31] local.INFO: Packet analysis {"connection_id":64718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:56:31] local.INFO: Extracted packet for processing {"connection_id":64718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:56:31] 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-05-08 03:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:56:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":64718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:56:31] local.INFO: GPS data processed {"connection_id":64718,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:56:31] local.INFO: Acknowledgment sent {"connection_id":64718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:56:54] local.INFO: TCP Data received {"connection_id":64719,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:56:54] local.INFO: Processing buffer {"connection_id":64719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:56:54] local.INFO: IMEI packet received {"connection_id":64719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":64719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:56:59] local.INFO: TCP Data received {"connection_id":64719,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:56:59] local.INFO: Processing buffer {"connection_id":64719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:56:59] local.INFO: IMEI packet received {"connection_id":64719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:56:59] local.INFO: IMEI acknowledgment sent {"connection_id":64719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:57:00] local.INFO: TCP Data received {"connection_id":64719,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:00] local.INFO: Processing buffer {"connection_id":64719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:00] local.INFO: Packet analysis {"connection_id":64719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:57:00] local.INFO: Extracted packet for processing {"connection_id":64719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:00] 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-05-08 03:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:57:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":64719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:57:00] local.INFO: GPS data processed {"connection_id":64719,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:57:00] local.INFO: Acknowledgment sent {"connection_id":64719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:57:31] local.INFO: TCP Data received {"connection_id":64719,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:31] local.INFO: Processing buffer {"connection_id":64719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:31] local.INFO: Packet analysis {"connection_id":64719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:57:31] local.INFO: Extracted packet for processing {"connection_id":64719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:31] 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-05-08 03:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:57:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":64719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:57:31] local.INFO: GPS data processed {"connection_id":64719,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:57:31] local.INFO: Acknowledgment sent {"connection_id":64719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:57:53] local.INFO: TCP Data received {"connection_id":64808,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:57:53] local.INFO: Processing buffer {"connection_id":64808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:57:53] local.INFO: IMEI packet received {"connection_id":64808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":64808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:57:59] local.INFO: TCP Data received {"connection_id":64808,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:57:59] local.INFO: Processing buffer {"connection_id":64808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:57:59] local.INFO: IMEI packet received {"connection_id":64808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":64808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:57:59] local.INFO: TCP Data received {"connection_id":64808,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:59] local.INFO: Processing buffer {"connection_id":64808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:57:59] local.INFO: Packet analysis {"connection_id":64808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:57:59] local.INFO: Extracted packet for processing {"connection_id":64808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:57:59] 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-05-08 03:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:57:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":64808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:57:59] local.INFO: GPS data processed {"connection_id":64808,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:57:59] local.INFO: Acknowledgment sent {"connection_id":64808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:58:31] local.INFO: TCP Data received {"connection_id":64808,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:58:31] local.INFO: Processing buffer {"connection_id":64808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:58:31] local.INFO: Packet analysis {"connection_id":64808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:58:31] local.INFO: Extracted packet for processing {"connection_id":64808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:58:31] 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-05-08 03:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:58:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":64808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:58:31] local.INFO: GPS data processed {"connection_id":64808,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:58:31] local.INFO: Acknowledgment sent {"connection_id":64808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:58:53] local.INFO: TCP Data received {"connection_id":64721,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:58:53] local.INFO: Processing buffer {"connection_id":64721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:58:53] local.INFO: IMEI packet received {"connection_id":64721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":64721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:58:59] local.INFO: TCP Data received {"connection_id":64721,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:58:59] local.INFO: Processing buffer {"connection_id":64721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:58:59] local.INFO: IMEI packet received {"connection_id":64721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":64721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 03:58:59] local.INFO: TCP Data received {"connection_id":64721,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:58:59] local.INFO: Processing buffer {"connection_id":64721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048a0a40012d34c54006aa5070000000622d..."} 
[2026-05-08 03:58:59] local.INFO: Packet analysis {"connection_id":64721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:58:59] local.INFO: Extracted packet for processing {"connection_id":64721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048a"} 
[2026-05-08 03:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 03:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217232640001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:58:59] 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-05-08 03:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778192616000,"timestamp_ms":1778192616000,"timestamp_seconds":1778192616,"priority":1,"record_length":96,"hex_timestamp":"0000019e048a0a40"} 
[2026-05-08 03:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 03:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217232640001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217232640001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:58:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217232640001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":64721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:58:59] local.INFO: GPS data processed {"connection_id":64721,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:58:59] local.INFO: Acknowledgment sent {"connection_id":64721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:59:07] local.INFO: TCP Data received {"connection_id":65553,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65553,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:59:07] local.INFO: Processing buffer {"connection_id":65553,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:59:07] local.INFO: IMEI packet received {"connection_id":65553,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":65553,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:59:31] local.INFO: TCP Data received {"connection_id":64721,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 03:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 03:59:31] local.INFO: Processing buffer {"connection_id":64721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 03:59:31] local.INFO: Packet analysis {"connection_id":64721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 03:59:31] local.INFO: Extracted packet for processing {"connection_id":64721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 03:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 03: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-05-08 03:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 03:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 03:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 03:59:31] 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-05-08 03:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 03:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 03:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 03: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 03:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 03: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-05-08 03:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 03:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 03:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 03:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 03:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 03:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 03:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 03:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 03:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 03:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 03:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 03:59:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 03:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 03:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 03:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 03:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 03:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":64721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 03:59:31] local.INFO: GPS data processed {"connection_id":64721,"processed":1,"errors":0,"total":1} 
[2026-05-08 03:59:31] local.INFO: Acknowledgment sent {"connection_id":64721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 03:59:42] local.INFO: TCP Data received {"connection_id":64761,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:59:42] local.INFO: Processing buffer {"connection_id":64761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 03:59:42] local.INFO: IMEI packet received {"connection_id":64761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 03:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":64761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:59:54] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:59:54] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:59:54] local.INFO: IMEI packet received {"connection_id":64762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 03:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":64762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 03:59:59] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:59:59] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 03:59:59] local.INFO: IMEI packet received {"connection_id":64762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 03:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":64762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:00:00] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:00] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:00] local.INFO: Packet analysis {"connection_id":64762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:00:00] local.INFO: Extracted packet for processing {"connection_id":64762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:00] 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-05-08 04:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:00:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":64762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:00:00] local.INFO: GPS data processed {"connection_id":64762,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:00:00] local.INFO: Acknowledgment sent {"connection_id":64762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:00:31] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:31] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:31] local.INFO: Packet analysis {"connection_id":64762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:00:31] local.INFO: Extracted packet for processing {"connection_id":64762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:31] 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-05-08 04:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:00:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":64762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:00:31] local.INFO: GPS data processed {"connection_id":64762,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:00:31] local.INFO: Acknowledgment sent {"connection_id":64762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:00:54] local.INFO: TCP Data received {"connection_id":65554,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:00:54] local.INFO: Processing buffer {"connection_id":65554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:00:54] local.INFO: IMEI packet received {"connection_id":65554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":65554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:00:59] local.INFO: TCP Data received {"connection_id":65554,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:00:59] local.INFO: Processing buffer {"connection_id":65554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:00:59] local.INFO: IMEI packet received {"connection_id":65554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:00:59] local.INFO: IMEI acknowledgment sent {"connection_id":65554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:00:59] local.INFO: TCP Data received {"connection_id":65554,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:59] local.INFO: Processing buffer {"connection_id":65554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:00:59] local.INFO: Packet analysis {"connection_id":65554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:00:59] local.INFO: Extracted packet for processing {"connection_id":65554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:00:59] 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-05-08 04:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:00:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":65554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:00:59] local.INFO: GPS data processed {"connection_id":65554,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:00:59] local.INFO: Acknowledgment sent {"connection_id":65554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:01:31] local.INFO: TCP Data received {"connection_id":65554,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:01:31] local.INFO: Processing buffer {"connection_id":65554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:01:31] local.INFO: Packet analysis {"connection_id":65554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:01:31] local.INFO: Extracted packet for processing {"connection_id":65554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:01:31] 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-05-08 04:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:01:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":65554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:01:31] local.INFO: GPS data processed {"connection_id":65554,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:01:31] local.INFO: Acknowledgment sent {"connection_id":65554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:01:53] local.INFO: TCP Data received {"connection_id":64810,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:01:53] local.INFO: Processing buffer {"connection_id":64810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:01:53] local.INFO: IMEI packet received {"connection_id":64810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":64810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:01:59] local.INFO: TCP Data received {"connection_id":64810,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:01:59] local.INFO: Processing buffer {"connection_id":64810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:01:59] local.INFO: IMEI packet received {"connection_id":64810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:01:59] local.INFO: IMEI acknowledgment sent {"connection_id":64810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:02:00] local.INFO: TCP Data received {"connection_id":64810,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:02:00] local.INFO: Processing buffer {"connection_id":64810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:02:00] local.INFO: Packet analysis {"connection_id":64810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:02:00] local.INFO: Extracted packet for processing {"connection_id":64810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:02:00] 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-05-08 04:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:02:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":64810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:02:00] local.INFO: GPS data processed {"connection_id":64810,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:02:00] local.INFO: Acknowledgment sent {"connection_id":64810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:02:31] local.INFO: TCP Data received {"connection_id":64810,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:02:31] local.INFO: Processing buffer {"connection_id":64810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:02:31] local.INFO: Packet analysis {"connection_id":64810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:02:31] local.INFO: Extracted packet for processing {"connection_id":64810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:02:31] 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-05-08 04:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:02:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":64810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:02:31] local.INFO: GPS data processed {"connection_id":64810,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:02:31] local.INFO: Acknowledgment sent {"connection_id":64810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:02:53] local.INFO: TCP Data received {"connection_id":64811,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:02:53] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:02:53] local.INFO: IMEI packet received {"connection_id":64811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":64811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:02:59] local.INFO: TCP Data received {"connection_id":64811,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:02:59] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:02:59] local.INFO: IMEI packet received {"connection_id":64811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:02:59] local.INFO: IMEI acknowledgment sent {"connection_id":64811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:03:00] local.INFO: TCP Data received {"connection_id":64811,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:03:00] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:03:00] local.INFO: Packet analysis {"connection_id":64811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:03:00] local.INFO: Extracted packet for processing {"connection_id":64811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:03:00] 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-05-08 04:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:03:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":64811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:03:00] local.INFO: GPS data processed {"connection_id":64811,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:03:00] local.INFO: Acknowledgment sent {"connection_id":64811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:03:31] local.INFO: TCP Data received {"connection_id":64811,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:03:31] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:03:31] local.INFO: Packet analysis {"connection_id":64811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:03:31] local.INFO: Extracted packet for processing {"connection_id":64811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:03:31] 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-05-08 04:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:03:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":64811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:03:31] local.INFO: GPS data processed {"connection_id":64811,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:03:31] local.INFO: Acknowledgment sent {"connection_id":64811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:03:59] local.INFO: TCP Data received {"connection_id":65555,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:03:59] local.INFO: Processing buffer {"connection_id":65555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:03:59] local.INFO: IMEI packet received {"connection_id":65555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":65555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:04:04] local.INFO: TCP Data received {"connection_id":65555,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:04] local.INFO: Processing buffer {"connection_id":65555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:04] local.INFO: IMEI packet received {"connection_id":65555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":65555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:04:05] local.INFO: TCP Data received {"connection_id":65555,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:04:05] local.INFO: Processing buffer {"connection_id":65555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:04:05] local.INFO: Packet analysis {"connection_id":65555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:04:05] local.INFO: Extracted packet for processing {"connection_id":65555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:04:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:04:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:04:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:04:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:04:05] 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-05-08 04:04:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:04:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:04:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:04:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:04:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:04:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:04:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:04:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:04:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:04:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:04:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:04:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:04:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:04:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:04:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:04:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:04:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:04:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:04:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:04:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:04:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:04:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:04:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:04:05] local.INFO: DEBUG: GPS processor result {"connection_id":65555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:04:05] local.INFO: GPS data processed {"connection_id":65555,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:04:05] local.INFO: Acknowledgment sent {"connection_id":65555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:04:10] local.INFO: TCP Data received {"connection_id":65555,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:04:10] local.INFO: Processing buffer {"connection_id":65555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e048ea208012d34c54006aa5070000000622d..."} 
[2026-05-08 04:04:10] local.INFO: Packet analysis {"connection_id":65555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:04:10] local.INFO: Extracted packet for processing {"connection_id":65555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e048e"} 
[2026-05-08 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217309696001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:04:10] 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-05-08 04:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778192917000,"timestamp_ms":1778192917000,"timestamp_seconds":1778192917,"priority":1,"record_length":96,"hex_timestamp":"0000019e048ea208"} 
[2026-05-08 04:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:04: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-05-08 04: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217309696001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217309696001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:04:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:04:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217309696001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":65555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:04:10] local.INFO: GPS data processed {"connection_id":65555,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:04:10] local.INFO: Acknowledgment sent {"connection_id":65555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:04:53] local.INFO: TCP Data received {"connection_id":64725,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:53] local.INFO: Processing buffer {"connection_id":64725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:53] local.INFO: IMEI packet received {"connection_id":64725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":64725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:04:59] local.INFO: TCP Data received {"connection_id":64725,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:59] local.INFO: Processing buffer {"connection_id":64725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:04:59] local.INFO: IMEI packet received {"connection_id":64725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":64725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:05:00] local.INFO: TCP Data received {"connection_id":64725,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:05:00] local.INFO: Processing buffer {"connection_id":64725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:05:00] local.INFO: Packet analysis {"connection_id":64725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:05:00] local.INFO: Extracted packet for processing {"connection_id":64725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:05:00] 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-05-08 04:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:05:00] 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-05-08 04:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:05:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":64725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:05:00] local.INFO: GPS data processed {"connection_id":64725,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:05:00] local.INFO: Acknowledgment sent {"connection_id":64725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:05:17] local.INFO: TCP Data received {"connection_id":64724,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:05:17] local.INFO: Processing buffer {"connection_id":64724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:05:17] local.INFO: IMEI packet received {"connection_id":64724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":64724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:05:31] local.INFO: TCP Data received {"connection_id":64725,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:05:31] local.INFO: Processing buffer {"connection_id":64725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:05:31] local.INFO: Packet analysis {"connection_id":64725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:05:31] local.INFO: Extracted packet for processing {"connection_id":64725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:05:31] 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-05-08 04:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:05:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":64725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:05:31] local.INFO: GPS data processed {"connection_id":64725,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:05:31] local.INFO: Acknowledgment sent {"connection_id":64725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:05:42] local.INFO: TCP Data received {"connection_id":64764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64764,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:05:42] local.INFO: Processing buffer {"connection_id":64764,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:05:42] local.INFO: IMEI packet received {"connection_id":64764,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":64764,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:05:53] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:05:53] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:05:53] local.INFO: IMEI packet received {"connection_id":64812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":64812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:05:59] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:05:59] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:05:59] local.INFO: IMEI packet received {"connection_id":64812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:05:59] local.INFO: IMEI acknowledgment sent {"connection_id":64812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:06:00] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:06:00] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:06:00] local.INFO: Packet analysis {"connection_id":64812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:06:00] local.INFO: Extracted packet for processing {"connection_id":64812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:06:00] 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-05-08 04:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:06:00] 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-05-08 04:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:06:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":64812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:06:00] local.INFO: GPS data processed {"connection_id":64812,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:06:00] local.INFO: Acknowledgment sent {"connection_id":64812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:06:31] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:06:31] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:06:31] local.INFO: Packet analysis {"connection_id":64812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:06:31] local.INFO: Extracted packet for processing {"connection_id":64812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:06:31] 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-05-08 04:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:06:32] 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-05-08 04:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:06:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":64812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:06:32] local.INFO: GPS data processed {"connection_id":64812,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:06:32] local.INFO: Acknowledgment sent {"connection_id":64812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:06:53] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:06:53] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:06:53] local.INFO: IMEI packet received {"connection_id":64726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":64726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:06:59] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:06:59] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:06:59] local.INFO: IMEI packet received {"connection_id":64726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":64726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:07:00] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:07:00] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:07:00] local.INFO: Packet analysis {"connection_id":64726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:07:00] local.INFO: Extracted packet for processing {"connection_id":64726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:07:00] 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-05-08 04:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:07:00] 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-05-08 04:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:07:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":64726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:07:00] local.INFO: GPS data processed {"connection_id":64726,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:07:00] local.INFO: Acknowledgment sent {"connection_id":64726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:07:31] local.INFO: TCP Data received {"connection_id":64726,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:07:31] local.INFO: Processing buffer {"connection_id":64726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:07:31] local.INFO: Packet analysis {"connection_id":64726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:07:31] local.INFO: Extracted packet for processing {"connection_id":64726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:07:31] 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-05-08 04:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:07:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":64726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:07:31] local.INFO: GPS data processed {"connection_id":64726,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:07:31] local.INFO: Acknowledgment sent {"connection_id":64726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:07:59] local.INFO: TCP Data received {"connection_id":64813,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:07:59] local.INFO: Processing buffer {"connection_id":64813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:07:59] local.INFO: IMEI packet received {"connection_id":64813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":64813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:08:04] local.INFO: TCP Data received {"connection_id":64813,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:04] local.INFO: Processing buffer {"connection_id":64813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:04] local.INFO: IMEI packet received {"connection_id":64813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":64813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:08:04] local.INFO: TCP Data received {"connection_id":64813,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:08:04] local.INFO: Processing buffer {"connection_id":64813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:08:04] local.INFO: Packet analysis {"connection_id":64813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:08:04] local.INFO: Extracted packet for processing {"connection_id":64813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:08:04] 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-05-08 04:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:08:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":64813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:08:04] local.INFO: GPS data processed {"connection_id":64813,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:08:04] local.INFO: Acknowledgment sent {"connection_id":64813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:08:09] local.INFO: TCP Data received {"connection_id":64813,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:08:09] local.INFO: Processing buffer {"connection_id":64813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:08:09] local.INFO: Packet analysis {"connection_id":64813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:08:09] local.INFO: Extracted packet for processing {"connection_id":64813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:08: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-05-08 04:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04: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-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:08: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-05-08 04: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-05-08 04:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:08:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":64813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:08:09] local.INFO: GPS data processed {"connection_id":64813,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:08:09] local.INFO: Acknowledgment sent {"connection_id":64813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:08:54] local.INFO: TCP Data received {"connection_id":64766,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:54] local.INFO: Processing buffer {"connection_id":64766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:54] local.INFO: IMEI packet received {"connection_id":64766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":64766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:08:59] local.INFO: TCP Data received {"connection_id":64766,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:59] local.INFO: Processing buffer {"connection_id":64766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:08:59] local.INFO: IMEI packet received {"connection_id":64766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":64766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:09:00] local.INFO: TCP Data received {"connection_id":64766,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:09:00] local.INFO: Processing buffer {"connection_id":64766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049339d0012d34c54006aa5070000000622c..."} 
[2026-05-08 04:09:00] local.INFO: Packet analysis {"connection_id":64766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:09:00] local.INFO: Extracted packet for processing {"connection_id":64766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0493"} 
[2026-05-08 04:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217386752001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:00] 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-05-08 04:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193218000,"timestamp_ms":1778193218000,"timestamp_seconds":1778193218,"priority":1,"record_length":96,"hex_timestamp":"0000019e049339d0"} 
[2026-05-08 04:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:09:00] 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-05-08 04:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217386752001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217386752001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:09:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217386752001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":64766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:09:00] local.INFO: GPS data processed {"connection_id":64766,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:09:00] local.INFO: Acknowledgment sent {"connection_id":64766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:09:31] local.INFO: TCP Data received {"connection_id":64766,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:09:31] local.INFO: Processing buffer {"connection_id":64766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:09:31] local.INFO: Packet analysis {"connection_id":64766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:09:31] local.INFO: Extracted packet for processing {"connection_id":64766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:31] 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-05-08 04:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:09:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":64766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:09:31] local.INFO: GPS data processed {"connection_id":64766,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:09:31] local.INFO: Acknowledgment sent {"connection_id":64766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:09:53] local.INFO: TCP Data received {"connection_id":65557,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:09:53] local.INFO: Processing buffer {"connection_id":65557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:09:53] local.INFO: IMEI packet received {"connection_id":65557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":65557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:09:58] local.INFO: TCP Data received {"connection_id":65557,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:09:58] local.INFO: Processing buffer {"connection_id":65557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:09:58] local.INFO: IMEI packet received {"connection_id":65557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":65557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:09:59] local.INFO: TCP Data received {"connection_id":65557,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:09:59] local.INFO: Processing buffer {"connection_id":65557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:09:59] local.INFO: Packet analysis {"connection_id":65557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:09:59] local.INFO: Extracted packet for processing {"connection_id":65557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:09:59] 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-05-08 04:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:09:59] 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-05-08 04:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:09:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":65557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:09:59] local.INFO: GPS data processed {"connection_id":65557,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:09:59] local.INFO: Acknowledgment sent {"connection_id":65557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:10:35] local.INFO: TCP Data received {"connection_id":65557,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:10:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:10:35] local.INFO: Processing buffer {"connection_id":65557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:10:35] local.INFO: Packet analysis {"connection_id":65557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:10:35] local.INFO: Extracted packet for processing {"connection_id":65557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:10:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:10:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:10:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:10:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:10: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-05-08 04:10:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:10:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:10:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:10:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:10:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:10:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:10:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:10:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:10:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:10:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:10:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:10:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:10:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:10:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:10:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:10:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:10:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:10:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:10:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:10:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:10:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:10:35] local.INFO: DEBUG: GPS processor result {"connection_id":65557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:10:35] local.INFO: GPS data processed {"connection_id":65557,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:10:35] local.INFO: Acknowledgment sent {"connection_id":65557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:10:53] local.INFO: TCP Data received {"connection_id":64815,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:10:53] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:10:53] local.INFO: IMEI packet received {"connection_id":64815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":64815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:10:59] local.INFO: TCP Data received {"connection_id":64815,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:10:59] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:10:59] local.INFO: IMEI packet received {"connection_id":64815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":64815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:11:00] local.INFO: TCP Data received {"connection_id":64815,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:11:00] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:11:00] local.INFO: Packet analysis {"connection_id":64815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:11:00] local.INFO: Extracted packet for processing {"connection_id":64815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:11:00] 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-05-08 04:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:11:00] 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-05-08 04:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:11:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:11:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":64815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:11:01] local.INFO: GPS data processed {"connection_id":64815,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:11:01] local.INFO: Acknowledgment sent {"connection_id":64815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:11:12] local.INFO: TCP Data received {"connection_id":65558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:11:12] local.INFO: Processing buffer {"connection_id":65558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:11:12] local.INFO: IMEI packet received {"connection_id":65558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":65558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:11:32] local.INFO: TCP Data received {"connection_id":64815,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:11:32] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:11:32] local.INFO: Packet analysis {"connection_id":64815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:11:32] local.INFO: Extracted packet for processing {"connection_id":64815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:11:32] 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-05-08 04:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:11:32] 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-05-08 04:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:11:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":64815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:11:32] local.INFO: GPS data processed {"connection_id":64815,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:11:32] local.INFO: Acknowledgment sent {"connection_id":64815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:11:42] local.INFO: TCP Data received {"connection_id":64767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:11:42] local.INFO: Processing buffer {"connection_id":64767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:11:42] local.INFO: IMEI packet received {"connection_id":64767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":64767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:12:03] local.INFO: TCP Data received {"connection_id":64728,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:03] local.INFO: Processing buffer {"connection_id":64728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:03] local.INFO: IMEI packet received {"connection_id":64728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":64728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:12:03] local.INFO: TCP Data received {"connection_id":64728,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:03] local.INFO: Processing buffer {"connection_id":64728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:03] local.INFO: IMEI packet received {"connection_id":64728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":64728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:12:04] local.INFO: TCP Data received {"connection_id":64728,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:12:04] local.INFO: Processing buffer {"connection_id":64728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:12:04] local.INFO: Packet analysis {"connection_id":64728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:12:04] local.INFO: Extracted packet for processing {"connection_id":64728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:12:04] 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-05-08 04:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:12:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":64728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:12:04] local.INFO: GPS data processed {"connection_id":64728,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:12:04] local.INFO: Acknowledgment sent {"connection_id":64728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:12:09] local.INFO: TCP Data received {"connection_id":64728,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:12:09] local.INFO: Processing buffer {"connection_id":64728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:12:09] local.INFO: Packet analysis {"connection_id":64728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:12:09] local.INFO: Extracted packet for processing {"connection_id":64728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:12: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-05-08 04:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04: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-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:12: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-05-08 04: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-05-08 04:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:12:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":64728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:12:09] local.INFO: GPS data processed {"connection_id":64728,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:12:09] local.INFO: Acknowledgment sent {"connection_id":64728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:12:54] local.INFO: TCP Data received {"connection_id":65559,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:54] local.INFO: Processing buffer {"connection_id":65559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:54] local.INFO: IMEI packet received {"connection_id":65559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":65559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:12:59] local.INFO: TCP Data received {"connection_id":65559,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:59] local.INFO: Processing buffer {"connection_id":65559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:12:59] local.INFO: IMEI packet received {"connection_id":65559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":65559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:13:00] local.INFO: TCP Data received {"connection_id":65559,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:13:00] local.INFO: Processing buffer {"connection_id":65559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:13:00] local.INFO: Packet analysis {"connection_id":65559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:13:00] local.INFO: Extracted packet for processing {"connection_id":65559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:13:00] 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-05-08 04:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:13:00] 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-05-08 04:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:13:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":65559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:13:00] local.INFO: GPS data processed {"connection_id":65559,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:13:00] local.INFO: Acknowledgment sent {"connection_id":65559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:13:31] local.INFO: TCP Data received {"connection_id":65559,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:13:31] local.INFO: Processing buffer {"connection_id":65559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:13:31] local.INFO: Packet analysis {"connection_id":65559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:13:31] local.INFO: Extracted packet for processing {"connection_id":65559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:13:31] 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-05-08 04:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:13:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":65559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:13:31] local.INFO: GPS data processed {"connection_id":65559,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:13:31] local.INFO: Acknowledgment sent {"connection_id":65559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:13:54] local.INFO: TCP Data received {"connection_id":64817,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:13:54] local.INFO: Processing buffer {"connection_id":64817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:13:54] local.INFO: IMEI packet received {"connection_id":64817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":64817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:13:59] local.INFO: TCP Data received {"connection_id":64817,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:13:59] local.INFO: Processing buffer {"connection_id":64817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:13:59] local.INFO: IMEI packet received {"connection_id":64817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":64817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:14:01] local.INFO: TCP Data received {"connection_id":64817,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:14:01] local.INFO: Processing buffer {"connection_id":64817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0497d198012d34c54006aa5070000000622b..."} 
[2026-05-08 04:14:01] local.INFO: Packet analysis {"connection_id":64817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:14:01] local.INFO: Extracted packet for processing {"connection_id":64817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0497"} 
[2026-05-08 04:14:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217463808001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:14: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-05-08 04:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778193519000,"timestamp_ms":1778193519000,"timestamp_seconds":1778193519,"priority":1,"record_length":96,"hex_timestamp":"0000019e0497d198"} 
[2026-05-08 04:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:14:01] 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-05-08 04:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":64817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":64817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":64817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217463808001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217463808001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:14:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:14:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217463808001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":64817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:14:01] local.INFO: GPS data processed {"connection_id":64817,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:14:01] local.INFO: Acknowledgment sent {"connection_id":64817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:14:33] local.INFO: TCP Data received {"connection_id":64817,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:14:33] local.INFO: Processing buffer {"connection_id":64817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:14:33] local.INFO: Packet analysis {"connection_id":64817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:14:33] local.INFO: Extracted packet for processing {"connection_id":64817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:14:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:14: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-05-08 04:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:14: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-05-08 04:14:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:14:33] 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-05-08 04:14:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:14:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:14:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":64817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:14:33] local.INFO: GPS data processed {"connection_id":64817,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:14:33] local.INFO: Acknowledgment sent {"connection_id":64817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:14:53] local.INFO: TCP Data received {"connection_id":64769,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:14:53] local.INFO: Processing buffer {"connection_id":64769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:14:53] local.INFO: IMEI packet received {"connection_id":64769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":64769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:14:59] local.INFO: TCP Data received {"connection_id":64769,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:14:59] local.INFO: Processing buffer {"connection_id":64769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:14:59] local.INFO: IMEI packet received {"connection_id":64769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:14:59] local.INFO: IMEI acknowledgment sent {"connection_id":64769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:15:00] local.INFO: TCP Data received {"connection_id":64769,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:15:00] local.INFO: Processing buffer {"connection_id":64769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:15:00] local.INFO: Packet analysis {"connection_id":64769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:15:00] local.INFO: Extracted packet for processing {"connection_id":64769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:15:00] 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-05-08 04:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:15:00] 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-05-08 04: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-05-08 04:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:15:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":64769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:15:00] local.INFO: GPS data processed {"connection_id":64769,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:15:00] local.INFO: Acknowledgment sent {"connection_id":64769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:15:32] local.INFO: TCP Data received {"connection_id":64769,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:15:32] local.INFO: Processing buffer {"connection_id":64769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:15:32] local.INFO: Packet analysis {"connection_id":64769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:15:32] local.INFO: Extracted packet for processing {"connection_id":64769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:15:32] 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-05-08 04:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:15:32] 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-05-08 04:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:15:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":64769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:15:32] local.INFO: GPS data processed {"connection_id":64769,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:15:32] local.INFO: Acknowledgment sent {"connection_id":64769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:15:59] local.INFO: TCP Data received {"connection_id":64770,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:15:59] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:15:59] local.INFO: IMEI packet received {"connection_id":64770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":64770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:16:04] local.INFO: TCP Data received {"connection_id":64770,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:04] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:04] local.INFO: IMEI packet received {"connection_id":64770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":64770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:16:05] local.INFO: TCP Data received {"connection_id":64770,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:16:05] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:16:05] local.INFO: Packet analysis {"connection_id":64770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:16:05] local.INFO: Extracted packet for processing {"connection_id":64770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:16:05] 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-05-08 04:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:16:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":64770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:16:05] local.INFO: GPS data processed {"connection_id":64770,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:16:05] local.INFO: Acknowledgment sent {"connection_id":64770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:16:09] local.INFO: TCP Data received {"connection_id":64770,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:16:09] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:16:09] local.INFO: Packet analysis {"connection_id":64770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:16:09] local.INFO: Extracted packet for processing {"connection_id":64770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:16: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-05-08 04:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04: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-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:16: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-05-08 04: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-05-08 04:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:16:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":64770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:16:09] local.INFO: GPS data processed {"connection_id":64770,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:16:09] local.INFO: Acknowledgment sent {"connection_id":64770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:16:54] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:54] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:54] local.INFO: IMEI packet received {"connection_id":64771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":64771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:16:59] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:59] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:16:59] local.INFO: IMEI packet received {"connection_id":64771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:16:59] local.INFO: IMEI acknowledgment sent {"connection_id":64771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:17:00] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:17:00] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:17:00] local.INFO: Packet analysis {"connection_id":64771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:17:00] local.INFO: Extracted packet for processing {"connection_id":64771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:17:00] 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-05-08 04:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:17:00] 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-05-08 04:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:17:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":64771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:17:00] local.INFO: GPS data processed {"connection_id":64771,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:17:00] local.INFO: Acknowledgment sent {"connection_id":64771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:17:07] local.INFO: TCP Data received {"connection_id":64729,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:17:07] local.INFO: Processing buffer {"connection_id":64729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:17:07] local.INFO: IMEI packet received {"connection_id":64729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":64729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:17:31] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:17:31] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:17:31] local.INFO: Packet analysis {"connection_id":64771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:17:31] local.INFO: Extracted packet for processing {"connection_id":64771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:17:31] 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-05-08 04:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:17:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":64771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:17:31] local.INFO: GPS data processed {"connection_id":64771,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:17:31] local.INFO: Acknowledgment sent {"connection_id":64771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:17:42] local.INFO: TCP Data received {"connection_id":64772,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:17:42] local.INFO: Processing buffer {"connection_id":64772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:17:42] local.INFO: IMEI packet received {"connection_id":64772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":64772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:17:53] local.INFO: TCP Data received {"connection_id":65561,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:17:53] local.INFO: Processing buffer {"connection_id":65561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:17:53] local.INFO: IMEI packet received {"connection_id":65561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":65561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:17:59] local.INFO: TCP Data received {"connection_id":65561,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:17:59] local.INFO: Processing buffer {"connection_id":65561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:17:59] local.INFO: IMEI packet received {"connection_id":65561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:17:59] local.INFO: IMEI acknowledgment sent {"connection_id":65561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:18:00] local.INFO: TCP Data received {"connection_id":65561,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:18:00] local.INFO: Processing buffer {"connection_id":65561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:18:00] local.INFO: Packet analysis {"connection_id":65561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:18:00] local.INFO: Extracted packet for processing {"connection_id":65561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:18:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:18:00] 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-05-08 04:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:18:00] 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-05-08 04:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:18:01] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:18:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":65561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:18:01] local.INFO: GPS data processed {"connection_id":65561,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:18:01] local.INFO: Acknowledgment sent {"connection_id":65561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:18:32] local.INFO: TCP Data received {"connection_id":65561,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:18:32] local.INFO: Processing buffer {"connection_id":65561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:18:32] local.INFO: Packet analysis {"connection_id":65561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:18:32] local.INFO: Extracted packet for processing {"connection_id":65561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:18:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:18:32] 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-05-08 04:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:18:32] 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-05-08 04:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:18:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:18:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":65561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:18:32] local.INFO: GPS data processed {"connection_id":65561,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:18:32] local.INFO: Acknowledgment sent {"connection_id":65561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:18:53] local.INFO: TCP Data received {"connection_id":65563,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:18:53] local.INFO: Processing buffer {"connection_id":65563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:18:53] local.INFO: IMEI packet received {"connection_id":65563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":65563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:18:59] local.INFO: TCP Data received {"connection_id":65563,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:18:59] local.INFO: Processing buffer {"connection_id":65563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:18:59] local.INFO: IMEI packet received {"connection_id":65563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":65563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:19:00] local.INFO: TCP Data received {"connection_id":65563,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:19:00] local.INFO: Processing buffer {"connection_id":65563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e049c6960012d34c54006aa5070000000622b..."} 
[2026-05-08 04:19:00] local.INFO: Packet analysis {"connection_id":65563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:19:00] local.INFO: Extracted packet for processing {"connection_id":65563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e049c"} 
[2026-05-08 04:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217540864001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:19:00] 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-05-08 04:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778193820000,"timestamp_ms":1778193820000,"timestamp_seconds":1778193820,"priority":1,"record_length":96,"hex_timestamp":"0000019e049c6960"} 
[2026-05-08 04:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:19:00] 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-05-08 04:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217540864001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217540864001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:19:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217540864001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":65563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:19:00] local.INFO: GPS data processed {"connection_id":65563,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:19:00] local.INFO: Acknowledgment sent {"connection_id":65563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:19:32] local.INFO: TCP Data received {"connection_id":65563,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:19:32] local.INFO: Processing buffer {"connection_id":65563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:19:32] local.INFO: Packet analysis {"connection_id":65563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:19:32] local.INFO: Extracted packet for processing {"connection_id":65563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:19:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:19:32] 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-05-08 04:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:19:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:19:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":65563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:19:32] local.INFO: GPS data processed {"connection_id":65563,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:19:32] local.INFO: Acknowledgment sent {"connection_id":65563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:19:59] local.INFO: TCP Data received {"connection_id":64773,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:19:59] local.INFO: Processing buffer {"connection_id":64773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:19:59] local.INFO: IMEI packet received {"connection_id":64773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":64773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:20:04] local.INFO: TCP Data received {"connection_id":64773,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:04] local.INFO: Processing buffer {"connection_id":64773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:04] local.INFO: IMEI packet received {"connection_id":64773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":64773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:20:05] local.INFO: TCP Data received {"connection_id":64773,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:20:05] local.INFO: Processing buffer {"connection_id":64773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:20:05] local.INFO: Packet analysis {"connection_id":64773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:20:05] local.INFO: Extracted packet for processing {"connection_id":64773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:20:05] 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-05-08 04:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:20:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":64773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:20:05] local.INFO: GPS data processed {"connection_id":64773,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:20:05] local.INFO: Acknowledgment sent {"connection_id":64773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:20:09] local.INFO: TCP Data received {"connection_id":64773,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:20:09] local.INFO: Processing buffer {"connection_id":64773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:20:09] local.INFO: Packet analysis {"connection_id":64773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:20:09] local.INFO: Extracted packet for processing {"connection_id":64773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 04:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:20: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-05-08 04:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 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-05-08 04:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 04:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:20:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:20:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":64773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:20:09] local.INFO: GPS data processed {"connection_id":64773,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:20:09] local.INFO: Acknowledgment sent {"connection_id":64773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:20:54] local.INFO: TCP Data received {"connection_id":64819,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:54] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:54] local.INFO: IMEI packet received {"connection_id":64819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":64819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:20:59] local.INFO: TCP Data received {"connection_id":64819,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:59] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:20:59] local.INFO: IMEI packet received {"connection_id":64819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":64819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:21:02] local.INFO: TCP Data received {"connection_id":64819,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:21:02] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:21:02] local.INFO: Packet analysis {"connection_id":64819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:21:02] local.INFO: Extracted packet for processing {"connection_id":64819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:21:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:21:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:21:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:21:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:21: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-05-08 04:21:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:21:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:21:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:21:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:21:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:21:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:21:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:21:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:21:02] local.INFO: Teltonika packet parsed successfully {"connection_id":64819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:21:02] local.INFO: Passing IMEI to GPS processor {"connection_id":64819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:21:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":64819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:21:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:21:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:21:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:21:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:21:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:21:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:21:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:21:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:21:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:21:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:21:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:21:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:21:02] local.INFO: DEBUG: GPS processor result {"connection_id":64819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:21:02] local.INFO: GPS data processed {"connection_id":64819,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:21:02] local.INFO: Acknowledgment sent {"connection_id":64819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:21:33] local.INFO: TCP Data received {"connection_id":64819,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:21:33] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:21:33] local.INFO: Packet analysis {"connection_id":64819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:21:33] local.INFO: Extracted packet for processing {"connection_id":64819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:21:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:21: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-05-08 04:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:21: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-05-08 04:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:21:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":64819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:21:33] local.INFO: GPS data processed {"connection_id":64819,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:21:33] local.INFO: Acknowledgment sent {"connection_id":64819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:21:53] local.INFO: TCP Data received {"connection_id":64774,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:21:53] local.INFO: Processing buffer {"connection_id":64774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:21:53] local.INFO: IMEI packet received {"connection_id":64774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":64774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:21:59] local.INFO: TCP Data received {"connection_id":64774,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:21:59] local.INFO: Processing buffer {"connection_id":64774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:21:59] local.INFO: IMEI packet received {"connection_id":64774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":64774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:22:00] local.INFO: TCP Data received {"connection_id":64774,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:22:00] local.INFO: Processing buffer {"connection_id":64774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:22:00] local.INFO: Packet analysis {"connection_id":64774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:22:00] local.INFO: Extracted packet for processing {"connection_id":64774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:22:00] 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-05-08 04:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:22:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":64774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:22:00] local.INFO: GPS data processed {"connection_id":64774,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:22:00] local.INFO: Acknowledgment sent {"connection_id":64774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:22:31] local.INFO: TCP Data received {"connection_id":64774,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:22:31] local.INFO: Processing buffer {"connection_id":64774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:22:31] local.INFO: Packet analysis {"connection_id":64774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:22:31] local.INFO: Extracted packet for processing {"connection_id":64774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:22:31] 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-05-08 04:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":64774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:22:31] local.INFO: GPS data processed {"connection_id":64774,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:22:31] local.INFO: Acknowledgment sent {"connection_id":64774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:22:53] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:22:53] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:22:53] local.INFO: IMEI packet received {"connection_id":64820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":64820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:22:59] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:22:59] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:22:59] local.INFO: IMEI packet received {"connection_id":64820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":64820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:23:00] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:23:00] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:23:00] local.INFO: Packet analysis {"connection_id":64820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:23:00] local.INFO: Extracted packet for processing {"connection_id":64820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:23:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:23:00] 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-05-08 04:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:23:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":64820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:23:00] local.INFO: GPS data processed {"connection_id":64820,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:23:00] local.INFO: Acknowledgment sent {"connection_id":64820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:23:12] local.INFO: TCP Data received {"connection_id":64732,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:23:12] local.INFO: Processing buffer {"connection_id":64732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:23:12] local.INFO: IMEI packet received {"connection_id":64732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":64732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:23:31] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:23:31] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:23:31] local.INFO: Packet analysis {"connection_id":64820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:23:31] local.INFO: Extracted packet for processing {"connection_id":64820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:23:31] 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-05-08 04:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:23:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":64820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:23:31] local.INFO: GPS data processed {"connection_id":64820,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:23:31] local.INFO: Acknowledgment sent {"connection_id":64820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:23:47] local.INFO: TCP Data received {"connection_id":65565,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:23:47] local.INFO: Processing buffer {"connection_id":65565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:23:47] local.INFO: IMEI packet received {"connection_id":65565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":65565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:23:53] local.INFO: TCP Data received {"connection_id":65566,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:23:53] local.INFO: Processing buffer {"connection_id":65566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:23:53] local.INFO: IMEI packet received {"connection_id":65566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":65566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:23:59] local.INFO: TCP Data received {"connection_id":65566,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:23:59] local.INFO: Processing buffer {"connection_id":65566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:23:59] local.INFO: IMEI packet received {"connection_id":65566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:23:59] local.INFO: IMEI acknowledgment sent {"connection_id":65566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:24:00] local.INFO: TCP Data received {"connection_id":65566,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:24:00] local.INFO: Processing buffer {"connection_id":65566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a10128012d34c54006aa50700000006226..."} 
[2026-05-08 04:24:00] local.INFO: Packet analysis {"connection_id":65566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:24:00] local.INFO: Extracted packet for processing {"connection_id":65566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a1"} 
[2026-05-08 04:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217617920001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:24:00] 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-05-08 04:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194121000,"timestamp_ms":1778194121000,"timestamp_seconds":1778194121,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a10128"} 
[2026-05-08 04:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217617920001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217617920001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:24:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217617920001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":65566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:24:00] local.INFO: GPS data processed {"connection_id":65566,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:24:00] local.INFO: Acknowledgment sent {"connection_id":65566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:24:32] local.INFO: TCP Data received {"connection_id":65566,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:24:32] local.INFO: Processing buffer {"connection_id":65566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:24:32] local.INFO: Packet analysis {"connection_id":65566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:24:32] local.INFO: Extracted packet for processing {"connection_id":65566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:24:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:24:32] 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-05-08 04:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:24:32] 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-05-08 04:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:24:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":65566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:24:32] local.INFO: GPS data processed {"connection_id":65566,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:24:32] local.INFO: Acknowledgment sent {"connection_id":65566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:24:54] local.INFO: TCP Data received {"connection_id":64733,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:24:54] local.INFO: Processing buffer {"connection_id":64733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:24:54] local.INFO: IMEI packet received {"connection_id":64733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":64733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:24:59] local.INFO: TCP Data received {"connection_id":64733,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:24:59] local.INFO: Processing buffer {"connection_id":64733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:24:59] local.INFO: IMEI packet received {"connection_id":64733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":64733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:25:00] local.INFO: TCP Data received {"connection_id":64733,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:00] local.INFO: Processing buffer {"connection_id":64733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:00] local.INFO: Packet analysis {"connection_id":64733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:25:00] local.INFO: Extracted packet for processing {"connection_id":64733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25:00] 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-05-08 04:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:25:00] 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-05-08 04:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:25:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":64733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:25:00] local.INFO: GPS data processed {"connection_id":64733,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:25:00] local.INFO: Acknowledgment sent {"connection_id":64733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:25:04] local.INFO: TCP Data received {"connection_id":64733,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:04] local.INFO: Processing buffer {"connection_id":64733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:04] local.INFO: Packet analysis {"connection_id":64733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:25:04] local.INFO: Extracted packet for processing {"connection_id":64733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:25:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:25:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25:04] 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-05-08 04:25:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:25:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:25:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:25:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:25:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:25:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:25:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:25:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:25:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:25:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:25:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:25:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:25:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:25:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:25:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:25:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:25:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:25:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:25:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:25:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:25:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:25:04] local.INFO: DEBUG: GPS processor result {"connection_id":64733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:25:04] local.INFO: GPS data processed {"connection_id":64733,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:25:04] local.INFO: Acknowledgment sent {"connection_id":64733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:25:35] local.INFO: TCP Data received {"connection_id":64733,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:35] local.INFO: Processing buffer {"connection_id":64733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:25:35] local.INFO: Packet analysis {"connection_id":64733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:25:35] local.INFO: Extracted packet for processing {"connection_id":64733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:25:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:25:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:25: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-05-08 04:25:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:25:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:25:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:25:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:25:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:25:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:25:35] local.INFO: Teltonika packet parsed successfully {"connection_id":64733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:25:35] local.INFO: Passing IMEI to GPS processor {"connection_id":64733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:25:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":64733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:25:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:25:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:25:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:25:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:25:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:25:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:25:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:25:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:25:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:25:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:25:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:25:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:25:35] local.INFO: DEBUG: GPS processor result {"connection_id":64733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:25:35] local.INFO: GPS data processed {"connection_id":64733,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:25:35] local.INFO: Acknowledgment sent {"connection_id":64733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:25:54] local.INFO: TCP Data received {"connection_id":65568,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:25:54] local.INFO: Processing buffer {"connection_id":65568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:25:54] local.INFO: IMEI packet received {"connection_id":65568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":65568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:25:59] local.INFO: TCP Data received {"connection_id":65568,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:25:59] local.INFO: Processing buffer {"connection_id":65568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:25:59] local.INFO: IMEI packet received {"connection_id":65568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:25:59] local.INFO: IMEI acknowledgment sent {"connection_id":65568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:26:00] local.INFO: TCP Data received {"connection_id":65568,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:26:00] local.INFO: Processing buffer {"connection_id":65568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:26:00] local.INFO: Packet analysis {"connection_id":65568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:26:00] local.INFO: Extracted packet for processing {"connection_id":65568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:26:00] 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-05-08 04:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:26:00] 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-05-08 04:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:26:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":65568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:26:00] local.INFO: GPS data processed {"connection_id":65568,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:26:00] local.INFO: Acknowledgment sent {"connection_id":65568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:26:31] local.INFO: TCP Data received {"connection_id":65568,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:26:31] local.INFO: Processing buffer {"connection_id":65568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:26:31] local.INFO: Packet analysis {"connection_id":65568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:26:31] local.INFO: Extracted packet for processing {"connection_id":65568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:26:31] 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-05-08 04:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:26:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":65568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:26:31] local.INFO: GPS data processed {"connection_id":65568,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:26:31] local.INFO: Acknowledgment sent {"connection_id":65568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:26:53] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:26:53] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:26:53] local.INFO: IMEI packet received {"connection_id":64821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":64821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:26:59] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:26:59] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:26:59] local.INFO: IMEI packet received {"connection_id":64821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":64821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:27:00] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:00] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:00] local.INFO: Packet analysis {"connection_id":64821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:27:00] local.INFO: Extracted packet for processing {"connection_id":64821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:27:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:00] 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-05-08 04:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:27:00] 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-05-08 04:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:27:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":64821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:27:00] local.INFO: GPS data processed {"connection_id":64821,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:27:00] local.INFO: Acknowledgment sent {"connection_id":64821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:27:31] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:31] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:31] local.INFO: Packet analysis {"connection_id":64821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:27:31] local.INFO: Extracted packet for processing {"connection_id":64821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:31] 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-05-08 04:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:27:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":64821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:27:31] local.INFO: GPS data processed {"connection_id":64821,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:27:31] local.INFO: Acknowledgment sent {"connection_id":64821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:27:53] local.INFO: TCP Data received {"connection_id":64823,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:27:53] local.INFO: Processing buffer {"connection_id":64823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:27:53] local.INFO: IMEI packet received {"connection_id":64823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":64823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:27:58] local.INFO: TCP Data received {"connection_id":64823,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:27:58] local.INFO: Processing buffer {"connection_id":64823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:27:58] local.INFO: IMEI packet received {"connection_id":64823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":64823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:27:59] local.INFO: TCP Data received {"connection_id":64823,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:59] local.INFO: Processing buffer {"connection_id":64823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:27:59] local.INFO: Packet analysis {"connection_id":64823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:27:59] local.INFO: Extracted packet for processing {"connection_id":64823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:27:59] 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-05-08 04:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:27:59] 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-05-08 04:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:27:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":64823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:27:59] local.INFO: GPS data processed {"connection_id":64823,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:27:59] local.INFO: Acknowledgment sent {"connection_id":64823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:28:30] local.INFO: TCP Data received {"connection_id":64823,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:28:30] local.INFO: Processing buffer {"connection_id":64823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:28:30] local.INFO: Packet analysis {"connection_id":64823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:28:30] local.INFO: Extracted packet for processing {"connection_id":64823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:28:30] 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-05-08 04:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:28: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-05-08 04:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:28:30] 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-05-08 04:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:28:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":64823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:28:30] local.INFO: GPS data processed {"connection_id":64823,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:28:30] local.INFO: Acknowledgment sent {"connection_id":64823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:28:53] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:28:53] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:28:53] local.INFO: IMEI packet received {"connection_id":64734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":64734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:28:59] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:28:59] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:28:59] local.INFO: IMEI packet received {"connection_id":64734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":64734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:29:00] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:29:00] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a598f0012d34c54006aa5070000000622a..."} 
[2026-05-08 04:29:00] local.INFO: Packet analysis {"connection_id":64734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:29:00] local.INFO: Extracted packet for processing {"connection_id":64734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a5"} 
[2026-05-08 04:29:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:29:00] 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-05-08 04:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194422000,"timestamp_ms":1778194422000,"timestamp_seconds":1778194422,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a598f0"} 
[2026-05-08 04:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:29:00] 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-05-08 04:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217694976001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:29:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217694976001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":64734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:29:00] local.INFO: GPS data processed {"connection_id":64734,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:29:00] local.INFO: Acknowledgment sent {"connection_id":64734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:29:31] local.INFO: TCP Data received {"connection_id":64734,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:29:31] local.INFO: Processing buffer {"connection_id":64734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:29:31] local.INFO: Packet analysis {"connection_id":64734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:29:31] local.INFO: Extracted packet for processing {"connection_id":64734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:29:31] 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-05-08 04:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:29:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":64734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:29:31] local.INFO: GPS data processed {"connection_id":64734,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:29:31] local.INFO: Acknowledgment sent {"connection_id":64734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:29:47] local.INFO: TCP Data received {"connection_id":64777,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:29:47] local.INFO: Processing buffer {"connection_id":64777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:29:47] local.INFO: IMEI packet received {"connection_id":64777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":64777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:29:54] local.INFO: TCP Data received {"connection_id":64778,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:29:54] local.INFO: Processing buffer {"connection_id":64778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:29:54] local.INFO: IMEI packet received {"connection_id":64778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":64778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:29:59] local.INFO: TCP Data received {"connection_id":64778,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:29:59] local.INFO: Processing buffer {"connection_id":64778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:29:59] local.INFO: IMEI packet received {"connection_id":64778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":64778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:30:00] local.INFO: TCP Data received {"connection_id":64778,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:30:00] local.INFO: Processing buffer {"connection_id":64778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:30:00] local.INFO: Packet analysis {"connection_id":64778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:30:00] local.INFO: Extracted packet for processing {"connection_id":64778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:30:00] 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-05-08 04:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:30:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":64778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:30:00] local.INFO: GPS data processed {"connection_id":64778,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:30:00] local.INFO: Acknowledgment sent {"connection_id":64778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:30:31] local.INFO: TCP Data received {"connection_id":64778,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:30:31] local.INFO: Processing buffer {"connection_id":64778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:30:31] local.INFO: Packet analysis {"connection_id":64778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:30:31] local.INFO: Extracted packet for processing {"connection_id":64778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:30:31] 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-05-08 04:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:30:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":64778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:30:31] local.INFO: GPS data processed {"connection_id":64778,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:30:31] local.INFO: Acknowledgment sent {"connection_id":64778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:30:54] local.INFO: TCP Data received {"connection_id":64780,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:30:54] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:30:54] local.INFO: IMEI packet received {"connection_id":64780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":64780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:30:59] local.INFO: TCP Data received {"connection_id":64780,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:30:59] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:30:59] local.INFO: IMEI packet received {"connection_id":64780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:30:59] local.INFO: IMEI acknowledgment sent {"connection_id":64780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:31:00] local.INFO: TCP Data received {"connection_id":64780,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:31:00] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:31:00] local.INFO: Packet analysis {"connection_id":64780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:31:00] local.INFO: Extracted packet for processing {"connection_id":64780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:31:00] 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-05-08 04:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:31:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":64780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:31:00] local.INFO: GPS data processed {"connection_id":64780,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:31:00] local.INFO: Acknowledgment sent {"connection_id":64780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:31:31] local.INFO: TCP Data received {"connection_id":64780,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:31:31] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:31:31] local.INFO: Packet analysis {"connection_id":64780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:31:31] local.INFO: Extracted packet for processing {"connection_id":64780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:31:31] 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-05-08 04:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:31:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":64780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:31:31] local.INFO: GPS data processed {"connection_id":64780,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:31:31] local.INFO: Acknowledgment sent {"connection_id":64780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:31:53] local.INFO: TCP Data received {"connection_id":65570,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:31:53] local.INFO: Processing buffer {"connection_id":65570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:31:53] local.INFO: IMEI packet received {"connection_id":65570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":65570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:31:59] local.INFO: TCP Data received {"connection_id":65570,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:31:59] local.INFO: Processing buffer {"connection_id":65570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:31:59] local.INFO: IMEI packet received {"connection_id":65570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":65570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:32:00] local.INFO: TCP Data received {"connection_id":65570,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:32:00] local.INFO: Processing buffer {"connection_id":65570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:32:00] local.INFO: Packet analysis {"connection_id":65570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:32:00] local.INFO: Extracted packet for processing {"connection_id":65570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:32:00] 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-05-08 04:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:32:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":65570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:32:00] local.INFO: GPS data processed {"connection_id":65570,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:32:00] local.INFO: Acknowledgment sent {"connection_id":65570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:32:31] local.INFO: TCP Data received {"connection_id":65570,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:32:31] local.INFO: Processing buffer {"connection_id":65570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:32:31] local.INFO: Packet analysis {"connection_id":65570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:32:31] local.INFO: Extracted packet for processing {"connection_id":65570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:32:31] 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-05-08 04:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:32:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:32:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":65570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:32:31] local.INFO: GPS data processed {"connection_id":65570,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:32:31] local.INFO: Acknowledgment sent {"connection_id":65570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:32:53] local.INFO: TCP Data received {"connection_id":65572,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:32:53] local.INFO: Processing buffer {"connection_id":65572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:32:53] local.INFO: IMEI packet received {"connection_id":65572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":65572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:32:59] local.INFO: TCP Data received {"connection_id":65572,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:32:59] local.INFO: Processing buffer {"connection_id":65572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:32:59] local.INFO: IMEI packet received {"connection_id":65572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:32:59] local.INFO: IMEI acknowledgment sent {"connection_id":65572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:33:00] local.INFO: TCP Data received {"connection_id":65572,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:33:00] local.INFO: Processing buffer {"connection_id":65572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:33:00] local.INFO: Packet analysis {"connection_id":65572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:33:00] local.INFO: Extracted packet for processing {"connection_id":65572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:33:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:33:00] 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-05-08 04:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:33:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":65572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:33:00] local.INFO: GPS data processed {"connection_id":65572,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:33:00] local.INFO: Acknowledgment sent {"connection_id":65572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:33:31] local.INFO: TCP Data received {"connection_id":65572,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:33:31] local.INFO: Processing buffer {"connection_id":65572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:33:31] local.INFO: Packet analysis {"connection_id":65572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:33:31] local.INFO: Extracted packet for processing {"connection_id":65572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:33:31] 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-05-08 04:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 04:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:33:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":65572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:33:31] local.INFO: GPS data processed {"connection_id":65572,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:33:31] local.INFO: Acknowledgment sent {"connection_id":65572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:34:03] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:03] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:03] local.INFO: IMEI packet received {"connection_id":64735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":64735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:34:09] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:09] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:09] local.INFO: IMEI packet received {"connection_id":64735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":64735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:34:10] local.INFO: TCP Data received {"connection_id":64735,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:34:10] local.INFO: Processing buffer {"connection_id":64735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aa30b8012d34c54006aa5070000000622a..."} 
[2026-05-08 04:34:10] local.INFO: Packet analysis {"connection_id":64735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:34:10] local.INFO: Extracted packet for processing {"connection_id":64735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04aa"} 
[2026-05-08 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 04:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217772032001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:34:10] 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-05-08 04:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778194723000,"timestamp_ms":1778194723000,"timestamp_seconds":1778194723,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aa30b8"} 
[2026-05-08 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-05-08 04:34: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 04:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217772032001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217772032001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:34:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:34:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217772032001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":64735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:34:10] local.INFO: GPS data processed {"connection_id":64735,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:34:10] local.INFO: Acknowledgment sent {"connection_id":64735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:34:53] local.INFO: TCP Data received {"connection_id":64736,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:53] local.INFO: Processing buffer {"connection_id":64736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:53] local.INFO: IMEI packet received {"connection_id":64736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":64736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:34:58] local.INFO: TCP Data received {"connection_id":64736,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:58] local.INFO: Processing buffer {"connection_id":64736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:34:58] local.INFO: IMEI packet received {"connection_id":64736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":64736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:35:00] local.INFO: TCP Data received {"connection_id":64736,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:35:00] local.INFO: Processing buffer {"connection_id":64736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:35:00] local.INFO: Packet analysis {"connection_id":64736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:35:00] local.INFO: Extracted packet for processing {"connection_id":64736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:35:00] 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-05-08 04:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 04:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:35:00] 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-05-08 04:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:35:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":64736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:35:00] local.INFO: GPS data processed {"connection_id":64736,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:35:00] local.INFO: Acknowledgment sent {"connection_id":64736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:35:17] local.INFO: TCP Data received {"connection_id":65573,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:35:17] local.INFO: Processing buffer {"connection_id":65573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:35:17] local.INFO: IMEI packet received {"connection_id":65573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":65573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:35:31] local.INFO: TCP Data received {"connection_id":64736,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:35:31] local.INFO: Processing buffer {"connection_id":64736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:35:31] local.INFO: Packet analysis {"connection_id":64736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:35:31] local.INFO: Extracted packet for processing {"connection_id":64736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:35:31] 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-05-08 04:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 04:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:35:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":64736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:35:31] local.INFO: GPS data processed {"connection_id":64736,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:35:31] local.INFO: Acknowledgment sent {"connection_id":64736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:35:42] local.INFO: TCP Data received {"connection_id":65574,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:35:42] local.INFO: Processing buffer {"connection_id":65574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:35:42] local.INFO: IMEI packet received {"connection_id":65574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:35:42] local.INFO: IMEI acknowledgment sent {"connection_id":65574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:35:58] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:35:58] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:35:58] local.INFO: IMEI packet received {"connection_id":64737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":64737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:36:04] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:04] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:04] local.INFO: IMEI packet received {"connection_id":64737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":64737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:36:05] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:36:05] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:36:05] local.INFO: Packet analysis {"connection_id":64737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:36:05] local.INFO: Extracted packet for processing {"connection_id":64737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:36:05] 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-05-08 04:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 04:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:36:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":64737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:36:05] local.INFO: GPS data processed {"connection_id":64737,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:36:05] local.INFO: Acknowledgment sent {"connection_id":64737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:36:09] local.INFO: TCP Data received {"connection_id":64737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:36:09] local.INFO: Processing buffer {"connection_id":64737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:36:09] local.INFO: Packet analysis {"connection_id":64737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:36:09] local.INFO: Extracted packet for processing {"connection_id":64737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 04:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:36: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-05-08 04:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 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-05-08 04:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:36: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-05-08 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-05-08 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-05-08 04:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:36:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":64737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:36:09] local.INFO: GPS data processed {"connection_id":64737,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:36:09] local.INFO: Acknowledgment sent {"connection_id":64737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:36:54] local.INFO: TCP Data received {"connection_id":64782,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:54] local.INFO: Processing buffer {"connection_id":64782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:54] local.INFO: IMEI packet received {"connection_id":64782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":64782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:36:59] local.INFO: TCP Data received {"connection_id":64782,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:59] local.INFO: Processing buffer {"connection_id":64782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:36:59] local.INFO: IMEI packet received {"connection_id":64782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":64782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:37:00] local.INFO: TCP Data received {"connection_id":64782,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:00] local.INFO: Processing buffer {"connection_id":64782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:00] local.INFO: Packet analysis {"connection_id":64782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:37:00] local.INFO: Extracted packet for processing {"connection_id":64782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:37:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:00] 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-05-08 04:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 04:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:37:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:37:00] 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-05-08 04:37:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:37:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:37:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:37:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":64782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:37:00] local.INFO: GPS data processed {"connection_id":64782,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:37:00] local.INFO: Acknowledgment sent {"connection_id":64782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:37:31] local.INFO: TCP Data received {"connection_id":64782,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:31] local.INFO: Processing buffer {"connection_id":64782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:31] local.INFO: Packet analysis {"connection_id":64782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:37:31] local.INFO: Extracted packet for processing {"connection_id":64782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:31] 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-05-08 04:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 04:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":64782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:37:31] local.INFO: GPS data processed {"connection_id":64782,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:37:31] local.INFO: Acknowledgment sent {"connection_id":64782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:37:53] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:37:53] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:37:53] local.INFO: IMEI packet received {"connection_id":64783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":64783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:37:58] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:37:58] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:37:58] local.INFO: IMEI packet received {"connection_id":64783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":64783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:37:59] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:59] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:37:59] local.INFO: Packet analysis {"connection_id":64783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:37:59] local.INFO: Extracted packet for processing {"connection_id":64783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:37:59] 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-05-08 04:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 04:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:37:59] 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-05-08 04:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":64783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:37:59] local.INFO: GPS data processed {"connection_id":64783,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:37:59] local.INFO: Acknowledgment sent {"connection_id":64783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:38:30] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:38:30] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:38:30] local.INFO: Packet analysis {"connection_id":64783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:38:30] local.INFO: Extracted packet for processing {"connection_id":64783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:38:30] 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-05-08 04:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 04:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:38: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-05-08 04:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:38:30] 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-05-08 04: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-05-08 04:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:38:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":64783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:38:30] local.INFO: GPS data processed {"connection_id":64783,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:38:30] local.INFO: Acknowledgment sent {"connection_id":64783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:38:53] local.INFO: TCP Data received {"connection_id":65576,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:38:53] local.INFO: Processing buffer {"connection_id":65576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:38:53] local.INFO: IMEI packet received {"connection_id":65576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":65576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:38:58] local.INFO: TCP Data received {"connection_id":65576,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:38:58] local.INFO: Processing buffer {"connection_id":65576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:38:58] local.INFO: IMEI packet received {"connection_id":65576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":65576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:38:59] local.INFO: TCP Data received {"connection_id":65576,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:38:59] local.INFO: Processing buffer {"connection_id":65576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04aec880012d34c54006aa5070000000622b..."} 
[2026-05-08 04:38:59] local.INFO: Packet analysis {"connection_id":65576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:38:59] local.INFO: Extracted packet for processing {"connection_id":65576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ae"} 
[2026-05-08 04:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217849088001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:38:59] 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-05-08 04:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778195024000,"timestamp_ms":1778195024000,"timestamp_seconds":1778195024,"priority":1,"record_length":96,"hex_timestamp":"0000019e04aec880"} 
[2026-05-08 04:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:38:59] 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-05-08 04: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-05-08 04:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217849088001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217849088001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:38:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217849088001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":65576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:38:59] local.INFO: GPS data processed {"connection_id":65576,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:38:59] local.INFO: Acknowledgment sent {"connection_id":65576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:39:31] local.INFO: TCP Data received {"connection_id":65576,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:39:31] local.INFO: Processing buffer {"connection_id":65576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:39:31] local.INFO: Packet analysis {"connection_id":65576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:39:31] local.INFO: Extracted packet for processing {"connection_id":65576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:39:31] 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-05-08 04:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:39:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":65576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:39:31] local.INFO: GPS data processed {"connection_id":65576,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:39:31] local.INFO: Acknowledgment sent {"connection_id":65576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:39:53] local.INFO: TCP Data received {"connection_id":64738,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:39:53] local.INFO: Processing buffer {"connection_id":64738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:39:53] local.INFO: IMEI packet received {"connection_id":64738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":64738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:39:59] local.INFO: TCP Data received {"connection_id":64738,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:39:59] local.INFO: Processing buffer {"connection_id":64738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:39:59] local.INFO: IMEI packet received {"connection_id":64738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":64738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:40:00] local.INFO: TCP Data received {"connection_id":64738,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:40:00] local.INFO: Processing buffer {"connection_id":64738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:40:00] local.INFO: Packet analysis {"connection_id":64738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:40:00] local.INFO: Extracted packet for processing {"connection_id":64738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:40:00] 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-05-08 04:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:40:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":64738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:40:00] local.INFO: GPS data processed {"connection_id":64738,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:40:00] local.INFO: Acknowledgment sent {"connection_id":64738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:40:31] local.INFO: TCP Data received {"connection_id":64738,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:40:31] local.INFO: Processing buffer {"connection_id":64738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:40:31] local.INFO: Packet analysis {"connection_id":64738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:40:31] local.INFO: Extracted packet for processing {"connection_id":64738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:40:31] 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-05-08 04:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:40:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":64738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:40:31] local.INFO: GPS data processed {"connection_id":64738,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:40:31] local.INFO: Acknowledgment sent {"connection_id":64738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:40:58] local.INFO: TCP Data received {"connection_id":64785,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:40:58] local.INFO: Processing buffer {"connection_id":64785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:40:58] local.INFO: IMEI packet received {"connection_id":64785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":64785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:41:03] local.INFO: TCP Data received {"connection_id":64785,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:03] local.INFO: Processing buffer {"connection_id":64785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:03] local.INFO: IMEI packet received {"connection_id":64785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":64785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:41:05] local.INFO: TCP Data received {"connection_id":64785,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:41:05] local.INFO: Processing buffer {"connection_id":64785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:41:05] local.INFO: Packet analysis {"connection_id":64785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:41:05] local.INFO: Extracted packet for processing {"connection_id":64785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:41:05] 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-05-08 04:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:41:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":64785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:41:05] local.INFO: GPS data processed {"connection_id":64785,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:41:05] local.INFO: Acknowledgment sent {"connection_id":64785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:41:09] local.INFO: TCP Data received {"connection_id":64785,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:41:09] local.INFO: Processing buffer {"connection_id":64785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:41:09] local.INFO: Packet analysis {"connection_id":64785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:41:09] local.INFO: Extracted packet for processing {"connection_id":64785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 04:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:41: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-05-08 04:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 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-05-08 04:41: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 04:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:41:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:41:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":64785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:41:09] local.INFO: GPS data processed {"connection_id":64785,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:41:09] local.INFO: Acknowledgment sent {"connection_id":64785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:41:42] local.INFO: TCP Data received {"connection_id":64827,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64827,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:41:42] local.INFO: Processing buffer {"connection_id":64827,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:41:42] local.INFO: IMEI packet received {"connection_id":64827,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:41:42] local.INFO: IMEI acknowledgment sent {"connection_id":64827,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:41:53] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:53] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:53] local.INFO: IMEI packet received {"connection_id":64828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":64828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:41:59] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:59] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:41:59] local.INFO: IMEI packet received {"connection_id":64828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":64828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:42:00] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:42:00] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:42:00] local.INFO: Packet analysis {"connection_id":64828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:42:00] local.INFO: Extracted packet for processing {"connection_id":64828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:42:00] 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-05-08 04:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:42:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":64828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:42:00] local.INFO: GPS data processed {"connection_id":64828,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:42:00] local.INFO: Acknowledgment sent {"connection_id":64828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:42:31] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:42:31] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:42:31] local.INFO: Packet analysis {"connection_id":64828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:42:31] local.INFO: Extracted packet for processing {"connection_id":64828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:42:31] 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-05-08 04:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:42:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":64828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:42:31] local.INFO: GPS data processed {"connection_id":64828,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:42:31] local.INFO: Acknowledgment sent {"connection_id":64828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:42:54] local.INFO: TCP Data received {"connection_id":64786,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:42:54] local.INFO: Processing buffer {"connection_id":64786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:42:54] local.INFO: IMEI packet received {"connection_id":64786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":64786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:42:58] local.INFO: TCP Data received {"connection_id":64786,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:42:58] local.INFO: Processing buffer {"connection_id":64786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:42:58] local.INFO: IMEI packet received {"connection_id":64786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":64786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:43:00] local.INFO: TCP Data received {"connection_id":64786,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:43:00] local.INFO: Processing buffer {"connection_id":64786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:43:00] local.INFO: Packet analysis {"connection_id":64786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:43:00] local.INFO: Extracted packet for processing {"connection_id":64786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:43:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:43:00] 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-05-08 04:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:43:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":64786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:43:00] local.INFO: GPS data processed {"connection_id":64786,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:43:00] local.INFO: Acknowledgment sent {"connection_id":64786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:43:31] local.INFO: TCP Data received {"connection_id":64786,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:43:31] local.INFO: Processing buffer {"connection_id":64786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:43:31] local.INFO: Packet analysis {"connection_id":64786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:43:31] local.INFO: Extracted packet for processing {"connection_id":64786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:43:31] 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-05-08 04:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:43:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":64786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:43:31] local.INFO: GPS data processed {"connection_id":64786,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:43:31] local.INFO: Acknowledgment sent {"connection_id":64786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:43:53] local.INFO: TCP Data received {"connection_id":64739,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:43:53] local.INFO: Processing buffer {"connection_id":64739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:43:53] local.INFO: IMEI packet received {"connection_id":64739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":64739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:43:58] local.INFO: TCP Data received {"connection_id":64739,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:43:58] local.INFO: Processing buffer {"connection_id":64739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:43:58] local.INFO: IMEI packet received {"connection_id":64739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":64739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:44:00] local.INFO: TCP Data received {"connection_id":64739,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:44:00] local.INFO: Processing buffer {"connection_id":64739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b36048012d34c54006aa5070000000622a..."} 
[2026-05-08 04:44:00] local.INFO: Packet analysis {"connection_id":64739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:44:00] local.INFO: Extracted packet for processing {"connection_id":64739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b3"} 
[2026-05-08 04:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217926144001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:44:00] 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-05-08 04:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195325000,"timestamp_ms":1778195325000,"timestamp_seconds":1778195325,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b36048"} 
[2026-05-08 04:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217926144001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217926144001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:44:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217926144001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":64739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:44:00] local.INFO: GPS data processed {"connection_id":64739,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:44:00] local.INFO: Acknowledgment sent {"connection_id":64739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:44:31] local.INFO: TCP Data received {"connection_id":64739,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:44:31] local.INFO: Processing buffer {"connection_id":64739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:44:31] local.INFO: Packet analysis {"connection_id":64739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:44:31] local.INFO: Extracted packet for processing {"connection_id":64739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:44:31] 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-05-08 04:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:44:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":64739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:44:31] local.INFO: GPS data processed {"connection_id":64739,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:44:31] local.INFO: Acknowledgment sent {"connection_id":64739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:44:58] local.INFO: TCP Data received {"connection_id":65580,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:44:58] local.INFO: Processing buffer {"connection_id":65580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:44:58] local.INFO: IMEI packet received {"connection_id":65580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":65580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:45:04] local.INFO: TCP Data received {"connection_id":65580,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:04] local.INFO: Processing buffer {"connection_id":65580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:04] local.INFO: IMEI packet received {"connection_id":65580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":65580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:45:05] local.INFO: TCP Data received {"connection_id":65580,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:05] local.INFO: Processing buffer {"connection_id":65580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:05] local.INFO: Packet analysis {"connection_id":65580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:45:05] local.INFO: Extracted packet for processing {"connection_id":65580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:45:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45:05] 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-05-08 04:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:45:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:45:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:45:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:45:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:45:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:45:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:45:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:45:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":65580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:45:05] local.INFO: GPS data processed {"connection_id":65580,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:45:05] local.INFO: Acknowledgment sent {"connection_id":65580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:45:09] local.INFO: TCP Data received {"connection_id":65580,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:09] local.INFO: Processing buffer {"connection_id":65580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:09] local.INFO: Packet analysis {"connection_id":65580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:45:09] local.INFO: Extracted packet for processing {"connection_id":65580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45: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-05-08 04:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:45: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-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:45: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-05-08 04: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-05-08 04:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:45:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:45:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":65580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:45:09] local.INFO: GPS data processed {"connection_id":65580,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:45:09] local.INFO: Acknowledgment sent {"connection_id":65580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:45:53] local.INFO: TCP Data received {"connection_id":64788,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:54] local.INFO: Processing buffer {"connection_id":64788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:54] local.INFO: IMEI packet received {"connection_id":64788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":64788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:45:58] local.INFO: TCP Data received {"connection_id":64788,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:58] local.INFO: Processing buffer {"connection_id":64788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:45:58] local.INFO: IMEI packet received {"connection_id":64788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":64788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:45:59] local.INFO: TCP Data received {"connection_id":64788,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:59] local.INFO: Processing buffer {"connection_id":64788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:45:59] local.INFO: Packet analysis {"connection_id":64788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:45:59] local.INFO: Extracted packet for processing {"connection_id":64788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:45:59] 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-05-08 04:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:45:59] 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-05-08 04: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-05-08 04:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:45:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":64788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:45:59] local.INFO: GPS data processed {"connection_id":64788,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:45:59] local.INFO: Acknowledgment sent {"connection_id":64788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:46:31] local.INFO: TCP Data received {"connection_id":64788,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:46:31] local.INFO: Processing buffer {"connection_id":64788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:46:31] local.INFO: Packet analysis {"connection_id":64788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:46:31] local.INFO: Extracted packet for processing {"connection_id":64788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:46:31] 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-05-08 04:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:46:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":64788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:46:31] local.INFO: GPS data processed {"connection_id":64788,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:46:31] local.INFO: Acknowledgment sent {"connection_id":64788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:46:54] local.INFO: TCP Data received {"connection_id":64829,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:46:54] local.INFO: Processing buffer {"connection_id":64829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:46:54] local.INFO: IMEI packet received {"connection_id":64829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:46:54] local.INFO: IMEI acknowledgment sent {"connection_id":64829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:46:58] local.INFO: TCP Data received {"connection_id":64829,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:46:58] local.INFO: Processing buffer {"connection_id":64829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:46:58] local.INFO: IMEI packet received {"connection_id":64829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":64829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:47:00] local.INFO: TCP Data received {"connection_id":64829,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:47:00] local.INFO: Processing buffer {"connection_id":64829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:47:00] local.INFO: Packet analysis {"connection_id":64829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:47:00] local.INFO: Extracted packet for processing {"connection_id":64829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:47:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:47:00] 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-05-08 04:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:47:00] 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-05-08 04:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:47:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":64829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:47:00] local.INFO: GPS data processed {"connection_id":64829,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:47:00] local.INFO: Acknowledgment sent {"connection_id":64829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:47:22] local.INFO: TCP Data received {"connection_id":65581,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:47:22] local.INFO: Processing buffer {"connection_id":65581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:47:22] local.INFO: IMEI packet received {"connection_id":65581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":65581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:47:31] local.INFO: TCP Data received {"connection_id":64829,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:47:31] local.INFO: Processing buffer {"connection_id":64829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:47:31] local.INFO: Packet analysis {"connection_id":64829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:47:31] local.INFO: Extracted packet for processing {"connection_id":64829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:47:31] 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-05-08 04:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:47:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:47:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":64829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:47:31] local.INFO: GPS data processed {"connection_id":64829,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:47:31] local.INFO: Acknowledgment sent {"connection_id":64829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:47:47] local.INFO: TCP Data received {"connection_id":64830,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:47:47] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:47:47] local.INFO: IMEI packet received {"connection_id":64830,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":64830,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:47:53] local.INFO: TCP Data received {"connection_id":64831,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:47:53] local.INFO: Processing buffer {"connection_id":64831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:47:53] local.INFO: IMEI packet received {"connection_id":64831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":64831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:47:58] local.INFO: TCP Data received {"connection_id":64831,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:47:58] local.INFO: Processing buffer {"connection_id":64831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:47:58] local.INFO: IMEI packet received {"connection_id":64831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:48:00] local.INFO: TCP Data received {"connection_id":64831,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:48:00] local.INFO: Processing buffer {"connection_id":64831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:48:00] local.INFO: Packet analysis {"connection_id":64831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:48:00] local.INFO: Extracted packet for processing {"connection_id":64831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:48:00] 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-05-08 04:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:48:00] 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-05-08 04:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:48:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":64831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:48:00] local.INFO: GPS data processed {"connection_id":64831,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:48:00] local.INFO: Acknowledgment sent {"connection_id":64831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:48:31] local.INFO: TCP Data received {"connection_id":64831,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:48:31] local.INFO: Processing buffer {"connection_id":64831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:48:31] local.INFO: Packet analysis {"connection_id":64831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:48:31] local.INFO: Extracted packet for processing {"connection_id":64831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:48:31] 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-05-08 04:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:48:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":64831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:48:31] local.INFO: GPS data processed {"connection_id":64831,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:48:31] local.INFO: Acknowledgment sent {"connection_id":64831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:48:53] local.INFO: TCP Data received {"connection_id":64741,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:48:53] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:48:53] local.INFO: IMEI packet received {"connection_id":64741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":64741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:48:58] local.INFO: TCP Data received {"connection_id":64741,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:48:58] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:48:58] local.INFO: IMEI packet received {"connection_id":64741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":64741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:49:00] local.INFO: TCP Data received {"connection_id":64741,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:49:00] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04b7f810012d34c54006aa5070000000622f..."} 
[2026-05-08 04:49:00] local.INFO: Packet analysis {"connection_id":64741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:49:00] local.INFO: Extracted packet for processing {"connection_id":64741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04b7"} 
[2026-05-08 04:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218003200001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:49:00] 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-05-08 04:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195626000,"timestamp_ms":1778195626000,"timestamp_seconds":1778195626,"priority":1,"record_length":96,"hex_timestamp":"0000019e04b7f810"} 
[2026-05-08 04:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:49:00] 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-05-08 04:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218003200001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218003200001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:49:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218003200001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":64741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:49:00] local.INFO: GPS data processed {"connection_id":64741,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:49:00] local.INFO: Acknowledgment sent {"connection_id":64741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:49:31] local.INFO: TCP Data received {"connection_id":64741,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:49:31] local.INFO: Processing buffer {"connection_id":64741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:49:31] local.INFO: Packet analysis {"connection_id":64741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:49:31] local.INFO: Extracted packet for processing {"connection_id":64741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:49:31] 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-05-08 04:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:49:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":64741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:49:31] local.INFO: GPS data processed {"connection_id":64741,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:49:31] local.INFO: Acknowledgment sent {"connection_id":64741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:49:58] local.INFO: TCP Data received {"connection_id":65583,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:49:58] local.INFO: Processing buffer {"connection_id":65583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:49:58] local.INFO: IMEI packet received {"connection_id":65583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":65583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:50:03] local.INFO: TCP Data received {"connection_id":65583,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:03] local.INFO: Processing buffer {"connection_id":65583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:03] local.INFO: IMEI packet received {"connection_id":65583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":65583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:50:05] local.INFO: TCP Data received {"connection_id":65583,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:50:05] local.INFO: Processing buffer {"connection_id":65583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:50:05] local.INFO: Packet analysis {"connection_id":65583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:50:05] local.INFO: Extracted packet for processing {"connection_id":65583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:50:05] 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-05-08 04:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:50:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":65583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:50:05] local.INFO: GPS data processed {"connection_id":65583,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:50:05] local.INFO: Acknowledgment sent {"connection_id":65583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:50:36] local.INFO: TCP Data received {"connection_id":65583,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:50:36] local.INFO: Processing buffer {"connection_id":65583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:50:36] local.INFO: Packet analysis {"connection_id":65583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:50:36] local.INFO: Extracted packet for processing {"connection_id":65583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:50: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-05-08 04:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:50: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-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:50:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":65583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:50:36] local.INFO: GPS data processed {"connection_id":65583,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:50:36] local.INFO: Acknowledgment sent {"connection_id":65583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:50:53] local.INFO: TCP Data received {"connection_id":64832,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:53] local.INFO: Processing buffer {"connection_id":64832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:53] local.INFO: IMEI packet received {"connection_id":64832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":64832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:50:58] local.INFO: TCP Data received {"connection_id":64832,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:58] local.INFO: Processing buffer {"connection_id":64832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:50:58] local.INFO: IMEI packet received {"connection_id":64832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":64832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:51:00] local.INFO: TCP Data received {"connection_id":64832,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:51:00] local.INFO: Processing buffer {"connection_id":64832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:51:00] local.INFO: Packet analysis {"connection_id":64832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:51:00] local.INFO: Extracted packet for processing {"connection_id":64832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:51:00] 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-05-08 04:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:51:00] 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-05-08 04:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:51:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":64832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:51:00] local.INFO: GPS data processed {"connection_id":64832,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:51:00] local.INFO: Acknowledgment sent {"connection_id":64832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:51:31] local.INFO: TCP Data received {"connection_id":64832,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:51:31] local.INFO: Processing buffer {"connection_id":64832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:51:31] local.INFO: Packet analysis {"connection_id":64832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:51:31] local.INFO: Extracted packet for processing {"connection_id":64832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:51:31] 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-05-08 04:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:51:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":64832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:51:31] local.INFO: GPS data processed {"connection_id":64832,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:51:31] local.INFO: Acknowledgment sent {"connection_id":64832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:51:58] local.INFO: TCP Data received {"connection_id":64790,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:51:58] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:51:58] local.INFO: IMEI packet received {"connection_id":64790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":64790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:52:03] local.INFO: TCP Data received {"connection_id":64790,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:03] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:03] local.INFO: IMEI packet received {"connection_id":64790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":64790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:52:05] local.INFO: TCP Data received {"connection_id":64790,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:52:05] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:52:05] local.INFO: Packet analysis {"connection_id":64790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:52:05] local.INFO: Extracted packet for processing {"connection_id":64790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:52:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:52:05] 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-05-08 04:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:52:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:52:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:52:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":64790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:52:05] local.INFO: GPS data processed {"connection_id":64790,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:52:05] local.INFO: Acknowledgment sent {"connection_id":64790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:52:09] local.INFO: TCP Data received {"connection_id":64790,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:52:09] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:52:09] local.INFO: Packet analysis {"connection_id":64790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:52:09] local.INFO: Extracted packet for processing {"connection_id":64790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:52: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-05-08 04:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:52: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-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:52: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-05-08 04: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-05-08 04:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:52:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:52:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":64790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:52:09] local.INFO: GPS data processed {"connection_id":64790,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:52:09] local.INFO: Acknowledgment sent {"connection_id":64790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:52:53] local.INFO: TCP Data received {"connection_id":65585,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:53] local.INFO: Processing buffer {"connection_id":65585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:53] local.INFO: IMEI packet received {"connection_id":65585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":65585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:52:58] local.INFO: TCP Data received {"connection_id":65585,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:58] local.INFO: Processing buffer {"connection_id":65585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:52:58] local.INFO: IMEI packet received {"connection_id":65585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":65585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:53:00] local.INFO: TCP Data received {"connection_id":65585,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:53:00] local.INFO: Processing buffer {"connection_id":65585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:53:00] local.INFO: Packet analysis {"connection_id":65585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:53:00] local.INFO: Extracted packet for processing {"connection_id":65585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:53:00] 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-05-08 04:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:53:00] 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-05-08 04:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:53:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":65585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:53:00] local.INFO: GPS data processed {"connection_id":65585,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:53:00] local.INFO: Acknowledgment sent {"connection_id":65585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:53:07] local.INFO: TCP Data received {"connection_id":64742,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:53:07] local.INFO: Processing buffer {"connection_id":64742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:53:07] local.INFO: IMEI packet received {"connection_id":64742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":64742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:53:31] local.INFO: TCP Data received {"connection_id":65585,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:53:31] local.INFO: Processing buffer {"connection_id":65585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:53:31] local.INFO: Packet analysis {"connection_id":65585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:53:31] local.INFO: Extracted packet for processing {"connection_id":65585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:53:31] 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-05-08 04:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:53:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":65585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:53:31] local.INFO: GPS data processed {"connection_id":65585,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:53:31] local.INFO: Acknowledgment sent {"connection_id":65585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:53:47] local.INFO: TCP Data received {"connection_id":65586,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:53:47] local.INFO: Processing buffer {"connection_id":65586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:53:47] local.INFO: IMEI packet received {"connection_id":65586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":65586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:53:54] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:53:54] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:53:54] local.INFO: IMEI packet received {"connection_id":64834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":64834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:53:58] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:53:58] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:53:58] local.INFO: IMEI packet received {"connection_id":64834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":64834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:54:00] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:54:00] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04bc8fd8012d34c54006aa5070000000622e..."} 
[2026-05-08 04:54:00] local.INFO: Packet analysis {"connection_id":64834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:54:00] local.INFO: Extracted packet for processing {"connection_id":64834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04bc"} 
[2026-05-08 04:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218080256001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:54:00] 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-05-08 04:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778195927000,"timestamp_ms":1778195927000,"timestamp_seconds":1778195927,"priority":1,"record_length":96,"hex_timestamp":"0000019e04bc8fd8"} 
[2026-05-08 04:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:54:00] 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-05-08 04: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-05-08 04:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218080256001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218080256001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:54:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218080256001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":64834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:54:00] local.INFO: GPS data processed {"connection_id":64834,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:54:00] local.INFO: Acknowledgment sent {"connection_id":64834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:54:31] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:54:31] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:54:31] local.INFO: Packet analysis {"connection_id":64834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:54:31] local.INFO: Extracted packet for processing {"connection_id":64834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:54:31] 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-05-08 04:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:54:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":64834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:54:31] local.INFO: GPS data processed {"connection_id":64834,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:54:31] local.INFO: Acknowledgment sent {"connection_id":64834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:54:53] local.INFO: TCP Data received {"connection_id":65588,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:54:53] local.INFO: Processing buffer {"connection_id":65588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:54:53] local.INFO: IMEI packet received {"connection_id":65588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":65588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:54:58] local.INFO: TCP Data received {"connection_id":65588,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:54:58] local.INFO: Processing buffer {"connection_id":65588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:54:58] local.INFO: IMEI packet received {"connection_id":65588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":65588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:55:00] local.INFO: TCP Data received {"connection_id":65588,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:55:00] local.INFO: Processing buffer {"connection_id":65588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:55:00] local.INFO: Packet analysis {"connection_id":65588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:55:00] local.INFO: Extracted packet for processing {"connection_id":65588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:55:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:55:00] 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-05-08 04:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:55:00] 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-05-08 04: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-05-08 04:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:55:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":65588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:55:00] local.INFO: GPS data processed {"connection_id":65588,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:55:00] local.INFO: Acknowledgment sent {"connection_id":65588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:55:31] local.INFO: TCP Data received {"connection_id":65588,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:55:31] local.INFO: Processing buffer {"connection_id":65588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:55:31] local.INFO: Packet analysis {"connection_id":65588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:55:31] local.INFO: Extracted packet for processing {"connection_id":65588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:55:31] 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-05-08 04:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:55:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":65588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:55:31] local.INFO: GPS data processed {"connection_id":65588,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:55:31] local.INFO: Acknowledgment sent {"connection_id":65588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:55:53] local.INFO: TCP Data received {"connection_id":65589,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:55:53] local.INFO: Processing buffer {"connection_id":65589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:55:53] local.INFO: IMEI packet received {"connection_id":65589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":65589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:55:58] local.INFO: TCP Data received {"connection_id":65589,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:55:58] local.INFO: Processing buffer {"connection_id":65589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:55:58] local.INFO: IMEI packet received {"connection_id":65589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":65589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:56:00] local.INFO: TCP Data received {"connection_id":65589,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:56:00] local.INFO: Processing buffer {"connection_id":65589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:56:00] local.INFO: Packet analysis {"connection_id":65589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:56:00] local.INFO: Extracted packet for processing {"connection_id":65589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:56:00] 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-05-08 04:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:56:00] 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-05-08 04:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:56:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":65589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:56:00] local.INFO: GPS data processed {"connection_id":65589,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:56:00] local.INFO: Acknowledgment sent {"connection_id":65589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:56:31] local.INFO: TCP Data received {"connection_id":65589,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:56:31] local.INFO: Processing buffer {"connection_id":65589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:56:31] local.INFO: Packet analysis {"connection_id":65589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:56:31] local.INFO: Extracted packet for processing {"connection_id":65589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:56:31] 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-05-08 04:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:56:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":65589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:56:31] local.INFO: GPS data processed {"connection_id":65589,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:56:31] local.INFO: Acknowledgment sent {"connection_id":65589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:56:58] local.INFO: TCP Data received {"connection_id":65591,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:56:58] local.INFO: Processing buffer {"connection_id":65591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:56:58] local.INFO: IMEI packet received {"connection_id":65591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":65591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:57:03] local.INFO: TCP Data received {"connection_id":65591,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65591,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:03] local.INFO: Processing buffer {"connection_id":65591,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:03] local.INFO: IMEI packet received {"connection_id":65591,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":65591,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:57:05] local.INFO: TCP Data received {"connection_id":65591,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:57:05] local.INFO: Processing buffer {"connection_id":65591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:57:05] local.INFO: Packet analysis {"connection_id":65591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:57:05] local.INFO: Extracted packet for processing {"connection_id":65591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:57:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:57:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:57:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:57:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:57:05] 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-05-08 04:57:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:57:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:57:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:57:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:57:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04:57:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:57:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:57:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:57:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:57:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:57:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:57:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:57:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:57:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:57:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:57:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:57:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:57:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:57:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:57:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:57:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:57:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:57:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:57:05] local.INFO: DEBUG: GPS processor result {"connection_id":65591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:57:05] local.INFO: GPS data processed {"connection_id":65591,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:57:05] local.INFO: Acknowledgment sent {"connection_id":65591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:57:09] local.INFO: TCP Data received {"connection_id":65591,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:57:09] local.INFO: Processing buffer {"connection_id":65591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:57:09] local.INFO: Packet analysis {"connection_id":65591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:57:09] local.INFO: Extracted packet for processing {"connection_id":65591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:57: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-05-08 04:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:57: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-05-08 04: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:57: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-05-08 04: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-05-08 04:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65591,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:57:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:57:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":65591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:57:09] local.INFO: GPS data processed {"connection_id":65591,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:57:09] local.INFO: Acknowledgment sent {"connection_id":65591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:57:53] local.INFO: TCP Data received {"connection_id":64791,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:53] local.INFO: Processing buffer {"connection_id":64791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:53] local.INFO: IMEI packet received {"connection_id":64791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":64791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:57:58] local.INFO: TCP Data received {"connection_id":64791,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:58] local.INFO: Processing buffer {"connection_id":64791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:57:58] local.INFO: IMEI packet received {"connection_id":64791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":64791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:58:00] local.INFO: TCP Data received {"connection_id":64791,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:58:00] local.INFO: Processing buffer {"connection_id":64791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:58:00] local.INFO: Packet analysis {"connection_id":64791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:58:00] local.INFO: Extracted packet for processing {"connection_id":64791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:58:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 04:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:58:00] 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-05-08 04:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04:58:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:58:00] 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-05-08 04:58:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 04:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:58:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":64791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:58:00] local.INFO: GPS data processed {"connection_id":64791,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:58:00] local.INFO: Acknowledgment sent {"connection_id":64791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:58:31] local.INFO: TCP Data received {"connection_id":64791,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:58:31] local.INFO: Processing buffer {"connection_id":64791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:58:31] local.INFO: Packet analysis {"connection_id":64791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:58:31] local.INFO: Extracted packet for processing {"connection_id":64791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:58:31] 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-05-08 04:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:58:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":64791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:58:31] local.INFO: GPS data processed {"connection_id":64791,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:58:31] local.INFO: Acknowledgment sent {"connection_id":64791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:58:53] local.INFO: TCP Data received {"connection_id":64744,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:58:53] local.INFO: Processing buffer {"connection_id":64744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:58:53] local.INFO: IMEI packet received {"connection_id":64744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":64744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:58:58] local.INFO: TCP Data received {"connection_id":64744,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:58:58] local.INFO: Processing buffer {"connection_id":64744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:58:58] local.INFO: IMEI packet received {"connection_id":64744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":64744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 04:59:00] local.INFO: TCP Data received {"connection_id":64744,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:59:00] local.INFO: Processing buffer {"connection_id":64744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c127a0012d34c54006aa5070000000622e..."} 
[2026-05-08 04:59:00] local.INFO: Packet analysis {"connection_id":64744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:59:00] local.INFO: Extracted packet for processing {"connection_id":64744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c1"} 
[2026-05-08 04:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218157312001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:59:00] 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-05-08 04:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196228000,"timestamp_ms":1778196228000,"timestamp_seconds":1778196228,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c127a0"} 
[2026-05-08 04:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 04:59:00] 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-05-08 04: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-05-08 04:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218157312001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218157312001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:59:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218157312001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":64744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:59:00] local.INFO: GPS data processed {"connection_id":64744,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:59:00] local.INFO: Acknowledgment sent {"connection_id":64744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:59:31] local.INFO: TCP Data received {"connection_id":64744,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 04:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 04:59:31] local.INFO: Processing buffer {"connection_id":64744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 04:59:31] local.INFO: Packet analysis {"connection_id":64744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 04:59:31] local.INFO: Extracted packet for processing {"connection_id":64744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 04:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 04: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-05-08 04:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 04:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 04:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 04:59:31] 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-05-08 04:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 04:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 04:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 04: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 04:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 04: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-05-08 04:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 04:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 04:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 04:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 04:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 04:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 04:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 04:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 04:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 04:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 04:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 04:59:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 04:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 04:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 04:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 04:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 04:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":64744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 04:59:31] local.INFO: GPS data processed {"connection_id":64744,"processed":1,"errors":0,"total":1} 
[2026-05-08 04:59:31] local.INFO: Acknowledgment sent {"connection_id":64744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 04:59:47] local.INFO: TCP Data received {"connection_id":64837,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:59:47] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 04:59:47] local.INFO: IMEI packet received {"connection_id":64837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 04:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":64837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:59:53] local.INFO: TCP Data received {"connection_id":65592,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:59:53] local.INFO: Processing buffer {"connection_id":65592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:59:53] local.INFO: IMEI packet received {"connection_id":65592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 04:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":65592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 04:59:58] local.INFO: TCP Data received {"connection_id":65592,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:59:58] local.INFO: Processing buffer {"connection_id":65592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 04:59:58] local.INFO: IMEI packet received {"connection_id":65592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 04:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":65592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:00:00] local.INFO: TCP Data received {"connection_id":65592,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:00:00] local.INFO: Processing buffer {"connection_id":65592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:00:00] local.INFO: Packet analysis {"connection_id":65592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:00:00] local.INFO: Extracted packet for processing {"connection_id":65592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:00:00] 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-05-08 05:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:00:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":65592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:00:00] local.INFO: GPS data processed {"connection_id":65592,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:00:00] local.INFO: Acknowledgment sent {"connection_id":65592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:00:31] local.INFO: TCP Data received {"connection_id":65592,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:00:31] local.INFO: Processing buffer {"connection_id":65592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:00:31] local.INFO: Packet analysis {"connection_id":65592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:00:31] local.INFO: Extracted packet for processing {"connection_id":65592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:00:31] 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-05-08 05:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:00:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":65592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:00:31] local.INFO: GPS data processed {"connection_id":65592,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:00:31] local.INFO: Acknowledgment sent {"connection_id":65592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:00:53] local.INFO: TCP Data received {"connection_id":64838,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:00:53] local.INFO: Processing buffer {"connection_id":64838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:00:53] local.INFO: IMEI packet received {"connection_id":64838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":64838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:00:58] local.INFO: TCP Data received {"connection_id":64838,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:00:58] local.INFO: Processing buffer {"connection_id":64838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:00:58] local.INFO: IMEI packet received {"connection_id":64838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":64838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:01:00] local.INFO: TCP Data received {"connection_id":64838,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:01:00] local.INFO: Processing buffer {"connection_id":64838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:01:00] local.INFO: Packet analysis {"connection_id":64838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:01:00] local.INFO: Extracted packet for processing {"connection_id":64838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:01:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:01:00] 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-05-08 05:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:01:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":64838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:01:00] local.INFO: GPS data processed {"connection_id":64838,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:01:00] local.INFO: Acknowledgment sent {"connection_id":64838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:01:31] local.INFO: TCP Data received {"connection_id":64838,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:01:31] local.INFO: Processing buffer {"connection_id":64838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:01:31] local.INFO: Packet analysis {"connection_id":64838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:01:31] local.INFO: Extracted packet for processing {"connection_id":64838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:01:31] 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-05-08 05:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:01:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":64838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:01:31] local.INFO: GPS data processed {"connection_id":64838,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:01:31] local.INFO: Acknowledgment sent {"connection_id":64838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:01:53] local.INFO: TCP Data received {"connection_id":64839,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:01:53] local.INFO: Processing buffer {"connection_id":64839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:01:53] local.INFO: IMEI packet received {"connection_id":64839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":64839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:01:58] local.INFO: TCP Data received {"connection_id":64839,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:01:58] local.INFO: Processing buffer {"connection_id":64839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:01:58] local.INFO: IMEI packet received {"connection_id":64839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":64839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:02:00] local.INFO: TCP Data received {"connection_id":64839,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:02:00] local.INFO: Processing buffer {"connection_id":64839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:02:00] local.INFO: Packet analysis {"connection_id":64839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:02:00] local.INFO: Extracted packet for processing {"connection_id":64839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:02:00] 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-05-08 05:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:02:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":64839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:02:00] local.INFO: GPS data processed {"connection_id":64839,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:02:00] local.INFO: Acknowledgment sent {"connection_id":64839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:02:31] local.INFO: TCP Data received {"connection_id":64839,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:02:31] local.INFO: Processing buffer {"connection_id":64839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:02:31] local.INFO: Packet analysis {"connection_id":64839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:02:31] local.INFO: Extracted packet for processing {"connection_id":64839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:02:31] 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-05-08 05:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:02:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":64839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:02:31] local.INFO: GPS data processed {"connection_id":64839,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:02:31] local.INFO: Acknowledgment sent {"connection_id":64839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:02:58] local.INFO: TCP Data received {"connection_id":64793,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:02:58] local.INFO: Processing buffer {"connection_id":64793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:02:58] local.INFO: IMEI packet received {"connection_id":64793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":64793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:03:04] local.INFO: TCP Data received {"connection_id":64793,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:04] local.INFO: Processing buffer {"connection_id":64793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:04] local.INFO: IMEI packet received {"connection_id":64793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":64793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:03:06] local.INFO: TCP Data received {"connection_id":64793,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:03:06] local.INFO: Processing buffer {"connection_id":64793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:03:06] local.INFO: Packet analysis {"connection_id":64793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:03:06] local.INFO: Extracted packet for processing {"connection_id":64793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:03:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:03:06] 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-05-08 05:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:03:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:03:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":64793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":64793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":64793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:03:06] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:03:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":64793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:03:06] local.INFO: GPS data processed {"connection_id":64793,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:03:06] local.INFO: Acknowledgment sent {"connection_id":64793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:03:09] local.INFO: TCP Data received {"connection_id":64793,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:03:09] local.INFO: Processing buffer {"connection_id":64793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:03:09] local.INFO: Packet analysis {"connection_id":64793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:03:09] local.INFO: Extracted packet for processing {"connection_id":64793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:03: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-05-08 05:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05: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-05-08 05: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:03:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":64793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:03:09] local.INFO: GPS data processed {"connection_id":64793,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:03:09] local.INFO: Acknowledgment sent {"connection_id":64793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:03:53] local.INFO: TCP Data received {"connection_id":65594,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:53] local.INFO: Processing buffer {"connection_id":65594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:53] local.INFO: IMEI packet received {"connection_id":65594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:03:53] local.INFO: IMEI acknowledgment sent {"connection_id":65594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:03:58] local.INFO: TCP Data received {"connection_id":65594,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:58] local.INFO: Processing buffer {"connection_id":65594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:03:58] local.INFO: IMEI packet received {"connection_id":65594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":65594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:04:00] local.INFO: TCP Data received {"connection_id":65594,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:04:00] local.INFO: Processing buffer {"connection_id":65594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04c5bf68012d34c54006aa5070000000622f..."} 
[2026-05-08 05:04:00] local.INFO: Packet analysis {"connection_id":65594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:04:00] local.INFO: Extracted packet for processing {"connection_id":65594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04c5"} 
[2026-05-08 05:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218234368001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:04:00] 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-05-08 05:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196529000,"timestamp_ms":1778196529000,"timestamp_seconds":1778196529,"priority":1,"record_length":96,"hex_timestamp":"0000019e04c5bf68"} 
[2026-05-08 05:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218234368001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218234368001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:04:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:04:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218234368001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":65594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:04:00] local.INFO: GPS data processed {"connection_id":65594,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:04:00] local.INFO: Acknowledgment sent {"connection_id":65594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:04:31] local.INFO: TCP Data received {"connection_id":65594,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:04:31] local.INFO: Processing buffer {"connection_id":65594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:04:31] local.INFO: Packet analysis {"connection_id":65594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:04:31] local.INFO: Extracted packet for processing {"connection_id":65594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:04:31] 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-05-08 05:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:04:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":65594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:04:31] local.INFO: GPS data processed {"connection_id":65594,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:04:31] local.INFO: Acknowledgment sent {"connection_id":65594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:04:53] local.INFO: TCP Data received {"connection_id":65595,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:04:53] local.INFO: Processing buffer {"connection_id":65595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:04:53] local.INFO: IMEI packet received {"connection_id":65595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":65595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:04:58] local.INFO: TCP Data received {"connection_id":65595,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:04:58] local.INFO: Processing buffer {"connection_id":65595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:04:58] local.INFO: IMEI packet received {"connection_id":65595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":65595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:05:00] local.INFO: TCP Data received {"connection_id":65595,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:05:00] local.INFO: Processing buffer {"connection_id":65595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:05:00] local.INFO: Packet analysis {"connection_id":65595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:05:00] local.INFO: Extracted packet for processing {"connection_id":65595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:05:00] 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-05-08 05:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:05:00] 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-05-08 05:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:05:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":65595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:05:00] local.INFO: GPS data processed {"connection_id":65595,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:05:00] local.INFO: Acknowledgment sent {"connection_id":65595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:05:12] local.INFO: TCP Data received {"connection_id":64840,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:05:12] local.INFO: Processing buffer {"connection_id":64840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:05:12] local.INFO: IMEI packet received {"connection_id":64840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":64840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:05:31] local.INFO: TCP Data received {"connection_id":65595,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:05:31] local.INFO: Processing buffer {"connection_id":65595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:05:31] local.INFO: Packet analysis {"connection_id":65595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:05:31] local.INFO: Extracted packet for processing {"connection_id":65595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:05:31] 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-05-08 05:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:05:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":65595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:05:31] local.INFO: GPS data processed {"connection_id":65595,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:05:31] local.INFO: Acknowledgment sent {"connection_id":65595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:05:47] local.INFO: TCP Data received {"connection_id":65596,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:05:47] local.INFO: Processing buffer {"connection_id":65596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:05:47] local.INFO: IMEI packet received {"connection_id":65596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":65596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:05:53] local.INFO: TCP Data received {"connection_id":64794,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:05:53] local.INFO: Processing buffer {"connection_id":64794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:05:53] local.INFO: IMEI packet received {"connection_id":64794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":64794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:05:58] local.INFO: TCP Data received {"connection_id":64794,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:05:58] local.INFO: Processing buffer {"connection_id":64794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:05:58] local.INFO: IMEI packet received {"connection_id":64794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":64794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:06:00] local.INFO: TCP Data received {"connection_id":64794,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:06:00] local.INFO: Processing buffer {"connection_id":64794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:06:00] local.INFO: Packet analysis {"connection_id":64794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:06:00] local.INFO: Extracted packet for processing {"connection_id":64794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:06:00] 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-05-08 05:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:06:00] 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-05-08 05:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:06:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":64794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:06:00] local.INFO: GPS data processed {"connection_id":64794,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:06:00] local.INFO: Acknowledgment sent {"connection_id":64794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:06:31] local.INFO: TCP Data received {"connection_id":64794,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:06:31] local.INFO: Processing buffer {"connection_id":64794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:06:31] local.INFO: Packet analysis {"connection_id":64794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:06:31] local.INFO: Extracted packet for processing {"connection_id":64794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:06:31] 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-05-08 05:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:06:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":64794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:06:31] local.INFO: GPS data processed {"connection_id":64794,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:06:31] local.INFO: Acknowledgment sent {"connection_id":64794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:06:58] local.INFO: TCP Data received {"connection_id":64841,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:06:58] local.INFO: Processing buffer {"connection_id":64841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:06:58] local.INFO: IMEI packet received {"connection_id":64841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":64841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:07:03] local.INFO: TCP Data received {"connection_id":64841,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:03] local.INFO: Processing buffer {"connection_id":64841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:03] local.INFO: IMEI packet received {"connection_id":64841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":64841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:07:05] local.INFO: TCP Data received {"connection_id":64841,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:07:05] local.INFO: Processing buffer {"connection_id":64841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:07:05] local.INFO: Packet analysis {"connection_id":64841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:07:05] local.INFO: Extracted packet for processing {"connection_id":64841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:07:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:07:05] 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-05-08 05:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:07:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:07:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:07:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:07:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:07:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":64841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:07:05] local.INFO: GPS data processed {"connection_id":64841,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:07:05] local.INFO: Acknowledgment sent {"connection_id":64841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:07:09] local.INFO: TCP Data received {"connection_id":64841,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:07:09] local.INFO: Processing buffer {"connection_id":64841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:07:09] local.INFO: Packet analysis {"connection_id":64841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:07:09] local.INFO: Extracted packet for processing {"connection_id":64841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:07: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-05-08 05:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05: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-05-08 05: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:07: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-05-08 05: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-05-08 05:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:07:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":64841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:07:09] local.INFO: GPS data processed {"connection_id":64841,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:07:09] local.INFO: Acknowledgment sent {"connection_id":64841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:07:53] local.INFO: TCP Data received {"connection_id":64795,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:53] local.INFO: Processing buffer {"connection_id":64795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:53] local.INFO: IMEI packet received {"connection_id":64795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":64795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:07:58] local.INFO: TCP Data received {"connection_id":64795,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:58] local.INFO: Processing buffer {"connection_id":64795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:07:58] local.INFO: IMEI packet received {"connection_id":64795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":64795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:08:00] local.INFO: TCP Data received {"connection_id":64795,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:08:00] local.INFO: Processing buffer {"connection_id":64795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:08:00] local.INFO: Packet analysis {"connection_id":64795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:08:00] local.INFO: Extracted packet for processing {"connection_id":64795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:08:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:08:00] 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-05-08 05:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:08:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:08:00] 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-05-08 05:08:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:08:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":64795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:08:00] local.INFO: GPS data processed {"connection_id":64795,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:08:00] local.INFO: Acknowledgment sent {"connection_id":64795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:08:31] local.INFO: TCP Data received {"connection_id":64795,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:08:31] local.INFO: Processing buffer {"connection_id":64795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:08:31] local.INFO: Packet analysis {"connection_id":64795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:08:31] local.INFO: Extracted packet for processing {"connection_id":64795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:08:31] 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-05-08 05:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:08:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":64795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:08:31] local.INFO: GPS data processed {"connection_id":64795,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:08:31] local.INFO: Acknowledgment sent {"connection_id":64795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:08:53] local.INFO: TCP Data received {"connection_id":64843,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:08:53] local.INFO: Processing buffer {"connection_id":64843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:08:53] local.INFO: IMEI packet received {"connection_id":64843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":64843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:08:58] local.INFO: TCP Data received {"connection_id":64843,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:08:58] local.INFO: Processing buffer {"connection_id":64843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:08:58] local.INFO: IMEI packet received {"connection_id":64843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":64843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:09:00] local.INFO: TCP Data received {"connection_id":64843,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:09:00] local.INFO: Processing buffer {"connection_id":64843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ca5730012d34c54006aa5070000000622f..."} 
[2026-05-08 05:09:00] local.INFO: Packet analysis {"connection_id":64843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:09:00] local.INFO: Extracted packet for processing {"connection_id":64843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ca"} 
[2026-05-08 05:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":47,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218311424001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:09:00] 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-05-08 05:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778196830000,"timestamp_ms":1778196830000,"timestamp_seconds":1778196830,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ca5730"} 
[2026-05-08 05:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:09:00] 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-05-08 05:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218311424001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218311424001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:09:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218311424001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":64843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:09:00] local.INFO: GPS data processed {"connection_id":64843,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:09:00] local.INFO: Acknowledgment sent {"connection_id":64843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:09:31] local.INFO: TCP Data received {"connection_id":64843,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:09:31] local.INFO: Processing buffer {"connection_id":64843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:09:31] local.INFO: Packet analysis {"connection_id":64843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:09:31] local.INFO: Extracted packet for processing {"connection_id":64843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:09:31] 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-05-08 05:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:09:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":64843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:09:31] local.INFO: GPS data processed {"connection_id":64843,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:09:31] local.INFO: Acknowledgment sent {"connection_id":64843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:09:53] local.INFO: TCP Data received {"connection_id":65598,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:09:53] local.INFO: Processing buffer {"connection_id":65598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:09:53] local.INFO: IMEI packet received {"connection_id":65598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":65598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:09:58] local.INFO: TCP Data received {"connection_id":65598,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:09:58] local.INFO: Processing buffer {"connection_id":65598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:09:58] local.INFO: IMEI packet received {"connection_id":65598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":65598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:10:00] local.INFO: TCP Data received {"connection_id":65598,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:10:00] local.INFO: Processing buffer {"connection_id":65598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:10:00] local.INFO: Packet analysis {"connection_id":65598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:10:00] local.INFO: Extracted packet for processing {"connection_id":65598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:10:00] 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-05-08 05:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:10:00] 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-05-08 05:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:10:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":65598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:10:00] local.INFO: GPS data processed {"connection_id":65598,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:10:00] local.INFO: Acknowledgment sent {"connection_id":65598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:10:31] local.INFO: TCP Data received {"connection_id":65598,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:10:31] local.INFO: Processing buffer {"connection_id":65598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:10:31] local.INFO: Packet analysis {"connection_id":65598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:10:31] local.INFO: Extracted packet for processing {"connection_id":65598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:10:31] 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-05-08 05:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:10:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":65598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:10:31] local.INFO: GPS data processed {"connection_id":65598,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:10:31] local.INFO: Acknowledgment sent {"connection_id":65598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:10:53] local.INFO: TCP Data received {"connection_id":64797,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:10:53] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:10:53] local.INFO: IMEI packet received {"connection_id":64797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":64797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:10:58] local.INFO: TCP Data received {"connection_id":64797,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:10:58] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:10:58] local.INFO: IMEI packet received {"connection_id":64797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":64797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:11:00] local.INFO: TCP Data received {"connection_id":64797,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:11:00] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:11:00] local.INFO: Packet analysis {"connection_id":64797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:11:00] local.INFO: Extracted packet for processing {"connection_id":64797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:00] 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-05-08 05:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:11:00] 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-05-08 05:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:11:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":64797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:11:00] local.INFO: GPS data processed {"connection_id":64797,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:11:00] local.INFO: Acknowledgment sent {"connection_id":64797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:11:17] local.INFO: TCP Data received {"connection_id":64844,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:17] local.INFO: Processing buffer {"connection_id":64844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:17] local.INFO: IMEI packet received {"connection_id":64844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":64844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:11:31] local.INFO: TCP Data received {"connection_id":64797,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:11:31] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:11:31] local.INFO: Packet analysis {"connection_id":64797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:11:31] local.INFO: Extracted packet for processing {"connection_id":64797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:31] 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-05-08 05:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:11:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":64797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:11:31] local.INFO: GPS data processed {"connection_id":64797,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:11:31] local.INFO: Acknowledgment sent {"connection_id":64797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:11:42] local.INFO: TCP Data received {"connection_id":64748,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:42] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:42] local.INFO: IMEI packet received {"connection_id":64748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":64748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:11:47] local.INFO: TCP Data received {"connection_id":64748,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:47] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:11:47] local.INFO: IMEI packet received {"connection_id":64748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 05:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":64748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:11:49] local.INFO: TCP Data received {"connection_id":64748,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019e04a82d18012d34c2c006aa47600016010f31..."} 
[2026-05-08 05:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04a82d18012d34c2c006aa47600016010f31..."} 
[2026-05-08 05:11:49] local.INFO: Processing buffer {"connection_id":64748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04a82d18012d34c2c006aa47600016010f31..."} 
[2026-05-08 05:11:49] local.INFO: Packet analysis {"connection_id":64748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04a8"} 
[2026-05-08 05:11:49] local.INFO: Extracted packet for processing {"connection_id":64748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04a8"} 
[2026-05-08 05:11:49] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111822688,"longitude_deg":75.8432448,"latitude_deg":11.1822688,"altitude":22,"angle":271,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455217738240001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110101117265772544,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313261056,"note":"Value kept but may cause issues"} 
[2026-05-08 05:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 05:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778194591000,"timestamp_ms":1778194591000,"timestamp_seconds":1778194591,"priority":1,"record_length":96,"hex_timestamp":"0000019e04a82d18"} 
[2026-05-08 05:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 05:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":64748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":64748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 05:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":64748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 05:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 05:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 05:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455217738240001,"66":25517,"6":206,"81":23296,"24":0,"16":110101117265772544,"45":3801812170313261056},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-05-08 05:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 05:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 05:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455217738240001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:11:49] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-05-08 05:11:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-05-08 05:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110101117265772544,"km_value":110101117265772.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313261056,"description":"Unknown IO ID 45"} 
[2026-05-08 05:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455217738240001,"power":25517,"unknown_6":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170313261056}} 
[2026-05-08 05:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":64748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:11:49] local.INFO: GPS data processed {"connection_id":64748,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:11:49] local.INFO: Acknowledgment sent {"connection_id":64748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:11:58] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:11:58] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:11:58] local.INFO: IMEI packet received {"connection_id":64845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":64845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:12:03] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:03] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:03] local.INFO: IMEI packet received {"connection_id":64845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":64845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:12:05] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:12:05] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:12:05] local.INFO: Packet analysis {"connection_id":64845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:12:05] local.INFO: Extracted packet for processing {"connection_id":64845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:12:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:12:05] 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-05-08 05:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:12:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:12:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:12:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":64845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:12:05] local.INFO: GPS data processed {"connection_id":64845,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:12:05] local.INFO: Acknowledgment sent {"connection_id":64845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:12:09] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:12:09] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:12:09] local.INFO: Packet analysis {"connection_id":64845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:12:09] local.INFO: Extracted packet for processing {"connection_id":64845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 05:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:12: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-05-08 05:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 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-05-08 05: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-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:12: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-05-08 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-05-08 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-05-08 05:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:12:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":64845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:12:09] local.INFO: GPS data processed {"connection_id":64845,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:12:09] local.INFO: Acknowledgment sent {"connection_id":64845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:12:32] local.INFO: TCP Data received {"connection_id":64749,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:12:32] local.INFO: Processing buffer {"connection_id":64749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:12:32] local.INFO: IMEI packet received {"connection_id":64749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":64749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:12:53] local.INFO: TCP Data received {"connection_id":65599,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:53] local.INFO: Processing buffer {"connection_id":65599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:53] local.INFO: IMEI packet received {"connection_id":65599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":65599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:12:58] local.INFO: TCP Data received {"connection_id":65599,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:58] local.INFO: Processing buffer {"connection_id":65599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:12:58] local.INFO: IMEI packet received {"connection_id":65599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":65599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:13:00] local.INFO: TCP Data received {"connection_id":65599,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:13:00] local.INFO: Processing buffer {"connection_id":65599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:13:00] local.INFO: Packet analysis {"connection_id":65599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:13:00] local.INFO: Extracted packet for processing {"connection_id":65599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:13:00] 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-05-08 05:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:13:00] 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-05-08 05:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:13:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":65599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:13:00] local.INFO: GPS data processed {"connection_id":65599,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:13:00] local.INFO: Acknowledgment sent {"connection_id":65599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:13:31] local.INFO: TCP Data received {"connection_id":65599,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:13:31] local.INFO: Processing buffer {"connection_id":65599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:13:31] local.INFO: Packet analysis {"connection_id":65599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:13:31] local.INFO: Extracted packet for processing {"connection_id":65599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:13:31] 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-05-08 05:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:13:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":65599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:13:31] local.INFO: GPS data processed {"connection_id":65599,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:13:31] local.INFO: Acknowledgment sent {"connection_id":65599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:13:54] local.INFO: TCP Data received {"connection_id":64798,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:13:54] local.INFO: Processing buffer {"connection_id":64798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:13:54] local.INFO: IMEI packet received {"connection_id":64798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":64798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:13:58] local.INFO: TCP Data received {"connection_id":64798,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:13:58] local.INFO: Processing buffer {"connection_id":64798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:13:58] local.INFO: IMEI packet received {"connection_id":64798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":64798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:14:00] local.INFO: TCP Data received {"connection_id":64798,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:14:00] local.INFO: Processing buffer {"connection_id":64798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ceeef8012d34c54006aa50700000006230..."} 
[2026-05-08 05:14:00] local.INFO: Packet analysis {"connection_id":64798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:14:00] local.INFO: Extracted packet for processing {"connection_id":64798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ce"} 
[2026-05-08 05:14:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":48,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:14:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218388480001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:14:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:14:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:14:00] 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-05-08 05:14:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197131000,"timestamp_ms":1778197131000,"timestamp_seconds":1778197131,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ceeef8"} 
[2026-05-08 05:14:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:14:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:14:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:14:00] 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-05-08 05:14:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:14:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:14:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:14:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:14:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:14:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:14:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:14:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:14:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:14:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218388480001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:14:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:14:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:14:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218388480001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:14:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:14:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:14:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:14:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:14:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218388480001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:14:00] local.INFO: DEBUG: GPS processor result {"connection_id":64798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:14:00] local.INFO: GPS data processed {"connection_id":64798,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:14:00] local.INFO: Acknowledgment sent {"connection_id":64798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:14:32] local.INFO: TCP Data received {"connection_id":64798,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:14:32] local.INFO: Processing buffer {"connection_id":64798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:14:32] local.INFO: Packet analysis {"connection_id":64798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:14:32] local.INFO: Extracted packet for processing {"connection_id":64798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:14:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:14:32] 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-05-08 05:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:14:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:14:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:14:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:14:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:14:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:14:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":64798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:14:32] local.INFO: GPS data processed {"connection_id":64798,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:14:32] local.INFO: Acknowledgment sent {"connection_id":64798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:14:53] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:14:53] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:14:53] local.INFO: IMEI packet received {"connection_id":64751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":64751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:14:58] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:14:58] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:14:58] local.INFO: IMEI packet received {"connection_id":64751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":64751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:15:00] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:15:00] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:15:00] local.INFO: Packet analysis {"connection_id":64751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:15:00] local.INFO: Extracted packet for processing {"connection_id":64751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:15:00] 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-05-08 05:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:15:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:15:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":64751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:15:00] local.INFO: GPS data processed {"connection_id":64751,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:15:00] local.INFO: Acknowledgment sent {"connection_id":64751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:15:31] local.INFO: TCP Data received {"connection_id":64751,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:15:31] local.INFO: Processing buffer {"connection_id":64751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:15:31] local.INFO: Packet analysis {"connection_id":64751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:15:31] local.INFO: Extracted packet for processing {"connection_id":64751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:15:31] 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-05-08 05:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:15:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":64751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:15:31] local.INFO: GPS data processed {"connection_id":64751,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:15:31] local.INFO: Acknowledgment sent {"connection_id":64751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:15:58] local.INFO: TCP Data received {"connection_id":64847,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:15:58] local.INFO: Processing buffer {"connection_id":64847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:15:58] local.INFO: IMEI packet received {"connection_id":64847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":64847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:16:03] local.INFO: TCP Data received {"connection_id":64847,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:03] local.INFO: Processing buffer {"connection_id":64847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:03] local.INFO: IMEI packet received {"connection_id":64847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":64847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:16:05] local.INFO: TCP Data received {"connection_id":64847,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:16:05] local.INFO: Processing buffer {"connection_id":64847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:16:05] local.INFO: Packet analysis {"connection_id":64847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:16:05] local.INFO: Extracted packet for processing {"connection_id":64847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:16:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:16:05] 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-05-08 05:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:16:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:16:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:16:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:16:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:16:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":64847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:16:05] local.INFO: GPS data processed {"connection_id":64847,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:16:05] local.INFO: Acknowledgment sent {"connection_id":64847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:16:09] local.INFO: TCP Data received {"connection_id":64847,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:16:09] local.INFO: Processing buffer {"connection_id":64847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:16:09] local.INFO: Packet analysis {"connection_id":64847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:16:09] local.INFO: Extracted packet for processing {"connection_id":64847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 05:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:16: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-05-08 05:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 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-05-08 05: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 05:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:16:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":64847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:16:09] local.INFO: GPS data processed {"connection_id":64847,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:16:09] local.INFO: Acknowledgment sent {"connection_id":64847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:16:53] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:53] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:53] local.INFO: IMEI packet received {"connection_id":64752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":64752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:16:58] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:58] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:16:58] local.INFO: IMEI packet received {"connection_id":64752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":64752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:17:00] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:17:00] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:17:00] local.INFO: Packet analysis {"connection_id":64752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:17:00] local.INFO: Extracted packet for processing {"connection_id":64752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:17:00] 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-05-08 05:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:17:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":64752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:17:00] local.INFO: GPS data processed {"connection_id":64752,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:17:00] local.INFO: Acknowledgment sent {"connection_id":64752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:17:31] local.INFO: TCP Data received {"connection_id":64752,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:17:31] local.INFO: Processing buffer {"connection_id":64752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:17:31] local.INFO: Packet analysis {"connection_id":64752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:17:31] local.INFO: Extracted packet for processing {"connection_id":64752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:17:31] 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-05-08 05:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:17:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":64752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:17:31] local.INFO: GPS data processed {"connection_id":64752,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:17:31] local.INFO: Acknowledgment sent {"connection_id":64752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:17:53] local.INFO: TCP Data received {"connection_id":65601,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:17:53] local.INFO: Processing buffer {"connection_id":65601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:17:53] local.INFO: IMEI packet received {"connection_id":65601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":65601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:17:58] local.INFO: TCP Data received {"connection_id":65601,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:17:58] local.INFO: Processing buffer {"connection_id":65601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:17:58] local.INFO: IMEI packet received {"connection_id":65601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":65601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:18:00] local.INFO: TCP Data received {"connection_id":65601,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:18:00] local.INFO: Processing buffer {"connection_id":65601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:18:00] local.INFO: Packet analysis {"connection_id":65601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:18:00] local.INFO: Extracted packet for processing {"connection_id":65601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:18:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:18:00] 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-05-08 05:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:18:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:18:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":65601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:18:00] local.INFO: GPS data processed {"connection_id":65601,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:18:00] local.INFO: Acknowledgment sent {"connection_id":65601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:18:17] local.INFO: TCP Data received {"connection_id":64800,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:18:17] local.INFO: Processing buffer {"connection_id":64800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:18:17] local.INFO: IMEI packet received {"connection_id":64800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":64800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:18:31] local.INFO: TCP Data received {"connection_id":65601,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:18:31] local.INFO: Processing buffer {"connection_id":65601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:18:31] local.INFO: Packet analysis {"connection_id":65601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:18:31] local.INFO: Extracted packet for processing {"connection_id":65601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:18:31] 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-05-08 05:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:18:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":65601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:18:31] local.INFO: GPS data processed {"connection_id":65601,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:18:31] local.INFO: Acknowledgment sent {"connection_id":65601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:18:42] local.INFO: TCP Data received {"connection_id":64753,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:18:42] local.INFO: Processing buffer {"connection_id":64753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:18:42] local.INFO: IMEI packet received {"connection_id":64753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":64753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:18:53] local.INFO: TCP Data received {"connection_id":65602,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:18:53] local.INFO: Processing buffer {"connection_id":65602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:18:53] local.INFO: IMEI packet received {"connection_id":65602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":65602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:18:58] local.INFO: TCP Data received {"connection_id":65602,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:18:58] local.INFO: Processing buffer {"connection_id":65602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:18:58] local.INFO: IMEI packet received {"connection_id":65602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":65602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:19:00] local.INFO: TCP Data received {"connection_id":65602,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:19:00] local.INFO: Processing buffer {"connection_id":65602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:19:00] local.INFO: Packet analysis {"connection_id":65602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:19:00] local.INFO: Extracted packet for processing {"connection_id":65602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:19:00] 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-05-08 05:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:19:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:19:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":65602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:19:00] local.INFO: GPS data processed {"connection_id":65602,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:19:00] local.INFO: Acknowledgment sent {"connection_id":65602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:19:31] local.INFO: TCP Data received {"connection_id":65602,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:19:31] local.INFO: Processing buffer {"connection_id":65602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d386c0012d34c54006aa5070000000622e..."} 
[2026-05-08 05:19:31] local.INFO: Packet analysis {"connection_id":65602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:19:31] local.INFO: Extracted packet for processing {"connection_id":65602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d3"} 
[2026-05-08 05:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218465536001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:19:31] 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-05-08 05:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197432000,"timestamp_ms":1778197432000,"timestamp_seconds":1778197432,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d386c0"} 
[2026-05-08 05:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218465536001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218465536001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:19:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218465536001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":65602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:19:31] local.INFO: GPS data processed {"connection_id":65602,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:19:31] local.INFO: Acknowledgment sent {"connection_id":65602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:19:58] local.INFO: TCP Data received {"connection_id":64802,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:19:58] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:19:58] local.INFO: IMEI packet received {"connection_id":64802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":64802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:20:03] local.INFO: TCP Data received {"connection_id":64802,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:03] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:03] local.INFO: IMEI packet received {"connection_id":64802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":64802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:20:05] local.INFO: TCP Data received {"connection_id":64802,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:20:05] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:20:05] local.INFO: Packet analysis {"connection_id":64802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:20:05] local.INFO: Extracted packet for processing {"connection_id":64802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:20:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:20:05] 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-05-08 05:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:20:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:20:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:20:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:20:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:20:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":64802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:20:05] local.INFO: GPS data processed {"connection_id":64802,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:20:05] local.INFO: Acknowledgment sent {"connection_id":64802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:20:36] local.INFO: TCP Data received {"connection_id":64802,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:20:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:20:36] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:20:36] local.INFO: Packet analysis {"connection_id":64802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:20:36] local.INFO: Extracted packet for processing {"connection_id":64802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:20:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:20:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:20:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:20:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05: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-05-08 05:20:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:20:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:20: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-05-08 05: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:20:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:20:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:20:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:20:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:20:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:20:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:20:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:20:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:20:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:20:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:20:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:20:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:20:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:20:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:20:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:20:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:20:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:20:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:20:36] local.INFO: DEBUG: GPS processor result {"connection_id":64802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:20:36] local.INFO: GPS data processed {"connection_id":64802,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:20:36] local.INFO: Acknowledgment sent {"connection_id":64802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:20:53] local.INFO: TCP Data received {"connection_id":64755,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:53] local.INFO: Processing buffer {"connection_id":64755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:53] local.INFO: IMEI packet received {"connection_id":64755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":64755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:20:58] local.INFO: TCP Data received {"connection_id":64755,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:58] local.INFO: Processing buffer {"connection_id":64755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:20:58] local.INFO: IMEI packet received {"connection_id":64755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":64755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:21:00] local.INFO: TCP Data received {"connection_id":64755,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:21:00] local.INFO: Processing buffer {"connection_id":64755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:21:00] local.INFO: Packet analysis {"connection_id":64755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:21:00] local.INFO: Extracted packet for processing {"connection_id":64755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:21:00] 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-05-08 05:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:21:00] 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-05-08 05:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:21:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":64755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:21:00] local.INFO: GPS data processed {"connection_id":64755,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:21:00] local.INFO: Acknowledgment sent {"connection_id":64755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:21:31] local.INFO: TCP Data received {"connection_id":64755,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:21:31] local.INFO: Processing buffer {"connection_id":64755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:21:31] local.INFO: Packet analysis {"connection_id":64755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:21:31] local.INFO: Extracted packet for processing {"connection_id":64755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:21:31] 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-05-08 05:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:21:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":64755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:21:31] local.INFO: GPS data processed {"connection_id":64755,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:21:31] local.INFO: Acknowledgment sent {"connection_id":64755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:21:53] local.INFO: TCP Data received {"connection_id":65603,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:21:53] local.INFO: Processing buffer {"connection_id":65603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:21:53] local.INFO: IMEI packet received {"connection_id":65603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":65603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:21:58] local.INFO: TCP Data received {"connection_id":65603,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:21:58] local.INFO: Processing buffer {"connection_id":65603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:21:58] local.INFO: IMEI packet received {"connection_id":65603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":65603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:22:00] local.INFO: TCP Data received {"connection_id":65603,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:22:00] local.INFO: Processing buffer {"connection_id":65603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:22:00] local.INFO: Packet analysis {"connection_id":65603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:22:00] local.INFO: Extracted packet for processing {"connection_id":65603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:22:00] 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-05-08 05:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:22:00] 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-05-08 05: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-05-08 05:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:22:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":65603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:22:00] local.INFO: GPS data processed {"connection_id":65603,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:22:00] local.INFO: Acknowledgment sent {"connection_id":65603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:22:31] local.INFO: TCP Data received {"connection_id":65603,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:22:31] local.INFO: Processing buffer {"connection_id":65603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:22:31] local.INFO: Packet analysis {"connection_id":65603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:22:31] local.INFO: Extracted packet for processing {"connection_id":65603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:22:31] 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-05-08 05:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":65603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:22:31] local.INFO: GPS data processed {"connection_id":65603,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:22:31] local.INFO: Acknowledgment sent {"connection_id":65603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:22:58] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:22:58] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:22:58] local.INFO: IMEI packet received {"connection_id":64757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":64757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:23:03] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:03] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:03] local.INFO: IMEI packet received {"connection_id":64757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":64757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:23:05] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:23:05] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:23:05] local.INFO: Packet analysis {"connection_id":64757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:23:05] local.INFO: Extracted packet for processing {"connection_id":64757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:23:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:23:05] 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-05-08 05:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:23:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:23:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:23:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:23:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:23:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":64757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:23:05] local.INFO: GPS data processed {"connection_id":64757,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:23:05] local.INFO: Acknowledgment sent {"connection_id":64757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:23:09] local.INFO: TCP Data received {"connection_id":64757,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:23:09] local.INFO: Processing buffer {"connection_id":64757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:23:09] local.INFO: Packet analysis {"connection_id":64757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:23:09] local.INFO: Extracted packet for processing {"connection_id":64757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:23: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-05-08 05:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:23: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-05-08 05: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:23: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-05-08 05: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-05-08 05:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:23:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:23:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":64757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:23:09] local.INFO: GPS data processed {"connection_id":64757,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:23:09] local.INFO: Acknowledgment sent {"connection_id":64757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:23:53] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:53] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:53] local.INFO: IMEI packet received {"connection_id":64849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":64849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:23:58] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:58] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:23:58] local.INFO: IMEI packet received {"connection_id":64849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":64849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:24:00] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:24:00] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:24:00] local.INFO: Packet analysis {"connection_id":64849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:24:00] local.INFO: Extracted packet for processing {"connection_id":64849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:24:00] 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-05-08 05:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:24:00] 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-05-08 05:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:24:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":64849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:24:00] local.INFO: GPS data processed {"connection_id":64849,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:24:00] local.INFO: Acknowledgment sent {"connection_id":64849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:24:12] local.INFO: TCP Data received {"connection_id":64803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:24:12] local.INFO: Processing buffer {"connection_id":64803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:24:12] local.INFO: IMEI packet received {"connection_id":64803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":64803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:24:32] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:24:32] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04d81e88012d34c54006aa5070000000622e..."} 
[2026-05-08 05:24:32] local.INFO: Packet analysis {"connection_id":64849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:24:32] local.INFO: Extracted packet for processing {"connection_id":64849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04d8"} 
[2026-05-08 05:24:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218542592001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:24:32] 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-05-08 05:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778197733000,"timestamp_ms":1778197733000,"timestamp_seconds":1778197733,"priority":1,"record_length":96,"hex_timestamp":"0000019e04d81e88"} 
[2026-05-08 05:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:24:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:24:32] 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-05-08 05:24:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218542592001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218542592001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:24:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218542592001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":64849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:24:32] local.INFO: GPS data processed {"connection_id":64849,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:24:32] local.INFO: Acknowledgment sent {"connection_id":64849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:24:42] local.INFO: TCP Data received {"connection_id":64850,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:24:42] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:24:42] local.INFO: IMEI packet received {"connection_id":64850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":64850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:24:53] local.INFO: TCP Data received {"connection_id":65604,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:24:53] local.INFO: Processing buffer {"connection_id":65604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:24:53] local.INFO: IMEI packet received {"connection_id":65604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":65604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:24:58] local.INFO: TCP Data received {"connection_id":65604,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:24:58] local.INFO: Processing buffer {"connection_id":65604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:24:58] local.INFO: IMEI packet received {"connection_id":65604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":65604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:25:00] local.INFO: TCP Data received {"connection_id":65604,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:25:00] local.INFO: Processing buffer {"connection_id":65604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:25:00] local.INFO: Packet analysis {"connection_id":65604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:25:00] local.INFO: Extracted packet for processing {"connection_id":65604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:25:00] 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-05-08 05:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:25:00] 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-05-08 05:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:25:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":65604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:25:00] local.INFO: GPS data processed {"connection_id":65604,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:25:00] local.INFO: Acknowledgment sent {"connection_id":65604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:25:31] local.INFO: TCP Data received {"connection_id":65604,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:25:31] local.INFO: Processing buffer {"connection_id":65604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:25:31] local.INFO: Packet analysis {"connection_id":65604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:25:31] local.INFO: Extracted packet for processing {"connection_id":65604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:25:31] 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-05-08 05:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":65604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:25:31] local.INFO: GPS data processed {"connection_id":65604,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:25:31] local.INFO: Acknowledgment sent {"connection_id":65604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:25:53] local.INFO: TCP Data received {"connection_id":64851,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:25:53] local.INFO: Processing buffer {"connection_id":64851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:25:53] local.INFO: IMEI packet received {"connection_id":64851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":64851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:25:58] local.INFO: TCP Data received {"connection_id":64851,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:25:58] local.INFO: Processing buffer {"connection_id":64851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:25:58] local.INFO: IMEI packet received {"connection_id":64851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":64851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:26:00] local.INFO: TCP Data received {"connection_id":64851,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:26:00] local.INFO: Processing buffer {"connection_id":64851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:26:00] local.INFO: Packet analysis {"connection_id":64851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:26:00] local.INFO: Extracted packet for processing {"connection_id":64851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:26:00] 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-05-08 05:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:26:00] 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-05-08 05:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:26:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":64851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:26:00] local.INFO: GPS data processed {"connection_id":64851,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:26:00] local.INFO: Acknowledgment sent {"connection_id":64851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:26:31] local.INFO: TCP Data received {"connection_id":64851,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:26:31] local.INFO: Processing buffer {"connection_id":64851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:26:31] local.INFO: Packet analysis {"connection_id":64851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:26:31] local.INFO: Extracted packet for processing {"connection_id":64851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:26:31] 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-05-08 05:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:26:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":64851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:26:31] local.INFO: GPS data processed {"connection_id":64851,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:26:31] local.INFO: Acknowledgment sent {"connection_id":64851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:26:53] local.INFO: TCP Data received {"connection_id":65605,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:26:53] local.INFO: Processing buffer {"connection_id":65605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:26:53] local.INFO: IMEI packet received {"connection_id":65605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":65605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:26:58] local.INFO: TCP Data received {"connection_id":65605,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:26:58] local.INFO: Processing buffer {"connection_id":65605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:26:58] local.INFO: IMEI packet received {"connection_id":65605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":65605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:27:00] local.INFO: TCP Data received {"connection_id":65605,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:27:00] local.INFO: Processing buffer {"connection_id":65605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:27:00] local.INFO: Packet analysis {"connection_id":65605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:27:00] local.INFO: Extracted packet for processing {"connection_id":65605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:27:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:27:00] 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-05-08 05:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:27:00] 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-05-08 05:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:27:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":65605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:27:00] local.INFO: GPS data processed {"connection_id":65605,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:27:00] local.INFO: Acknowledgment sent {"connection_id":65605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:27:31] local.INFO: TCP Data received {"connection_id":65605,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:27:31] local.INFO: Processing buffer {"connection_id":65605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:27:31] local.INFO: Packet analysis {"connection_id":65605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:27:31] local.INFO: Extracted packet for processing {"connection_id":65605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:27:31] 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-05-08 05:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:27:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":65605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:27:31] local.INFO: GPS data processed {"connection_id":65605,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:27:31] local.INFO: Acknowledgment sent {"connection_id":65605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:27:58] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:27:58] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:27:58] local.INFO: IMEI packet received {"connection_id":64759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":64759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:28:03] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:03] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:03] local.INFO: IMEI packet received {"connection_id":64759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":64759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:28:05] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:28:05] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:28:05] local.INFO: Packet analysis {"connection_id":64759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:28:05] local.INFO: Extracted packet for processing {"connection_id":64759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:28:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:28:05] 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-05-08 05:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:28:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:28:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:28:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":64759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:28:05] local.INFO: GPS data processed {"connection_id":64759,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:28:05] local.INFO: Acknowledgment sent {"connection_id":64759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:28:09] local.INFO: TCP Data received {"connection_id":64759,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:28:09] local.INFO: Processing buffer {"connection_id":64759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:28:09] local.INFO: Packet analysis {"connection_id":64759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:28:09] local.INFO: Extracted packet for processing {"connection_id":64759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:28: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-05-08 05:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:28: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-05-08 05: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-05-08 05:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:28:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":64759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:28:09] local.INFO: GPS data processed {"connection_id":64759,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:28:09] local.INFO: Acknowledgment sent {"connection_id":64759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:28:53] local.INFO: TCP Data received {"connection_id":64852,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:53] local.INFO: Processing buffer {"connection_id":64852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:53] local.INFO: IMEI packet received {"connection_id":64852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":64852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:28:58] local.INFO: TCP Data received {"connection_id":64852,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:58] local.INFO: Processing buffer {"connection_id":64852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:28:58] local.INFO: IMEI packet received {"connection_id":64852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":64852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:29:00] local.INFO: TCP Data received {"connection_id":64852,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:29:00] local.INFO: Processing buffer {"connection_id":64852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:29:00] local.INFO: Packet analysis {"connection_id":64852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:29:00] local.INFO: Extracted packet for processing {"connection_id":64852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:29:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:29:00] 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-05-08 05:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:29:00] 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-05-08 05:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:29:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":64852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:29:00] local.INFO: GPS data processed {"connection_id":64852,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:29:00] local.INFO: Acknowledgment sent {"connection_id":64852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:29:31] local.INFO: TCP Data received {"connection_id":64852,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:29:31] local.INFO: Processing buffer {"connection_id":64852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04dcb650012d34c54006aa5070000000622c..."} 
[2026-05-08 05:29:31] local.INFO: Packet analysis {"connection_id":64852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:29:31] local.INFO: Extracted packet for processing {"connection_id":64852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04dc"} 
[2026-05-08 05:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218619648001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:29:31] 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-05-08 05:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198034000,"timestamp_ms":1778198034000,"timestamp_seconds":1778198034,"priority":1,"record_length":96,"hex_timestamp":"0000019e04dcb650"} 
[2026-05-08 05:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 05:29:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218619648001,"66":25147,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218619648001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:29:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218619648001,"power":25147,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":64852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:29:31] local.INFO: GPS data processed {"connection_id":64852,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:29:31] local.INFO: Acknowledgment sent {"connection_id":64852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:29:53] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:29:53] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:29:53] local.INFO: IMEI packet received {"connection_id":64806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":64806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:29:58] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:29:58] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:29:58] local.INFO: IMEI packet received {"connection_id":64806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":64806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:30:00] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:30:00] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:30:00] local.INFO: Packet analysis {"connection_id":64806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:30:00] local.INFO: Extracted packet for processing {"connection_id":64806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:30:00] 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-05-08 05:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:30:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":64806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:30:00] local.INFO: GPS data processed {"connection_id":64806,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:30:00] local.INFO: Acknowledgment sent {"connection_id":64806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:30:12] local.INFO: TCP Data received {"connection_id":65607,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:30:12] local.INFO: Processing buffer {"connection_id":65607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:30:12] local.INFO: IMEI packet received {"connection_id":65607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":65607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:30:31] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:30:31] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:30:31] local.INFO: Packet analysis {"connection_id":64806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:30:31] local.INFO: Extracted packet for processing {"connection_id":64806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:30:31] 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-05-08 05:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:30:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":64806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:30:31] local.INFO: GPS data processed {"connection_id":64806,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:30:31] local.INFO: Acknowledgment sent {"connection_id":64806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:30:43] local.INFO: TCP Data received {"connection_id":65608,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:30:43] local.INFO: Processing buffer {"connection_id":65608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:30:43] local.INFO: IMEI packet received {"connection_id":65608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:30:43] local.INFO: IMEI acknowledgment sent {"connection_id":65608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:30:53] local.INFO: TCP Data received {"connection_id":65609,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:30:53] local.INFO: Processing buffer {"connection_id":65609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:30:53] local.INFO: IMEI packet received {"connection_id":65609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":65609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:30:58] local.INFO: TCP Data received {"connection_id":65609,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:30:58] local.INFO: Processing buffer {"connection_id":65609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:30:58] local.INFO: IMEI packet received {"connection_id":65609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":65609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:31:00] local.INFO: TCP Data received {"connection_id":65609,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:31:00] local.INFO: Processing buffer {"connection_id":65609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:31:00] local.INFO: Packet analysis {"connection_id":65609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:31:00] local.INFO: Extracted packet for processing {"connection_id":65609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:31:00] 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-05-08 05:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:31:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":65609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:31:00] local.INFO: GPS data processed {"connection_id":65609,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:31:00] local.INFO: Acknowledgment sent {"connection_id":65609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:31:31] local.INFO: TCP Data received {"connection_id":65609,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:31:31] local.INFO: Processing buffer {"connection_id":65609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:31:31] local.INFO: Packet analysis {"connection_id":65609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:31:31] local.INFO: Extracted packet for processing {"connection_id":65609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:31:31] 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-05-08 05:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:31:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":65609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:31:31] local.INFO: GPS data processed {"connection_id":65609,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:31:31] local.INFO: Acknowledgment sent {"connection_id":65609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:31:58] local.INFO: TCP Data received {"connection_id":64853,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:31:58] local.INFO: Processing buffer {"connection_id":64853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:31:58] local.INFO: IMEI packet received {"connection_id":64853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":64853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:32:03] local.INFO: TCP Data received {"connection_id":64853,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:03] local.INFO: Processing buffer {"connection_id":64853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:03] local.INFO: IMEI packet received {"connection_id":64853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":64853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:32:05] local.INFO: TCP Data received {"connection_id":64853,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:32:05] local.INFO: Processing buffer {"connection_id":64853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:32:05] local.INFO: Packet analysis {"connection_id":64853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:32:05] local.INFO: Extracted packet for processing {"connection_id":64853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:32:05] 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-05-08 05:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:32:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":64853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:32:05] local.INFO: GPS data processed {"connection_id":64853,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:32:05] local.INFO: Acknowledgment sent {"connection_id":64853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:32:09] local.INFO: TCP Data received {"connection_id":64853,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:32:09] local.INFO: Processing buffer {"connection_id":64853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:32:09] local.INFO: Packet analysis {"connection_id":64853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:32:09] local.INFO: Extracted packet for processing {"connection_id":64853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:32: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-05-08 05:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:32: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-05-08 05: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:32:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:32:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":64853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:32:09] local.INFO: GPS data processed {"connection_id":64853,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:32:09] local.INFO: Acknowledgment sent {"connection_id":64853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:32:53] local.INFO: TCP Data received {"connection_id":64808,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:53] local.INFO: Processing buffer {"connection_id":64808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:53] local.INFO: IMEI packet received {"connection_id":64808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":64808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:32:58] local.INFO: TCP Data received {"connection_id":64808,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:58] local.INFO: Processing buffer {"connection_id":64808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:32:58] local.INFO: IMEI packet received {"connection_id":64808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":64808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:33:00] local.INFO: TCP Data received {"connection_id":64808,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:33:00] local.INFO: Processing buffer {"connection_id":64808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:33:00] local.INFO: Packet analysis {"connection_id":64808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:33:00] local.INFO: Extracted packet for processing {"connection_id":64808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:33:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:33:00] 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-05-08 05:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:33:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":64808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:33:00] local.INFO: GPS data processed {"connection_id":64808,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:33:00] local.INFO: Acknowledgment sent {"connection_id":64808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:33:31] local.INFO: TCP Data received {"connection_id":64808,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:33:31] local.INFO: Processing buffer {"connection_id":64808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:33:31] local.INFO: Packet analysis {"connection_id":64808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:33:31] local.INFO: Extracted packet for processing {"connection_id":64808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:33:31] 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-05-08 05:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:33:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":64808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:33:31] local.INFO: GPS data processed {"connection_id":64808,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:33:31] local.INFO: Acknowledgment sent {"connection_id":64808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:33:53] local.INFO: TCP Data received {"connection_id":64809,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:33:53] local.INFO: Processing buffer {"connection_id":64809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:33:53] local.INFO: IMEI packet received {"connection_id":64809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":64809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:33:58] local.INFO: TCP Data received {"connection_id":64809,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:33:58] local.INFO: Processing buffer {"connection_id":64809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:33:58] local.INFO: IMEI packet received {"connection_id":64809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":64809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:34:00] local.INFO: TCP Data received {"connection_id":64809,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:34:00] local.INFO: Processing buffer {"connection_id":64809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:34:00] local.INFO: Packet analysis {"connection_id":64809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:34:00] local.INFO: Extracted packet for processing {"connection_id":64809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:34:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:34:00] 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-05-08 05:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:34:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":64809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:34:00] local.INFO: GPS data processed {"connection_id":64809,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:34:00] local.INFO: Acknowledgment sent {"connection_id":64809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:34:31] local.INFO: TCP Data received {"connection_id":64809,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:34:31] local.INFO: Processing buffer {"connection_id":64809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e14e18012d34c54006aa50700002006229..."} 
[2026-05-08 05:34:31] local.INFO: Packet analysis {"connection_id":64809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:34:31] local.INFO: Extracted packet for processing {"connection_id":64809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e1"} 
[2026-05-08 05:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218696704001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:34:31] 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-05-08 05:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198335000,"timestamp_ms":1778198335000,"timestamp_seconds":1778198335,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e14e18"} 
[2026-05-08 05:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 05:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218696704001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218696704001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:34:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218696704001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":64809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:34:31] local.INFO: GPS data processed {"connection_id":64809,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:34:31] local.INFO: Acknowledgment sent {"connection_id":64809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:34:53] local.INFO: TCP Data received {"connection_id":64760,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:34:53] local.INFO: Processing buffer {"connection_id":64760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:34:53] local.INFO: IMEI packet received {"connection_id":64760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":64760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:34:58] local.INFO: TCP Data received {"connection_id":64760,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:34:58] local.INFO: Processing buffer {"connection_id":64760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:34:58] local.INFO: IMEI packet received {"connection_id":64760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":64760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:35:00] local.INFO: TCP Data received {"connection_id":64760,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:35:00] local.INFO: Processing buffer {"connection_id":64760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:35:00] local.INFO: Packet analysis {"connection_id":64760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:35:00] local.INFO: Extracted packet for processing {"connection_id":64760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:35:00] 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-05-08 05:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:35:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":64760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:35:00] local.INFO: GPS data processed {"connection_id":64760,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:35:00] local.INFO: Acknowledgment sent {"connection_id":64760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:35:31] local.INFO: TCP Data received {"connection_id":64760,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:35:31] local.INFO: Processing buffer {"connection_id":64760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:35:31] local.INFO: Packet analysis {"connection_id":64760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:35:31] local.INFO: Extracted packet for processing {"connection_id":64760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:35:31] 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-05-08 05:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:35:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":64760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:35:31] local.INFO: GPS data processed {"connection_id":64760,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:35:31] local.INFO: Acknowledgment sent {"connection_id":64760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:35:58] local.INFO: TCP Data received {"connection_id":65612,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:35:58] local.INFO: Processing buffer {"connection_id":65612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:35:58] local.INFO: IMEI packet received {"connection_id":65612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":65612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:36:03] local.INFO: TCP Data received {"connection_id":65612,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65612,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:36:03] local.INFO: Processing buffer {"connection_id":65612,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:36:03] local.INFO: IMEI packet received {"connection_id":65612,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":65612,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:36:05] local.INFO: TCP Data received {"connection_id":65612,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:36:05] local.INFO: Processing buffer {"connection_id":65612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:36:05] local.INFO: Packet analysis {"connection_id":65612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:36:05] local.INFO: Extracted packet for processing {"connection_id":65612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:36:05] 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-05-08 05:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:36:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":65612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:36:05] local.INFO: GPS data processed {"connection_id":65612,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:36:05] local.INFO: Acknowledgment sent {"connection_id":65612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:36:07] local.INFO: TCP Data received {"connection_id":64810,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:36:07] local.INFO: Processing buffer {"connection_id":64810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:36:07] local.INFO: IMEI packet received {"connection_id":64810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":64810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:36:09] local.INFO: TCP Data received {"connection_id":65612,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:36:09] local.INFO: Processing buffer {"connection_id":65612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:36:09] local.INFO: Packet analysis {"connection_id":65612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:36:09] local.INFO: Extracted packet for processing {"connection_id":65612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 05:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:36: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-05-08 05:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 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-05-08 05:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:36:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 05:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65612,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:36:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":65612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:36:09] local.INFO: GPS data processed {"connection_id":65612,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:36:09] local.INFO: Acknowledgment sent {"connection_id":65612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:36:42] local.INFO: TCP Data received {"connection_id":64855,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:36:42] local.INFO: Processing buffer {"connection_id":64855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:36:42] local.INFO: IMEI packet received {"connection_id":64855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":64855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:36:58] local.INFO: TCP Data received {"connection_id":65613,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:36:58] local.INFO: Processing buffer {"connection_id":65613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:36:58] local.INFO: IMEI packet received {"connection_id":65613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":65613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:37:03] local.INFO: TCP Data received {"connection_id":65613,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:03] local.INFO: Processing buffer {"connection_id":65613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:03] local.INFO: IMEI packet received {"connection_id":65613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":65613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:37:05] local.INFO: TCP Data received {"connection_id":65613,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:05] local.INFO: Processing buffer {"connection_id":65613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:05] local.INFO: Packet analysis {"connection_id":65613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:37:05] local.INFO: Extracted packet for processing {"connection_id":65613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:37:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:37:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37:05] 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-05-08 05:37:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:37:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:37:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:37:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:37:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:37:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:37:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:37:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:37:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:37:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:37:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:37:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:37:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:37:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:37:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:37:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:37:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:37:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:37:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:37:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:37:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:37:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:37:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:37:05] local.INFO: DEBUG: GPS processor result {"connection_id":65613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:37:05] local.INFO: GPS data processed {"connection_id":65613,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:37:05] local.INFO: Acknowledgment sent {"connection_id":65613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:37:36] local.INFO: TCP Data received {"connection_id":65613,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:36] local.INFO: Processing buffer {"connection_id":65613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:36] local.INFO: Packet analysis {"connection_id":65613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:37:36] local.INFO: Extracted packet for processing {"connection_id":65613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:37:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:37:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37: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-05-08 05:37:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:37:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05: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-05-08 05: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":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:37:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:37:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:37:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:37:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:37:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:37:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:37:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:37:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:37:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:37:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:37:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:37:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:37:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:37:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:37:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:37:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:37:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:37:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:37:36] local.INFO: DEBUG: GPS processor result {"connection_id":65613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:37:36] local.INFO: GPS data processed {"connection_id":65613,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:37:36] local.INFO: Acknowledgment sent {"connection_id":65613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:37:53] local.INFO: TCP Data received {"connection_id":64761,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:53] local.INFO: Processing buffer {"connection_id":64761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:53] local.INFO: IMEI packet received {"connection_id":64761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":64761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:37:58] local.INFO: TCP Data received {"connection_id":64761,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:58] local.INFO: Processing buffer {"connection_id":64761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:37:58] local.INFO: IMEI packet received {"connection_id":64761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":64761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:37:59] local.INFO: TCP Data received {"connection_id":64761,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:59] local.INFO: Processing buffer {"connection_id":64761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:37:59] local.INFO: Packet analysis {"connection_id":64761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:37:59] local.INFO: Extracted packet for processing {"connection_id":64761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:37:59] 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-05-08 05:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":64761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:37:59] local.INFO: GPS data processed {"connection_id":64761,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:37:59] local.INFO: Acknowledgment sent {"connection_id":64761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:38:30] local.INFO: TCP Data received {"connection_id":64761,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:38:30] local.INFO: Processing buffer {"connection_id":64761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:38:30] local.INFO: Packet analysis {"connection_id":64761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:38:30] local.INFO: Extracted packet for processing {"connection_id":64761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:38:30] 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-05-08 05:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:38: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-05-08 05:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:38:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":64761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:38:30] local.INFO: GPS data processed {"connection_id":64761,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:38:30] local.INFO: Acknowledgment sent {"connection_id":64761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:38:53] local.INFO: TCP Data received {"connection_id":64811,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:38:53] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:38:53] local.INFO: IMEI packet received {"connection_id":64811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":64811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:38:58] local.INFO: TCP Data received {"connection_id":64811,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:38:58] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:38:58] local.INFO: IMEI packet received {"connection_id":64811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":64811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:39:00] local.INFO: TCP Data received {"connection_id":64811,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:39:00] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:39:00] local.INFO: Packet analysis {"connection_id":64811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:39:00] local.INFO: Extracted packet for processing {"connection_id":64811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:39:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:39:00] 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-05-08 05:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:39:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:39:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:39:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":64811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:39:00] local.INFO: GPS data processed {"connection_id":64811,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:39:00] local.INFO: Acknowledgment sent {"connection_id":64811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:39:31] local.INFO: TCP Data received {"connection_id":64811,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:39:31] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04e5e5e0012d34c54006aa50700000006226..."} 
[2026-05-08 05:39:31] local.INFO: Packet analysis {"connection_id":64811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:39:31] local.INFO: Extracted packet for processing {"connection_id":64811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04e5"} 
[2026-05-08 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218773760001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:39:31] 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-05-08 05:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198636000,"timestamp_ms":1778198636000,"timestamp_seconds":1778198636,"priority":1,"record_length":96,"hex_timestamp":"0000019e04e5e5e0"} 
[2026-05-08 05:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218773760001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218773760001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:39:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218773760001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":64811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:39:31] local.INFO: GPS data processed {"connection_id":64811,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:39:31] local.INFO: Acknowledgment sent {"connection_id":64811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:39:53] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:39:53] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:39:53] local.INFO: IMEI packet received {"connection_id":64762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":64762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:39:58] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:39:58] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:39:58] local.INFO: IMEI packet received {"connection_id":64762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":64762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:40:00] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:40:00] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:40:00] local.INFO: Packet analysis {"connection_id":64762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:40:00] local.INFO: Extracted packet for processing {"connection_id":64762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:40:00] 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-05-08 05:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:40:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":64762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:40:00] local.INFO: GPS data processed {"connection_id":64762,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:40:00] local.INFO: Acknowledgment sent {"connection_id":64762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:40:31] local.INFO: TCP Data received {"connection_id":64762,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:40:31] local.INFO: Processing buffer {"connection_id":64762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:40:31] local.INFO: Packet analysis {"connection_id":64762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:40:31] local.INFO: Extracted packet for processing {"connection_id":64762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:40:31] 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-05-08 05:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:40:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":64762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:40:31] local.INFO: GPS data processed {"connection_id":64762,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:40:31] local.INFO: Acknowledgment sent {"connection_id":64762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:40:58] local.INFO: TCP Data received {"connection_id":65618,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:40:58] local.INFO: Processing buffer {"connection_id":65618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:40:58] local.INFO: IMEI packet received {"connection_id":65618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":65618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:41:03] local.INFO: TCP Data received {"connection_id":65618,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65618,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:03] local.INFO: Processing buffer {"connection_id":65618,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:03] local.INFO: IMEI packet received {"connection_id":65618,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":65618,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:41:05] local.INFO: TCP Data received {"connection_id":65618,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:41:05] local.INFO: Processing buffer {"connection_id":65618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:41:05] local.INFO: Packet analysis {"connection_id":65618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:41:05] local.INFO: Extracted packet for processing {"connection_id":65618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:41:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:41:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:41:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:41:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:41:05] 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-05-08 05:41:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:41:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:41:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:41:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:41:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:41:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:41:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:41:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:41:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:41:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:41:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:41:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:41:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:41:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:41:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:41:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:41:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:41:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:41:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:41:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:41:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:41:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:41:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:41:05] local.INFO: DEBUG: GPS processor result {"connection_id":65618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:41:05] local.INFO: GPS data processed {"connection_id":65618,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:41:05] local.INFO: Acknowledgment sent {"connection_id":65618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:41:09] local.INFO: TCP Data received {"connection_id":65618,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:41:09] local.INFO: Processing buffer {"connection_id":65618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:41:09] local.INFO: Packet analysis {"connection_id":65618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:41:09] local.INFO: Extracted packet for processing {"connection_id":65618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 05:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:41: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-05-08 05:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 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-05-08 05:41: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-05-08 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":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:41:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 05:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65618,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:41:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:41:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":65618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:41:09] local.INFO: GPS data processed {"connection_id":65618,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:41:09] local.INFO: Acknowledgment sent {"connection_id":65618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:41:55] local.INFO: TCP Data received {"connection_id":64856,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:55] local.INFO: Processing buffer {"connection_id":64856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:55] local.INFO: IMEI packet received {"connection_id":64856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":64856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:41:59] local.INFO: TCP Data received {"connection_id":64856,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:59] local.INFO: Processing buffer {"connection_id":64856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:41:59] local.INFO: IMEI packet received {"connection_id":64856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:41:59] local.INFO: IMEI acknowledgment sent {"connection_id":64856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:42:00] local.INFO: TCP Data received {"connection_id":64856,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:00] local.INFO: Processing buffer {"connection_id":64856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:00] local.INFO: Packet analysis {"connection_id":64856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:42:00] local.INFO: Extracted packet for processing {"connection_id":64856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:42:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42:00] 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-05-08 05:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:42:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":64856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:42:00] local.INFO: GPS data processed {"connection_id":64856,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:42:00] local.INFO: Acknowledgment sent {"connection_id":64856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:42:04] local.INFO: TCP Data received {"connection_id":64856,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:04] local.INFO: Processing buffer {"connection_id":64856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:04] local.INFO: Packet analysis {"connection_id":64856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:42:04] local.INFO: Extracted packet for processing {"connection_id":64856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42:04] 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-05-08 05:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:42:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:42:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":64856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:42:04] local.INFO: GPS data processed {"connection_id":64856,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:42:04] local.INFO: Acknowledgment sent {"connection_id":64856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:42:07] local.INFO: TCP Data received {"connection_id":64763,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64763,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:42:07] local.INFO: Processing buffer {"connection_id":64763,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:42:07] local.INFO: IMEI packet received {"connection_id":64763,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":64763,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:42:35] local.INFO: TCP Data received {"connection_id":64856,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:35] local.INFO: Processing buffer {"connection_id":64856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:42:35] local.INFO: Packet analysis {"connection_id":64856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:42:35] local.INFO: Extracted packet for processing {"connection_id":64856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:42:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:42: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-05-08 05:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:42: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-05-08 05: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":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:42:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:42:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":64856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:42:36] local.INFO: GPS data processed {"connection_id":64856,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:42:36] local.INFO: Acknowledgment sent {"connection_id":64856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:42:42] local.INFO: TCP Data received {"connection_id":65619,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:42:42] local.INFO: Processing buffer {"connection_id":65619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:42:42] local.INFO: IMEI packet received {"connection_id":65619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":65619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:42:53] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:42:53] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:42:53] local.INFO: IMEI packet received {"connection_id":64812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":64812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:42:58] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:42:58] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:42:58] local.INFO: IMEI packet received {"connection_id":64812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":64812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:43:00] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:43:00] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:43:00] local.INFO: Packet analysis {"connection_id":64812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:43:00] local.INFO: Extracted packet for processing {"connection_id":64812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:43:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:43:00] 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-05-08 05:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:43:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:43:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:43:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":64812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:43:00] local.INFO: GPS data processed {"connection_id":64812,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:43:00] local.INFO: Acknowledgment sent {"connection_id":64812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:43:31] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:43:31] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:43:31] local.INFO: Packet analysis {"connection_id":64812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:43:31] local.INFO: Extracted packet for processing {"connection_id":64812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:43:31] 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-05-08 05:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:43:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":64812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:43:31] local.INFO: GPS data processed {"connection_id":64812,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:43:31] local.INFO: Acknowledgment sent {"connection_id":64812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:43:53] local.INFO: TCP Data received {"connection_id":64764,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:43:53] local.INFO: Processing buffer {"connection_id":64764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:43:53] local.INFO: IMEI packet received {"connection_id":64764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":64764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:43:58] local.INFO: TCP Data received {"connection_id":64764,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:43:58] local.INFO: Processing buffer {"connection_id":64764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:43:58] local.INFO: IMEI packet received {"connection_id":64764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":64764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:44:00] local.INFO: TCP Data received {"connection_id":64764,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:44:00] local.INFO: Processing buffer {"connection_id":64764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:44:00] local.INFO: Packet analysis {"connection_id":64764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:44:00] local.INFO: Extracted packet for processing {"connection_id":64764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:44:00] 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-05-08 05:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:44:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":64764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:44:00] local.INFO: GPS data processed {"connection_id":64764,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:44:00] local.INFO: Acknowledgment sent {"connection_id":64764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:44:31] local.INFO: TCP Data received {"connection_id":64764,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:44:31] local.INFO: Processing buffer {"connection_id":64764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ea7da8012d34c54006aa50700000006228..."} 
[2026-05-08 05:44:31] local.INFO: Packet analysis {"connection_id":64764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:44:31] local.INFO: Extracted packet for processing {"connection_id":64764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ea"} 
[2026-05-08 05:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218850816001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:44:31] 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-05-08 05:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778198937000,"timestamp_ms":1778198937000,"timestamp_seconds":1778198937,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ea7da8"} 
[2026-05-08 05:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218850816001,"66":25093,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218850816001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:44:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218850816001,"power":25093,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":64764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:44:31] local.INFO: GPS data processed {"connection_id":64764,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:44:31] local.INFO: Acknowledgment sent {"connection_id":64764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:44:53] local.INFO: TCP Data received {"connection_id":65620,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:44:53] local.INFO: Processing buffer {"connection_id":65620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:44:53] local.INFO: IMEI packet received {"connection_id":65620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":65620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:44:58] local.INFO: TCP Data received {"connection_id":65620,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:44:58] local.INFO: Processing buffer {"connection_id":65620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:44:58] local.INFO: IMEI packet received {"connection_id":65620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":65620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:45:00] local.INFO: TCP Data received {"connection_id":65620,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:45:00] local.INFO: Processing buffer {"connection_id":65620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:45:00] local.INFO: Packet analysis {"connection_id":65620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:45:00] local.INFO: Extracted packet for processing {"connection_id":65620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:45:00] 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-05-08 05:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:45:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":65620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:45:00] local.INFO: GPS data processed {"connection_id":65620,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:45:00] local.INFO: Acknowledgment sent {"connection_id":65620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:45:31] local.INFO: TCP Data received {"connection_id":65620,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:45:31] local.INFO: Processing buffer {"connection_id":65620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:45:31] local.INFO: Packet analysis {"connection_id":65620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:45:31] local.INFO: Extracted packet for processing {"connection_id":65620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:45:31] 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-05-08 05:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:45:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":65620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:45:31] local.INFO: GPS data processed {"connection_id":65620,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:45:31] local.INFO: Acknowledgment sent {"connection_id":65620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:45:53] local.INFO: TCP Data received {"connection_id":64765,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:45:53] local.INFO: Processing buffer {"connection_id":64765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:45:53] local.INFO: IMEI packet received {"connection_id":64765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":64765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:45:58] local.INFO: TCP Data received {"connection_id":64765,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:45:58] local.INFO: Processing buffer {"connection_id":64765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:45:58] local.INFO: IMEI packet received {"connection_id":64765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":64765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:46:00] local.INFO: TCP Data received {"connection_id":64765,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:46:00] local.INFO: Processing buffer {"connection_id":64765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:46:00] local.INFO: Packet analysis {"connection_id":64765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:46:00] local.INFO: Extracted packet for processing {"connection_id":64765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:46:00] 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-05-08 05:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:46:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":64765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:46:00] local.INFO: GPS data processed {"connection_id":64765,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:46:00] local.INFO: Acknowledgment sent {"connection_id":64765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:46:31] local.INFO: TCP Data received {"connection_id":64765,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:46:31] local.INFO: Processing buffer {"connection_id":64765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:46:31] local.INFO: Packet analysis {"connection_id":64765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:46:31] local.INFO: Extracted packet for processing {"connection_id":64765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:46:31] 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-05-08 05:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:46:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":64765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:46:31] local.INFO: GPS data processed {"connection_id":64765,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:46:31] local.INFO: Acknowledgment sent {"connection_id":64765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:46:58] local.INFO: TCP Data received {"connection_id":64859,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:46:58] local.INFO: Processing buffer {"connection_id":64859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:46:58] local.INFO: IMEI packet received {"connection_id":64859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":64859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:47:03] local.INFO: TCP Data received {"connection_id":64859,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:03] local.INFO: Processing buffer {"connection_id":64859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:03] local.INFO: IMEI packet received {"connection_id":64859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":64859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:47:05] local.INFO: TCP Data received {"connection_id":64859,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:47:05] local.INFO: Processing buffer {"connection_id":64859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:47:05] local.INFO: Packet analysis {"connection_id":64859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:47:05] local.INFO: Extracted packet for processing {"connection_id":64859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:47:05] 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-05-08 05:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:47:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":64859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:47:05] local.INFO: GPS data processed {"connection_id":64859,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:47:05] local.INFO: Acknowledgment sent {"connection_id":64859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:47:09] local.INFO: TCP Data received {"connection_id":64859,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:47:09] local.INFO: Processing buffer {"connection_id":64859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:47:09] local.INFO: Packet analysis {"connection_id":64859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:47:09] local.INFO: Extracted packet for processing {"connection_id":64859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 05:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:47: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-05-08 05:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 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-05-08 05: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-05-08 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":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 05:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:47:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":64859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:47:09] local.INFO: GPS data processed {"connection_id":64859,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:47:09] local.INFO: Acknowledgment sent {"connection_id":64859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:47:53] local.INFO: TCP Data received {"connection_id":64816,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:53] local.INFO: Processing buffer {"connection_id":64816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:53] local.INFO: IMEI packet received {"connection_id":64816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":64816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:47:58] local.INFO: TCP Data received {"connection_id":64816,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:58] local.INFO: Processing buffer {"connection_id":64816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:47:58] local.INFO: IMEI packet received {"connection_id":64816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:48:00] local.INFO: TCP Data received {"connection_id":64816,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:48:00] local.INFO: Processing buffer {"connection_id":64816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:48:00] local.INFO: Packet analysis {"connection_id":64816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:48:00] local.INFO: Extracted packet for processing {"connection_id":64816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:48:00] 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-05-08 05:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:48:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":64816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:48:00] local.INFO: GPS data processed {"connection_id":64816,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:48:00] local.INFO: Acknowledgment sent {"connection_id":64816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:48:22] local.INFO: TCP Data received {"connection_id":64815,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:48:22] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:48:22] local.INFO: IMEI packet received {"connection_id":64815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":64815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:48:31] local.INFO: TCP Data received {"connection_id":64816,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:48:31] local.INFO: Processing buffer {"connection_id":64816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:48:31] local.INFO: Packet analysis {"connection_id":64816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:48:31] local.INFO: Extracted packet for processing {"connection_id":64816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:48:31] 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-05-08 05:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:48:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":64816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:48:31] local.INFO: GPS data processed {"connection_id":64816,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:48:31] local.INFO: Acknowledgment sent {"connection_id":64816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:48:42] local.INFO: TCP Data received {"connection_id":64860,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:48:42] local.INFO: Processing buffer {"connection_id":64860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:48:42] local.INFO: IMEI packet received {"connection_id":64860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":64860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:48:53] local.INFO: TCP Data received {"connection_id":65621,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:48:53] local.INFO: Processing buffer {"connection_id":65621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:48:53] local.INFO: IMEI packet received {"connection_id":65621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":65621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:48:58] local.INFO: TCP Data received {"connection_id":65621,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:48:58] local.INFO: Processing buffer {"connection_id":65621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:48:58] local.INFO: IMEI packet received {"connection_id":65621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":65621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:49:00] local.INFO: TCP Data received {"connection_id":65621,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:49:00] local.INFO: Processing buffer {"connection_id":65621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:49:00] local.INFO: Packet analysis {"connection_id":65621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:49:00] local.INFO: Extracted packet for processing {"connection_id":65621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:49:00] 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-05-08 05:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:49:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":65621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:49:00] local.INFO: GPS data processed {"connection_id":65621,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:49:00] local.INFO: Acknowledgment sent {"connection_id":65621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:49:31] local.INFO: TCP Data received {"connection_id":65621,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:49:31] local.INFO: Processing buffer {"connection_id":65621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04ef1570012d34c54006aa50700000006225..."} 
[2026-05-08 05:49:31] local.INFO: Packet analysis {"connection_id":65621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:49:31] local.INFO: Extracted packet for processing {"connection_id":65621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04ef"} 
[2026-05-08 05:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455218927872001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:49:31] 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-05-08 05:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199238000,"timestamp_ms":1778199238000,"timestamp_seconds":1778199238,"priority":1,"record_length":96,"hex_timestamp":"0000019e04ef1570"} 
[2026-05-08 05:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 05:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455218927872001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455218927872001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:49:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455218927872001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":65621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:49:31] local.INFO: GPS data processed {"connection_id":65621,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:49:31] local.INFO: Acknowledgment sent {"connection_id":65621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:49:53] local.INFO: TCP Data received {"connection_id":64767,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:49:53] local.INFO: Processing buffer {"connection_id":64767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:49:53] local.INFO: IMEI packet received {"connection_id":64767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":64767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:49:58] local.INFO: TCP Data received {"connection_id":64767,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:49:58] local.INFO: Processing buffer {"connection_id":64767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:49:58] local.INFO: IMEI packet received {"connection_id":64767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":64767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:50:00] local.INFO: TCP Data received {"connection_id":64767,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:50:00] local.INFO: Processing buffer {"connection_id":64767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:50:00] local.INFO: Packet analysis {"connection_id":64767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:50:00] local.INFO: Extracted packet for processing {"connection_id":64767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:50:00] 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-05-08 05:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:50:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":64767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:50:00] local.INFO: GPS data processed {"connection_id":64767,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:50:00] local.INFO: Acknowledgment sent {"connection_id":64767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:50:31] local.INFO: TCP Data received {"connection_id":64767,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:50:31] local.INFO: Processing buffer {"connection_id":64767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:50:31] local.INFO: Packet analysis {"connection_id":64767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:50:31] local.INFO: Extracted packet for processing {"connection_id":64767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:50:31] 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-05-08 05:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:50:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":64767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:50:31] local.INFO: GPS data processed {"connection_id":64767,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:50:31] local.INFO: Acknowledgment sent {"connection_id":64767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:50:58] local.INFO: TCP Data received {"connection_id":64817,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:50:58] local.INFO: Processing buffer {"connection_id":64817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:50:58] local.INFO: IMEI packet received {"connection_id":64817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":64817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:51:03] local.INFO: TCP Data received {"connection_id":64817,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:03] local.INFO: Processing buffer {"connection_id":64817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:03] local.INFO: IMEI packet received {"connection_id":64817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":64817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:51:05] local.INFO: TCP Data received {"connection_id":64817,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:51:05] local.INFO: Processing buffer {"connection_id":64817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:51:05] local.INFO: Packet analysis {"connection_id":64817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:51:05] local.INFO: Extracted packet for processing {"connection_id":64817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:51:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:51:05] 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-05-08 05:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:51:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:51:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:51:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":64817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:51:05] local.INFO: GPS data processed {"connection_id":64817,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:51:05] local.INFO: Acknowledgment sent {"connection_id":64817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:51:09] local.INFO: TCP Data received {"connection_id":64817,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:51:09] local.INFO: Processing buffer {"connection_id":64817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:51:09] local.INFO: Packet analysis {"connection_id":64817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:51:09] local.INFO: Extracted packet for processing {"connection_id":64817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:51: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-05-08 05:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:51: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-05-08 05: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:51:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":64817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:51:09] local.INFO: GPS data processed {"connection_id":64817,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:51:09] local.INFO: Acknowledgment sent {"connection_id":64817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:51:53] local.INFO: TCP Data received {"connection_id":64768,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:53] local.INFO: Processing buffer {"connection_id":64768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:53] local.INFO: IMEI packet received {"connection_id":64768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":64768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:51:58] local.INFO: TCP Data received {"connection_id":64768,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:58] local.INFO: Processing buffer {"connection_id":64768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:51:58] local.INFO: IMEI packet received {"connection_id":64768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":64768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:52:00] local.INFO: TCP Data received {"connection_id":64768,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:52:00] local.INFO: Processing buffer {"connection_id":64768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:52:00] local.INFO: Packet analysis {"connection_id":64768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:52:00] local.INFO: Extracted packet for processing {"connection_id":64768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:52:00] 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-05-08 05:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:52:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":64768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:52:00] local.INFO: GPS data processed {"connection_id":64768,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:52:00] local.INFO: Acknowledgment sent {"connection_id":64768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:52:31] local.INFO: TCP Data received {"connection_id":64768,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:52:31] local.INFO: Processing buffer {"connection_id":64768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:52:31] local.INFO: Packet analysis {"connection_id":64768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:52:31] local.INFO: Extracted packet for processing {"connection_id":64768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:52:31] 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-05-08 05:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:52:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":64768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:52:31] local.INFO: GPS data processed {"connection_id":64768,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:52:31] local.INFO: Acknowledgment sent {"connection_id":64768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:52:53] local.INFO: TCP Data received {"connection_id":64861,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:52:53] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:52:53] local.INFO: IMEI packet received {"connection_id":64861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":64861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:52:58] local.INFO: TCP Data received {"connection_id":64861,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:52:58] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:52:58] local.INFO: IMEI packet received {"connection_id":64861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":64861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:53:00] local.INFO: TCP Data received {"connection_id":64861,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:53:00] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:53:00] local.INFO: Packet analysis {"connection_id":64861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:53:00] local.INFO: Extracted packet for processing {"connection_id":64861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:53:00] 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-05-08 05:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:53:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":64861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:53:00] local.INFO: GPS data processed {"connection_id":64861,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:53:00] local.INFO: Acknowledgment sent {"connection_id":64861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:53:31] local.INFO: TCP Data received {"connection_id":64861,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:53:31] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:53:31] local.INFO: Packet analysis {"connection_id":64861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:53:31] local.INFO: Extracted packet for processing {"connection_id":64861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:53:31] 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-05-08 05:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:53:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":64861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:53:31] local.INFO: GPS data processed {"connection_id":64861,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:53:31] local.INFO: Acknowledgment sent {"connection_id":64861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:53:53] local.INFO: TCP Data received {"connection_id":64769,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:53:53] local.INFO: Processing buffer {"connection_id":64769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:53:53] local.INFO: IMEI packet received {"connection_id":64769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":64769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:53:58] local.INFO: TCP Data received {"connection_id":64769,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:53:58] local.INFO: Processing buffer {"connection_id":64769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:53:58] local.INFO: IMEI packet received {"connection_id":64769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":64769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:54:00] local.INFO: TCP Data received {"connection_id":64769,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:54:00] local.INFO: Processing buffer {"connection_id":64769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:54:00] local.INFO: Packet analysis {"connection_id":64769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:54:00] local.INFO: Extracted packet for processing {"connection_id":64769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:54:00] 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-05-08 05:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:54:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":64769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:54:00] local.INFO: GPS data processed {"connection_id":64769,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:54:00] local.INFO: Acknowledgment sent {"connection_id":64769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:54:17] local.INFO: TCP Data received {"connection_id":65624,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:54:17] local.INFO: Processing buffer {"connection_id":65624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:54:17] local.INFO: IMEI packet received {"connection_id":65624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":65624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:54:31] local.INFO: TCP Data received {"connection_id":64769,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:54:31] local.INFO: Processing buffer {"connection_id":64769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f3ad38012d34c54006aa5070000000622b..."} 
[2026-05-08 05:54:31] local.INFO: Packet analysis {"connection_id":64769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:54:31] local.INFO: Extracted packet for processing {"connection_id":64769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f3"} 
[2026-05-08 05:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219004928001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:54:31] 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-05-08 05:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199539000,"timestamp_ms":1778199539000,"timestamp_seconds":1778199539,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f3ad38"} 
[2026-05-08 05:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 05:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219004928001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219004928001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:54:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219004928001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":64769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:54:31] local.INFO: GPS data processed {"connection_id":64769,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:54:31] local.INFO: Acknowledgment sent {"connection_id":64769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:54:42] local.INFO: TCP Data received {"connection_id":64819,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:54:42] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 05:54:42] local.INFO: IMEI packet received {"connection_id":64819,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 05:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":64819,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:54:58] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:54:58] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:54:58] local.INFO: IMEI packet received {"connection_id":64820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":64820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:55:03] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:03] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:03] local.INFO: IMEI packet received {"connection_id":64820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":64820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:55:04] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:55:04] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:55:04] local.INFO: Packet analysis {"connection_id":64820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:55:04] local.INFO: Extracted packet for processing {"connection_id":64820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:55:04] 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-05-08 05:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:55:04] 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-05-08 05: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-05-08 05:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:55:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":64820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:55:04] local.INFO: GPS data processed {"connection_id":64820,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:55:04] local.INFO: Acknowledgment sent {"connection_id":64820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:55:09] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:55:09] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:55:09] local.INFO: Packet analysis {"connection_id":64820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:55:09] local.INFO: Extracted packet for processing {"connection_id":64820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 05:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:55: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-05-08 05:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 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-05-08 05:55: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-05-08 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":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:55: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-05-08 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-05-08 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-05-08 05:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:55:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":64820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:55:09] local.INFO: GPS data processed {"connection_id":64820,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:55:09] local.INFO: Acknowledgment sent {"connection_id":64820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:55:53] local.INFO: TCP Data received {"connection_id":64770,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:53] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:53] local.INFO: IMEI packet received {"connection_id":64770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":64770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:55:58] local.INFO: TCP Data received {"connection_id":64770,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:58] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:55:58] local.INFO: IMEI packet received {"connection_id":64770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":64770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:56:00] local.INFO: TCP Data received {"connection_id":64770,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:56:00] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:56:00] local.INFO: Packet analysis {"connection_id":64770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:56:00] local.INFO: Extracted packet for processing {"connection_id":64770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:56:00] 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-05-08 05:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:56:00] 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-05-08 05:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:56:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":64770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:56:00] local.INFO: GPS data processed {"connection_id":64770,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:56:00] local.INFO: Acknowledgment sent {"connection_id":64770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:56:31] local.INFO: TCP Data received {"connection_id":64770,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:56:31] local.INFO: Processing buffer {"connection_id":64770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:56:31] local.INFO: Packet analysis {"connection_id":64770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:56:31] local.INFO: Extracted packet for processing {"connection_id":64770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:56:31] 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-05-08 05:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:56:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":64770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:56:31] local.INFO: GPS data processed {"connection_id":64770,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:56:31] local.INFO: Acknowledgment sent {"connection_id":64770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:56:53] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:56:53] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:56:53] local.INFO: IMEI packet received {"connection_id":64771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":64771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:56:58] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:56:58] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:56:58] local.INFO: IMEI packet received {"connection_id":64771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":64771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:57:00] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:00] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:00] local.INFO: Packet analysis {"connection_id":64771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:57:00] local.INFO: Extracted packet for processing {"connection_id":64771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:00] 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-05-08 05:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:57:00] 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-05-08 05:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:57:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":64771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:57:00] local.INFO: GPS data processed {"connection_id":64771,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:57:00] local.INFO: Acknowledgment sent {"connection_id":64771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:57:31] local.INFO: TCP Data received {"connection_id":64771,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:31] local.INFO: Processing buffer {"connection_id":64771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:31] local.INFO: Packet analysis {"connection_id":64771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:57:31] local.INFO: Extracted packet for processing {"connection_id":64771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:31] 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-05-08 05:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:57:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":64771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:57:31] local.INFO: GPS data processed {"connection_id":64771,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:57:31] local.INFO: Acknowledgment sent {"connection_id":64771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:57:53] local.INFO: TCP Data received {"connection_id":65627,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:57:53] local.INFO: Processing buffer {"connection_id":65627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:57:53] local.INFO: IMEI packet received {"connection_id":65627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":65627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:57:58] local.INFO: TCP Data received {"connection_id":65627,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:57:58] local.INFO: Processing buffer {"connection_id":65627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:57:58] local.INFO: IMEI packet received {"connection_id":65627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":65627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:57:59] local.INFO: TCP Data received {"connection_id":65627,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:59] local.INFO: Processing buffer {"connection_id":65627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:57:59] local.INFO: Packet analysis {"connection_id":65627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:57:59] local.INFO: Extracted packet for processing {"connection_id":65627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:57:59] 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-05-08 05:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:57:59] 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-05-08 05: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-05-08 05:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:57:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":65627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:57:59] local.INFO: GPS data processed {"connection_id":65627,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:57:59] local.INFO: Acknowledgment sent {"connection_id":65627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:58:31] local.INFO: TCP Data received {"connection_id":65627,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:58:31] local.INFO: Processing buffer {"connection_id":65627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:58:31] local.INFO: Packet analysis {"connection_id":65627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:58:31] local.INFO: Extracted packet for processing {"connection_id":65627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:58:31] 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-05-08 05:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05: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-05-08 05:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:58:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":65627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:58:31] local.INFO: GPS data processed {"connection_id":65627,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:58:31] local.INFO: Acknowledgment sent {"connection_id":65627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:58:58] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:58:58] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:58:58] local.INFO: IMEI packet received {"connection_id":64821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":64821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 05:59:03] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:59:03] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:59:03] local.INFO: IMEI packet received {"connection_id":64821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 05:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":64821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 05:59:05] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:59:05] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:59:05] local.INFO: Packet analysis {"connection_id":64821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:59:05] local.INFO: Extracted packet for processing {"connection_id":64821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 05:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:59:05] 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-05-08 05:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 05:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 05:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 05:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:59:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":64821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:59:05] local.INFO: GPS data processed {"connection_id":64821,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:59:05] local.INFO: Acknowledgment sent {"connection_id":64821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:59:36] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:59:36] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04f84500012d34c54006aa50700000006229..."} 
[2026-05-08 05:59:36] local.INFO: Packet analysis {"connection_id":64821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:59:36] local.INFO: Extracted packet for processing {"connection_id":64821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04f8"} 
[2026-05-08 05:59:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 05: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-05-08 05:59:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219081984001,"note":"Value kept but may cause issues"} 
[2026-05-08 05:59:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 05:59:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 05:59: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-05-08 05:59:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778199840000,"timestamp_ms":1778199840000,"timestamp_seconds":1778199840,"priority":1,"record_length":96,"hex_timestamp":"0000019e04f84500"} 
[2026-05-08 05:59:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 05:59: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-05-08 05: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 05:59: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-05-08 05: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-05-08 05:59:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 05:59:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 05:59:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 05:59:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:59:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 05:59:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 05:59:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 05:59:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 05:59:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219081984001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 05:59:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 05:59:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 05:59:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219081984001,"description":"Unknown IO ID 0"} 
[2026-05-08 05:59:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 05:59:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 05:59:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 05:59:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 05:59:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219081984001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 05:59:36] local.INFO: DEBUG: GPS processor result {"connection_id":64821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 05:59:36] local.INFO: GPS data processed {"connection_id":64821,"processed":1,"errors":0,"total":1} 
[2026-05-08 05:59:36] local.INFO: Acknowledgment sent {"connection_id":64821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 05:59:58] local.INFO: TCP Data received {"connection_id":64774,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:59:58] local.INFO: Processing buffer {"connection_id":64774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 05:59:58] local.INFO: IMEI packet received {"connection_id":64774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 05:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":64774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:00:03] local.INFO: TCP Data received {"connection_id":64774,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:03] local.INFO: Processing buffer {"connection_id":64774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:03] local.INFO: IMEI packet received {"connection_id":64774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":64774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:00:05] local.INFO: TCP Data received {"connection_id":64774,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:05] local.INFO: Processing buffer {"connection_id":64774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:05] local.INFO: Packet analysis {"connection_id":64774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:00:05] local.INFO: Extracted packet for processing {"connection_id":64774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:00:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00:05] 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-05-08 06:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 06:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:00:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:00:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:00:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:00:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":64774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:00:05] local.INFO: GPS data processed {"connection_id":64774,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:00:05] local.INFO: Acknowledgment sent {"connection_id":64774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:00:09] local.INFO: TCP Data received {"connection_id":64774,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:09] local.INFO: Processing buffer {"connection_id":64774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:09] local.INFO: Packet analysis {"connection_id":64774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:00:09] local.INFO: Extracted packet for processing {"connection_id":64774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00: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-05-08 06:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 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-05-08 06: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 06:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:00:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:00:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":64774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:00:09] local.INFO: GPS data processed {"connection_id":64774,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:00:09] local.INFO: Acknowledgment sent {"connection_id":64774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:00:18] local.INFO: TCP Data received {"connection_id":64773,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:00:18] local.INFO: Processing buffer {"connection_id":64773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:00:18] local.INFO: IMEI packet received {"connection_id":64773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":64773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:00:42] local.INFO: TCP Data received {"connection_id":64863,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:00:42] local.INFO: Processing buffer {"connection_id":64863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:00:42] local.INFO: IMEI packet received {"connection_id":64863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":64863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:00:53] local.INFO: TCP Data received {"connection_id":64864,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:53] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:53] local.INFO: IMEI packet received {"connection_id":64864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":64864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:00:58] local.INFO: TCP Data received {"connection_id":64864,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:58] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:00:58] local.INFO: IMEI packet received {"connection_id":64864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":64864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:00:59] local.INFO: TCP Data received {"connection_id":64864,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:59] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:00:59] local.INFO: Packet analysis {"connection_id":64864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:00:59] local.INFO: Extracted packet for processing {"connection_id":64864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:00:59] 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-05-08 06:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 06:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:00:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":64864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:00:59] local.INFO: GPS data processed {"connection_id":64864,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:00:59] local.INFO: Acknowledgment sent {"connection_id":64864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:01:31] local.INFO: TCP Data received {"connection_id":64864,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:01:31] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:01:31] local.INFO: Packet analysis {"connection_id":64864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:01:31] local.INFO: Extracted packet for processing {"connection_id":64864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:01:31] 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-05-08 06:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 06:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:01:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:01:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":64864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:01:31] local.INFO: GPS data processed {"connection_id":64864,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:01:31] local.INFO: Acknowledgment sent {"connection_id":64864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:01:53] local.INFO: TCP Data received {"connection_id":64822,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:01:53] local.INFO: Processing buffer {"connection_id":64822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:01:53] local.INFO: IMEI packet received {"connection_id":64822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":64822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:01:58] local.INFO: TCP Data received {"connection_id":64822,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:01:58] local.INFO: Processing buffer {"connection_id":64822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:01:58] local.INFO: IMEI packet received {"connection_id":64822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":64822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:02:00] local.INFO: TCP Data received {"connection_id":64822,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:02:00] local.INFO: Processing buffer {"connection_id":64822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:02:00] local.INFO: Packet analysis {"connection_id":64822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:02:00] local.INFO: Extracted packet for processing {"connection_id":64822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:02:00] 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-05-08 06:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 06:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:02:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":64822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:02:00] local.INFO: GPS data processed {"connection_id":64822,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:02:00] local.INFO: Acknowledgment sent {"connection_id":64822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:02:31] local.INFO: TCP Data received {"connection_id":64822,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:02:31] local.INFO: Processing buffer {"connection_id":64822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:02:31] local.INFO: Packet analysis {"connection_id":64822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:02:31] local.INFO: Extracted packet for processing {"connection_id":64822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:02:31] 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-05-08 06:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 06:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:02:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:02:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:02:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:02:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":64822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:02:32] local.INFO: GPS data processed {"connection_id":64822,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:02:32] local.INFO: Acknowledgment sent {"connection_id":64822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:02:53] local.INFO: TCP Data received {"connection_id":64777,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:02:53] local.INFO: Processing buffer {"connection_id":64777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:02:53] local.INFO: IMEI packet received {"connection_id":64777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":64777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:02:58] local.INFO: TCP Data received {"connection_id":64777,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:02:58] local.INFO: Processing buffer {"connection_id":64777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:02:58] local.INFO: IMEI packet received {"connection_id":64777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":64777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:03:00] local.INFO: TCP Data received {"connection_id":64777,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:03:00] local.INFO: Processing buffer {"connection_id":64777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:03:00] local.INFO: Packet analysis {"connection_id":64777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:03:00] local.INFO: Extracted packet for processing {"connection_id":64777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:03:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:03:00] 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-05-08 06:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 06:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:03:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:03:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:03:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":64777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:03:00] local.INFO: GPS data processed {"connection_id":64777,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:03:00] local.INFO: Acknowledgment sent {"connection_id":64777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:03:32] local.INFO: TCP Data received {"connection_id":64777,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:03:32] local.INFO: Processing buffer {"connection_id":64777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:03:32] local.INFO: Packet analysis {"connection_id":64777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:03:32] local.INFO: Extracted packet for processing {"connection_id":64777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:03:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:03:32] 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-05-08 06:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 06:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:03:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:03:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":64777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:03:32] local.INFO: GPS data processed {"connection_id":64777,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:03:32] local.INFO: Acknowledgment sent {"connection_id":64777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:03:58] local.INFO: TCP Data received {"connection_id":64866,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:03:58] local.INFO: Processing buffer {"connection_id":64866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:03:58] local.INFO: IMEI packet received {"connection_id":64866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":64866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:04:03] local.INFO: TCP Data received {"connection_id":64866,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:03] local.INFO: Processing buffer {"connection_id":64866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:03] local.INFO: IMEI packet received {"connection_id":64866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":64866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:04:04] local.INFO: TCP Data received {"connection_id":64866,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:04:04] local.INFO: Processing buffer {"connection_id":64866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:04:04] local.INFO: Packet analysis {"connection_id":64866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:04:04] local.INFO: Extracted packet for processing {"connection_id":64866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:04:04] 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-05-08 06:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 06:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:04:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":64866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:04:04] local.INFO: GPS data processed {"connection_id":64866,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:04:04] local.INFO: Acknowledgment sent {"connection_id":64866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:04:09] local.INFO: TCP Data received {"connection_id":64866,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:04:09] local.INFO: Processing buffer {"connection_id":64866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e04fcdcc8012d34c54006aa50700000006229..."} 
[2026-05-08 06:04:09] local.INFO: Packet analysis {"connection_id":64866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:04:09] local.INFO: Extracted packet for processing {"connection_id":64866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e04fc"} 
[2026-05-08 06:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219159040001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:04: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-05-08 06:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778200141000,"timestamp_ms":1778200141000,"timestamp_seconds":1778200141,"priority":1,"record_length":96,"hex_timestamp":"0000019e04fcdcc8"} 
[2026-05-08 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-05-08 06: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 06:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219159040001,"66":24451,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219159040001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:04:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219159040001,"power":24451,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":64866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:04:09] local.INFO: GPS data processed {"connection_id":64866,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:04:09] local.INFO: Acknowledgment sent {"connection_id":64866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:04:53] local.INFO: TCP Data received {"connection_id":65628,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:53] local.INFO: Processing buffer {"connection_id":65628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:53] local.INFO: IMEI packet received {"connection_id":65628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":65628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:04:59] local.INFO: TCP Data received {"connection_id":65628,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:59] local.INFO: Processing buffer {"connection_id":65628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:04:59] local.INFO: IMEI packet received {"connection_id":65628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:04:59] local.INFO: IMEI acknowledgment sent {"connection_id":65628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:05:00] local.INFO: TCP Data received {"connection_id":65628,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:05:00] local.INFO: Processing buffer {"connection_id":65628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:05:00] local.INFO: Packet analysis {"connection_id":65628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:05:00] local.INFO: Extracted packet for processing {"connection_id":65628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:05: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-05-08 06:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:05:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":65628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:05:00] local.INFO: GPS data processed {"connection_id":65628,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:05:00] local.INFO: Acknowledgment sent {"connection_id":65628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:05:32] local.INFO: TCP Data received {"connection_id":65628,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:05:32] local.INFO: Processing buffer {"connection_id":65628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:05:32] local.INFO: Packet analysis {"connection_id":65628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:05:32] local.INFO: Extracted packet for processing {"connection_id":65628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:05:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 06:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:05:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:05:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":65628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:05:32] local.INFO: GPS data processed {"connection_id":65628,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:05:32] local.INFO: Acknowledgment sent {"connection_id":65628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:05:53] local.INFO: TCP Data received {"connection_id":64824,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:05:53] local.INFO: Processing buffer {"connection_id":64824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:05:53] local.INFO: IMEI packet received {"connection_id":64824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":64824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:05:58] local.INFO: TCP Data received {"connection_id":64824,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:05:58] local.INFO: Processing buffer {"connection_id":64824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:05:58] local.INFO: IMEI packet received {"connection_id":64824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":64824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:06:00] local.INFO: TCP Data received {"connection_id":64824,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:00] local.INFO: Processing buffer {"connection_id":64824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:00] local.INFO: Packet analysis {"connection_id":64824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:06:00] local.INFO: Extracted packet for processing {"connection_id":64824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06: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-05-08 06:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:06:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":64824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:06:00] local.INFO: GPS data processed {"connection_id":64824,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:06:00] local.INFO: Acknowledgment sent {"connection_id":64824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:06:17] local.INFO: TCP Data received {"connection_id":64823,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:06:17] local.INFO: Processing buffer {"connection_id":64823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:06:17] local.INFO: IMEI packet received {"connection_id":64823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":64823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:06:31] local.INFO: TCP Data received {"connection_id":64824,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:31] local.INFO: Processing buffer {"connection_id":64824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:31] local.INFO: Packet analysis {"connection_id":64824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:06:31] local.INFO: Extracted packet for processing {"connection_id":64824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 06:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:06:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":64824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:06:31] local.INFO: GPS data processed {"connection_id":64824,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:06:31] local.INFO: Acknowledgment sent {"connection_id":64824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:06:42] local.INFO: TCP Data received {"connection_id":64867,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:06:42] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:06:42] local.INFO: IMEI packet received {"connection_id":64867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":64867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:06:53] local.INFO: TCP Data received {"connection_id":64779,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:06:53] local.INFO: Processing buffer {"connection_id":64779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:06:53] local.INFO: IMEI packet received {"connection_id":64779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":64779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:06:58] local.INFO: TCP Data received {"connection_id":64779,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:06:58] local.INFO: Processing buffer {"connection_id":64779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:06:58] local.INFO: IMEI packet received {"connection_id":64779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":64779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:06:59] local.INFO: TCP Data received {"connection_id":64779,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:59] local.INFO: Processing buffer {"connection_id":64779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:06:59] local.INFO: Packet analysis {"connection_id":64779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:06:59] local.INFO: Extracted packet for processing {"connection_id":64779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:06: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-05-08 06:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:06:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":64779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:06:59] local.INFO: GPS data processed {"connection_id":64779,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:06:59] local.INFO: Acknowledgment sent {"connection_id":64779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:07:31] local.INFO: TCP Data received {"connection_id":64779,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:07:31] local.INFO: Processing buffer {"connection_id":64779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:07:31] local.INFO: Packet analysis {"connection_id":64779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:07:31] local.INFO: Extracted packet for processing {"connection_id":64779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 06:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:07:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:07:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":64779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:07:31] local.INFO: GPS data processed {"connection_id":64779,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:07:31] local.INFO: Acknowledgment sent {"connection_id":64779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:07:53] local.INFO: TCP Data received {"connection_id":64869,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:07:53] local.INFO: Processing buffer {"connection_id":64869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:07:53] local.INFO: IMEI packet received {"connection_id":64869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":64869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:07:58] local.INFO: TCP Data received {"connection_id":64869,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:07:58] local.INFO: Processing buffer {"connection_id":64869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:07:58] local.INFO: IMEI packet received {"connection_id":64869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":64869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:07:59] local.INFO: TCP Data received {"connection_id":64869,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:07:59] local.INFO: Processing buffer {"connection_id":64869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:07:59] local.INFO: Packet analysis {"connection_id":64869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:07:59] local.INFO: Extracted packet for processing {"connection_id":64869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:07: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-05-08 06:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:07:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":64869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:07:59] local.INFO: GPS data processed {"connection_id":64869,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:07:59] local.INFO: Acknowledgment sent {"connection_id":64869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:08:31] local.INFO: TCP Data received {"connection_id":64869,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:08:31] local.INFO: Processing buffer {"connection_id":64869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:08:31] local.INFO: Packet analysis {"connection_id":64869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:08:31] local.INFO: Extracted packet for processing {"connection_id":64869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 06:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:08:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":64869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:08:31] local.INFO: GPS data processed {"connection_id":64869,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:08:31] local.INFO: Acknowledgment sent {"connection_id":64869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:08:58] local.INFO: TCP Data received {"connection_id":64826,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:08:58] local.INFO: Processing buffer {"connection_id":64826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:08:58] local.INFO: IMEI packet received {"connection_id":64826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":64826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:09:03] local.INFO: TCP Data received {"connection_id":64826,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:03] local.INFO: Processing buffer {"connection_id":64826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:03] local.INFO: IMEI packet received {"connection_id":64826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":64826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:09:04] local.INFO: TCP Data received {"connection_id":64826,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:09:04] local.INFO: Processing buffer {"connection_id":64826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:09:04] local.INFO: Packet analysis {"connection_id":64826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:09:04] local.INFO: Extracted packet for processing {"connection_id":64826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06: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-05-08 06:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:09:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":64826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:09:04] local.INFO: GPS data processed {"connection_id":64826,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:09:04] local.INFO: Acknowledgment sent {"connection_id":64826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:09:09] local.INFO: TCP Data received {"connection_id":64826,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:09:09] local.INFO: Processing buffer {"connection_id":64826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05017490012d34c54006aa5070000000622a..."} 
[2026-05-08 06:09:09] local.INFO: Packet analysis {"connection_id":64826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:09:09] local.INFO: Extracted packet for processing {"connection_id":64826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0501"} 
[2026-05-08 06:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219236096001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06: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-05-08 06:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778200442000,"timestamp_ms":1778200442000,"timestamp_seconds":1778200442,"priority":1,"record_length":96,"hex_timestamp":"0000019e05017490"} 
[2026-05-08 06:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06: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-05-08 06: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":95,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 06:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1852,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219236096001,"66":24299,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 06:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219236096001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:09:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 06:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219236096001,"power":24299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":64826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:09:09] local.INFO: GPS data processed {"connection_id":64826,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:09:09] local.INFO: Acknowledgment sent {"connection_id":64826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:09:53] local.INFO: TCP Data received {"connection_id":65629,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:53] local.INFO: Processing buffer {"connection_id":65629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:53] local.INFO: IMEI packet received {"connection_id":65629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":65629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:09:59] local.INFO: TCP Data received {"connection_id":65629,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65629,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:59] local.INFO: Processing buffer {"connection_id":65629,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:09:59] local.INFO: IMEI packet received {"connection_id":65629,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:09:59] local.INFO: IMEI acknowledgment sent {"connection_id":65629,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:10:00] local.INFO: TCP Data received {"connection_id":65629,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:00] local.INFO: Processing buffer {"connection_id":65629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:00] local.INFO: Packet analysis {"connection_id":65629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:10:00] local.INFO: Extracted packet for processing {"connection_id":65629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:00] 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-05-08 06:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:10:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":65629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:10:00] local.INFO: GPS data processed {"connection_id":65629,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:10:00] local.INFO: Acknowledgment sent {"connection_id":65629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:10:32] local.INFO: TCP Data received {"connection_id":65629,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:32] local.INFO: Processing buffer {"connection_id":65629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:32] local.INFO: Packet analysis {"connection_id":65629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:10:32] local.INFO: Extracted packet for processing {"connection_id":65629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:32] 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-05-08 06:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65629,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:10:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":65629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:10:32] local.INFO: GPS data processed {"connection_id":65629,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:10:32] local.INFO: Acknowledgment sent {"connection_id":65629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:10:53] local.INFO: TCP Data received {"connection_id":64780,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:10:53] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:10:53] local.INFO: IMEI packet received {"connection_id":64780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":64780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:10:58] local.INFO: TCP Data received {"connection_id":64780,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:10:58] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:10:58] local.INFO: IMEI packet received {"connection_id":64780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":64780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:10:59] local.INFO: TCP Data received {"connection_id":64780,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:59] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:10:59] local.INFO: Packet analysis {"connection_id":64780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:10:59] local.INFO: Extracted packet for processing {"connection_id":64780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:10:59] 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-05-08 06:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:10:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":64780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:10:59] local.INFO: GPS data processed {"connection_id":64780,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:10:59] local.INFO: Acknowledgment sent {"connection_id":64780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:11:31] local.INFO: TCP Data received {"connection_id":64780,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:11:31] local.INFO: Processing buffer {"connection_id":64780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:11:31] local.INFO: Packet analysis {"connection_id":64780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:11:31] local.INFO: Extracted packet for processing {"connection_id":64780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:11:31] 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-05-08 06:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:11:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":64780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:11:31] local.INFO: GPS data processed {"connection_id":64780,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:11:31] local.INFO: Acknowledgment sent {"connection_id":64780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:11:53] local.INFO: TCP Data received {"connection_id":64781,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:11:53] local.INFO: Processing buffer {"connection_id":64781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:11:53] local.INFO: IMEI packet received {"connection_id":64781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":64781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:11:58] local.INFO: TCP Data received {"connection_id":64781,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:11:58] local.INFO: Processing buffer {"connection_id":64781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:11:58] local.INFO: IMEI packet received {"connection_id":64781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":64781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:11:59] local.INFO: TCP Data received {"connection_id":64781,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:11:59] local.INFO: Processing buffer {"connection_id":64781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:11:59] local.INFO: Packet analysis {"connection_id":64781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:11:59] local.INFO: Extracted packet for processing {"connection_id":64781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:11:59] 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-05-08 06:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:11:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":64781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:11:59] local.INFO: GPS data processed {"connection_id":64781,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:11:59] local.INFO: Acknowledgment sent {"connection_id":64781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:12:12] local.INFO: TCP Data received {"connection_id":64872,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:12:12] local.INFO: Processing buffer {"connection_id":64872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:12:12] local.INFO: IMEI packet received {"connection_id":64872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":64872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:12:30] local.INFO: TCP Data received {"connection_id":64781,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:12:30] local.INFO: Processing buffer {"connection_id":64781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:12:30] local.INFO: Packet analysis {"connection_id":64781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:12:30] local.INFO: Extracted packet for processing {"connection_id":64781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:12:30] 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-05-08 06:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:12: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-05-08 06:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:12:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":64781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:12:30] local.INFO: GPS data processed {"connection_id":64781,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:12:30] local.INFO: Acknowledgment sent {"connection_id":64781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:12:42] local.INFO: TCP Data received {"connection_id":65630,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:12:42] local.INFO: Processing buffer {"connection_id":65630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:12:42] local.INFO: IMEI packet received {"connection_id":65630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":65630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:12:58] local.INFO: TCP Data received {"connection_id":64873,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:12:58] local.INFO: Processing buffer {"connection_id":64873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:12:58] local.INFO: IMEI packet received {"connection_id":64873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":64873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:13:03] local.INFO: TCP Data received {"connection_id":64873,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:03] local.INFO: Processing buffer {"connection_id":64873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:03] local.INFO: IMEI packet received {"connection_id":64873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":64873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:13:04] local.INFO: TCP Data received {"connection_id":64873,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:04] local.INFO: Processing buffer {"connection_id":64873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:04] local.INFO: Packet analysis {"connection_id":64873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:13:04] local.INFO: Extracted packet for processing {"connection_id":64873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13:04] 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-05-08 06:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:13:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":64873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:13:04] local.INFO: GPS data processed {"connection_id":64873,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:13:04] local.INFO: Acknowledgment sent {"connection_id":64873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:13:09] local.INFO: TCP Data received {"connection_id":64873,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:09] local.INFO: Processing buffer {"connection_id":64873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:09] local.INFO: Packet analysis {"connection_id":64873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:13:09] local.INFO: Extracted packet for processing {"connection_id":64873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13: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-05-08 06:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 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-05-08 06:13: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-05-08 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":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 06:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:13:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:13:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":64873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:13:09] local.INFO: GPS data processed {"connection_id":64873,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:13:09] local.INFO: Acknowledgment sent {"connection_id":64873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:13:53] local.INFO: TCP Data received {"connection_id":65631,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:53] local.INFO: Processing buffer {"connection_id":65631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:53] local.INFO: IMEI packet received {"connection_id":65631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":65631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:13:58] local.INFO: TCP Data received {"connection_id":65631,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:58] local.INFO: Processing buffer {"connection_id":65631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:13:58] local.INFO: IMEI packet received {"connection_id":65631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":65631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:13:59] local.INFO: TCP Data received {"connection_id":65631,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:59] local.INFO: Processing buffer {"connection_id":65631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:13:59] local.INFO: Packet analysis {"connection_id":65631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:13:59] local.INFO: Extracted packet for processing {"connection_id":65631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:13:59] 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-05-08 06:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:13:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":65631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:13:59] local.INFO: GPS data processed {"connection_id":65631,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:13:59] local.INFO: Acknowledgment sent {"connection_id":65631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:14:31] local.INFO: TCP Data received {"connection_id":65631,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:14:31] local.INFO: Processing buffer {"connection_id":65631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05060c58012d34c54006aa50700000006229..."} 
[2026-05-08 06:14:31] local.INFO: Packet analysis {"connection_id":65631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:14:31] local.INFO: Extracted packet for processing {"connection_id":65631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0506"} 
[2026-05-08 06:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219313152001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:14:31] 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-05-08 06:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778200743000,"timestamp_ms":1778200743000,"timestamp_seconds":1778200743,"priority":1,"record_length":96,"hex_timestamp":"0000019e05060c58"} 
[2026-05-08 06:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 06:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2783,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:14:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219313152001,"66":25125,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219313152001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:14:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219313152001,"power":25125,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":65631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:14:31] local.INFO: GPS data processed {"connection_id":65631,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:14:31] local.INFO: Acknowledgment sent {"connection_id":65631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:14:53] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:14:53] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:14:53] local.INFO: IMEI packet received {"connection_id":64783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":64783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:14:58] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:14:58] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:14:58] local.INFO: IMEI packet received {"connection_id":64783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":64783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:14:59] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:14:59] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:14:59] local.INFO: Packet analysis {"connection_id":64783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:14:59] local.INFO: Extracted packet for processing {"connection_id":64783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:14:59] 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-05-08 06:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:14:59] 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-05-08 06:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:14:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":64783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:14:59] local.INFO: GPS data processed {"connection_id":64783,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:14:59] local.INFO: Acknowledgment sent {"connection_id":64783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:15:31] local.INFO: TCP Data received {"connection_id":64783,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:15:31] local.INFO: Processing buffer {"connection_id":64783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:15:31] local.INFO: Packet analysis {"connection_id":64783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:15:31] local.INFO: Extracted packet for processing {"connection_id":64783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:15:31] 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-05-08 06:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:15:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":64783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:15:31] local.INFO: GPS data processed {"connection_id":64783,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:15:31] local.INFO: Acknowledgment sent {"connection_id":64783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:15:58] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:15:58] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:15:58] local.INFO: IMEI packet received {"connection_id":64828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":64828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:16:03] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:03] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:03] local.INFO: IMEI packet received {"connection_id":64828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":64828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:16:04] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:04] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:04] local.INFO: Packet analysis {"connection_id":64828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:16:04] local.INFO: Extracted packet for processing {"connection_id":64828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16:04] 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-05-08 06:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:16:04] 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-05-08 06:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:16:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":64828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:16:04] local.INFO: GPS data processed {"connection_id":64828,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:16:04] local.INFO: Acknowledgment sent {"connection_id":64828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:16:09] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:09] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:09] local.INFO: Packet analysis {"connection_id":64828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:16:09] local.INFO: Extracted packet for processing {"connection_id":64828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16: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-05-08 06:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06: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-05-08 06: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:16: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-05-08 06: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-05-08 06:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:16:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":64828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:16:09] local.INFO: GPS data processed {"connection_id":64828,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:16:09] local.INFO: Acknowledgment sent {"connection_id":64828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:16:53] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:53] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:53] local.INFO: IMEI packet received {"connection_id":64784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":64784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:16:58] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:58] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:16:58] local.INFO: IMEI packet received {"connection_id":64784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":64784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:16:59] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:59] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:16:59] local.INFO: Packet analysis {"connection_id":64784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:16:59] local.INFO: Extracted packet for processing {"connection_id":64784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:16:59] 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-05-08 06:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:16:59] 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-05-08 06:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:16:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":64784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:16:59] local.INFO: GPS data processed {"connection_id":64784,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:16:59] local.INFO: Acknowledgment sent {"connection_id":64784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:17:31] local.INFO: TCP Data received {"connection_id":64784,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:17:31] local.INFO: Processing buffer {"connection_id":64784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:17:31] local.INFO: Packet analysis {"connection_id":64784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:17:31] local.INFO: Extracted packet for processing {"connection_id":64784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:17:31] 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-05-08 06:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:17:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":64784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:17:31] local.INFO: GPS data processed {"connection_id":64784,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:17:31] local.INFO: Acknowledgment sent {"connection_id":64784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:17:53] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:17:53] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:17:53] local.INFO: IMEI packet received {"connection_id":64875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":64875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:17:58] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:17:58] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:17:58] local.INFO: IMEI packet received {"connection_id":64875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":64875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:18:00] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:18:00] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:18:00] local.INFO: Packet analysis {"connection_id":64875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:18:00] local.INFO: Extracted packet for processing {"connection_id":64875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:18:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:18:00] 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-05-08 06:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:18:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:18:00] 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-05-08 06:18:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:18:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":64875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:18:00] local.INFO: GPS data processed {"connection_id":64875,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:18:00] local.INFO: Acknowledgment sent {"connection_id":64875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:18:02] local.INFO: TCP Data received {"connection_id":65633,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:18:02] local.INFO: Processing buffer {"connection_id":65633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:18:02] local.INFO: IMEI packet received {"connection_id":65633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":65633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:18:31] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:18:31] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:18:31] local.INFO: Packet analysis {"connection_id":64875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:18:31] local.INFO: Extracted packet for processing {"connection_id":64875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:18:31] 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-05-08 06:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:18:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":64875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:18:31] local.INFO: GPS data processed {"connection_id":64875,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:18:31] local.INFO: Acknowledgment sent {"connection_id":64875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:18:43] local.INFO: TCP Data received {"connection_id":64829,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:18:43] local.INFO: Processing buffer {"connection_id":64829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:18:43] local.INFO: IMEI packet received {"connection_id":64829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":64829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:18:53] local.INFO: TCP Data received {"connection_id":65634,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:18:53] local.INFO: Processing buffer {"connection_id":65634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:18:53] local.INFO: IMEI packet received {"connection_id":65634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":65634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:18:58] local.INFO: TCP Data received {"connection_id":65634,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:18:58] local.INFO: Processing buffer {"connection_id":65634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:18:58] local.INFO: IMEI packet received {"connection_id":65634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":65634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:19:00] local.INFO: TCP Data received {"connection_id":65634,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:19:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:19:00] local.INFO: Processing buffer {"connection_id":65634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:19:00] local.INFO: Packet analysis {"connection_id":65634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:19:00] local.INFO: Extracted packet for processing {"connection_id":65634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:19:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:19:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:19:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:19:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:19:00] 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-05-08 06:19:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:19:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:19:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:19:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:19:00] 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-05-08 06:19:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:19:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:19:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:19:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:19:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:19:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:19:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:19:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:19:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:19:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:19:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:19:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:19:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:19:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:19:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:19:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:19:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:19:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:19:00] local.INFO: DEBUG: GPS processor result {"connection_id":65634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:19:00] local.INFO: GPS data processed {"connection_id":65634,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:19:00] local.INFO: Acknowledgment sent {"connection_id":65634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:19:31] local.INFO: TCP Data received {"connection_id":65634,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:19:31] local.INFO: Processing buffer {"connection_id":65634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050aa420012d34c54006aa50700000006223..."} 
[2026-05-08 06:19:31] local.INFO: Packet analysis {"connection_id":65634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:19:31] local.INFO: Extracted packet for processing {"connection_id":65634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050a"} 
[2026-05-08 06:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219390208001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:19:31] 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-05-08 06:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201044000,"timestamp_ms":1778201044000,"timestamp_seconds":1778201044,"priority":1,"record_length":96,"hex_timestamp":"0000019e050aa420"} 
[2026-05-08 06:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:19:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 06:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:19:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219390208001,"66":25104,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219390208001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:19:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219390208001,"power":25104,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":65634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:19:31] local.INFO: GPS data processed {"connection_id":65634,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:19:31] local.INFO: Acknowledgment sent {"connection_id":65634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:19:53] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:19:53] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:19:53] local.INFO: IMEI packet received {"connection_id":64877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":64877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:19:58] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:19:58] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:19:58] local.INFO: IMEI packet received {"connection_id":64877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":64877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:20:00] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:20:00] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:20:00] local.INFO: Packet analysis {"connection_id":64877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:20:00] local.INFO: Extracted packet for processing {"connection_id":64877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:20:00] 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-05-08 06:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:20:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":64877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:20:00] local.INFO: GPS data processed {"connection_id":64877,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:20:00] local.INFO: Acknowledgment sent {"connection_id":64877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:20:32] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:20:32] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:20:32] local.INFO: Packet analysis {"connection_id":64877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:20:32] local.INFO: Extracted packet for processing {"connection_id":64877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:20:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:20:32] 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-05-08 06:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:20:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":64877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:20:32] local.INFO: GPS data processed {"connection_id":64877,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:20:32] local.INFO: Acknowledgment sent {"connection_id":64877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:20:53] local.INFO: TCP Data received {"connection_id":64786,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:20:53] local.INFO: Processing buffer {"connection_id":64786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:20:53] local.INFO: IMEI packet received {"connection_id":64786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":64786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:20:58] local.INFO: TCP Data received {"connection_id":64786,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:20:58] local.INFO: Processing buffer {"connection_id":64786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:20:58] local.INFO: IMEI packet received {"connection_id":64786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":64786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:21:00] local.INFO: TCP Data received {"connection_id":64786,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:21:00] local.INFO: Processing buffer {"connection_id":64786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:21:00] local.INFO: Packet analysis {"connection_id":64786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:21:00] local.INFO: Extracted packet for processing {"connection_id":64786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:21:00] 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-05-08 06:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:21:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":64786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:21:00] local.INFO: GPS data processed {"connection_id":64786,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:21:00] local.INFO: Acknowledgment sent {"connection_id":64786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:21:32] local.INFO: TCP Data received {"connection_id":64786,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:21:32] local.INFO: Processing buffer {"connection_id":64786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:21:32] local.INFO: Packet analysis {"connection_id":64786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:21:32] local.INFO: Extracted packet for processing {"connection_id":64786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:21:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:21:32] 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-05-08 06:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:21:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":64786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:21:32] local.INFO: GPS data processed {"connection_id":64786,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:21:32] local.INFO: Acknowledgment sent {"connection_id":64786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:21:53] local.INFO: TCP Data received {"connection_id":64788,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:21:53] local.INFO: Processing buffer {"connection_id":64788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:21:53] local.INFO: IMEI packet received {"connection_id":64788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":64788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:21:58] local.INFO: TCP Data received {"connection_id":64788,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:21:58] local.INFO: Processing buffer {"connection_id":64788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:21:58] local.INFO: IMEI packet received {"connection_id":64788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":64788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:22:00] local.INFO: TCP Data received {"connection_id":64788,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:00] local.INFO: Processing buffer {"connection_id":64788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:00] local.INFO: Packet analysis {"connection_id":64788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:22:00] local.INFO: Extracted packet for processing {"connection_id":64788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:00] 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-05-08 06:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:22:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":64788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:22:00] local.INFO: GPS data processed {"connection_id":64788,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:22:00] local.INFO: Acknowledgment sent {"connection_id":64788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:22:31] local.INFO: TCP Data received {"connection_id":64788,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:31] local.INFO: Processing buffer {"connection_id":64788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:31] local.INFO: Packet analysis {"connection_id":64788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:22:31] local.INFO: Extracted packet for processing {"connection_id":64788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:31] 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-05-08 06:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":64788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:22:31] local.INFO: GPS data processed {"connection_id":64788,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:22:31] local.INFO: Acknowledgment sent {"connection_id":64788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:22:53] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:22:53] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:22:53] local.INFO: IMEI packet received {"connection_id":64879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":64879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:22:58] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:22:58] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:22:58] local.INFO: IMEI packet received {"connection_id":64879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":64879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:22:59] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:59] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:22:59] local.INFO: Packet analysis {"connection_id":64879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:22:59] local.INFO: Extracted packet for processing {"connection_id":64879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:22:59] 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-05-08 06:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:22:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":64879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:22:59] local.INFO: GPS data processed {"connection_id":64879,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:22:59] local.INFO: Acknowledgment sent {"connection_id":64879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:23:31] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:23:31] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:23:31] local.INFO: Packet analysis {"connection_id":64879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:23:31] local.INFO: Extracted packet for processing {"connection_id":64879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:23:31] 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-05-08 06:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:23:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:23:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":64879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:23:31] local.INFO: GPS data processed {"connection_id":64879,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:23:31] local.INFO: Acknowledgment sent {"connection_id":64879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:23:53] local.INFO: TCP Data received {"connection_id":64790,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:23:53] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:23:53] local.INFO: IMEI packet received {"connection_id":64790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":64790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:23:58] local.INFO: TCP Data received {"connection_id":64790,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:23:58] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:23:58] local.INFO: IMEI packet received {"connection_id":64790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":64790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:24:00] local.INFO: TCP Data received {"connection_id":64790,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:24:00] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:24:00] local.INFO: Packet analysis {"connection_id":64790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:24:00] local.INFO: Extracted packet for processing {"connection_id":64790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:24:00] 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-05-08 06:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:24:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":64790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:24:00] local.INFO: GPS data processed {"connection_id":64790,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:24:00] local.INFO: Acknowledgment sent {"connection_id":64790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:24:36] local.INFO: TCP Data received {"connection_id":64790,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:24:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:24:36] local.INFO: Processing buffer {"connection_id":64790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e050f3be8012d34c54006aa50700000006227..."} 
[2026-05-08 06:24:36] local.INFO: Packet analysis {"connection_id":64790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:24:36] local.INFO: Extracted packet for processing {"connection_id":64790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e050f"} 
[2026-05-08 06:24:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:24:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219467264001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:24:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:24:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:24: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-05-08 06:24:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778201345000,"timestamp_ms":1778201345000,"timestamp_seconds":1778201345,"priority":1,"record_length":96,"hex_timestamp":"0000019e050f3be8"} 
[2026-05-08 06:24:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:24: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-05-08 06:24:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 06:24:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:24:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:24:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:24:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:24:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:24:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:24:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:24:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:24:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:24:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:24:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219467264001,"66":25028,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:24:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:24:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:24:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219467264001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:24:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:24:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:24:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:24:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:24:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219467264001,"power":25028,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:24:36] local.INFO: DEBUG: GPS processor result {"connection_id":64790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:24:36] local.INFO: GPS data processed {"connection_id":64790,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:24:36] local.INFO: Acknowledgment sent {"connection_id":64790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:24:42] local.INFO: TCP Data received {"connection_id":65635,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:24:42] local.INFO: Processing buffer {"connection_id":65635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:24:42] local.INFO: IMEI packet received {"connection_id":65635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":65635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:24:58] local.INFO: TCP Data received {"connection_id":65636,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:24:58] local.INFO: Processing buffer {"connection_id":65636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:24:58] local.INFO: IMEI packet received {"connection_id":65636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":65636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:25:03] local.INFO: TCP Data received {"connection_id":65636,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:03] local.INFO: Processing buffer {"connection_id":65636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:03] local.INFO: IMEI packet received {"connection_id":65636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":65636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:25:05] local.INFO: TCP Data received {"connection_id":65636,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:05] local.INFO: Processing buffer {"connection_id":65636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:05] local.INFO: Packet analysis {"connection_id":65636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:25:05] local.INFO: Extracted packet for processing {"connection_id":65636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:25:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25:05] 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-05-08 06:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:25:05] 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-05-08 06:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:25:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":65636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:25:05] local.INFO: GPS data processed {"connection_id":65636,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:25:05] local.INFO: Acknowledgment sent {"connection_id":65636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:25:09] local.INFO: TCP Data received {"connection_id":65636,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:09] local.INFO: Processing buffer {"connection_id":65636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:09] local.INFO: Packet analysis {"connection_id":65636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:25:09] local.INFO: Extracted packet for processing {"connection_id":65636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25: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-05-08 06:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:25:09] 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-05-08 06: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-05-08 06:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:25:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:25:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":65636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:25:09] local.INFO: GPS data processed {"connection_id":65636,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:25:09] local.INFO: Acknowledgment sent {"connection_id":65636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:25:53] local.INFO: TCP Data received {"connection_id":64830,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:53] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:53] local.INFO: IMEI packet received {"connection_id":64830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":64830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:25:58] local.INFO: TCP Data received {"connection_id":64830,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:58] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:25:58] local.INFO: IMEI packet received {"connection_id":64830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":64830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:25:59] local.INFO: TCP Data received {"connection_id":64830,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:59] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:25:59] local.INFO: Packet analysis {"connection_id":64830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:25:59] local.INFO: Extracted packet for processing {"connection_id":64830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:25:59] 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-05-08 06:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:25:59] 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-05-08 06:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:25:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":64830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:25:59] local.INFO: GPS data processed {"connection_id":64830,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:25:59] local.INFO: Acknowledgment sent {"connection_id":64830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:26:32] local.INFO: TCP Data received {"connection_id":64830,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:26:32] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:26:32] local.INFO: Packet analysis {"connection_id":64830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:26:32] local.INFO: Extracted packet for processing {"connection_id":64830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:26:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:26:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:26:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:26:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:26:32] 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-05-08 06:26:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:26:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:26:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:26:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:26:32] 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-05-08 06:26:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:26:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:26:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:26:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:26:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:26:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:26:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:26:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:26:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:26:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:26:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:26:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:26:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:26:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:26:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:26:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:26:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:26:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:26:32] local.INFO: DEBUG: GPS processor result {"connection_id":64830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:26:32] local.INFO: GPS data processed {"connection_id":64830,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:26:32] local.INFO: Acknowledgment sent {"connection_id":64830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:26:53] local.INFO: TCP Data received {"connection_id":64880,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:26:53] local.INFO: Processing buffer {"connection_id":64880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:26:53] local.INFO: IMEI packet received {"connection_id":64880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":64880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:26:58] local.INFO: TCP Data received {"connection_id":64880,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:26:58] local.INFO: Processing buffer {"connection_id":64880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:26:58] local.INFO: IMEI packet received {"connection_id":64880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":64880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:26:59] local.INFO: TCP Data received {"connection_id":64880,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:26:59] local.INFO: Processing buffer {"connection_id":64880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:26:59] local.INFO: Packet analysis {"connection_id":64880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:26:59] local.INFO: Extracted packet for processing {"connection_id":64880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:26:59] 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-05-08 06:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:26:59] 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-05-08 06:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:26:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":64880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:26:59] local.INFO: GPS data processed {"connection_id":64880,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:26:59] local.INFO: Acknowledgment sent {"connection_id":64880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:27:31] local.INFO: TCP Data received {"connection_id":64880,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:27:31] local.INFO: Processing buffer {"connection_id":64880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:27:31] local.INFO: Packet analysis {"connection_id":64880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:27:31] local.INFO: Extracted packet for processing {"connection_id":64880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:27:31] 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-05-08 06:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:27:31] 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-05-08 06:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:27:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":64880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:27:31] local.INFO: GPS data processed {"connection_id":64880,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:27:31] local.INFO: Acknowledgment sent {"connection_id":64880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:27:53] local.INFO: TCP Data received {"connection_id":64793,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:27:53] local.INFO: Processing buffer {"connection_id":64793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:27:53] local.INFO: IMEI packet received {"connection_id":64793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":64793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:27:58] local.INFO: TCP Data received {"connection_id":64793,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:27:58] local.INFO: Processing buffer {"connection_id":64793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:27:58] local.INFO: IMEI packet received {"connection_id":64793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":64793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:27:59] local.INFO: TCP Data received {"connection_id":64793,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:27:59] local.INFO: Processing buffer {"connection_id":64793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:27:59] local.INFO: Packet analysis {"connection_id":64793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:27:59] local.INFO: Extracted packet for processing {"connection_id":64793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:27:59] 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-05-08 06:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:27:59] 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-05-08 06:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:27:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":64793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:27:59] local.INFO: GPS data processed {"connection_id":64793,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:27:59] local.INFO: Acknowledgment sent {"connection_id":64793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:28:30] local.INFO: TCP Data received {"connection_id":64793,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:28:30] local.INFO: Processing buffer {"connection_id":64793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:28:30] local.INFO: Packet analysis {"connection_id":64793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:28:30] local.INFO: Extracted packet for processing {"connection_id":64793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:28:30] 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-05-08 06:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:28: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-05-08 06:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:28:30] 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-05-08 06:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:28:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":64793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:28:30] local.INFO: GPS data processed {"connection_id":64793,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:28:30] local.INFO: Acknowledgment sent {"connection_id":64793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:28:58] local.INFO: TCP Data received {"connection_id":64794,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:28:58] local.INFO: Processing buffer {"connection_id":64794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:28:58] local.INFO: IMEI packet received {"connection_id":64794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":64794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:29:03] local.INFO: TCP Data received {"connection_id":64794,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:03] local.INFO: Processing buffer {"connection_id":64794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:03] local.INFO: IMEI packet received {"connection_id":64794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":64794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:29:04] local.INFO: TCP Data received {"connection_id":64794,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:29:04] local.INFO: Processing buffer {"connection_id":64794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:29:04] local.INFO: Packet analysis {"connection_id":64794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:29:04] local.INFO: Extracted packet for processing {"connection_id":64794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:29:04] 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-05-08 06:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:29:04] 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-05-08 06: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-05-08 06:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:29:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":64794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:29:04] local.INFO: GPS data processed {"connection_id":64794,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:29:04] local.INFO: Acknowledgment sent {"connection_id":64794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:29:09] local.INFO: TCP Data received {"connection_id":64794,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:29:09] local.INFO: Processing buffer {"connection_id":64794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0513d3b0012d34c54006aa50700000006227..."} 
[2026-05-08 06:29:09] local.INFO: Packet analysis {"connection_id":64794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:29:09] local.INFO: Extracted packet for processing {"connection_id":64794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0513"} 
[2026-05-08 06:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219544320001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:29: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-05-08 06:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778201646000,"timestamp_ms":1778201646000,"timestamp_seconds":1778201646,"priority":1,"record_length":96,"hex_timestamp":"0000019e0513d3b0"} 
[2026-05-08 06:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":97,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 06:29:09] 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-05-08 06: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-05-08 06:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219544320001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219544320001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:29:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:29:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219544320001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":64794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:29:09] local.INFO: GPS data processed {"connection_id":64794,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:29:09] local.INFO: Acknowledgment sent {"connection_id":64794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:29:53] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:53] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:53] local.INFO: IMEI packet received {"connection_id":64882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":64882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:29:58] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:58] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:29:58] local.INFO: IMEI packet received {"connection_id":64882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":64882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:30:00] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:00] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:00] local.INFO: Packet analysis {"connection_id":64882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:30:00] local.INFO: Extracted packet for processing {"connection_id":64882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30:00] 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-05-08 06:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:30:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":64882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:30:00] local.INFO: GPS data processed {"connection_id":64882,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:30:00] local.INFO: Acknowledgment sent {"connection_id":64882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:30:04] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:04] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:04] local.INFO: Packet analysis {"connection_id":64882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:30:04] local.INFO: Extracted packet for processing {"connection_id":64882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30:04] 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-05-08 06:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:30:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":64882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:30:04] local.INFO: GPS data processed {"connection_id":64882,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:30:04] local.INFO: Acknowledgment sent {"connection_id":64882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:30:22] local.INFO: TCP Data received {"connection_id":64881,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:30:22] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:30:22] local.INFO: IMEI packet received {"connection_id":64881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":64881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:30:36] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:36] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:30:36] local.INFO: Packet analysis {"connection_id":64882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:30:36] local.INFO: Extracted packet for processing {"connection_id":64882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:30: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-05-08 06:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:30: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-05-08 06: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:30:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":64882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:30:36] local.INFO: GPS data processed {"connection_id":64882,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:30:36] local.INFO: Acknowledgment sent {"connection_id":64882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:30:42] local.INFO: TCP Data received {"connection_id":65637,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:30:42] local.INFO: Processing buffer {"connection_id":65637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:30:42] local.INFO: IMEI packet received {"connection_id":65637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":65637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:30:53] local.INFO: TCP Data received {"connection_id":65638,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:30:53] local.INFO: Processing buffer {"connection_id":65638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:30:53] local.INFO: IMEI packet received {"connection_id":65638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":65638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:30:58] local.INFO: TCP Data received {"connection_id":65638,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:30:58] local.INFO: Processing buffer {"connection_id":65638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:30:58] local.INFO: IMEI packet received {"connection_id":65638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":65638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:31:00] local.INFO: TCP Data received {"connection_id":65638,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:31:00] local.INFO: Processing buffer {"connection_id":65638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:31:00] local.INFO: Packet analysis {"connection_id":65638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:31:00] local.INFO: Extracted packet for processing {"connection_id":65638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:31:00] 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-05-08 06:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:31:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":65638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:31:00] local.INFO: GPS data processed {"connection_id":65638,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:31:00] local.INFO: Acknowledgment sent {"connection_id":65638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:31:31] local.INFO: TCP Data received {"connection_id":65638,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:31:31] local.INFO: Processing buffer {"connection_id":65638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:31:31] local.INFO: Packet analysis {"connection_id":65638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:31:31] local.INFO: Extracted packet for processing {"connection_id":65638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:31:31] 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-05-08 06:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:31:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":65638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:31:31] local.INFO: GPS data processed {"connection_id":65638,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:31:31] local.INFO: Acknowledgment sent {"connection_id":65638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:31:58] local.INFO: TCP Data received {"connection_id":65639,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:31:58] local.INFO: Processing buffer {"connection_id":65639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:31:58] local.INFO: IMEI packet received {"connection_id":65639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":65639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:32:03] local.INFO: TCP Data received {"connection_id":65639,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:03] local.INFO: Processing buffer {"connection_id":65639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:03] local.INFO: IMEI packet received {"connection_id":65639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":65639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:32:04] local.INFO: TCP Data received {"connection_id":65639,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:04] local.INFO: Processing buffer {"connection_id":65639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:04] local.INFO: Packet analysis {"connection_id":65639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:32:04] local.INFO: Extracted packet for processing {"connection_id":65639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32:04] 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-05-08 06:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:32:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":65639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:32:04] local.INFO: GPS data processed {"connection_id":65639,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:32:04] local.INFO: Acknowledgment sent {"connection_id":65639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:32:09] local.INFO: TCP Data received {"connection_id":65639,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:09] local.INFO: Processing buffer {"connection_id":65639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:09] local.INFO: Packet analysis {"connection_id":65639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:32:09] local.INFO: Extracted packet for processing {"connection_id":65639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32: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-05-08 06:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 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-05-08 06:32: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 06:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:32:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:32:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":65639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:32:09] local.INFO: GPS data processed {"connection_id":65639,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:32:09] local.INFO: Acknowledgment sent {"connection_id":65639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:32:53] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:53] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:53] local.INFO: IMEI packet received {"connection_id":64884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":64884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:32:58] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:58] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:32:58] local.INFO: IMEI packet received {"connection_id":64884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":64884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:32:59] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:59] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:32:59] local.INFO: Packet analysis {"connection_id":64884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:32:59] local.INFO: Extracted packet for processing {"connection_id":64884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:32:59] 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-05-08 06:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:32:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":64884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:32:59] local.INFO: GPS data processed {"connection_id":64884,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:32:59] local.INFO: Acknowledgment sent {"connection_id":64884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:33:31] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:33:31] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:33:31] local.INFO: Packet analysis {"connection_id":64884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:33:31] local.INFO: Extracted packet for processing {"connection_id":64884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:33:31] 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-05-08 06:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:33:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":64884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:33:31] local.INFO: GPS data processed {"connection_id":64884,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:33:31] local.INFO: Acknowledgment sent {"connection_id":64884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:33:54] local.INFO: TCP Data received {"connection_id":65640,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:33:54] local.INFO: Processing buffer {"connection_id":65640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:33:54] local.INFO: IMEI packet received {"connection_id":65640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":65640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:33:58] local.INFO: TCP Data received {"connection_id":65640,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:33:58] local.INFO: Processing buffer {"connection_id":65640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:33:58] local.INFO: IMEI packet received {"connection_id":65640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":65640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:33:59] local.INFO: TCP Data received {"connection_id":65640,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:33:59] local.INFO: Processing buffer {"connection_id":65640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:33:59] local.INFO: Packet analysis {"connection_id":65640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:33:59] local.INFO: Extracted packet for processing {"connection_id":65640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:33:59] 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-05-08 06:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:33:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":65640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:33:59] local.INFO: GPS data processed {"connection_id":65640,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:33:59] local.INFO: Acknowledgment sent {"connection_id":65640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:34:31] local.INFO: TCP Data received {"connection_id":65640,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:34:31] local.INFO: Processing buffer {"connection_id":65640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05186b78012d34c54006aa50700000006228..."} 
[2026-05-08 06:34:31] local.INFO: Packet analysis {"connection_id":65640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:34:31] local.INFO: Extracted packet for processing {"connection_id":65640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0518"} 
[2026-05-08 06:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219621376001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:34:31] 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-05-08 06:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778201947000,"timestamp_ms":1778201947000,"timestamp_seconds":1778201947,"priority":1,"record_length":96,"hex_timestamp":"0000019e05186b78"} 
[2026-05-08 06:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219621376001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219621376001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:34:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219621376001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":65640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:34:31] local.INFO: GPS data processed {"connection_id":65640,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:34:31] local.INFO: Acknowledgment sent {"connection_id":65640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:34:53] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:34:53] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:34:53] local.INFO: IMEI packet received {"connection_id":64886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":64886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:34:58] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:34:58] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:34:58] local.INFO: IMEI packet received {"connection_id":64886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":64886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:35:00] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:35:00] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:35:00] local.INFO: Packet analysis {"connection_id":64886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:35:00] local.INFO: Extracted packet for processing {"connection_id":64886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:35:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:35:00] 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-05-08 06:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:35:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:35:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:35:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:35:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:35:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":64886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:35:00] local.INFO: GPS data processed {"connection_id":64886,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:35:00] local.INFO: Acknowledgment sent {"connection_id":64886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:35:31] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:35:31] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:35:31] local.INFO: Packet analysis {"connection_id":64886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:35:31] local.INFO: Extracted packet for processing {"connection_id":64886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:35:31] 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-05-08 06:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:35:31] 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-05-08 06: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-05-08 06:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:35:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":64886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:35:31] local.INFO: GPS data processed {"connection_id":64886,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:35:31] local.INFO: Acknowledgment sent {"connection_id":64886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:35:58] local.INFO: TCP Data received {"connection_id":64887,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:35:58] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:35:58] local.INFO: IMEI packet received {"connection_id":64887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":64887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:36:03] local.INFO: TCP Data received {"connection_id":64887,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:03] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:03] local.INFO: IMEI packet received {"connection_id":64887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":64887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:36:05] local.INFO: TCP Data received {"connection_id":64887,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:05] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:05] local.INFO: Packet analysis {"connection_id":64887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:36:05] local.INFO: Extracted packet for processing {"connection_id":64887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36:05] 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-05-08 06:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:36:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":64887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:36:05] local.INFO: GPS data processed {"connection_id":64887,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:36:05] local.INFO: Acknowledgment sent {"connection_id":64887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:36:09] local.INFO: TCP Data received {"connection_id":64887,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:09] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:09] local.INFO: Packet analysis {"connection_id":64887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:36:09] local.INFO: Extracted packet for processing {"connection_id":64887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36: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-05-08 06:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 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-05-08 06:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:36: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-05-08 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-05-08 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-05-08 06:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:36:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:36:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":64887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:36:09] local.INFO: GPS data processed {"connection_id":64887,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:36:09] local.INFO: Acknowledgment sent {"connection_id":64887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:36:17] local.INFO: TCP Data received {"connection_id":64797,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:36:17] local.INFO: Processing buffer {"connection_id":64797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:36:17] local.INFO: IMEI packet received {"connection_id":64797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":64797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:36:42] local.INFO: TCP Data received {"connection_id":64798,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:36:42] local.INFO: Processing buffer {"connection_id":64798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:36:42] local.INFO: IMEI packet received {"connection_id":64798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":64798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:36:53] local.INFO: TCP Data received {"connection_id":65641,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:53] local.INFO: Processing buffer {"connection_id":65641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:53] local.INFO: IMEI packet received {"connection_id":65641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":65641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:36:58] local.INFO: TCP Data received {"connection_id":65641,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:58] local.INFO: Processing buffer {"connection_id":65641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:36:58] local.INFO: IMEI packet received {"connection_id":65641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":65641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:36:59] local.INFO: TCP Data received {"connection_id":65641,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:59] local.INFO: Processing buffer {"connection_id":65641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:36:59] local.INFO: Packet analysis {"connection_id":65641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:36:59] local.INFO: Extracted packet for processing {"connection_id":65641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:36:59] 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-05-08 06:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:36:59] 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-05-08 06: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-05-08 06:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:36:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":65641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:36:59] local.INFO: GPS data processed {"connection_id":65641,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:36:59] local.INFO: Acknowledgment sent {"connection_id":65641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:37:31] local.INFO: TCP Data received {"connection_id":65641,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:37:31] local.INFO: Processing buffer {"connection_id":65641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:37:31] local.INFO: Packet analysis {"connection_id":65641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:37:31] local.INFO: Extracted packet for processing {"connection_id":65641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:37:31] 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-05-08 06:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:37:31] 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-05-08 06: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-05-08 06:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":65641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:37:31] local.INFO: GPS data processed {"connection_id":65641,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:37:31] local.INFO: Acknowledgment sent {"connection_id":65641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:37:54] local.INFO: TCP Data received {"connection_id":65642,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:37:54] local.INFO: Processing buffer {"connection_id":65642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:37:54] local.INFO: IMEI packet received {"connection_id":65642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":65642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:37:58] local.INFO: TCP Data received {"connection_id":65642,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:37:58] local.INFO: Processing buffer {"connection_id":65642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:37:58] local.INFO: IMEI packet received {"connection_id":65642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":65642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:37:59] local.INFO: TCP Data received {"connection_id":65642,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:37:59] local.INFO: Processing buffer {"connection_id":65642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:37:59] local.INFO: Packet analysis {"connection_id":65642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:37:59] local.INFO: Extracted packet for processing {"connection_id":65642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:37:59] 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-05-08 06:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:37:59] 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-05-08 06:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":65642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:37:59] local.INFO: GPS data processed {"connection_id":65642,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:37:59] local.INFO: Acknowledgment sent {"connection_id":65642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:38:31] local.INFO: TCP Data received {"connection_id":65642,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:38:31] local.INFO: Processing buffer {"connection_id":65642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:38:31] local.INFO: Packet analysis {"connection_id":65642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:38:31] local.INFO: Extracted packet for processing {"connection_id":65642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:38:31] 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-05-08 06:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:38:31] 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-05-08 06:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:38:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":65642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:38:31] local.INFO: GPS data processed {"connection_id":65642,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:38:31] local.INFO: Acknowledgment sent {"connection_id":65642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:38:53] local.INFO: TCP Data received {"connection_id":65643,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:38:53] local.INFO: Processing buffer {"connection_id":65643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:38:53] local.INFO: IMEI packet received {"connection_id":65643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":65643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:38:58] local.INFO: TCP Data received {"connection_id":65643,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:38:58] local.INFO: Processing buffer {"connection_id":65643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:38:58] local.INFO: IMEI packet received {"connection_id":65643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":65643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:38:59] local.INFO: TCP Data received {"connection_id":65643,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:38:59] local.INFO: Processing buffer {"connection_id":65643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:38:59] local.INFO: Packet analysis {"connection_id":65643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:38:59] local.INFO: Extracted packet for processing {"connection_id":65643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:38:59] 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-05-08 06:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:38:59] 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-05-08 06: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-05-08 06:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:38:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":65643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:38:59] local.INFO: GPS data processed {"connection_id":65643,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:38:59] local.INFO: Acknowledgment sent {"connection_id":65643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:39:31] local.INFO: TCP Data received {"connection_id":65643,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:39:31] local.INFO: Processing buffer {"connection_id":65643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e051d0340012d34c54006aa50700000006228..."} 
[2026-05-08 06:39:31] local.INFO: Packet analysis {"connection_id":65643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:39:31] local.INFO: Extracted packet for processing {"connection_id":65643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e051d"} 
[2026-05-08 06:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219698432001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:39:31] 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-05-08 06:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202248000,"timestamp_ms":1778202248000,"timestamp_seconds":1778202248,"priority":1,"record_length":96,"hex_timestamp":"0000019e051d0340"} 
[2026-05-08 06:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 06:39:31] 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-05-08 06:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219698432001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219698432001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:39:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219698432001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":65643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:39:31] local.INFO: GPS data processed {"connection_id":65643,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:39:31] local.INFO: Acknowledgment sent {"connection_id":65643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:39:53] local.INFO: TCP Data received {"connection_id":64799,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:39:53] local.INFO: Processing buffer {"connection_id":64799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:39:53] local.INFO: IMEI packet received {"connection_id":64799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":64799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:39:59] local.INFO: TCP Data received {"connection_id":64799,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:39:59] local.INFO: Processing buffer {"connection_id":64799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:39:59] local.INFO: IMEI packet received {"connection_id":64799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:39:59] local.INFO: IMEI acknowledgment sent {"connection_id":64799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:40:00] local.INFO: TCP Data received {"connection_id":64799,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:00] local.INFO: Processing buffer {"connection_id":64799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:00] local.INFO: Packet analysis {"connection_id":64799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:40:00] local.INFO: Extracted packet for processing {"connection_id":64799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:00] 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-05-08 06:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:40:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":64799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:40:00] local.INFO: GPS data processed {"connection_id":64799,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:40:00] local.INFO: Acknowledgment sent {"connection_id":64799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:40:32] local.INFO: TCP Data received {"connection_id":64799,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:32] local.INFO: Processing buffer {"connection_id":64799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:32] local.INFO: Packet analysis {"connection_id":64799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:40:32] local.INFO: Extracted packet for processing {"connection_id":64799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:32] 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-05-08 06:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:40:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:40:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":64799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:40:32] local.INFO: GPS data processed {"connection_id":64799,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:40:32] local.INFO: Acknowledgment sent {"connection_id":64799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:40:53] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:40:53] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:40:53] local.INFO: IMEI packet received {"connection_id":64834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":64834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:40:58] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:40:58] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:40:58] local.INFO: IMEI packet received {"connection_id":64834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":64834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:40:59] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:59] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:40:59] local.INFO: Packet analysis {"connection_id":64834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:40:59] local.INFO: Extracted packet for processing {"connection_id":64834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:40:59] 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-05-08 06:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:40:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":64834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:40:59] local.INFO: GPS data processed {"connection_id":64834,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:40:59] local.INFO: Acknowledgment sent {"connection_id":64834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:41:31] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:41:31] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:41:31] local.INFO: Packet analysis {"connection_id":64834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:41:31] local.INFO: Extracted packet for processing {"connection_id":64834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:41:31] 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-05-08 06:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:41:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":64834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:41:31] local.INFO: GPS data processed {"connection_id":64834,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:41:31] local.INFO: Acknowledgment sent {"connection_id":64834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:41:53] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:41:53] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:41:53] local.INFO: IMEI packet received {"connection_id":64890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":64890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:41:58] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:41:58] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:41:58] local.INFO: IMEI packet received {"connection_id":64890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":64890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:41:59] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:41:59] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:41:59] local.INFO: Packet analysis {"connection_id":64890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:41:59] local.INFO: Extracted packet for processing {"connection_id":64890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:41:59] 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-05-08 06:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:41:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":64890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:41:59] local.INFO: GPS data processed {"connection_id":64890,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:41:59] local.INFO: Acknowledgment sent {"connection_id":64890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:42:31] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:42:31] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:42:31] local.INFO: Packet analysis {"connection_id":64890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:42:31] local.INFO: Extracted packet for processing {"connection_id":64890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:42:31] 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-05-08 06:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:42:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":64890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:42:31] local.INFO: GPS data processed {"connection_id":64890,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:42:31] local.INFO: Acknowledgment sent {"connection_id":64890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:42:42] local.INFO: TCP Data received {"connection_id":64802,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:42:42] local.INFO: Processing buffer {"connection_id":64802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:42:42] local.INFO: IMEI packet received {"connection_id":64802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":64802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:42:53] local.INFO: TCP Data received {"connection_id":64835,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:42:53] local.INFO: Processing buffer {"connection_id":64835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:42:53] local.INFO: IMEI packet received {"connection_id":64835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":64835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:42:58] local.INFO: TCP Data received {"connection_id":64835,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:42:58] local.INFO: Processing buffer {"connection_id":64835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:42:58] local.INFO: IMEI packet received {"connection_id":64835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":64835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:42:59] local.INFO: TCP Data received {"connection_id":64835,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:42:59] local.INFO: Processing buffer {"connection_id":64835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:42:59] local.INFO: Packet analysis {"connection_id":64835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:42:59] local.INFO: Extracted packet for processing {"connection_id":64835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:42:59] 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-05-08 06:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:42:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":64835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:42:59] local.INFO: GPS data processed {"connection_id":64835,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:42:59] local.INFO: Acknowledgment sent {"connection_id":64835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:43:31] local.INFO: TCP Data received {"connection_id":64835,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:43:31] local.INFO: Processing buffer {"connection_id":64835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:43:31] local.INFO: Packet analysis {"connection_id":64835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:43:31] local.INFO: Extracted packet for processing {"connection_id":64835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:43:31] 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-05-08 06:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:43:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":64835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:43:31] local.INFO: GPS data processed {"connection_id":64835,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:43:31] local.INFO: Acknowledgment sent {"connection_id":64835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:43:58] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:43:58] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:43:58] local.INFO: IMEI packet received {"connection_id":64891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":64891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:44:03] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:03] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:03] local.INFO: IMEI packet received {"connection_id":64891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":64891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:44:05] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:44:05] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:44:05] local.INFO: Packet analysis {"connection_id":64891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:44:05] local.INFO: Extracted packet for processing {"connection_id":64891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:44:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:44:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44:05] 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-05-08 06:44:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 06:44:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:44:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:44:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:44:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:44:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:44:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:44:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:44:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:44:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:44:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:44:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:44:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:44:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:44:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:44:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:44:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:44:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:44:05] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:44:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:44:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:44:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:44:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:44:05] local.INFO: DEBUG: GPS processor result {"connection_id":64891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:44:05] local.INFO: GPS data processed {"connection_id":64891,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:44:05] local.INFO: Acknowledgment sent {"connection_id":64891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:44:09] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:44:09] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05219b08012d34c54006aa50700000006228..."} 
[2026-05-08 06:44:09] local.INFO: Packet analysis {"connection_id":64891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:44:09] local.INFO: Extracted packet for processing {"connection_id":64891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0521"} 
[2026-05-08 06:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219775488001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44: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-05-08 06:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778202549000,"timestamp_ms":1778202549000,"timestamp_seconds":1778202549,"priority":1,"record_length":96,"hex_timestamp":"0000019e05219b08"} 
[2026-05-08 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-05-08 06:44: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 06:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219775488001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219775488001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:44:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219775488001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":64891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:44:09] local.INFO: GPS data processed {"connection_id":64891,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:44:09] local.INFO: Acknowledgment sent {"connection_id":64891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:44:53] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:53] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:53] local.INFO: IMEI packet received {"connection_id":64837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":64837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:44:58] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:58] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:44:58] local.INFO: IMEI packet received {"connection_id":64837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":64837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:44:59] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:44:59] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:44:59] local.INFO: Packet analysis {"connection_id":64837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:44:59] local.INFO: Extracted packet for processing {"connection_id":64837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:44:59] 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-05-08 06:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:44:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":64837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:44:59] local.INFO: GPS data processed {"connection_id":64837,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:44:59] local.INFO: Acknowledgment sent {"connection_id":64837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:45:31] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:45:31] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:45:31] local.INFO: Packet analysis {"connection_id":64837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:45:31] local.INFO: Extracted packet for processing {"connection_id":64837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:45:31] 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-05-08 06:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:45:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":64837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:45:31] local.INFO: GPS data processed {"connection_id":64837,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:45:31] local.INFO: Acknowledgment sent {"connection_id":64837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:45:53] local.INFO: TCP Data received {"connection_id":65644,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:45:53] local.INFO: Processing buffer {"connection_id":65644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:45:53] local.INFO: IMEI packet received {"connection_id":65644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":65644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:45:58] local.INFO: TCP Data received {"connection_id":65644,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:45:58] local.INFO: Processing buffer {"connection_id":65644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:45:58] local.INFO: IMEI packet received {"connection_id":65644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":65644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:46:00] local.INFO: TCP Data received {"connection_id":65644,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:00] local.INFO: Processing buffer {"connection_id":65644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:00] local.INFO: Packet analysis {"connection_id":65644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:46:00] local.INFO: Extracted packet for processing {"connection_id":65644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:46:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:00] 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-05-08 06:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:46:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:46:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:46:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:46:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:46:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":65644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:46:00] local.INFO: GPS data processed {"connection_id":65644,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:46:00] local.INFO: Acknowledgment sent {"connection_id":65644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:46:31] local.INFO: TCP Data received {"connection_id":65644,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:31] local.INFO: Processing buffer {"connection_id":65644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:31] local.INFO: Packet analysis {"connection_id":65644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:46:31] local.INFO: Extracted packet for processing {"connection_id":65644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:31] 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-05-08 06:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:46:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":65644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:46:31] local.INFO: GPS data processed {"connection_id":65644,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:46:31] local.INFO: Acknowledgment sent {"connection_id":65644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:46:53] local.INFO: TCP Data received {"connection_id":64839,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:46:53] local.INFO: Processing buffer {"connection_id":64839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:46:53] local.INFO: IMEI packet received {"connection_id":64839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":64839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:46:58] local.INFO: TCP Data received {"connection_id":64839,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:46:58] local.INFO: Processing buffer {"connection_id":64839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:46:58] local.INFO: IMEI packet received {"connection_id":64839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":64839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:46:59] local.INFO: TCP Data received {"connection_id":64839,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:59] local.INFO: Processing buffer {"connection_id":64839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:46:59] local.INFO: Packet analysis {"connection_id":64839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:46:59] local.INFO: Extracted packet for processing {"connection_id":64839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:46:59] 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-05-08 06:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:46:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:46:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":64839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:46:59] local.INFO: GPS data processed {"connection_id":64839,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:46:59] local.INFO: Acknowledgment sent {"connection_id":64839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:47:31] local.INFO: TCP Data received {"connection_id":64839,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:47:31] local.INFO: Processing buffer {"connection_id":64839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:47:31] local.INFO: Packet analysis {"connection_id":64839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:47:31] local.INFO: Extracted packet for processing {"connection_id":64839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:47:31] 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-05-08 06:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:47:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:47:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":64839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:47:31] local.INFO: GPS data processed {"connection_id":64839,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:47:31] local.INFO: Acknowledgment sent {"connection_id":64839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:47:58] local.INFO: TCP Data received {"connection_id":64804,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:47:58] local.INFO: Processing buffer {"connection_id":64804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:47:58] local.INFO: IMEI packet received {"connection_id":64804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:48:03] local.INFO: TCP Data received {"connection_id":64804,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:03] local.INFO: Processing buffer {"connection_id":64804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:03] local.INFO: IMEI packet received {"connection_id":64804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":64804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:48:04] local.INFO: TCP Data received {"connection_id":64804,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:04] local.INFO: Processing buffer {"connection_id":64804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:04] local.INFO: Packet analysis {"connection_id":64804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:48:04] local.INFO: Extracted packet for processing {"connection_id":64804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48:04] 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-05-08 06:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:48:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:48:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":64804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:48:04] local.INFO: GPS data processed {"connection_id":64804,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:48:04] local.INFO: Acknowledgment sent {"connection_id":64804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:48:09] local.INFO: TCP Data received {"connection_id":64804,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:09] local.INFO: Processing buffer {"connection_id":64804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:09] local.INFO: Packet analysis {"connection_id":64804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:48:09] local.INFO: Extracted packet for processing {"connection_id":64804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48: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-05-08 06:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 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-05-08 06: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-05-08 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":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 06:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:48:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:48:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":64804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:48:09] local.INFO: GPS data processed {"connection_id":64804,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:48:09] local.INFO: Acknowledgment sent {"connection_id":64804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:48:22] local.INFO: TCP Data received {"connection_id":64893,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:48:22] local.INFO: Processing buffer {"connection_id":64893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:48:22] local.INFO: IMEI packet received {"connection_id":64893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":64893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:48:42] local.INFO: TCP Data received {"connection_id":64840,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64840,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:48:42] local.INFO: Processing buffer {"connection_id":64840,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:48:42] local.INFO: IMEI packet received {"connection_id":64840,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":64840,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:48:53] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:53] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:53] local.INFO: IMEI packet received {"connection_id":64894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":64894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:48:58] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:58] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:48:58] local.INFO: IMEI packet received {"connection_id":64894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":64894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:48:59] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:59] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:48:59] local.INFO: Packet analysis {"connection_id":64894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:48:59] local.INFO: Extracted packet for processing {"connection_id":64894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:48:59] 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-05-08 06:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:48:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":64894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:48:59] local.INFO: GPS data processed {"connection_id":64894,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:48:59] local.INFO: Acknowledgment sent {"connection_id":64894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:49:31] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:49:31] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052632d0012d34c54006aa5070000000622a..."} 
[2026-05-08 06:49:31] local.INFO: Packet analysis {"connection_id":64894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:49:31] local.INFO: Extracted packet for processing {"connection_id":64894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0526"} 
[2026-05-08 06:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219852544001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:49:31] 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-05-08 06:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778202850000,"timestamp_ms":1778202850000,"timestamp_seconds":1778202850,"priority":1,"record_length":96,"hex_timestamp":"0000019e052632d0"} 
[2026-05-08 06:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 06:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219852544001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219852544001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:49:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219852544001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":64894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:49:31] local.INFO: GPS data processed {"connection_id":64894,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:49:31] local.INFO: Acknowledgment sent {"connection_id":64894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:49:53] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:49:53] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:49:53] local.INFO: IMEI packet received {"connection_id":64806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":64806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:49:58] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:49:58] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:49:58] local.INFO: IMEI packet received {"connection_id":64806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":64806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:49:59] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:49:59] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:49:59] local.INFO: Packet analysis {"connection_id":64806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:49:59] local.INFO: Extracted packet for processing {"connection_id":64806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:49:59] 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-05-08 06:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:49:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:49:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":64806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:49:59] local.INFO: GPS data processed {"connection_id":64806,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:49:59] local.INFO: Acknowledgment sent {"connection_id":64806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:50:31] local.INFO: TCP Data received {"connection_id":64806,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:50:31] local.INFO: Processing buffer {"connection_id":64806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:50:31] local.INFO: Packet analysis {"connection_id":64806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:50:31] local.INFO: Extracted packet for processing {"connection_id":64806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:50:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:50:31] 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-05-08 06:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:50:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:50:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:50:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":64806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:50:31] local.INFO: GPS data processed {"connection_id":64806,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:50:31] local.INFO: Acknowledgment sent {"connection_id":64806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:50:53] local.INFO: TCP Data received {"connection_id":65645,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:50:53] local.INFO: Processing buffer {"connection_id":65645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:50:53] local.INFO: IMEI packet received {"connection_id":65645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":65645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:50:58] local.INFO: TCP Data received {"connection_id":65645,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:50:58] local.INFO: Processing buffer {"connection_id":65645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:50:58] local.INFO: IMEI packet received {"connection_id":65645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":65645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:50:59] local.INFO: TCP Data received {"connection_id":65645,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:50:59] local.INFO: Processing buffer {"connection_id":65645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:50:59] local.INFO: Packet analysis {"connection_id":65645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:50:59] local.INFO: Extracted packet for processing {"connection_id":65645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:50:59] 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-05-08 06:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:50:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":65645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:50:59] local.INFO: GPS data processed {"connection_id":65645,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:50:59] local.INFO: Acknowledgment sent {"connection_id":65645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:51:31] local.INFO: TCP Data received {"connection_id":65645,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:51:31] local.INFO: Processing buffer {"connection_id":65645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:51:31] local.INFO: Packet analysis {"connection_id":65645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:51:31] local.INFO: Extracted packet for processing {"connection_id":65645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:51:31] 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-05-08 06:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:51:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":65645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:51:31] local.INFO: GPS data processed {"connection_id":65645,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:51:31] local.INFO: Acknowledgment sent {"connection_id":65645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:51:58] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:51:58] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:51:58] local.INFO: IMEI packet received {"connection_id":64896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":64896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:52:03] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:03] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:03] local.INFO: IMEI packet received {"connection_id":64896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":64896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:52:04] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:52:04] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:52:04] local.INFO: Packet analysis {"connection_id":64896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:52:04] local.INFO: Extracted packet for processing {"connection_id":64896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:52:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:52:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:52:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:52:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:52:04] 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-05-08 06:52:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:52:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:52:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:52:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:52:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:52:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:52:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:52:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:52:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:52:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:52:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:52:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:52:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:52:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:52:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:52:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:52:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:52:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:52:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:52:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:52:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:52:04] local.INFO: DEBUG: GPS processor result {"connection_id":64896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:52:04] local.INFO: GPS data processed {"connection_id":64896,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:52:04] local.INFO: Acknowledgment sent {"connection_id":64896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:52:09] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:52:09] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:52:09] local.INFO: Packet analysis {"connection_id":64896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:52:09] local.INFO: Extracted packet for processing {"connection_id":64896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:52: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-05-08 06:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 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-05-08 06:52: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 06:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:52:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:52:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":64896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:52:09] local.INFO: GPS data processed {"connection_id":64896,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:52:09] local.INFO: Acknowledgment sent {"connection_id":64896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:52:53] local.INFO: TCP Data received {"connection_id":65646,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:53] local.INFO: Processing buffer {"connection_id":65646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:53] local.INFO: IMEI packet received {"connection_id":65646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":65646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:52:58] local.INFO: TCP Data received {"connection_id":65646,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:58] local.INFO: Processing buffer {"connection_id":65646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:52:58] local.INFO: IMEI packet received {"connection_id":65646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":65646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:53:00] local.INFO: TCP Data received {"connection_id":65646,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:53:00] local.INFO: Processing buffer {"connection_id":65646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:53:00] local.INFO: Packet analysis {"connection_id":65646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:53:00] local.INFO: Extracted packet for processing {"connection_id":65646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:53:00] 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-05-08 06:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:53:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":65646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:53:00] local.INFO: GPS data processed {"connection_id":65646,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:53:00] local.INFO: Acknowledgment sent {"connection_id":65646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:53:32] local.INFO: TCP Data received {"connection_id":65646,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:53:32] local.INFO: Processing buffer {"connection_id":65646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:53:32] local.INFO: Packet analysis {"connection_id":65646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:53:32] local.INFO: Extracted packet for processing {"connection_id":65646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:53:32] 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-05-08 06:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:53:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":65646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:53:32] local.INFO: GPS data processed {"connection_id":65646,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:53:32] local.INFO: Acknowledgment sent {"connection_id":65646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:53:53] local.INFO: TCP Data received {"connection_id":64844,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:53:53] local.INFO: Processing buffer {"connection_id":64844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:53:53] local.INFO: IMEI packet received {"connection_id":64844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":64844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:53:58] local.INFO: TCP Data received {"connection_id":64844,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:53:58] local.INFO: Processing buffer {"connection_id":64844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:53:58] local.INFO: IMEI packet received {"connection_id":64844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":64844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:54:00] local.INFO: TCP Data received {"connection_id":64844,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:54:00] local.INFO: Processing buffer {"connection_id":64844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:54:00] local.INFO: Packet analysis {"connection_id":64844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:54:00] local.INFO: Extracted packet for processing {"connection_id":64844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:00] 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-05-08 06:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:54:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":64844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:54:00] local.INFO: GPS data processed {"connection_id":64844,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:54:00] local.INFO: Acknowledgment sent {"connection_id":64844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:54:22] local.INFO: TCP Data received {"connection_id":64897,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:54:22] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:54:22] local.INFO: IMEI packet received {"connection_id":64897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":64897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:54:32] local.INFO: TCP Data received {"connection_id":64844,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:54:32] local.INFO: Processing buffer {"connection_id":64844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052aca98012d34c54006aa50700000006228..."} 
[2026-05-08 06:54:32] local.INFO: Packet analysis {"connection_id":64844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:54:32] local.INFO: Extracted packet for processing {"connection_id":64844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052a"} 
[2026-05-08 06:54:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455219929600001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:32] 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-05-08 06:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778203151000,"timestamp_ms":1778203151000,"timestamp_seconds":1778203151,"priority":1,"record_length":96,"hex_timestamp":"0000019e052aca98"} 
[2026-05-08 06:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 06:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455219929600001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455219929600001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:54:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455219929600001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":64844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:54:32] local.INFO: GPS data processed {"connection_id":64844,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:54:32] local.INFO: Acknowledgment sent {"connection_id":64844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:54:42] local.INFO: TCP Data received {"connection_id":64898,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:54:42] local.INFO: Processing buffer {"connection_id":64898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 06:54:42] local.INFO: IMEI packet received {"connection_id":64898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 06:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":64898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:54:53] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:54:53] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:54:53] local.INFO: IMEI packet received {"connection_id":64899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":64899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:54:58] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:54:58] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:54:58] local.INFO: IMEI packet received {"connection_id":64899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":64899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:54:59] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:54:59] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:54:59] local.INFO: Packet analysis {"connection_id":64899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:54:59] local.INFO: Extracted packet for processing {"connection_id":64899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:54:59] 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-05-08 06:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:54:59] 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-05-08 06:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:54:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":64899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:54:59] local.INFO: GPS data processed {"connection_id":64899,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:54:59] local.INFO: Acknowledgment sent {"connection_id":64899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:55:31] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:55:31] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:55:31] local.INFO: Packet analysis {"connection_id":64899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:55:31] local.INFO: Extracted packet for processing {"connection_id":64899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:55:31] 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-05-08 06:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:55:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":64899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:55:31] local.INFO: GPS data processed {"connection_id":64899,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:55:31] local.INFO: Acknowledgment sent {"connection_id":64899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:55:58] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:55:58] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:55:58] local.INFO: IMEI packet received {"connection_id":64845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":64845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:56:03] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:03] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:03] local.INFO: IMEI packet received {"connection_id":64845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":64845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:56:04] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:56:04] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:56:04] local.INFO: Packet analysis {"connection_id":64845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:56:04] local.INFO: Extracted packet for processing {"connection_id":64845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:56:04] 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-05-08 06:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:56:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":64845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:56:04] local.INFO: GPS data processed {"connection_id":64845,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:56:04] local.INFO: Acknowledgment sent {"connection_id":64845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:56:09] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:56:09] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:56:09] local.INFO: Packet analysis {"connection_id":64845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:56:09] local.INFO: Extracted packet for processing {"connection_id":64845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 06:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:56: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-05-08 06:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 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-05-08 06:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:56: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-05-08 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-05-08 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-05-08 06:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:56:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:56:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":64845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:56:09] local.INFO: GPS data processed {"connection_id":64845,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:56:09] local.INFO: Acknowledgment sent {"connection_id":64845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:56:53] local.INFO: TCP Data received {"connection_id":64809,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:53] local.INFO: Processing buffer {"connection_id":64809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:53] local.INFO: IMEI packet received {"connection_id":64809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":64809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:56:58] local.INFO: TCP Data received {"connection_id":64809,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:58] local.INFO: Processing buffer {"connection_id":64809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:56:58] local.INFO: IMEI packet received {"connection_id":64809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":64809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:57:00] local.INFO: TCP Data received {"connection_id":64809,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:00] local.INFO: Processing buffer {"connection_id":64809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:00] local.INFO: Packet analysis {"connection_id":64809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:57:00] local.INFO: Extracted packet for processing {"connection_id":64809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:00] 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-05-08 06:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:57:00] 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-05-08 06:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:57:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":64809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:57:00] local.INFO: GPS data processed {"connection_id":64809,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:57:00] local.INFO: Acknowledgment sent {"connection_id":64809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:57:31] local.INFO: TCP Data received {"connection_id":64809,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:31] local.INFO: Processing buffer {"connection_id":64809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:31] local.INFO: Packet analysis {"connection_id":64809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:57:31] local.INFO: Extracted packet for processing {"connection_id":64809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:31] 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-05-08 06:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06: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-05-08 06:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:57:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":64809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:57:31] local.INFO: GPS data processed {"connection_id":64809,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:57:31] local.INFO: Acknowledgment sent {"connection_id":64809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:57:53] local.INFO: TCP Data received {"connection_id":65647,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:57:53] local.INFO: Processing buffer {"connection_id":65647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:57:53] local.INFO: IMEI packet received {"connection_id":65647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":65647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:57:58] local.INFO: TCP Data received {"connection_id":65647,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:57:58] local.INFO: Processing buffer {"connection_id":65647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:57:58] local.INFO: IMEI packet received {"connection_id":65647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":65647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:57:59] local.INFO: TCP Data received {"connection_id":65647,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:59] local.INFO: Processing buffer {"connection_id":65647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:57:59] local.INFO: Packet analysis {"connection_id":65647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:57:59] local.INFO: Extracted packet for processing {"connection_id":65647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06: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-05-08 06:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:57:59] 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-05-08 06:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:57:59] 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-05-08 06: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-05-08 06:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:57:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":65647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:57:59] local.INFO: GPS data processed {"connection_id":65647,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:57:59] local.INFO: Acknowledgment sent {"connection_id":65647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:58:31] local.INFO: TCP Data received {"connection_id":65647,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:58:31] local.INFO: Processing buffer {"connection_id":65647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:58:31] local.INFO: Packet analysis {"connection_id":65647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:58:31] local.INFO: Extracted packet for processing {"connection_id":65647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:58:31] 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-05-08 06:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 06:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:58:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":65647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:58:31] local.INFO: GPS data processed {"connection_id":65647,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:58:31] local.INFO: Acknowledgment sent {"connection_id":65647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:58:53] local.INFO: TCP Data received {"connection_id":64846,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:58:53] local.INFO: Processing buffer {"connection_id":64846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:58:53] local.INFO: IMEI packet received {"connection_id":64846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":64846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:58:58] local.INFO: TCP Data received {"connection_id":64846,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:58:58] local.INFO: Processing buffer {"connection_id":64846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:58:58] local.INFO: IMEI packet received {"connection_id":64846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":64846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 06:58:59] local.INFO: TCP Data received {"connection_id":64846,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:58:59] local.INFO: Processing buffer {"connection_id":64846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:58:59] local.INFO: Packet analysis {"connection_id":64846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:58:59] local.INFO: Extracted packet for processing {"connection_id":64846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:58:59] 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-05-08 06:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 06:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:58:59] 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-05-08 06:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:58:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":64846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:58:59] local.INFO: GPS data processed {"connection_id":64846,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:58:59] local.INFO: Acknowledgment sent {"connection_id":64846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:59:30] local.INFO: TCP Data received {"connection_id":64846,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:59:30] local.INFO: Processing buffer {"connection_id":64846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e052f6260012d34c54006aa50700000006226..."} 
[2026-05-08 06:59:30] local.INFO: Packet analysis {"connection_id":64846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:59:30] local.INFO: Extracted packet for processing {"connection_id":64846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e052f"} 
[2026-05-08 06:59:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 06:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 06:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220006656001,"note":"Value kept but may cause issues"} 
[2026-05-08 06:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 06:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 06:59:30] 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-05-08 06:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778203452000,"timestamp_ms":1778203452000,"timestamp_seconds":1778203452,"priority":1,"record_length":96,"hex_timestamp":"0000019e052f6260"} 
[2026-05-08 06:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 06:59: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-05-08 06:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 06:59:30] 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-05-08 06:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 06:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 06:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 06:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 06:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 06:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 06:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 06:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 06:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220006656001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 06:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 06:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 06:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220006656001,"description":"Unknown IO ID 0"} 
[2026-05-08 06:59:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 06:59:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 06:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 06:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 06:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220006656001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 06:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":64846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 06:59:30] local.INFO: GPS data processed {"connection_id":64846,"processed":1,"errors":0,"total":1} 
[2026-05-08 06:59:30] local.INFO: Acknowledgment sent {"connection_id":64846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 06:59:53] local.INFO: TCP Data received {"connection_id":65648,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:59:53] local.INFO: Processing buffer {"connection_id":65648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:59:53] local.INFO: IMEI packet received {"connection_id":65648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 06:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":65648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 06:59:58] local.INFO: TCP Data received {"connection_id":65648,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:59:58] local.INFO: Processing buffer {"connection_id":65648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 06:59:58] local.INFO: IMEI packet received {"connection_id":65648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 06:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":65648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:00:00] local.INFO: TCP Data received {"connection_id":65648,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:00] local.INFO: Processing buffer {"connection_id":65648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:00] local.INFO: Packet analysis {"connection_id":65648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:00:00] local.INFO: Extracted packet for processing {"connection_id":65648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:00] 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-05-08 07:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:00:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":65648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:00:00] local.INFO: GPS data processed {"connection_id":65648,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:00:00] local.INFO: Acknowledgment sent {"connection_id":65648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:00:02] local.INFO: TCP Data received {"connection_id":64901,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64901,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:00:02] local.INFO: Processing buffer {"connection_id":64901,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:00:02] local.INFO: IMEI packet received {"connection_id":64901,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":64901,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:00:31] local.INFO: TCP Data received {"connection_id":65648,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:31] local.INFO: Processing buffer {"connection_id":65648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:31] local.INFO: Packet analysis {"connection_id":65648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:00:31] local.INFO: Extracted packet for processing {"connection_id":65648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:31] 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-05-08 07:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:00:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":65648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:00:31] local.INFO: GPS data processed {"connection_id":65648,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:00:31] local.INFO: Acknowledgment sent {"connection_id":65648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:00:42] local.INFO: TCP Data received {"connection_id":64811,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:00:42] local.INFO: Processing buffer {"connection_id":64811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:00:42] local.INFO: IMEI packet received {"connection_id":64811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:00:42] local.INFO: IMEI acknowledgment sent {"connection_id":64811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:00:53] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:00:53] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:00:53] local.INFO: IMEI packet received {"connection_id":64902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":64902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:00:58] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:00:58] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:00:58] local.INFO: IMEI packet received {"connection_id":64902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":64902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:00:59] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:59] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:00:59] local.INFO: Packet analysis {"connection_id":64902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:00:59] local.INFO: Extracted packet for processing {"connection_id":64902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:00:59] 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-05-08 07:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:00:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":64902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:00:59] local.INFO: GPS data processed {"connection_id":64902,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:00:59] local.INFO: Acknowledgment sent {"connection_id":64902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:01:31] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:01:31] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:01:31] local.INFO: Packet analysis {"connection_id":64902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:01:31] local.INFO: Extracted packet for processing {"connection_id":64902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:01:31] 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-05-08 07:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:01:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":64902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:01:31] local.INFO: GPS data processed {"connection_id":64902,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:01:31] local.INFO: Acknowledgment sent {"connection_id":64902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:01:53] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:01:53] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:01:53] local.INFO: IMEI packet received {"connection_id":64812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":64812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:01:58] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:01:58] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:01:58] local.INFO: IMEI packet received {"connection_id":64812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":64812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:01:59] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:01:59] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:01:59] local.INFO: Packet analysis {"connection_id":64812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:01:59] local.INFO: Extracted packet for processing {"connection_id":64812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:01:59] 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-05-08 07:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:01:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":64812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:01:59] local.INFO: GPS data processed {"connection_id":64812,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:01:59] local.INFO: Acknowledgment sent {"connection_id":64812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:02:31] local.INFO: TCP Data received {"connection_id":64812,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:02:31] local.INFO: Processing buffer {"connection_id":64812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:02:31] local.INFO: Packet analysis {"connection_id":64812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:02:31] local.INFO: Extracted packet for processing {"connection_id":64812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:02:31] 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-05-08 07:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:02:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":64812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:02:31] local.INFO: GPS data processed {"connection_id":64812,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:02:31] local.INFO: Acknowledgment sent {"connection_id":64812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:02:53] local.INFO: TCP Data received {"connection_id":64848,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:02:53] local.INFO: Processing buffer {"connection_id":64848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:02:53] local.INFO: IMEI packet received {"connection_id":64848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":64848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:02:58] local.INFO: TCP Data received {"connection_id":64848,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:02:58] local.INFO: Processing buffer {"connection_id":64848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:02:58] local.INFO: IMEI packet received {"connection_id":64848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":64848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:02:59] local.INFO: TCP Data received {"connection_id":64848,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:02:59] local.INFO: Processing buffer {"connection_id":64848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:02:59] local.INFO: Packet analysis {"connection_id":64848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:02:59] local.INFO: Extracted packet for processing {"connection_id":64848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:02:59] 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-05-08 07:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:02:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":64848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:02:59] local.INFO: GPS data processed {"connection_id":64848,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:02:59] local.INFO: Acknowledgment sent {"connection_id":64848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:03:31] local.INFO: TCP Data received {"connection_id":64848,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:03:31] local.INFO: Processing buffer {"connection_id":64848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:03:31] local.INFO: Packet analysis {"connection_id":64848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:03:31] local.INFO: Extracted packet for processing {"connection_id":64848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:03:31] 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-05-08 07:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:03:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":64848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:03:31] local.INFO: GPS data processed {"connection_id":64848,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:03:31] local.INFO: Acknowledgment sent {"connection_id":64848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:03:58] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:03:58] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:03:58] local.INFO: IMEI packet received {"connection_id":64849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":64849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:04:03] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:03] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:03] local.INFO: IMEI packet received {"connection_id":64849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":64849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:04:04] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:04:04] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:04:04] local.INFO: Packet analysis {"connection_id":64849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:04:04] local.INFO: Extracted packet for processing {"connection_id":64849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04:04] 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-05-08 07:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:04:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":64849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:04:04] local.INFO: GPS data processed {"connection_id":64849,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:04:04] local.INFO: Acknowledgment sent {"connection_id":64849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:04:09] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:04:09] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0533fa28012d34c54006aa50700000006226..."} 
[2026-05-08 07:04:09] local.INFO: Packet analysis {"connection_id":64849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:04:09] local.INFO: Extracted packet for processing {"connection_id":64849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0533"} 
[2026-05-08 07:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220083712001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04: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-05-08 07:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778203753000,"timestamp_ms":1778203753000,"timestamp_seconds":1778203753,"priority":1,"record_length":96,"hex_timestamp":"0000019e0533fa28"} 
[2026-05-08 07:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07: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-05-08 07: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:04:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220083712001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220083712001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:04:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:04:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220083712001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":64849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:04:09] local.INFO: GPS data processed {"connection_id":64849,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:04:09] local.INFO: Acknowledgment sent {"connection_id":64849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:04:53] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:53] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:53] local.INFO: IMEI packet received {"connection_id":64850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":64850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:04:53] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:54] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:54] local.INFO: IMEI packet received {"connection_id":64850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":64850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:04:58] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:58] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:04:58] local.INFO: IMEI packet received {"connection_id":64850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":64850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:04:59] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:04:59] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:04:59] local.INFO: Packet analysis {"connection_id":64850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:04:59] local.INFO: Extracted packet for processing {"connection_id":64850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:04:59] 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-05-08 07:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:04:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":64850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:04:59] local.INFO: GPS data processed {"connection_id":64850,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:04:59] local.INFO: Acknowledgment sent {"connection_id":64850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:05:31] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:05:31] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:05:31] local.INFO: Packet analysis {"connection_id":64850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:05:31] local.INFO: Extracted packet for processing {"connection_id":64850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:05:31] 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-05-08 07:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:05:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":64850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:05:31] local.INFO: GPS data processed {"connection_id":64850,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:05:31] local.INFO: Acknowledgment sent {"connection_id":64850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:05:53] local.INFO: TCP Data received {"connection_id":64813,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:05:53] local.INFO: Processing buffer {"connection_id":64813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:05:53] local.INFO: IMEI packet received {"connection_id":64813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":64813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:05:58] local.INFO: TCP Data received {"connection_id":64813,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:05:58] local.INFO: Processing buffer {"connection_id":64813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:05:58] local.INFO: IMEI packet received {"connection_id":64813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":64813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:05:59] local.INFO: TCP Data received {"connection_id":64813,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:05:59] local.INFO: Processing buffer {"connection_id":64813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:05:59] local.INFO: Packet analysis {"connection_id":64813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:05:59] local.INFO: Extracted packet for processing {"connection_id":64813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:05:59] 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-05-08 07:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:05:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":64813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:05:59] local.INFO: GPS data processed {"connection_id":64813,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:05:59] local.INFO: Acknowledgment sent {"connection_id":64813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:06:23] local.INFO: TCP Data received {"connection_id":64904,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64904,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:06:23] local.INFO: Processing buffer {"connection_id":64904,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:06:23] local.INFO: IMEI packet received {"connection_id":64904,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:06:23] local.INFO: IMEI acknowledgment sent {"connection_id":64904,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:06:31] local.INFO: TCP Data received {"connection_id":64813,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:06:31] local.INFO: Processing buffer {"connection_id":64813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:06:31] local.INFO: Packet analysis {"connection_id":64813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:06:31] local.INFO: Extracted packet for processing {"connection_id":64813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:06:31] 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-05-08 07:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:06:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":64813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:06:31] local.INFO: GPS data processed {"connection_id":64813,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:06:31] local.INFO: Acknowledgment sent {"connection_id":64813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:06:43] local.INFO: TCP Data received {"connection_id":64814,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:06:43] local.INFO: Processing buffer {"connection_id":64814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:06:43] local.INFO: IMEI packet received {"connection_id":64814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":64814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:06:53] local.INFO: TCP Data received {"connection_id":64815,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:06:53] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:06:53] local.INFO: IMEI packet received {"connection_id":64815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":64815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:06:58] local.INFO: TCP Data received {"connection_id":64815,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:06:58] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:06:58] local.INFO: IMEI packet received {"connection_id":64815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":64815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:06:59] local.INFO: TCP Data received {"connection_id":64815,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:06:59] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:06:59] local.INFO: Packet analysis {"connection_id":64815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:06:59] local.INFO: Extracted packet for processing {"connection_id":64815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:06:59] 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-05-08 07:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:06:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":64815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:06:59] local.INFO: GPS data processed {"connection_id":64815,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:06:59] local.INFO: Acknowledgment sent {"connection_id":64815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:07:31] local.INFO: TCP Data received {"connection_id":64815,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:07:31] local.INFO: Processing buffer {"connection_id":64815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:07:31] local.INFO: Packet analysis {"connection_id":64815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:07:31] local.INFO: Extracted packet for processing {"connection_id":64815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:07:31] 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-05-08 07:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:07:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":64815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:07:31] local.INFO: GPS data processed {"connection_id":64815,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:07:31] local.INFO: Acknowledgment sent {"connection_id":64815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:07:53] local.INFO: TCP Data received {"connection_id":64851,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:07:53] local.INFO: Processing buffer {"connection_id":64851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:07:53] local.INFO: IMEI packet received {"connection_id":64851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":64851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:07:58] local.INFO: TCP Data received {"connection_id":64851,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:07:58] local.INFO: Processing buffer {"connection_id":64851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:07:58] local.INFO: IMEI packet received {"connection_id":64851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":64851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:07:59] local.INFO: TCP Data received {"connection_id":64851,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:07:59] local.INFO: Processing buffer {"connection_id":64851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:07:59] local.INFO: Packet analysis {"connection_id":64851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:07:59] local.INFO: Extracted packet for processing {"connection_id":64851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:07:59] 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-05-08 07:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:07:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":64851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:07:59] local.INFO: GPS data processed {"connection_id":64851,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:07:59] local.INFO: Acknowledgment sent {"connection_id":64851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:08:31] local.INFO: TCP Data received {"connection_id":64851,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:08:31] local.INFO: Processing buffer {"connection_id":64851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:08:31] local.INFO: Packet analysis {"connection_id":64851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:08:31] local.INFO: Extracted packet for processing {"connection_id":64851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:08:31] 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-05-08 07:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:08:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":64851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:08:31] local.INFO: GPS data processed {"connection_id":64851,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:08:31] local.INFO: Acknowledgment sent {"connection_id":64851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:08:58] local.INFO: TCP Data received {"connection_id":65652,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:08:58] local.INFO: Processing buffer {"connection_id":65652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:08:58] local.INFO: IMEI packet received {"connection_id":65652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":65652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:09:03] local.INFO: TCP Data received {"connection_id":65652,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:03] local.INFO: Processing buffer {"connection_id":65652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:03] local.INFO: IMEI packet received {"connection_id":65652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":65652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:09:04] local.INFO: TCP Data received {"connection_id":65652,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:09:04] local.INFO: Processing buffer {"connection_id":65652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:09:04] local.INFO: Packet analysis {"connection_id":65652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:09:04] local.INFO: Extracted packet for processing {"connection_id":65652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:09:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:09:04] 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-05-08 07:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 07:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:09:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:09:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:09:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":65652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:09:04] local.INFO: GPS data processed {"connection_id":65652,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:09:04] local.INFO: Acknowledgment sent {"connection_id":65652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:09:09] local.INFO: TCP Data received {"connection_id":65652,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:09:09] local.INFO: Processing buffer {"connection_id":65652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053891f0012d34c54006aa50700000006227..."} 
[2026-05-08 07:09:09] local.INFO: Packet analysis {"connection_id":65652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:09:09] local.INFO: Extracted packet for processing {"connection_id":65652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0538"} 
[2026-05-08 07:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 07:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220160768001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:09: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-05-08 07:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778204054000,"timestamp_ms":1778204054000,"timestamp_seconds":1778204054,"priority":1,"record_length":96,"hex_timestamp":"0000019e053891f0"} 
[2026-05-08 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-05-08 07: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 07:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220160768001,"66":25158,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220160768001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:09:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:09:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220160768001,"power":25158,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":65652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:09:09] local.INFO: GPS data processed {"connection_id":65652,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:09:09] local.INFO: Acknowledgment sent {"connection_id":65652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:09:53] local.INFO: TCP Data received {"connection_id":65653,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:53] local.INFO: Processing buffer {"connection_id":65653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:53] local.INFO: IMEI packet received {"connection_id":65653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":65653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:09:53] local.INFO: TCP Data received {"connection_id":65653,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:53] local.INFO: Processing buffer {"connection_id":65653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:53] local.INFO: IMEI packet received {"connection_id":65653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":65653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:09:58] local.INFO: TCP Data received {"connection_id":65653,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:58] local.INFO: Processing buffer {"connection_id":65653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:09:58] local.INFO: IMEI packet received {"connection_id":65653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":65653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:10:00] local.INFO: TCP Data received {"connection_id":65653,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:10:00] local.INFO: Processing buffer {"connection_id":65653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:10:00] local.INFO: Packet analysis {"connection_id":65653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:10:00] local.INFO: Extracted packet for processing {"connection_id":65653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:10:00] 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-05-08 07:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:10:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:10:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:10:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":65653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:10:00] local.INFO: GPS data processed {"connection_id":65653,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:10:00] local.INFO: Acknowledgment sent {"connection_id":65653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:10:31] local.INFO: TCP Data received {"connection_id":65653,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:10:31] local.INFO: Processing buffer {"connection_id":65653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:10:31] local.INFO: Packet analysis {"connection_id":65653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:10:31] local.INFO: Extracted packet for processing {"connection_id":65653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:10:31] 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-05-08 07:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:10:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:10:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":65653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:10:31] local.INFO: GPS data processed {"connection_id":65653,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:10:31] local.INFO: Acknowledgment sent {"connection_id":65653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:10:53] local.INFO: TCP Data received {"connection_id":65654,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:10:53] local.INFO: Processing buffer {"connection_id":65654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:10:53] local.INFO: IMEI packet received {"connection_id":65654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":65654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:10:58] local.INFO: TCP Data received {"connection_id":65654,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:10:58] local.INFO: Processing buffer {"connection_id":65654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:10:58] local.INFO: IMEI packet received {"connection_id":65654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":65654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:11:00] local.INFO: TCP Data received {"connection_id":65654,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:11:00] local.INFO: Processing buffer {"connection_id":65654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:11:00] local.INFO: Packet analysis {"connection_id":65654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:11:00] local.INFO: Extracted packet for processing {"connection_id":65654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:11:00] 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-05-08 07:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:11:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":65654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:11:00] local.INFO: GPS data processed {"connection_id":65654,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:11:00] local.INFO: Acknowledgment sent {"connection_id":65654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:11:31] local.INFO: TCP Data received {"connection_id":65654,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:11:31] local.INFO: Processing buffer {"connection_id":65654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:11:31] local.INFO: Packet analysis {"connection_id":65654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:11:31] local.INFO: Extracted packet for processing {"connection_id":65654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:11:31] 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-05-08 07:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:11:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":65654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:11:31] local.INFO: GPS data processed {"connection_id":65654,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:11:31] local.INFO: Acknowledgment sent {"connection_id":65654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:11:58] local.INFO: TCP Data received {"connection_id":65656,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:11:58] local.INFO: Processing buffer {"connection_id":65656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:11:58] local.INFO: IMEI packet received {"connection_id":65656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":65656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:12:03] local.INFO: TCP Data received {"connection_id":65656,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:03] local.INFO: Processing buffer {"connection_id":65656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:03] local.INFO: IMEI packet received {"connection_id":65656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":65656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:12:04] local.INFO: TCP Data received {"connection_id":65656,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:04] local.INFO: Processing buffer {"connection_id":65656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:04] local.INFO: Packet analysis {"connection_id":65656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:12:04] local.INFO: Extracted packet for processing {"connection_id":65656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:12:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12:04] 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-05-08 07:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:12:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:12:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":65656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:12:04] local.INFO: GPS data processed {"connection_id":65656,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:12:04] local.INFO: Acknowledgment sent {"connection_id":65656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:12:07] local.INFO: TCP Data received {"connection_id":65655,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:12:07] local.INFO: Processing buffer {"connection_id":65655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:12:07] local.INFO: IMEI packet received {"connection_id":65655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":65655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:12:09] local.INFO: TCP Data received {"connection_id":65656,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:09] local.INFO: Processing buffer {"connection_id":65656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:09] local.INFO: Packet analysis {"connection_id":65656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:12:09] local.INFO: Extracted packet for processing {"connection_id":65656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 07:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12: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-05-08 07:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 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-05-08 07: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-05-08 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":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:12:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 07:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:12:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":65656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:12:09] local.INFO: GPS data processed {"connection_id":65656,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:12:09] local.INFO: Acknowledgment sent {"connection_id":65656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:12:42] local.INFO: TCP Data received {"connection_id":64818,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:12:42] local.INFO: Processing buffer {"connection_id":64818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:12:42] local.INFO: IMEI packet received {"connection_id":64818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":64818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:12:53] local.INFO: TCP Data received {"connection_id":64819,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:53] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:53] local.INFO: IMEI packet received {"connection_id":64819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":64819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:12:58] local.INFO: TCP Data received {"connection_id":64819,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:58] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:12:58] local.INFO: IMEI packet received {"connection_id":64819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":64819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:12:59] local.INFO: TCP Data received {"connection_id":64819,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:59] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:12:59] local.INFO: Packet analysis {"connection_id":64819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:12:59] local.INFO: Extracted packet for processing {"connection_id":64819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:12:59] 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-05-08 07:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:12:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":64819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:12:59] local.INFO: GPS data processed {"connection_id":64819,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:12:59] local.INFO: Acknowledgment sent {"connection_id":64819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:13:31] local.INFO: TCP Data received {"connection_id":64819,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:13:31] local.INFO: Processing buffer {"connection_id":64819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:13:31] local.INFO: Packet analysis {"connection_id":64819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:13:31] local.INFO: Extracted packet for processing {"connection_id":64819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:13:31] 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-05-08 07:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:13:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":64819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:13:31] local.INFO: GPS data processed {"connection_id":64819,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:13:31] local.INFO: Acknowledgment sent {"connection_id":64819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:13:53] local.INFO: TCP Data received {"connection_id":65657,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:13:53] local.INFO: Processing buffer {"connection_id":65657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:13:53] local.INFO: IMEI packet received {"connection_id":65657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":65657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:13:58] local.INFO: TCP Data received {"connection_id":65657,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:13:58] local.INFO: Processing buffer {"connection_id":65657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:13:58] local.INFO: IMEI packet received {"connection_id":65657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":65657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:13:59] local.INFO: TCP Data received {"connection_id":65657,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:13:59] local.INFO: Processing buffer {"connection_id":65657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:13:59] local.INFO: Packet analysis {"connection_id":65657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:13:59] local.INFO: Extracted packet for processing {"connection_id":65657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:13:59] 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-05-08 07:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:13:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":65657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:13:59] local.INFO: GPS data processed {"connection_id":65657,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:13:59] local.INFO: Acknowledgment sent {"connection_id":65657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:14:31] local.INFO: TCP Data received {"connection_id":65657,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:14:31] local.INFO: Processing buffer {"connection_id":65657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e053d29b8012d34c54006aa50700000006227..."} 
[2026-05-08 07:14:31] local.INFO: Packet analysis {"connection_id":65657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:14:31] local.INFO: Extracted packet for processing {"connection_id":65657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e053d"} 
[2026-05-08 07:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220237824001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:14:31] 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-05-08 07:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204355000,"timestamp_ms":1778204355000,"timestamp_seconds":1778204355,"priority":1,"record_length":96,"hex_timestamp":"0000019e053d29b8"} 
[2026-05-08 07:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:14:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 07:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220237824001,"66":24212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220237824001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:14:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220237824001,"power":24212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":65657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:14:31] local.INFO: GPS data processed {"connection_id":65657,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:14:31] local.INFO: Acknowledgment sent {"connection_id":65657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:14:53] local.INFO: TCP Data received {"connection_id":65658,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:53] local.INFO: Processing buffer {"connection_id":65658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:53] local.INFO: IMEI packet received {"connection_id":65658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":65658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:14:54] local.INFO: TCP Data received {"connection_id":65658,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:54] local.INFO: Processing buffer {"connection_id":65658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:54] local.INFO: IMEI packet received {"connection_id":65658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":65658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:14:58] local.INFO: TCP Data received {"connection_id":65658,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:58] local.INFO: Processing buffer {"connection_id":65658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:14:58] local.INFO: IMEI packet received {"connection_id":65658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":65658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:14:59] local.INFO: TCP Data received {"connection_id":65658,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:14:59] local.INFO: Processing buffer {"connection_id":65658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:14:59] local.INFO: Packet analysis {"connection_id":65658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:14:59] local.INFO: Extracted packet for processing {"connection_id":65658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:14: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-05-08 07:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":65658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:14:59] local.INFO: GPS data processed {"connection_id":65658,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:14:59] local.INFO: Acknowledgment sent {"connection_id":65658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:15:31] local.INFO: TCP Data received {"connection_id":65658,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:15:31] local.INFO: Processing buffer {"connection_id":65658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:15:31] local.INFO: Packet analysis {"connection_id":65658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:15:31] local.INFO: Extracted packet for processing {"connection_id":65658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:15:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":65658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:15:31] local.INFO: GPS data processed {"connection_id":65658,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:15:31] local.INFO: Acknowledgment sent {"connection_id":65658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:15:58] local.INFO: TCP Data received {"connection_id":65659,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:15:58] local.INFO: Processing buffer {"connection_id":65659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:15:58] local.INFO: IMEI packet received {"connection_id":65659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":65659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:16:03] local.INFO: TCP Data received {"connection_id":65659,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:03] local.INFO: Processing buffer {"connection_id":65659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:03] local.INFO: IMEI packet received {"connection_id":65659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":65659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:16:04] local.INFO: TCP Data received {"connection_id":65659,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:04] local.INFO: Processing buffer {"connection_id":65659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:04] local.INFO: Packet analysis {"connection_id":65659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:16:04] local.INFO: Extracted packet for processing {"connection_id":65659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:16: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-05-08 07:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:16:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:16:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":65659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:16:04] local.INFO: GPS data processed {"connection_id":65659,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:16:04] local.INFO: Acknowledgment sent {"connection_id":65659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:16:09] local.INFO: TCP Data received {"connection_id":65659,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:09] local.INFO: Processing buffer {"connection_id":65659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:09] local.INFO: Packet analysis {"connection_id":65659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:16:09] local.INFO: Extracted packet for processing {"connection_id":65659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 07:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 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-05-08 07: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-05-08 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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 07:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:16:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:16:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":65659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:16:09] local.INFO: GPS data processed {"connection_id":65659,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:16:09] local.INFO: Acknowledgment sent {"connection_id":65659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:16:53] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:53] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:53] local.INFO: IMEI packet received {"connection_id":64820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":64820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:16:58] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:58] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:16:58] local.INFO: IMEI packet received {"connection_id":64820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":64820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:16:59] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:59] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:16:59] local.INFO: Packet analysis {"connection_id":64820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:16:59] local.INFO: Extracted packet for processing {"connection_id":64820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:16: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-05-08 07:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":64820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:16:59] local.INFO: GPS data processed {"connection_id":64820,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:16:59] local.INFO: Acknowledgment sent {"connection_id":64820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:17:31] local.INFO: TCP Data received {"connection_id":64820,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:17:31] local.INFO: Processing buffer {"connection_id":64820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:17:31] local.INFO: Packet analysis {"connection_id":64820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:17:31] local.INFO: Extracted packet for processing {"connection_id":64820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:17:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":64820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:17:31] local.INFO: GPS data processed {"connection_id":64820,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:17:31] local.INFO: Acknowledgment sent {"connection_id":64820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:17:53] local.INFO: TCP Data received {"connection_id":64855,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:17:53] local.INFO: Processing buffer {"connection_id":64855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:17:53] local.INFO: IMEI packet received {"connection_id":64855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":64855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:17:58] local.INFO: TCP Data received {"connection_id":64855,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:17:58] local.INFO: Processing buffer {"connection_id":64855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:17:58] local.INFO: IMEI packet received {"connection_id":64855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":64855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:17:59] local.INFO: TCP Data received {"connection_id":64855,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:17:59] local.INFO: Processing buffer {"connection_id":64855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:17:59] local.INFO: Packet analysis {"connection_id":64855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:17:59] local.INFO: Extracted packet for processing {"connection_id":64855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:17: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-05-08 07:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":64855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:17:59] local.INFO: GPS data processed {"connection_id":64855,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:17:59] local.INFO: Acknowledgment sent {"connection_id":64855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:18:12] local.INFO: TCP Data received {"connection_id":64854,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:18:12] local.INFO: Processing buffer {"connection_id":64854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:18:12] local.INFO: IMEI packet received {"connection_id":64854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":64854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:18:31] local.INFO: TCP Data received {"connection_id":64855,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:18:31] local.INFO: Processing buffer {"connection_id":64855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:18:31] local.INFO: Packet analysis {"connection_id":64855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:18:31] local.INFO: Extracted packet for processing {"connection_id":64855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:18:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:18:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:18:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":64855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:18:31] local.INFO: GPS data processed {"connection_id":64855,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:18:31] local.INFO: Acknowledgment sent {"connection_id":64855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:18:42] local.INFO: TCP Data received {"connection_id":64908,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64908,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:18:42] local.INFO: Processing buffer {"connection_id":64908,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:18:42] local.INFO: IMEI packet received {"connection_id":64908,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":64908,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:18:53] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:18:53] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:18:53] local.INFO: IMEI packet received {"connection_id":64821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":64821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:18:58] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:18:58] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:18:58] local.INFO: IMEI packet received {"connection_id":64821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":64821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:18:59] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:18:59] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:18:59] local.INFO: Packet analysis {"connection_id":64821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:18:59] local.INFO: Extracted packet for processing {"connection_id":64821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:18: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-05-08 07:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:18:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":64821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:18:59] local.INFO: GPS data processed {"connection_id":64821,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:18:59] local.INFO: Acknowledgment sent {"connection_id":64821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:19:31] local.INFO: TCP Data received {"connection_id":64821,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:19:31] local.INFO: Processing buffer {"connection_id":64821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0541c180012d34c54006aa50700000006228..."} 
[2026-05-08 07:19:31] local.INFO: Packet analysis {"connection_id":64821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:19:31] local.INFO: Extracted packet for processing {"connection_id":64821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0541"} 
[2026-05-08 07:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220314880001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204656000,"timestamp_ms":1778204656000,"timestamp_seconds":1778204656,"priority":1,"record_length":96,"hex_timestamp":"0000019e0541c180"} 
[2026-05-08 07:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":94,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-05-08 07:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2000,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220314880001,"66":24658,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220314880001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:19:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220314880001,"power":24658,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":64821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:19:31] local.INFO: GPS data processed {"connection_id":64821,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:19:31] local.INFO: Acknowledgment sent {"connection_id":64821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:19:53] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:53] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:53] local.INFO: IMEI packet received {"connection_id":64910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":64910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:19:55] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:55] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:55] local.INFO: IMEI packet received {"connection_id":64910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":64910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:19:58] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:58] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:19:58] local.INFO: IMEI packet received {"connection_id":64910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":64910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:20:00] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:00] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:00] local.INFO: Packet analysis {"connection_id":64910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:20:00] local.INFO: Extracted packet for processing {"connection_id":64910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:20:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20: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-05-08 07:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:20:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":64910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:20:00] local.INFO: GPS data processed {"connection_id":64910,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:20:00] local.INFO: Acknowledgment sent {"connection_id":64910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:20:31] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:31] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:31] local.INFO: Packet analysis {"connection_id":64910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:20:31] local.INFO: Extracted packet for processing {"connection_id":64910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:20:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":64910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:20:31] local.INFO: GPS data processed {"connection_id":64910,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:20:31] local.INFO: Acknowledgment sent {"connection_id":64910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:20:53] local.INFO: TCP Data received {"connection_id":64822,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:20:53] local.INFO: Processing buffer {"connection_id":64822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:20:53] local.INFO: IMEI packet received {"connection_id":64822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":64822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:20:58] local.INFO: TCP Data received {"connection_id":64822,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:20:58] local.INFO: Processing buffer {"connection_id":64822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:20:58] local.INFO: IMEI packet received {"connection_id":64822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":64822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:20:59] local.INFO: TCP Data received {"connection_id":64822,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:59] local.INFO: Processing buffer {"connection_id":64822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:20:59] local.INFO: Packet analysis {"connection_id":64822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:20:59] local.INFO: Extracted packet for processing {"connection_id":64822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:20: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-05-08 07:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:20:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":64822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:20:59] local.INFO: GPS data processed {"connection_id":64822,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:20:59] local.INFO: Acknowledgment sent {"connection_id":64822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:21:31] local.INFO: TCP Data received {"connection_id":64822,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:21:31] local.INFO: Processing buffer {"connection_id":64822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:21:31] local.INFO: Packet analysis {"connection_id":64822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:21:31] local.INFO: Extracted packet for processing {"connection_id":64822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:21:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":64822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:21:31] local.INFO: GPS data processed {"connection_id":64822,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:21:31] local.INFO: Acknowledgment sent {"connection_id":64822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:21:53] local.INFO: TCP Data received {"connection_id":65662,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:21:53] local.INFO: Processing buffer {"connection_id":65662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:21:53] local.INFO: IMEI packet received {"connection_id":65662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":65662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:21:58] local.INFO: TCP Data received {"connection_id":65662,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:21:58] local.INFO: Processing buffer {"connection_id":65662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:21:58] local.INFO: IMEI packet received {"connection_id":65662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":65662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:22:00] local.INFO: TCP Data received {"connection_id":65662,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:00] local.INFO: Processing buffer {"connection_id":65662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:00] local.INFO: Packet analysis {"connection_id":65662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:22:00] local.INFO: Extracted packet for processing {"connection_id":65662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:22:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22: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-05-08 07:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:22:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":65662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:22:00] local.INFO: GPS data processed {"connection_id":65662,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:22:00] local.INFO: Acknowledgment sent {"connection_id":65662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:22:31] local.INFO: TCP Data received {"connection_id":65662,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:31] local.INFO: Processing buffer {"connection_id":65662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:31] local.INFO: Packet analysis {"connection_id":65662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:22:31] local.INFO: Extracted packet for processing {"connection_id":65662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:22:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":65662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:22:31] local.INFO: GPS data processed {"connection_id":65662,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:22:31] local.INFO: Acknowledgment sent {"connection_id":65662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:22:53] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:22:53] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:22:53] local.INFO: IMEI packet received {"connection_id":64912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":64912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:22:58] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:22:58] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:22:58] local.INFO: IMEI packet received {"connection_id":64912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":64912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:22:59] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:59] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:22:59] local.INFO: Packet analysis {"connection_id":64912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:22:59] local.INFO: Extracted packet for processing {"connection_id":64912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:22: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-05-08 07:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":64912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:22:59] local.INFO: GPS data processed {"connection_id":64912,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:22:59] local.INFO: Acknowledgment sent {"connection_id":64912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:23:31] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:23:31] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:23:31] local.INFO: Packet analysis {"connection_id":64912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:23:31] local.INFO: Extracted packet for processing {"connection_id":64912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:23:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":64912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:23:31] local.INFO: GPS data processed {"connection_id":64912,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:23:31] local.INFO: Acknowledgment sent {"connection_id":64912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:23:58] local.INFO: TCP Data received {"connection_id":64914,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:23:58] local.INFO: Processing buffer {"connection_id":64914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:23:58] local.INFO: IMEI packet received {"connection_id":64914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":64914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:24:03] local.INFO: TCP Data received {"connection_id":64914,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:03] local.INFO: Processing buffer {"connection_id":64914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:03] local.INFO: IMEI packet received {"connection_id":64914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":64914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:24:04] local.INFO: TCP Data received {"connection_id":64914,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:24:04] local.INFO: Processing buffer {"connection_id":64914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:24:04] local.INFO: Packet analysis {"connection_id":64914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:24:04] local.INFO: Extracted packet for processing {"connection_id":64914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:24:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:24:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:24:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":64914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:24:04] local.INFO: GPS data processed {"connection_id":64914,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:24:04] local.INFO: Acknowledgment sent {"connection_id":64914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:24:09] local.INFO: TCP Data received {"connection_id":64914,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:24:09] local.INFO: Processing buffer {"connection_id":64914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05465948012d34c54006aa5070000000622a..."} 
[2026-05-08 07:24:09] local.INFO: Packet analysis {"connection_id":64914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:24:09] local.INFO: Extracted packet for processing {"connection_id":64914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0546"} 
[2026-05-08 07:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220391936001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778204957000,"timestamp_ms":1778204957000,"timestamp_seconds":1778204957,"priority":1,"record_length":96,"hex_timestamp":"0000019e05465948"} 
[2026-05-08 07:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-05-08 07:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1416,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220391936001,"66":25104,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220391936001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:24:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:24:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220391936001,"power":25104,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":64914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:24:09] local.INFO: GPS data processed {"connection_id":64914,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:24:09] local.INFO: Acknowledgment sent {"connection_id":64914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:24:12] local.INFO: TCP Data received {"connection_id":64913,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:24:12] local.INFO: Processing buffer {"connection_id":64913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:24:12] local.INFO: IMEI packet received {"connection_id":64913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":64913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:24:42] local.INFO: TCP Data received {"connection_id":64856,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:24:42] local.INFO: Processing buffer {"connection_id":64856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:24:42] local.INFO: IMEI packet received {"connection_id":64856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":64856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:24:53] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:53] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:53] local.INFO: IMEI packet received {"connection_id":64915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":64915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:24:56] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:56] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:24:56] local.INFO: IMEI packet received {"connection_id":64915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":64915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:24:57] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:24:57] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:24:57] local.INFO: Packet analysis {"connection_id":64915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:24:57] local.INFO: Extracted packet for processing {"connection_id":64915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:24:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:24: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-05-08 07:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:24:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":64915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:24:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:24:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":64915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:24:57] local.INFO: GPS data processed {"connection_id":64915,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:24:57] local.INFO: Acknowledgment sent {"connection_id":64915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:25:29] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:25:29] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:25:29] local.INFO: Packet analysis {"connection_id":64915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:25:29] local.INFO: Extracted packet for processing {"connection_id":64915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:25:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":64915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:25:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:25:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":64915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:25:29] local.INFO: GPS data processed {"connection_id":64915,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:25:29] local.INFO: Acknowledgment sent {"connection_id":64915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:25:53] local.INFO: TCP Data received {"connection_id":64857,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:25:53] local.INFO: Processing buffer {"connection_id":64857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:25:53] local.INFO: IMEI packet received {"connection_id":64857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":64857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:25:58] local.INFO: TCP Data received {"connection_id":64857,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:25:58] local.INFO: Processing buffer {"connection_id":64857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:25:58] local.INFO: IMEI packet received {"connection_id":64857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":64857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:26:00] local.INFO: TCP Data received {"connection_id":64857,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:00] local.INFO: Processing buffer {"connection_id":64857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:00] local.INFO: Packet analysis {"connection_id":64857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:26:00] local.INFO: Extracted packet for processing {"connection_id":64857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26: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-05-08 07:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":64857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:26:00] local.INFO: GPS data processed {"connection_id":64857,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:26:00] local.INFO: Acknowledgment sent {"connection_id":64857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:26:31] local.INFO: TCP Data received {"connection_id":64857,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:31] local.INFO: Processing buffer {"connection_id":64857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:31] local.INFO: Packet analysis {"connection_id":64857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:26:31] local.INFO: Extracted packet for processing {"connection_id":64857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:26:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":64857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:26:31] local.INFO: GPS data processed {"connection_id":64857,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:26:31] local.INFO: Acknowledgment sent {"connection_id":64857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:26:53] local.INFO: TCP Data received {"connection_id":65664,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:26:53] local.INFO: Processing buffer {"connection_id":65664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:26:53] local.INFO: IMEI packet received {"connection_id":65664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":65664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:26:58] local.INFO: TCP Data received {"connection_id":65664,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:26:58] local.INFO: Processing buffer {"connection_id":65664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:26:58] local.INFO: IMEI packet received {"connection_id":65664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":65664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:26:59] local.INFO: TCP Data received {"connection_id":65664,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:59] local.INFO: Processing buffer {"connection_id":65664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:26:59] local.INFO: Packet analysis {"connection_id":65664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:26:59] local.INFO: Extracted packet for processing {"connection_id":65664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:26: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-05-08 07:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":65664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:26:59] local.INFO: GPS data processed {"connection_id":65664,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:26:59] local.INFO: Acknowledgment sent {"connection_id":65664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:27:31] local.INFO: TCP Data received {"connection_id":65664,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:27:31] local.INFO: Processing buffer {"connection_id":65664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:27:31] local.INFO: Packet analysis {"connection_id":65664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:27:31] local.INFO: Extracted packet for processing {"connection_id":65664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:27:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":65664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:27:31] local.INFO: GPS data processed {"connection_id":65664,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:27:31] local.INFO: Acknowledgment sent {"connection_id":65664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:27:59] local.INFO: TCP Data received {"connection_id":64917,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:27:59] local.INFO: Processing buffer {"connection_id":64917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:27:59] local.INFO: IMEI packet received {"connection_id":64917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:27:59] local.INFO: IMEI acknowledgment sent {"connection_id":64917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:28:03] local.INFO: TCP Data received {"connection_id":64917,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:03] local.INFO: Processing buffer {"connection_id":64917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:03] local.INFO: IMEI packet received {"connection_id":64917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":64917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:28:04] local.INFO: TCP Data received {"connection_id":64917,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:04] local.INFO: Processing buffer {"connection_id":64917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:04] local.INFO: Packet analysis {"connection_id":64917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:28:04] local.INFO: Extracted packet for processing {"connection_id":64917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:28: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-05-08 07:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:28:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:28:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":64917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:28:04] local.INFO: GPS data processed {"connection_id":64917,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:28:04] local.INFO: Acknowledgment sent {"connection_id":64917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:28:09] local.INFO: TCP Data received {"connection_id":64917,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:09] local.INFO: Processing buffer {"connection_id":64917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:09] local.INFO: Packet analysis {"connection_id":64917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:28:09] local.INFO: Extracted packet for processing {"connection_id":64917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 07:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 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-05-08 07:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 07:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:28:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:28:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":64917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:28:09] local.INFO: GPS data processed {"connection_id":64917,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:28:09] local.INFO: Acknowledgment sent {"connection_id":64917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:28:53] local.INFO: TCP Data received {"connection_id":65665,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:53] local.INFO: Processing buffer {"connection_id":65665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:53] local.INFO: IMEI packet received {"connection_id":65665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":65665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:28:58] local.INFO: TCP Data received {"connection_id":65665,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:58] local.INFO: Processing buffer {"connection_id":65665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:28:58] local.INFO: IMEI packet received {"connection_id":65665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":65665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:28:59] local.INFO: TCP Data received {"connection_id":65665,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:59] local.INFO: Processing buffer {"connection_id":65665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:28:59] local.INFO: Packet analysis {"connection_id":65665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:28:59] local.INFO: Extracted packet for processing {"connection_id":65665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:28: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-05-08 07:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":65665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:28:59] local.INFO: GPS data processed {"connection_id":65665,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:28:59] local.INFO: Acknowledgment sent {"connection_id":65665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:29:30] local.INFO: TCP Data received {"connection_id":65665,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:29:30] local.INFO: Processing buffer {"connection_id":65665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054af110012d34c54006aa50700000006229..."} 
[2026-05-08 07:29:30] local.INFO: Packet analysis {"connection_id":65665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:29:30] local.INFO: Extracted packet for processing {"connection_id":65665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054a"} 
[2026-05-08 07:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220468992001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778205258000,"timestamp_ms":1778205258000,"timestamp_seconds":1778205258,"priority":1,"record_length":96,"hex_timestamp":"0000019e054af110"} 
[2026-05-08 07:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:29: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-05-08 07:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-05-08 07:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":832,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220468992001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220468992001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220468992001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":65665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:29:30] local.INFO: GPS data processed {"connection_id":65665,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:29:30] local.INFO: Acknowledgment sent {"connection_id":65665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:29:54] local.INFO: TCP Data received {"connection_id":64826,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:29:54] local.INFO: Processing buffer {"connection_id":64826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:29:54] local.INFO: IMEI packet received {"connection_id":64826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":64826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:29:58] local.INFO: TCP Data received {"connection_id":64826,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:29:58] local.INFO: Processing buffer {"connection_id":64826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:29:58] local.INFO: IMEI packet received {"connection_id":64826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":64826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:29:59] local.INFO: TCP Data received {"connection_id":64826,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:29:59] local.INFO: Processing buffer {"connection_id":64826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:29:59] local.INFO: Packet analysis {"connection_id":64826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:29:59] local.INFO: Extracted packet for processing {"connection_id":64826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:29: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-05-08 07:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":64826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:29:59] local.INFO: GPS data processed {"connection_id":64826,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:29:59] local.INFO: Acknowledgment sent {"connection_id":64826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:30:07] local.INFO: TCP Data received {"connection_id":64825,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:30:07] local.INFO: Processing buffer {"connection_id":64825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:30:07] local.INFO: IMEI packet received {"connection_id":64825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":64825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:30:31] local.INFO: TCP Data received {"connection_id":64826,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:30:31] local.INFO: Processing buffer {"connection_id":64826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:30:31] local.INFO: Packet analysis {"connection_id":64826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:30:31] local.INFO: Extracted packet for processing {"connection_id":64826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":64826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:30:31] local.INFO: GPS data processed {"connection_id":64826,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:30:31] local.INFO: Acknowledgment sent {"connection_id":64826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:30:47] local.INFO: TCP Data received {"connection_id":64858,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:30:47] local.INFO: Processing buffer {"connection_id":64858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:30:47] local.INFO: IMEI packet received {"connection_id":64858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":64858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:30:53] local.INFO: TCP Data received {"connection_id":65666,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:30:53] local.INFO: Processing buffer {"connection_id":65666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:30:53] local.INFO: IMEI packet received {"connection_id":65666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":65666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:30:58] local.INFO: TCP Data received {"connection_id":65666,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:30:58] local.INFO: Processing buffer {"connection_id":65666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:30:58] local.INFO: IMEI packet received {"connection_id":65666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":65666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:30:59] local.INFO: TCP Data received {"connection_id":65666,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:31:00] local.INFO: Processing buffer {"connection_id":65666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:31:00] local.INFO: Packet analysis {"connection_id":65666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:31:00] local.INFO: Extracted packet for processing {"connection_id":65666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:31:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:31: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-05-08 07:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:31:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:31:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:31:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":65666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:31:00] local.INFO: GPS data processed {"connection_id":65666,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:31:00] local.INFO: Acknowledgment sent {"connection_id":65666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:31:31] local.INFO: TCP Data received {"connection_id":65666,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:31:31] local.INFO: Processing buffer {"connection_id":65666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:31:31] local.INFO: Packet analysis {"connection_id":65666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:31:31] local.INFO: Extracted packet for processing {"connection_id":65666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:31:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":65666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:31:31] local.INFO: GPS data processed {"connection_id":65666,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:31:31] local.INFO: Acknowledgment sent {"connection_id":65666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:31:58] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:31:58] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:31:58] local.INFO: IMEI packet received {"connection_id":64919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":64919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:32:03] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:03] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:03] local.INFO: IMEI packet received {"connection_id":64919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":64919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:32:04] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:32:04] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:32:04] local.INFO: Packet analysis {"connection_id":64919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:32:04] local.INFO: Extracted packet for processing {"connection_id":64919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:32:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:32:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:32:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:32:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:32:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:32:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":64919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:32:04] local.INFO: GPS data processed {"connection_id":64919,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:32:04] local.INFO: Acknowledgment sent {"connection_id":64919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:32:09] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:32:09] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:32:09] local.INFO: Packet analysis {"connection_id":64919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:32:09] local.INFO: Extracted packet for processing {"connection_id":64919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:32: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-05-08 07:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:32:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:32:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:32:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":64919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:32:09] local.INFO: GPS data processed {"connection_id":64919,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:32:09] local.INFO: Acknowledgment sent {"connection_id":64919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:32:53] local.INFO: TCP Data received {"connection_id":65667,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:53] local.INFO: Processing buffer {"connection_id":65667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:53] local.INFO: IMEI packet received {"connection_id":65667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":65667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:32:58] local.INFO: TCP Data received {"connection_id":65667,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:58] local.INFO: Processing buffer {"connection_id":65667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:32:58] local.INFO: IMEI packet received {"connection_id":65667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":65667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:33:00] local.INFO: TCP Data received {"connection_id":65667,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:00] local.INFO: Processing buffer {"connection_id":65667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:00] local.INFO: Packet analysis {"connection_id":65667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:33:00] local.INFO: Extracted packet for processing {"connection_id":65667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:33:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33: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-05-08 07:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:33:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:33:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":65667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:33:00] local.INFO: GPS data processed {"connection_id":65667,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:33:00] local.INFO: Acknowledgment sent {"connection_id":65667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:33:31] local.INFO: TCP Data received {"connection_id":65667,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:31] local.INFO: Processing buffer {"connection_id":65667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:31] local.INFO: Packet analysis {"connection_id":65667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:33:31] local.INFO: Extracted packet for processing {"connection_id":65667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:33:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":65667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:33:31] local.INFO: GPS data processed {"connection_id":65667,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:33:31] local.INFO: Acknowledgment sent {"connection_id":65667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:33:53] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:33:53] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:33:53] local.INFO: IMEI packet received {"connection_id":64828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":64828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:33:58] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:33:58] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:33:58] local.INFO: IMEI packet received {"connection_id":64828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":64828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:33:59] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:59] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:33:59] local.INFO: Packet analysis {"connection_id":64828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:33:59] local.INFO: Extracted packet for processing {"connection_id":64828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:33: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-05-08 07:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:33:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":64828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:33:59] local.INFO: GPS data processed {"connection_id":64828,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:33:59] local.INFO: Acknowledgment sent {"connection_id":64828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:34:31] local.INFO: TCP Data received {"connection_id":64828,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:34:31] local.INFO: Processing buffer {"connection_id":64828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e054f88d8012d34c54006aa5070000000622b..."} 
[2026-05-08 07:34:31] local.INFO: Packet analysis {"connection_id":64828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:34:31] local.INFO: Extracted packet for processing {"connection_id":64828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e054f"} 
[2026-05-08 07:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220546048001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205559000,"timestamp_ms":1778205559000,"timestamp_seconds":1778205559,"priority":1,"record_length":96,"hex_timestamp":"0000019e054f88d8"} 
[2026-05-08 07:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 07:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220546048001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220546048001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:34:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220546048001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":64828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:34:31] local.INFO: GPS data processed {"connection_id":64828,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:34:31] local.INFO: Acknowledgment sent {"connection_id":64828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:34:53] local.INFO: TCP Data received {"connection_id":64861,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:34:53] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:34:53] local.INFO: IMEI packet received {"connection_id":64861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":64861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:34:58] local.INFO: TCP Data received {"connection_id":64861,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:34:58] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:34:58] local.INFO: IMEI packet received {"connection_id":64861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":64861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:34:59] local.INFO: TCP Data received {"connection_id":64861,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:34:59] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:34:59] local.INFO: Packet analysis {"connection_id":64861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:34:59] local.INFO: Extracted packet for processing {"connection_id":64861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:34:59] 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-05-08 07:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:34:59] 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-05-08 07:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:34:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":64861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:34:59] local.INFO: GPS data processed {"connection_id":64861,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:34:59] local.INFO: Acknowledgment sent {"connection_id":64861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:35:30] local.INFO: TCP Data received {"connection_id":64861,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:35:30] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:35:30] local.INFO: Packet analysis {"connection_id":64861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:35:30] local.INFO: Extracted packet for processing {"connection_id":64861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:35:30] 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-05-08 07:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:35: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-05-08 07:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:35:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":64861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:35:30] local.INFO: GPS data processed {"connection_id":64861,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:35:30] local.INFO: Acknowledgment sent {"connection_id":64861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:35:53] local.INFO: TCP Data received {"connection_id":64862,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:35:53] local.INFO: Processing buffer {"connection_id":64862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:35:53] local.INFO: IMEI packet received {"connection_id":64862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":64862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:35:58] local.INFO: TCP Data received {"connection_id":64862,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:35:58] local.INFO: Processing buffer {"connection_id":64862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:35:58] local.INFO: IMEI packet received {"connection_id":64862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":64862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:35:59] local.INFO: TCP Data received {"connection_id":64862,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:35:59] local.INFO: Processing buffer {"connection_id":64862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:35:59] local.INFO: Packet analysis {"connection_id":64862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:35:59] local.INFO: Extracted packet for processing {"connection_id":64862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:35:59] 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-05-08 07:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:35:59] 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-05-08 07:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:35:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":64862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:35:59] local.INFO: GPS data processed {"connection_id":64862,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:35:59] local.INFO: Acknowledgment sent {"connection_id":64862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:36:07] local.INFO: TCP Data received {"connection_id":64829,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:36:07] local.INFO: Processing buffer {"connection_id":64829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:36:07] local.INFO: IMEI packet received {"connection_id":64829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":64829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:36:30] local.INFO: TCP Data received {"connection_id":64862,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:36:31] local.INFO: Processing buffer {"connection_id":64862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:36:31] local.INFO: Packet analysis {"connection_id":64862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:36:31] local.INFO: Extracted packet for processing {"connection_id":64862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:36:31] 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-05-08 07:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:36:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:36:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":64862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:36:31] local.INFO: GPS data processed {"connection_id":64862,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:36:31] local.INFO: Acknowledgment sent {"connection_id":64862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:36:47] local.INFO: TCP Data received {"connection_id":65668,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:36:47] local.INFO: Processing buffer {"connection_id":65668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:36:47] local.INFO: IMEI packet received {"connection_id":65668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":65668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:36:53] local.INFO: TCP Data received {"connection_id":64830,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:36:53] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:36:53] local.INFO: IMEI packet received {"connection_id":64830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":64830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:36:58] local.INFO: TCP Data received {"connection_id":64830,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:36:58] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:36:58] local.INFO: IMEI packet received {"connection_id":64830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":64830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:36:59] local.INFO: TCP Data received {"connection_id":64830,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:36:59] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:36:59] local.INFO: Packet analysis {"connection_id":64830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:36:59] local.INFO: Extracted packet for processing {"connection_id":64830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:36:59] 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-05-08 07:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:36:59] 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-05-08 07:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:36:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":64830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:36:59] local.INFO: GPS data processed {"connection_id":64830,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:36:59] local.INFO: Acknowledgment sent {"connection_id":64830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:37:31] local.INFO: TCP Data received {"connection_id":64830,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:37:31] local.INFO: Processing buffer {"connection_id":64830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:37:31] local.INFO: Packet analysis {"connection_id":64830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:37:31] local.INFO: Extracted packet for processing {"connection_id":64830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:37:31] 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-05-08 07:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":64830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:37:31] local.INFO: GPS data processed {"connection_id":64830,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:37:31] local.INFO: Acknowledgment sent {"connection_id":64830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:37:53] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:37:53] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:37:53] local.INFO: IMEI packet received {"connection_id":64920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":64920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:37:58] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:37:58] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:37:58] local.INFO: IMEI packet received {"connection_id":64920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":64920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:37:59] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:37:59] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:37:59] local.INFO: Packet analysis {"connection_id":64920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:37:59] local.INFO: Extracted packet for processing {"connection_id":64920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:37:59] 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-05-08 07:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:37:59] 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-05-08 07:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":64920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:37:59] local.INFO: GPS data processed {"connection_id":64920,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:37:59] local.INFO: Acknowledgment sent {"connection_id":64920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:38:31] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:38:31] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:38:31] local.INFO: Packet analysis {"connection_id":64920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:38:31] local.INFO: Extracted packet for processing {"connection_id":64920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:38:31] 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-05-08 07:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:38:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":64920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:38:31] local.INFO: GPS data processed {"connection_id":64920,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:38:31] local.INFO: Acknowledgment sent {"connection_id":64920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:38:53] local.INFO: TCP Data received {"connection_id":64832,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:38:53] local.INFO: Processing buffer {"connection_id":64832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:38:53] local.INFO: IMEI packet received {"connection_id":64832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":64832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:38:58] local.INFO: TCP Data received {"connection_id":64832,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:38:58] local.INFO: Processing buffer {"connection_id":64832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:38:58] local.INFO: IMEI packet received {"connection_id":64832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":64832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:38:59] local.INFO: TCP Data received {"connection_id":64832,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:38:59] local.INFO: Processing buffer {"connection_id":64832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:38:59] local.INFO: Packet analysis {"connection_id":64832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:38:59] local.INFO: Extracted packet for processing {"connection_id":64832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:38:59] 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-05-08 07:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:38:59] 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-05-08 07:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:38:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":64832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:38:59] local.INFO: GPS data processed {"connection_id":64832,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:38:59] local.INFO: Acknowledgment sent {"connection_id":64832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:39:31] local.INFO: TCP Data received {"connection_id":64832,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:39:31] local.INFO: Processing buffer {"connection_id":64832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055420a0012d34c54006aa50700000006228..."} 
[2026-05-08 07:39:31] local.INFO: Packet analysis {"connection_id":64832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:39:31] local.INFO: Extracted packet for processing {"connection_id":64832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0554"} 
[2026-05-08 07:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220623104001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:39:31] 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-05-08 07:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778205860000,"timestamp_ms":1778205860000,"timestamp_seconds":1778205860,"priority":1,"record_length":96,"hex_timestamp":"0000019e055420a0"} 
[2026-05-08 07:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 07:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220623104001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220623104001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:39:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220623104001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":64832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:39:31] local.INFO: GPS data processed {"connection_id":64832,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:39:31] local.INFO: Acknowledgment sent {"connection_id":64832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:39:53] local.INFO: TCP Data received {"connection_id":64863,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:39:53] local.INFO: Processing buffer {"connection_id":64863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:39:53] local.INFO: IMEI packet received {"connection_id":64863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":64863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:39:58] local.INFO: TCP Data received {"connection_id":64863,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:39:58] local.INFO: Processing buffer {"connection_id":64863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:39:58] local.INFO: IMEI packet received {"connection_id":64863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":64863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:39:59] local.INFO: TCP Data received {"connection_id":64863,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:39:59] local.INFO: Processing buffer {"connection_id":64863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:39:59] local.INFO: Packet analysis {"connection_id":64863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:39:59] local.INFO: Extracted packet for processing {"connection_id":64863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:39:59] 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-05-08 07:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":64863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:39:59] local.INFO: GPS data processed {"connection_id":64863,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:39:59] local.INFO: Acknowledgment sent {"connection_id":64863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:40:30] local.INFO: TCP Data received {"connection_id":64863,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:40:30] local.INFO: Processing buffer {"connection_id":64863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:40:30] local.INFO: Packet analysis {"connection_id":64863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:40:30] local.INFO: Extracted packet for processing {"connection_id":64863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:40:30] 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-05-08 07:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:40: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-05-08 07:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:40:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":64863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:40:30] local.INFO: GPS data processed {"connection_id":64863,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:40:30] local.INFO: Acknowledgment sent {"connection_id":64863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:40:53] local.INFO: TCP Data received {"connection_id":65672,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:40:53] local.INFO: Processing buffer {"connection_id":65672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:40:53] local.INFO: IMEI packet received {"connection_id":65672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":65672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:40:58] local.INFO: TCP Data received {"connection_id":65672,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:40:58] local.INFO: Processing buffer {"connection_id":65672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:40:58] local.INFO: IMEI packet received {"connection_id":65672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":65672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:40:59] local.INFO: TCP Data received {"connection_id":65672,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:40:59] local.INFO: Processing buffer {"connection_id":65672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:40:59] local.INFO: Packet analysis {"connection_id":65672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:40:59] local.INFO: Extracted packet for processing {"connection_id":65672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:40:59] 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-05-08 07:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:40:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":65672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:40:59] local.INFO: GPS data processed {"connection_id":65672,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:40:59] local.INFO: Acknowledgment sent {"connection_id":65672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:41:31] local.INFO: TCP Data received {"connection_id":65672,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:41:31] local.INFO: Processing buffer {"connection_id":65672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:41:31] local.INFO: Packet analysis {"connection_id":65672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:41:31] local.INFO: Extracted packet for processing {"connection_id":65672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:41:31] 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-05-08 07:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:41:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":65672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:41:31] local.INFO: GPS data processed {"connection_id":65672,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:41:31] local.INFO: Acknowledgment sent {"connection_id":65672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:41:53] local.INFO: TCP Data received {"connection_id":64833,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:41:53] local.INFO: Processing buffer {"connection_id":64833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:41:53] local.INFO: IMEI packet received {"connection_id":64833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":64833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:41:58] local.INFO: TCP Data received {"connection_id":64833,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64833,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:41:58] local.INFO: Processing buffer {"connection_id":64833,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:41:58] local.INFO: IMEI packet received {"connection_id":64833,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":64833,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:41:59] local.INFO: TCP Data received {"connection_id":64833,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:41:59] local.INFO: Processing buffer {"connection_id":64833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:41:59] local.INFO: Packet analysis {"connection_id":64833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:41:59] local.INFO: Extracted packet for processing {"connection_id":64833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:41:59] 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-05-08 07:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:41:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":64833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:41:59] local.INFO: GPS data processed {"connection_id":64833,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:41:59] local.INFO: Acknowledgment sent {"connection_id":64833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:42:17] local.INFO: TCP Data received {"connection_id":64921,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:17] local.INFO: Processing buffer {"connection_id":64921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:17] local.INFO: IMEI packet received {"connection_id":64921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":64921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:42:31] local.INFO: TCP Data received {"connection_id":64833,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:42:31] local.INFO: Processing buffer {"connection_id":64833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:42:31] local.INFO: Packet analysis {"connection_id":64833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:42:31] local.INFO: Extracted packet for processing {"connection_id":64833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:31] 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-05-08 07:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64833,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:42:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":64833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:42:31] local.INFO: GPS data processed {"connection_id":64833,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:42:31] local.INFO: Acknowledgment sent {"connection_id":64833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:42:42] local.INFO: TCP Data received {"connection_id":64864,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:42] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:42] local.INFO: IMEI packet received {"connection_id":64864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":64864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:42:47] local.INFO: TCP Data received {"connection_id":64864,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:47] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:42:47] local.INFO: IMEI packet received {"connection_id":64864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 07:42:47] local.INFO: IMEI acknowledgment sent {"connection_id":64864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:42:48] local.INFO: TCP Data received {"connection_id":64864,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019e0530f4b8012d34c2c006aa47600016010f31..."} 
[2026-05-08 07:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0530f4b8012d34c2c006aa47600016010f31..."} 
[2026-05-08 07:42:48] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0530f4b8012d34c2c006aa47600016010f31..."} 
[2026-05-08 07:42:48] local.INFO: Packet analysis {"connection_id":64864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0530"} 
[2026-05-08 07:42:48] local.INFO: Extracted packet for processing {"connection_id":64864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0530"} 
[2026-05-08 07:42:48] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111822688,"longitude_deg":75.8432448,"latitude_deg":11.1822688,"altitude":22,"angle":271,"satellites":49,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa4760","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220033024001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110101117265772544,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313261056,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778203555000,"timestamp_ms":1778203555000,"timestamp_seconds":1778203555,"priority":1,"record_length":96,"hex_timestamp":"0000019e0530f4b8"} 
[2026-05-08 07:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:42: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-05-08 07: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 07:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 07:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 07:42:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 07:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 07:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220033024001,"66":25495,"6":206,"81":23296,"24":0,"16":110101117265772544,"45":3801812170313261056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,81,24,16,45]} 
[2026-05-08 07:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 07:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 07:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220033024001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:42:48] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-05-08 07:42:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-05-08 07:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110101117265772544,"km_value":110101117265772.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313261056,"description":"Unknown IO ID 45"} 
[2026-05-08 07:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220033024001,"power":25495,"unknown_6":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801812170313261056}} 
[2026-05-08 07:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":64864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:42:48] local.INFO: GPS data processed {"connection_id":64864,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:42:48] local.INFO: Acknowledgment sent {"connection_id":64864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:42:53] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:42:53] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:42:53] local.INFO: IMEI packet received {"connection_id":64834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":64834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:42:58] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:42:58] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:42:58] local.INFO: IMEI packet received {"connection_id":64834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":64834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:42:59] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:42:59] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:42:59] local.INFO: Packet analysis {"connection_id":64834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:42:59] local.INFO: Extracted packet for processing {"connection_id":64834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:42:59] 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-05-08 07:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:42:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":64834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:42:59] local.INFO: GPS data processed {"connection_id":64834,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:42:59] local.INFO: Acknowledgment sent {"connection_id":64834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:43:31] local.INFO: TCP Data received {"connection_id":64834,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:43:31] local.INFO: Processing buffer {"connection_id":64834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:43:31] local.INFO: Packet analysis {"connection_id":64834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:43:31] local.INFO: Extracted packet for processing {"connection_id":64834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:43:31] 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-05-08 07:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:43:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":64834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:43:31] local.INFO: GPS data processed {"connection_id":64834,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:43:31] local.INFO: Acknowledgment sent {"connection_id":64834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:43:32] local.INFO: TCP Data received {"connection_id":64922,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:43:32] local.INFO: Processing buffer {"connection_id":64922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:43:32] local.INFO: IMEI packet received {"connection_id":64922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:43:32] local.INFO: IMEI acknowledgment sent {"connection_id":64922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:43:53] local.INFO: TCP Data received {"connection_id":64835,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:43:53] local.INFO: Processing buffer {"connection_id":64835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:43:53] local.INFO: IMEI packet received {"connection_id":64835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":64835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:43:58] local.INFO: TCP Data received {"connection_id":64835,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:43:58] local.INFO: Processing buffer {"connection_id":64835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:43:58] local.INFO: IMEI packet received {"connection_id":64835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":64835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:44:00] local.INFO: TCP Data received {"connection_id":64835,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:44:00] local.INFO: Processing buffer {"connection_id":64835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:44:00] local.INFO: Packet analysis {"connection_id":64835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:44:00] local.INFO: Extracted packet for processing {"connection_id":64835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:44:00] 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-05-08 07:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:44:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":64835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:44:00] local.INFO: GPS data processed {"connection_id":64835,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:44:00] local.INFO: Acknowledgment sent {"connection_id":64835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:44:32] local.INFO: TCP Data received {"connection_id":64835,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:44:32] local.INFO: Processing buffer {"connection_id":64835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0558b868012d34c54006aa50700000006229..."} 
[2026-05-08 07:44:32] local.INFO: Packet analysis {"connection_id":64835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:44:32] local.INFO: Extracted packet for processing {"connection_id":64835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0558"} 
[2026-05-08 07:44:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220700160001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:44:32] 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-05-08 07:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778206161000,"timestamp_ms":1778206161000,"timestamp_seconds":1778206161,"priority":1,"record_length":96,"hex_timestamp":"0000019e0558b868"} 
[2026-05-08 07:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:44:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220700160001,"66":25180,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 07:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220700160001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:44:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 07:44:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220700160001,"power":25180,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":64835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:44:32] local.INFO: GPS data processed {"connection_id":64835,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:44:32] local.INFO: Acknowledgment sent {"connection_id":64835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:44:58] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:44:58] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:44:58] local.INFO: IMEI packet received {"connection_id":64837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":64837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:45:00] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:00] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:00] local.INFO: IMEI packet received {"connection_id":64837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":64837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:45:00] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:00] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:00] local.INFO: Packet analysis {"connection_id":64837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:45:00] local.INFO: Extracted packet for processing {"connection_id":64837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45: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-05-08 07:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":64837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:45:00] local.INFO: GPS data processed {"connection_id":64837,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:45:00] local.INFO: Acknowledgment sent {"connection_id":64837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:45:03] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:03] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:03] local.INFO: Packet analysis {"connection_id":64837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:45:03] local.INFO: Extracted packet for processing {"connection_id":64837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:45:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:45:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:45:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":64837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:45:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:45:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":64837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:45:03] local.INFO: GPS data processed {"connection_id":64837,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:45:03] local.INFO: Acknowledgment sent {"connection_id":64837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:45:35] local.INFO: TCP Data received {"connection_id":64837,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:35] local.INFO: Processing buffer {"connection_id":64837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:35] local.INFO: Packet analysis {"connection_id":64837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:45:35] local.INFO: Extracted packet for processing {"connection_id":64837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:45:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:45:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:45:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:45:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:45:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:45:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:45:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:45:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:45:35] local.INFO: Teltonika packet parsed successfully {"connection_id":64837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:45:35] local.INFO: Passing IMEI to GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:45:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":64837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:45:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:45:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:45:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:45:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:45:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:45:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:45:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:45:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:45:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:45:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:45:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:45:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:45:35] local.INFO: DEBUG: GPS processor result {"connection_id":64837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:45:35] local.INFO: GPS data processed {"connection_id":64837,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:45:35] local.INFO: Acknowledgment sent {"connection_id":64837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:45:53] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:53] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:53] local.INFO: IMEI packet received {"connection_id":64924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":64924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:45:58] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:58] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:45:58] local.INFO: IMEI packet received {"connection_id":64924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":64924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:45:59] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:59] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:45:59] local.INFO: Packet analysis {"connection_id":64924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:45:59] local.INFO: Extracted packet for processing {"connection_id":64924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:45: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-05-08 07:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":64924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:45:59] local.INFO: GPS data processed {"connection_id":64924,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:45:59] local.INFO: Acknowledgment sent {"connection_id":64924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:46:31] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:46:31] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:46:31] local.INFO: Packet analysis {"connection_id":64924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:46:31] local.INFO: Extracted packet for processing {"connection_id":64924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:46:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":64924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:46:31] local.INFO: GPS data processed {"connection_id":64924,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:46:31] local.INFO: Acknowledgment sent {"connection_id":64924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:46:53] local.INFO: TCP Data received {"connection_id":65673,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:46:53] local.INFO: Processing buffer {"connection_id":65673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:46:53] local.INFO: IMEI packet received {"connection_id":65673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":65673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:46:58] local.INFO: TCP Data received {"connection_id":65673,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:46:58] local.INFO: Processing buffer {"connection_id":65673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:46:58] local.INFO: IMEI packet received {"connection_id":65673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":65673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:46:59] local.INFO: TCP Data received {"connection_id":65673,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:46:59] local.INFO: Processing buffer {"connection_id":65673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:46:59] local.INFO: Packet analysis {"connection_id":65673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:46:59] local.INFO: Extracted packet for processing {"connection_id":65673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:46: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-05-08 07:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:46:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:46:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":65673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:46:59] local.INFO: GPS data processed {"connection_id":65673,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:46:59] local.INFO: Acknowledgment sent {"connection_id":65673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:47:31] local.INFO: TCP Data received {"connection_id":65673,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:47:31] local.INFO: Processing buffer {"connection_id":65673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:47:31] local.INFO: Packet analysis {"connection_id":65673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:47:31] local.INFO: Extracted packet for processing {"connection_id":65673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:47:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:47:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":65673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:47:31] local.INFO: GPS data processed {"connection_id":65673,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:47:31] local.INFO: Acknowledgment sent {"connection_id":65673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:47:53] local.INFO: TCP Data received {"connection_id":64838,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:47:53] local.INFO: Processing buffer {"connection_id":64838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:47:53] local.INFO: IMEI packet received {"connection_id":64838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":64838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:47:58] local.INFO: TCP Data received {"connection_id":64838,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:47:58] local.INFO: Processing buffer {"connection_id":64838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:47:58] local.INFO: IMEI packet received {"connection_id":64838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:48:00] local.INFO: TCP Data received {"connection_id":64838,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:48:00] local.INFO: Processing buffer {"connection_id":64838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:48:00] local.INFO: Packet analysis {"connection_id":64838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:48:00] local.INFO: Extracted packet for processing {"connection_id":64838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:48:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:48: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-05-08 07:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:48:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:48:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":64838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:48:00] local.INFO: GPS data processed {"connection_id":64838,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:48:00] local.INFO: Acknowledgment sent {"connection_id":64838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:48:32] local.INFO: TCP Data received {"connection_id":64838,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:48:32] local.INFO: Processing buffer {"connection_id":64838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:48:32] local.INFO: Packet analysis {"connection_id":64838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:48:32] local.INFO: Extracted packet for processing {"connection_id":64838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:48:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":64838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:48:32] local.INFO: GPS data processed {"connection_id":64838,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:48:32] local.INFO: Acknowledgment sent {"connection_id":64838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:48:58] local.INFO: TCP Data received {"connection_id":65676,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:48:58] local.INFO: Processing buffer {"connection_id":65676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:48:58] local.INFO: IMEI packet received {"connection_id":65676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":65676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:49:03] local.INFO: TCP Data received {"connection_id":65676,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:03] local.INFO: Processing buffer {"connection_id":65676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:03] local.INFO: IMEI packet received {"connection_id":65676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":65676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:49:04] local.INFO: TCP Data received {"connection_id":65676,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:49:04] local.INFO: Processing buffer {"connection_id":65676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:49:04] local.INFO: Packet analysis {"connection_id":65676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:49:04] local.INFO: Extracted packet for processing {"connection_id":65676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":65676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:49:04] local.INFO: GPS data processed {"connection_id":65676,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:49:04] local.INFO: Acknowledgment sent {"connection_id":65676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:49:09] local.INFO: TCP Data received {"connection_id":65676,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:49:09] local.INFO: Processing buffer {"connection_id":65676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:49:09] local.INFO: Packet analysis {"connection_id":65676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:49:09] local.INFO: Extracted packet for processing {"connection_id":65676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 07:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 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-05-08 07: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-05-08 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":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 07:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:49:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":65676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:49:09] local.INFO: GPS data processed {"connection_id":65676,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:49:09] local.INFO: Acknowledgment sent {"connection_id":65676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:49:17] local.INFO: TCP Data received {"connection_id":65675,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:49:17] local.INFO: Processing buffer {"connection_id":65675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:49:17] local.INFO: IMEI packet received {"connection_id":65675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":65675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:49:44] local.INFO: TCP Data received {"connection_id":65677,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:49:44] local.INFO: Processing buffer {"connection_id":65677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:49:44] local.INFO: IMEI packet received {"connection_id":65677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":65677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:49:53] local.INFO: TCP Data received {"connection_id":64865,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:53] local.INFO: Processing buffer {"connection_id":64865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:53] local.INFO: IMEI packet received {"connection_id":64865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":64865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:49:58] local.INFO: TCP Data received {"connection_id":64865,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:58] local.INFO: Processing buffer {"connection_id":64865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:49:58] local.INFO: IMEI packet received {"connection_id":64865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":64865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:50:00] local.INFO: TCP Data received {"connection_id":64865,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:50:00] local.INFO: Processing buffer {"connection_id":64865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e055d5030012d34c54006aa50700000006229..."} 
[2026-05-08 07:50:00] local.INFO: Packet analysis {"connection_id":64865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:50:00] local.INFO: Extracted packet for processing {"connection_id":64865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e055d"} 
[2026-05-08 07:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220777216001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:50: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-05-08 07:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778206462000,"timestamp_ms":1778206462000,"timestamp_seconds":1778206462,"priority":1,"record_length":96,"hex_timestamp":"0000019e055d5030"} 
[2026-05-08 07:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 07:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220777216001,"66":24875,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220777216001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:50:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220777216001,"power":24875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":64865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:50:00] local.INFO: GPS data processed {"connection_id":64865,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:50:00] local.INFO: Acknowledgment sent {"connection_id":64865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:50:32] local.INFO: TCP Data received {"connection_id":64865,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:50:32] local.INFO: Processing buffer {"connection_id":64865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:50:32] local.INFO: Packet analysis {"connection_id":64865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:50:32] local.INFO: Extracted packet for processing {"connection_id":64865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:50:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":64865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:50:32] local.INFO: GPS data processed {"connection_id":64865,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:50:32] local.INFO: Acknowledgment sent {"connection_id":64865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:50:53] local.INFO: TCP Data received {"connection_id":64867,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:50:53] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:50:53] local.INFO: IMEI packet received {"connection_id":64867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":64867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:50:58] local.INFO: TCP Data received {"connection_id":64867,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:50:58] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:50:58] local.INFO: IMEI packet received {"connection_id":64867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":64867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:51:00] local.INFO: TCP Data received {"connection_id":64867,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:51:00] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:51:00] local.INFO: Packet analysis {"connection_id":64867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:51:00] local.INFO: Extracted packet for processing {"connection_id":64867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:51:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:51: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-05-08 07:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:51:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":64867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:51:00] local.INFO: GPS data processed {"connection_id":64867,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:51:00] local.INFO: Acknowledgment sent {"connection_id":64867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:51:31] local.INFO: TCP Data received {"connection_id":64867,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:51:31] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:51:31] local.INFO: Packet analysis {"connection_id":64867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:51:31] local.INFO: Extracted packet for processing {"connection_id":64867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:51:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:51:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":64867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:51:31] local.INFO: GPS data processed {"connection_id":64867,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:51:31] local.INFO: Acknowledgment sent {"connection_id":64867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:51:53] local.INFO: TCP Data received {"connection_id":64868,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:51:53] local.INFO: Processing buffer {"connection_id":64868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:51:53] local.INFO: IMEI packet received {"connection_id":64868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":64868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:51:58] local.INFO: TCP Data received {"connection_id":64868,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:51:58] local.INFO: Processing buffer {"connection_id":64868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:51:58] local.INFO: IMEI packet received {"connection_id":64868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":64868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:52:00] local.INFO: TCP Data received {"connection_id":64868,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:52:00] local.INFO: Processing buffer {"connection_id":64868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:52:00] local.INFO: Packet analysis {"connection_id":64868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:52:00] local.INFO: Extracted packet for processing {"connection_id":64868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:52: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-05-08 07:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:52:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":64868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:52:00] local.INFO: GPS data processed {"connection_id":64868,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:52:00] local.INFO: Acknowledgment sent {"connection_id":64868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:52:31] local.INFO: TCP Data received {"connection_id":64868,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:52:31] local.INFO: Processing buffer {"connection_id":64868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:52:31] local.INFO: Packet analysis {"connection_id":64868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:52:31] local.INFO: Extracted packet for processing {"connection_id":64868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":64868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:52:31] local.INFO: GPS data processed {"connection_id":64868,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:52:31] local.INFO: Acknowledgment sent {"connection_id":64868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:52:58] local.INFO: TCP Data received {"connection_id":64926,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:52:58] local.INFO: Processing buffer {"connection_id":64926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:52:58] local.INFO: IMEI packet received {"connection_id":64926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":64926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:53:03] local.INFO: TCP Data received {"connection_id":64926,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:03] local.INFO: Processing buffer {"connection_id":64926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:03] local.INFO: IMEI packet received {"connection_id":64926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":64926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:53:04] local.INFO: TCP Data received {"connection_id":64926,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:53:04] local.INFO: Processing buffer {"connection_id":64926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:53:04] local.INFO: Packet analysis {"connection_id":64926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:53:04] local.INFO: Extracted packet for processing {"connection_id":64926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":64926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:53:04] local.INFO: GPS data processed {"connection_id":64926,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:53:04] local.INFO: Acknowledgment sent {"connection_id":64926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:53:09] local.INFO: TCP Data received {"connection_id":64926,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:53:09] local.INFO: Processing buffer {"connection_id":64926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:53:09] local.INFO: Packet analysis {"connection_id":64926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:53:09] local.INFO: Extracted packet for processing {"connection_id":64926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 07:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 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-05-08 07:53: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-05-08 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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 07:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:53:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":64926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:53:09] local.INFO: GPS data processed {"connection_id":64926,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:53:09] local.INFO: Acknowledgment sent {"connection_id":64926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:53:53] local.INFO: TCP Data received {"connection_id":65679,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:53] local.INFO: Processing buffer {"connection_id":65679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:53] local.INFO: IMEI packet received {"connection_id":65679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":65679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:53:58] local.INFO: TCP Data received {"connection_id":65679,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:58] local.INFO: Processing buffer {"connection_id":65679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:53:58] local.INFO: IMEI packet received {"connection_id":65679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":65679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:54:00] local.INFO: TCP Data received {"connection_id":65679,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:00] local.INFO: Processing buffer {"connection_id":65679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:00] local.INFO: Packet analysis {"connection_id":65679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:54:00] local.INFO: Extracted packet for processing {"connection_id":65679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54: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-05-08 07:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:54:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":65679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":120999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:54:00] local.INFO: GPS data processed {"connection_id":65679,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:54:00] local.INFO: Acknowledgment sent {"connection_id":65679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:54:31] local.INFO: TCP Data received {"connection_id":65679,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:31] local.INFO: Processing buffer {"connection_id":65679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:31] local.INFO: Packet analysis {"connection_id":65679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:54:31] local.INFO: Extracted packet for processing {"connection_id":65679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:54:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":65679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:54:31] local.INFO: GPS data processed {"connection_id":65679,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:54:31] local.INFO: Acknowledgment sent {"connection_id":65679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:54:53] local.INFO: TCP Data received {"connection_id":64927,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:54:53] local.INFO: Processing buffer {"connection_id":64927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:54:53] local.INFO: IMEI packet received {"connection_id":64927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":64927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:54:58] local.INFO: TCP Data received {"connection_id":64927,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:54:58] local.INFO: Processing buffer {"connection_id":64927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:54:58] local.INFO: IMEI packet received {"connection_id":64927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":64927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:54:59] local.INFO: TCP Data received {"connection_id":64927,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:59] local.INFO: Processing buffer {"connection_id":64927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0561e7f8012d34c54006aa50700000006228..."} 
[2026-05-08 07:54:59] local.INFO: Packet analysis {"connection_id":64927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:54:59] local.INFO: Extracted packet for processing {"connection_id":64927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0561"} 
[2026-05-08 07:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220854272001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:54: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-05-08 07:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778206763000,"timestamp_ms":1778206763000,"timestamp_seconds":1778206763,"priority":1,"record_length":96,"hex_timestamp":"0000019e0561e7f8"} 
[2026-05-08 07:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 07:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1070,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220854272001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220854272001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220854272001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":64927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:54:59] local.INFO: GPS data processed {"connection_id":64927,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:54:59] local.INFO: Acknowledgment sent {"connection_id":64927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:55:32] local.INFO: TCP Data received {"connection_id":64927,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:55:32] local.INFO: Processing buffer {"connection_id":64927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:55:32] local.INFO: Packet analysis {"connection_id":64927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:55:32] local.INFO: Extracted packet for processing {"connection_id":64927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:55:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:55:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":64927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:55:32] local.INFO: GPS data processed {"connection_id":64927,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:55:32] local.INFO: Acknowledgment sent {"connection_id":64927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:55:42] local.INFO: TCP Data received {"connection_id":65680,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:55:42] local.INFO: Processing buffer {"connection_id":65680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 07:55:42] local.INFO: IMEI packet received {"connection_id":65680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 07:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":65680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:56:08] local.INFO: TCP Data received {"connection_id":64928,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:08] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:08] local.INFO: IMEI packet received {"connection_id":64928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":64928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:56:13] local.INFO: TCP Data received {"connection_id":64928,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:13] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:13] local.INFO: IMEI packet received {"connection_id":64928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":64928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:56:14] local.INFO: TCP Data received {"connection_id":64928,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:14] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:14] local.INFO: Packet analysis {"connection_id":64928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:56:14] local.INFO: Extracted packet for processing {"connection_id":64928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:56:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:56:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:56:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:56:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:56:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":64928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":64928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":64928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:56:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:56:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:56:14] local.INFO: DEBUG: GPS processor result {"connection_id":64928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:56:14] local.INFO: GPS data processed {"connection_id":64928,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:56:14] local.INFO: Acknowledgment sent {"connection_id":64928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:56:19] local.INFO: TCP Data received {"connection_id":64928,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:19] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:19] local.INFO: Packet analysis {"connection_id":64928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:56:19] local.INFO: Extracted packet for processing {"connection_id":64928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:56:19] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:56: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-05-08 07:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":64928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":64928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":64928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:56:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:56:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":64928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:56:19] local.INFO: GPS data processed {"connection_id":64928,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:56:19] local.INFO: Acknowledgment sent {"connection_id":64928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:56:53] local.INFO: TCP Data received {"connection_id":64840,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:53] local.INFO: Processing buffer {"connection_id":64840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:53] local.INFO: IMEI packet received {"connection_id":64840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":64840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:56:58] local.INFO: TCP Data received {"connection_id":64840,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:58] local.INFO: Processing buffer {"connection_id":64840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:56:58] local.INFO: IMEI packet received {"connection_id":64840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":64840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:56:59] local.INFO: TCP Data received {"connection_id":64840,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:59] local.INFO: Processing buffer {"connection_id":64840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:56:59] local.INFO: Packet analysis {"connection_id":64840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:56:59] local.INFO: Extracted packet for processing {"connection_id":64840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:56: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-05-08 07:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":64840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:56:59] local.INFO: GPS data processed {"connection_id":64840,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:56:59] local.INFO: Acknowledgment sent {"connection_id":64840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:57:31] local.INFO: TCP Data received {"connection_id":64840,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:57:31] local.INFO: Processing buffer {"connection_id":64840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:57:31] local.INFO: Packet analysis {"connection_id":64840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:57:31] local.INFO: Extracted packet for processing {"connection_id":64840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:57:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":64840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:57:31] local.INFO: GPS data processed {"connection_id":64840,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:57:31] local.INFO: Acknowledgment sent {"connection_id":64840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:57:53] local.INFO: TCP Data received {"connection_id":65681,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:57:53] local.INFO: Processing buffer {"connection_id":65681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:57:53] local.INFO: IMEI packet received {"connection_id":65681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":65681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:57:58] local.INFO: TCP Data received {"connection_id":65681,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:57:58] local.INFO: Processing buffer {"connection_id":65681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:57:58] local.INFO: IMEI packet received {"connection_id":65681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":65681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:57:58] local.INFO: TCP Data received {"connection_id":65681,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:57:59] local.INFO: Processing buffer {"connection_id":65681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:57:59] local.INFO: Packet analysis {"connection_id":65681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:57:59] local.INFO: Extracted packet for processing {"connection_id":65681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:57: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-05-08 07:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":65681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:57:59] local.INFO: GPS data processed {"connection_id":65681,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:57:59] local.INFO: Acknowledgment sent {"connection_id":65681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:58:30] local.INFO: TCP Data received {"connection_id":65681,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:58:30] local.INFO: Processing buffer {"connection_id":65681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:58:30] local.INFO: Packet analysis {"connection_id":65681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:58:30] local.INFO: Extracted packet for processing {"connection_id":65681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:58: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-05-08 07:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:58:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:58:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":65681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:58:30] local.INFO: GPS data processed {"connection_id":65681,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:58:30] local.INFO: Acknowledgment sent {"connection_id":65681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:58:53] local.INFO: TCP Data received {"connection_id":64873,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:58:53] local.INFO: Processing buffer {"connection_id":64873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:58:53] local.INFO: IMEI packet received {"connection_id":64873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":64873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:58:58] local.INFO: TCP Data received {"connection_id":64873,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:58:58] local.INFO: Processing buffer {"connection_id":64873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:58:58] local.INFO: IMEI packet received {"connection_id":64873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":64873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:58:59] local.INFO: TCP Data received {"connection_id":64873,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:58:59] local.INFO: Processing buffer {"connection_id":64873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:58:59] local.INFO: Packet analysis {"connection_id":64873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:58:59] local.INFO: Extracted packet for processing {"connection_id":64873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:58: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-05-08 07:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:58:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":64873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:58:59] local.INFO: GPS data processed {"connection_id":64873,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:58:59] local.INFO: Acknowledgment sent {"connection_id":64873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:59:31] local.INFO: TCP Data received {"connection_id":64873,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:59:31] local.INFO: Processing buffer {"connection_id":64873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:59:31] local.INFO: Packet analysis {"connection_id":64873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:59:31] local.INFO: Extracted packet for processing {"connection_id":64873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07: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-05-08 07:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 07:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07: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-05-08 07:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:59:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":64873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:59:31] local.INFO: GPS data processed {"connection_id":64873,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:59:31] local.INFO: Acknowledgment sent {"connection_id":64873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 07:59:53] local.INFO: TCP Data received {"connection_id":64874,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:59:53] local.INFO: Processing buffer {"connection_id":64874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:59:53] local.INFO: IMEI packet received {"connection_id":64874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 07:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":64874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 07:59:58] local.INFO: TCP Data received {"connection_id":64874,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:59:58] local.INFO: Processing buffer {"connection_id":64874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 07:59:58] local.INFO: IMEI packet received {"connection_id":64874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 07:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":64874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 07:59:59] local.INFO: TCP Data received {"connection_id":64874,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:59:59] local.INFO: Processing buffer {"connection_id":64874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05667fc0012d34c54006aa5070000000622b..."} 
[2026-05-08 07:59:59] local.INFO: Packet analysis {"connection_id":64874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:59:59] local.INFO: Extracted packet for processing {"connection_id":64874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0566"} 
[2026-05-08 07:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 07:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 07:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455220931328001,"note":"Value kept but may cause issues"} 
[2026-05-08 07:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 07:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 07: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-05-08 07:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207064000,"timestamp_ms":1778207064000,"timestamp_seconds":1778207064,"priority":1,"record_length":96,"hex_timestamp":"0000019e05667fc0"} 
[2026-05-08 07:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 07:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 07:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 07:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 07:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 07:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 07:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 07:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 07:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 07:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 07:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 07:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 07:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455220931328001,"66":24538,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 07:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 07:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 07:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455220931328001,"description":"Unknown IO ID 0"} 
[2026-05-08 07:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 07:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 07:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 07:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 07:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455220931328001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 07:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":64874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 07:59:59] local.INFO: GPS data processed {"connection_id":64874,"processed":1,"errors":0,"total":1} 
[2026-05-08 07:59:59] local.INFO: Acknowledgment sent {"connection_id":64874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:00:31] local.INFO: TCP Data received {"connection_id":64874,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:00:31] local.INFO: Processing buffer {"connection_id":64874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:00:31] local.INFO: Packet analysis {"connection_id":64874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:00:31] local.INFO: Extracted packet for processing {"connection_id":64874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":64874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:00:31] local.INFO: GPS data processed {"connection_id":64874,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:00:31] local.INFO: Acknowledgment sent {"connection_id":64874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:00:53] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:00:53] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:00:53] local.INFO: IMEI packet received {"connection_id":64875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":64875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:00:58] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:00:58] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:00:58] local.INFO: IMEI packet received {"connection_id":64875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":64875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:00:59] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:00:59] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:00:59] local.INFO: Packet analysis {"connection_id":64875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:00:59] local.INFO: Extracted packet for processing {"connection_id":64875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:00: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-05-08 08:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:00:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":64875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:00:59] local.INFO: GPS data processed {"connection_id":64875,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:00:59] local.INFO: Acknowledgment sent {"connection_id":64875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:01:22] local.INFO: TCP Data received {"connection_id":64930,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:01:22] local.INFO: Processing buffer {"connection_id":64930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:01:22] local.INFO: IMEI packet received {"connection_id":64930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":64930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:01:31] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:01:31] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:01:31] local.INFO: Packet analysis {"connection_id":64875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:01:31] local.INFO: Extracted packet for processing {"connection_id":64875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:01:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:01:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":64875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:01:31] local.INFO: GPS data processed {"connection_id":64875,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:01:31] local.INFO: Acknowledgment sent {"connection_id":64875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:01:42] local.INFO: TCP Data received {"connection_id":64931,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:01:42] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:01:42] local.INFO: IMEI packet received {"connection_id":64931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":64931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:01:53] local.INFO: TCP Data received {"connection_id":65682,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:01:53] local.INFO: Processing buffer {"connection_id":65682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:01:53] local.INFO: IMEI packet received {"connection_id":65682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":65682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:01:58] local.INFO: TCP Data received {"connection_id":65682,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:01:58] local.INFO: Processing buffer {"connection_id":65682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:01:58] local.INFO: IMEI packet received {"connection_id":65682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":65682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:02:00] local.INFO: TCP Data received {"connection_id":65682,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:00] local.INFO: Processing buffer {"connection_id":65682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:00] local.INFO: Packet analysis {"connection_id":65682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:02:00] local.INFO: Extracted packet for processing {"connection_id":65682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02: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-05-08 08:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:02:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":65682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:02:00] local.INFO: GPS data processed {"connection_id":65682,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:02:00] local.INFO: Acknowledgment sent {"connection_id":65682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:02:31] local.INFO: TCP Data received {"connection_id":65682,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:31] local.INFO: Processing buffer {"connection_id":65682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:31] local.INFO: Packet analysis {"connection_id":65682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:02:31] local.INFO: Extracted packet for processing {"connection_id":65682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:02:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":65682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:02:31] local.INFO: GPS data processed {"connection_id":65682,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:02:31] local.INFO: Acknowledgment sent {"connection_id":65682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:02:53] local.INFO: TCP Data received {"connection_id":65683,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:02:53] local.INFO: Processing buffer {"connection_id":65683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:02:53] local.INFO: IMEI packet received {"connection_id":65683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":65683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:02:58] local.INFO: TCP Data received {"connection_id":65683,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:02:58] local.INFO: Processing buffer {"connection_id":65683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:02:58] local.INFO: IMEI packet received {"connection_id":65683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":65683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:02:59] local.INFO: TCP Data received {"connection_id":65683,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:59] local.INFO: Processing buffer {"connection_id":65683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:02:59] local.INFO: Packet analysis {"connection_id":65683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:02:59] local.INFO: Extracted packet for processing {"connection_id":65683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:02: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-05-08 08:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:02:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":65683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:02:59] local.INFO: GPS data processed {"connection_id":65683,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:02:59] local.INFO: Acknowledgment sent {"connection_id":65683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:03:31] local.INFO: TCP Data received {"connection_id":65683,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:03:31] local.INFO: Processing buffer {"connection_id":65683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:03:31] local.INFO: Packet analysis {"connection_id":65683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:03:31] local.INFO: Extracted packet for processing {"connection_id":65683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:03:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":65683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:03:31] local.INFO: GPS data processed {"connection_id":65683,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:03:31] local.INFO: Acknowledgment sent {"connection_id":65683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:03:58] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:03:58] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:03:58] local.INFO: IMEI packet received {"connection_id":64935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":64935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:04:03] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:03] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:03] local.INFO: IMEI packet received {"connection_id":64935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":64935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:04:04] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:04:04] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:04:04] local.INFO: Packet analysis {"connection_id":64935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:04:04] local.INFO: Extracted packet for processing {"connection_id":64935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:04:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:04:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:04:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:04:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:04:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:04:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:04:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:04:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:04:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:04:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:04:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:04:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:04:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:04:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:04:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:04:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:04:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:04:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:04:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:04:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:04:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:04:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:04:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:04:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:04:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":64935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:04:04] local.INFO: GPS data processed {"connection_id":64935,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:04:04] local.INFO: Acknowledgment sent {"connection_id":64935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:04:15] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:04:15] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:04:15] local.INFO: Packet analysis {"connection_id":64935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:04:15] local.INFO: Extracted packet for processing {"connection_id":64935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:04:15] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:04:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:04:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:04:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:04: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-05-08 08:04:15] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:04:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:04:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:04:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:04:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:04:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:04:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:04:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:04:15] local.INFO: Teltonika packet parsed successfully {"connection_id":64935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:04:15] local.INFO: Passing IMEI to GPS processor {"connection_id":64935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:04:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":64935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:04:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:04:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:04:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:04:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:04:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:04:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:04:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:04:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:04:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:04:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:04:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:04:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:04:15] local.INFO: DEBUG: GPS processor result {"connection_id":64935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:04:15] local.INFO: GPS data processed {"connection_id":64935,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:04:15] local.INFO: Acknowledgment sent {"connection_id":64935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:04:53] local.INFO: TCP Data received {"connection_id":64876,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:53] local.INFO: Processing buffer {"connection_id":64876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:53] local.INFO: IMEI packet received {"connection_id":64876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":64876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:04:58] local.INFO: TCP Data received {"connection_id":64876,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:58] local.INFO: Processing buffer {"connection_id":64876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:04:58] local.INFO: IMEI packet received {"connection_id":64876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":64876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:05:00] local.INFO: TCP Data received {"connection_id":64876,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:05:00] local.INFO: Processing buffer {"connection_id":64876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056b1788012d34c54006aa5070000000622a..."} 
[2026-05-08 08:05:00] local.INFO: Packet analysis {"connection_id":64876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:05:00] local.INFO: Extracted packet for processing {"connection_id":64876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056b"} 
[2026-05-08 08:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221008384001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05: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-05-08 08:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778207365000,"timestamp_ms":1778207365000,"timestamp_seconds":1778207365,"priority":1,"record_length":96,"hex_timestamp":"0000019e056b1788"} 
[2026-05-08 08:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 08:05:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221008384001,"66":25093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221008384001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:05:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221008384001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":64876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:05:00] local.INFO: GPS data processed {"connection_id":64876,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:05:00] local.INFO: Acknowledgment sent {"connection_id":64876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:05:31] local.INFO: TCP Data received {"connection_id":64876,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:05:31] local.INFO: Processing buffer {"connection_id":64876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:05:31] local.INFO: Packet analysis {"connection_id":64876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:05:31] local.INFO: Extracted packet for processing {"connection_id":64876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:05:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":64876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:05:31] local.INFO: GPS data processed {"connection_id":64876,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:05:31] local.INFO: Acknowledgment sent {"connection_id":64876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:05:53] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:05:53] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:05:53] local.INFO: IMEI packet received {"connection_id":64936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":64936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:05:58] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:05:58] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:05:58] local.INFO: IMEI packet received {"connection_id":64936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":64936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:05:59] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:05:59] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:05:59] local.INFO: Packet analysis {"connection_id":64936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:05:59] local.INFO: Extracted packet for processing {"connection_id":64936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:05:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:05: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-05-08 08:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:05:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":64936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:05:59] local.INFO: GPS data processed {"connection_id":64936,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:05:59] local.INFO: Acknowledgment sent {"connection_id":64936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:06:31] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:06:31] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:06:31] local.INFO: Packet analysis {"connection_id":64936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:06:31] local.INFO: Extracted packet for processing {"connection_id":64936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:06:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:06:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":64936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:06:31] local.INFO: GPS data processed {"connection_id":64936,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:06:31] local.INFO: Acknowledgment sent {"connection_id":64936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:06:53] local.INFO: TCP Data received {"connection_id":65685,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:06:53] local.INFO: Processing buffer {"connection_id":65685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:06:53] local.INFO: IMEI packet received {"connection_id":65685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":65685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:06:58] local.INFO: TCP Data received {"connection_id":65685,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:06:58] local.INFO: Processing buffer {"connection_id":65685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:06:58] local.INFO: IMEI packet received {"connection_id":65685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":65685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:07:00] local.INFO: TCP Data received {"connection_id":65685,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:07:00] local.INFO: Processing buffer {"connection_id":65685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:07:00] local.INFO: Packet analysis {"connection_id":65685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:07:00] local.INFO: Extracted packet for processing {"connection_id":65685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:07: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-05-08 08:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":65685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:07:00] local.INFO: GPS data processed {"connection_id":65685,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:07:00] local.INFO: Acknowledgment sent {"connection_id":65685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:07:07] local.INFO: TCP Data received {"connection_id":64877,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:07:07] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:07:07] local.INFO: IMEI packet received {"connection_id":64877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":64877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:07:31] local.INFO: TCP Data received {"connection_id":65685,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:07:31] local.INFO: Processing buffer {"connection_id":65685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:07:31] local.INFO: Packet analysis {"connection_id":65685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:07:31] local.INFO: Extracted packet for processing {"connection_id":65685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:07:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":65685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:07:31] local.INFO: GPS data processed {"connection_id":65685,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:07:31] local.INFO: Acknowledgment sent {"connection_id":65685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:07:42] local.INFO: TCP Data received {"connection_id":64878,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:07:42] local.INFO: Processing buffer {"connection_id":64878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:07:42] local.INFO: IMEI packet received {"connection_id":64878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":64878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:07:58] local.INFO: TCP Data received {"connection_id":65686,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:07:58] local.INFO: Processing buffer {"connection_id":65686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:07:58] local.INFO: IMEI packet received {"connection_id":65686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":65686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:08:03] local.INFO: TCP Data received {"connection_id":65686,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:03] local.INFO: Processing buffer {"connection_id":65686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:03] local.INFO: IMEI packet received {"connection_id":65686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":65686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:08:04] local.INFO: TCP Data received {"connection_id":65686,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:04] local.INFO: Processing buffer {"connection_id":65686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:04] local.INFO: Packet analysis {"connection_id":65686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:08:04] local.INFO: Extracted packet for processing {"connection_id":65686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:08:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:08:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:08:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:08:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":65686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:08:04] local.INFO: GPS data processed {"connection_id":65686,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:08:04] local.INFO: Acknowledgment sent {"connection_id":65686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:08:09] local.INFO: TCP Data received {"connection_id":65686,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:09] local.INFO: Processing buffer {"connection_id":65686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:09] local.INFO: Packet analysis {"connection_id":65686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:08:09] local.INFO: Extracted packet for processing {"connection_id":65686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08: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-05-08 08: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":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:08:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:08:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":65686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:08:09] local.INFO: GPS data processed {"connection_id":65686,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:08:09] local.INFO: Acknowledgment sent {"connection_id":65686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:08:53] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:53] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:53] local.INFO: IMEI packet received {"connection_id":64938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":64938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:08:58] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:58] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:08:58] local.INFO: IMEI packet received {"connection_id":64938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":64938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:08:59] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:59] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:08:59] local.INFO: Packet analysis {"connection_id":64938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:08:59] local.INFO: Extracted packet for processing {"connection_id":64938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:08: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-05-08 08:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:08:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":64938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:08:59] local.INFO: GPS data processed {"connection_id":64938,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:08:59] local.INFO: Acknowledgment sent {"connection_id":64938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:09:31] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:09:31] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:09:31] local.INFO: Packet analysis {"connection_id":64938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:09:31] local.INFO: Extracted packet for processing {"connection_id":64938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:09:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":64938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:09:31] local.INFO: GPS data processed {"connection_id":64938,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:09:31] local.INFO: Acknowledgment sent {"connection_id":64938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:09:53] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:09:53] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:09:53] local.INFO: IMEI packet received {"connection_id":64879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":64879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:09:58] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:09:58] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:09:58] local.INFO: IMEI packet received {"connection_id":64879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":64879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:09:59] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:09:59] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e056faf50012d34c54006aa50700002006228..."} 
[2026-05-08 08:09:59] local.INFO: Packet analysis {"connection_id":64879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:09:59] local.INFO: Extracted packet for processing {"connection_id":64879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e056f"} 
[2026-05-08 08:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":2,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221085440001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:09: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-05-08 08:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207666000,"timestamp_ms":1778207666000,"timestamp_seconds":1778207666,"priority":1,"record_length":96,"hex_timestamp":"0000019e056faf50"} 
[2026-05-08 08:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 08:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221085440001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221085440001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221085440001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":64879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:09:59] local.INFO: GPS data processed {"connection_id":64879,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:09:59] local.INFO: Acknowledgment sent {"connection_id":64879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:10:30] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:10:30] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:10:30] local.INFO: Packet analysis {"connection_id":64879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:10:30] local.INFO: Extracted packet for processing {"connection_id":64879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:10:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:10: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-05-08 08:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:10:30] 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-05-08 08:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:10:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":64879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:10:30] local.INFO: GPS data processed {"connection_id":64879,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:10:30] local.INFO: Acknowledgment sent {"connection_id":64879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:10:53] local.INFO: TCP Data received {"connection_id":65688,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:10:53] local.INFO: Processing buffer {"connection_id":65688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:10:53] local.INFO: IMEI packet received {"connection_id":65688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":65688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:10:58] local.INFO: TCP Data received {"connection_id":65688,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:10:58] local.INFO: Processing buffer {"connection_id":65688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:10:58] local.INFO: IMEI packet received {"connection_id":65688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":65688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:11:00] local.INFO: TCP Data received {"connection_id":65688,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:00] local.INFO: Processing buffer {"connection_id":65688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:00] local.INFO: Packet analysis {"connection_id":65688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:11:00] local.INFO: Extracted packet for processing {"connection_id":65688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11: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-05-08 08:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:11:00] 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-05-08 08:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:11:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":65688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:11:00] local.INFO: GPS data processed {"connection_id":65688,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:11:00] local.INFO: Acknowledgment sent {"connection_id":65688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:11:32] local.INFO: TCP Data received {"connection_id":65688,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:32] local.INFO: Processing buffer {"connection_id":65688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:32] local.INFO: Packet analysis {"connection_id":65688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:11:32] local.INFO: Extracted packet for processing {"connection_id":65688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:11:32] 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-05-08 08:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:11:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":65688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:11:32] local.INFO: GPS data processed {"connection_id":65688,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:11:32] local.INFO: Acknowledgment sent {"connection_id":65688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:11:53] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:11:53] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:11:53] local.INFO: IMEI packet received {"connection_id":64939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":64939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:11:58] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:11:58] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:11:58] local.INFO: IMEI packet received {"connection_id":64939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":64939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:11:59] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:59] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:11:59] local.INFO: Packet analysis {"connection_id":64939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:11:59] local.INFO: Extracted packet for processing {"connection_id":64939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:11: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-05-08 08:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:11:59] 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-05-08 08:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:11:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":64939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:11:59] local.INFO: GPS data processed {"connection_id":64939,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:11:59] local.INFO: Acknowledgment sent {"connection_id":64939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:12:31] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:12:31] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:12:31] local.INFO: Packet analysis {"connection_id":64939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:12:31] local.INFO: Extracted packet for processing {"connection_id":64939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:12:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":64939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:12:31] local.INFO: GPS data processed {"connection_id":64939,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:12:31] local.INFO: Acknowledgment sent {"connection_id":64939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:12:53] local.INFO: TCP Data received {"connection_id":64881,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:12:53] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:12:53] local.INFO: IMEI packet received {"connection_id":64881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":64881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:12:58] local.INFO: TCP Data received {"connection_id":64881,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:12:58] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:12:58] local.INFO: IMEI packet received {"connection_id":64881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":64881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:13:00] local.INFO: TCP Data received {"connection_id":64881,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:00] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:00] local.INFO: Packet analysis {"connection_id":64881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:13:00] local.INFO: Extracted packet for processing {"connection_id":64881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:13:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13: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-05-08 08:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:13:00] 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-05-08 08:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:13:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":64881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:13:00] local.INFO: GPS data processed {"connection_id":64881,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:13:00] local.INFO: Acknowledgment sent {"connection_id":64881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:13:07] local.INFO: TCP Data received {"connection_id":64880,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:13:07] local.INFO: Processing buffer {"connection_id":64880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:13:07] local.INFO: IMEI packet received {"connection_id":64880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":64880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:13:32] local.INFO: TCP Data received {"connection_id":64881,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:32] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:32] local.INFO: Packet analysis {"connection_id":64881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:13:32] local.INFO: Extracted packet for processing {"connection_id":64881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:13:32] 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-05-08 08:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":64881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:13:32] local.INFO: GPS data processed {"connection_id":64881,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:13:32] local.INFO: Acknowledgment sent {"connection_id":64881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:13:42] local.INFO: TCP Data received {"connection_id":64844,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64844,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:13:42] local.INFO: Processing buffer {"connection_id":64844,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:13:42] local.INFO: IMEI packet received {"connection_id":64844,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":64844,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:13:53] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:13:53] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:13:53] local.INFO: IMEI packet received {"connection_id":64845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":64845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:13:58] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:13:58] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:13:58] local.INFO: IMEI packet received {"connection_id":64845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":64845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:13:59] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:59] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:13:59] local.INFO: Packet analysis {"connection_id":64845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:13:59] local.INFO: Extracted packet for processing {"connection_id":64845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:13: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-05-08 08:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:13:59] 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-05-08 08:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:13:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":64845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:13:59] local.INFO: GPS data processed {"connection_id":64845,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:13:59] local.INFO: Acknowledgment sent {"connection_id":64845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:14:31] local.INFO: TCP Data received {"connection_id":64845,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:14:31] local.INFO: Processing buffer {"connection_id":64845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:14:31] local.INFO: Packet analysis {"connection_id":64845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:14:31] local.INFO: Extracted packet for processing {"connection_id":64845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:14:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":64845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:14:31] local.INFO: GPS data processed {"connection_id":64845,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:14:31] local.INFO: Acknowledgment sent {"connection_id":64845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:14:53] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:14:53] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:14:53] local.INFO: IMEI packet received {"connection_id":64941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":64941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:14:58] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:14:58] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:14:58] local.INFO: IMEI packet received {"connection_id":64941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":64941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:14:59] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:14:59] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05744718012d34c54006aa50700000006227..."} 
[2026-05-08 08:14:59] local.INFO: Packet analysis {"connection_id":64941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:14:59] local.INFO: Extracted packet for processing {"connection_id":64941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0574"} 
[2026-05-08 08:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221162496001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:14: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-05-08 08:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778207967000,"timestamp_ms":1778207967000,"timestamp_seconds":1778207967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05744718"} 
[2026-05-08 08:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:14:59] 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-05-08 08:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221162496001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221162496001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221162496001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":64941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:14:59] local.INFO: GPS data processed {"connection_id":64941,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:14:59] local.INFO: Acknowledgment sent {"connection_id":64941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:15:32] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:15:32] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:15:32] local.INFO: Packet analysis {"connection_id":64941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:15:32] local.INFO: Extracted packet for processing {"connection_id":64941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:15:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:15:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":64941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:15:32] local.INFO: GPS data processed {"connection_id":64941,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:15:32] local.INFO: Acknowledgment sent {"connection_id":64941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:15:53] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:15:53] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:15:53] local.INFO: IMEI packet received {"connection_id":64942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":64942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:15:58] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:15:58] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:15:58] local.INFO: IMEI packet received {"connection_id":64942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":64942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:16:00] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:16:00] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:16:00] local.INFO: Packet analysis {"connection_id":64942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:16:00] local.INFO: Extracted packet for processing {"connection_id":64942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:16: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-05-08 08:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:16:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":64942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:16:00] local.INFO: GPS data processed {"connection_id":64942,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:16:00] local.INFO: Acknowledgment sent {"connection_id":64942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:16:31] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:16:31] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:16:31] local.INFO: Packet analysis {"connection_id":64942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:16:31] local.INFO: Extracted packet for processing {"connection_id":64942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:16:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:16:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":64942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:16:31] local.INFO: GPS data processed {"connection_id":64942,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:16:31] local.INFO: Acknowledgment sent {"connection_id":64942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:16:53] local.INFO: TCP Data received {"connection_id":64846,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:16:53] local.INFO: Processing buffer {"connection_id":64846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:16:53] local.INFO: IMEI packet received {"connection_id":64846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":64846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:16:58] local.INFO: TCP Data received {"connection_id":64846,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:16:58] local.INFO: Processing buffer {"connection_id":64846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:16:58] local.INFO: IMEI packet received {"connection_id":64846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":64846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:17:00] local.INFO: TCP Data received {"connection_id":64846,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:00] local.INFO: Processing buffer {"connection_id":64846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:00] local.INFO: Packet analysis {"connection_id":64846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:17:00] local.INFO: Extracted packet for processing {"connection_id":64846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17: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-05-08 08:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:17:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":64846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:17:00] local.INFO: GPS data processed {"connection_id":64846,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:17:00] local.INFO: Acknowledgment sent {"connection_id":64846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:17:32] local.INFO: TCP Data received {"connection_id":64846,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:32] local.INFO: Processing buffer {"connection_id":64846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:32] local.INFO: Packet analysis {"connection_id":64846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:17:32] local.INFO: Extracted packet for processing {"connection_id":64846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:17:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:17:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":64846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:17:32] local.INFO: GPS data processed {"connection_id":64846,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:17:32] local.INFO: Acknowledgment sent {"connection_id":64846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:17:53] local.INFO: TCP Data received {"connection_id":65691,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:17:53] local.INFO: Processing buffer {"connection_id":65691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:17:53] local.INFO: IMEI packet received {"connection_id":65691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":65691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:17:58] local.INFO: TCP Data received {"connection_id":65691,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:17:58] local.INFO: Processing buffer {"connection_id":65691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:17:58] local.INFO: IMEI packet received {"connection_id":65691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":65691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:17:59] local.INFO: TCP Data received {"connection_id":65691,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:59] local.INFO: Processing buffer {"connection_id":65691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:17:59] local.INFO: Packet analysis {"connection_id":65691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:17:59] local.INFO: Extracted packet for processing {"connection_id":65691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:17: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-05-08 08:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":65691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:17:59] local.INFO: GPS data processed {"connection_id":65691,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:17:59] local.INFO: Acknowledgment sent {"connection_id":65691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:18:31] local.INFO: TCP Data received {"connection_id":65691,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:18:31] local.INFO: Processing buffer {"connection_id":65691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:18:31] local.INFO: Packet analysis {"connection_id":65691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:18:31] local.INFO: Extracted packet for processing {"connection_id":65691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:18:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":65691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:18:31] local.INFO: GPS data processed {"connection_id":65691,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:18:31] local.INFO: Acknowledgment sent {"connection_id":65691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:18:53] local.INFO: TCP Data received {"connection_id":64944,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:18:53] local.INFO: Processing buffer {"connection_id":64944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:18:53] local.INFO: IMEI packet received {"connection_id":64944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":64944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:18:58] local.INFO: TCP Data received {"connection_id":64944,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:18:58] local.INFO: Processing buffer {"connection_id":64944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:18:58] local.INFO: IMEI packet received {"connection_id":64944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":64944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:18:59] local.INFO: TCP Data received {"connection_id":64944,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:18:59] local.INFO: Processing buffer {"connection_id":64944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:18:59] local.INFO: Packet analysis {"connection_id":64944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:18:59] local.INFO: Extracted packet for processing {"connection_id":64944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:18: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-05-08 08:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:18:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":64944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:18:59] local.INFO: GPS data processed {"connection_id":64944,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:18:59] local.INFO: Acknowledgment sent {"connection_id":64944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:19:31] local.INFO: TCP Data received {"connection_id":64944,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:19:31] local.INFO: Processing buffer {"connection_id":64944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:19:31] local.INFO: Packet analysis {"connection_id":64944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:19:31] local.INFO: Extracted packet for processing {"connection_id":64944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:19:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:19:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:19:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:19:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:19:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:19:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:19:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:19:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:19:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:19:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:19:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:19:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:19:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:19:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:19:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:19:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:19:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:19:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:19:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:19:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:19:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:19:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:19:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:19:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:19:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:19:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:19:31] local.INFO: DEBUG: GPS processor result {"connection_id":64944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:19:31] local.INFO: GPS data processed {"connection_id":64944,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:19:31] local.INFO: Acknowledgment sent {"connection_id":64944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:19:46] local.INFO: TCP Data received {"connection_id":65692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:19:46] local.INFO: Processing buffer {"connection_id":65692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:19:46] local.INFO: IMEI packet received {"connection_id":65692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":65692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:19:58] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:19:58] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:19:58] local.INFO: IMEI packet received {"connection_id":64884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":64884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:20:03] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:03] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:03] local.INFO: IMEI packet received {"connection_id":64884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":64884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:20:04] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:20:04] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0578dee0012d34c54006aa50700000006228..."} 
[2026-05-08 08:20:04] local.INFO: Packet analysis {"connection_id":64884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:20:04] local.INFO: Extracted packet for processing {"connection_id":64884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0578"} 
[2026-05-08 08:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221239552001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778208268000,"timestamp_ms":1778208268000,"timestamp_seconds":1778208268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0578dee0"} 
[2026-05-08 08:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 08:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221239552001,"66":24930,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221239552001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:20:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221239552001,"power":24930,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":64884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:20:04] local.INFO: GPS data processed {"connection_id":64884,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:20:04] local.INFO: Acknowledgment sent {"connection_id":64884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:20:08] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:20:08] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:20:08] local.INFO: Packet analysis {"connection_id":64884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:20:08] local.INFO: Extracted packet for processing {"connection_id":64884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:20: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-05-08 08:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":64884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":64884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":64884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":64884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:20:08] local.INFO: GPS data processed {"connection_id":64884,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:20:08] local.INFO: Acknowledgment sent {"connection_id":64884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:20:53] local.INFO: TCP Data received {"connection_id":64946,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:53] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:53] local.INFO: IMEI packet received {"connection_id":64946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":64946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:20:58] local.INFO: TCP Data received {"connection_id":64946,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:58] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:20:58] local.INFO: IMEI packet received {"connection_id":64946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":64946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:21:00] local.INFO: TCP Data received {"connection_id":64946,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:00] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:00] local.INFO: Packet analysis {"connection_id":64946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:21:00] local.INFO: Extracted packet for processing {"connection_id":64946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21: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-05-08 08:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:21:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":64946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:21:00] local.INFO: GPS data processed {"connection_id":64946,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:21:00] local.INFO: Acknowledgment sent {"connection_id":64946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:21:31] local.INFO: TCP Data received {"connection_id":64946,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:31] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:31] local.INFO: Packet analysis {"connection_id":64946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:21:31] local.INFO: Extracted packet for processing {"connection_id":64946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:21:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":64946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:21:31] local.INFO: GPS data processed {"connection_id":64946,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:21:31] local.INFO: Acknowledgment sent {"connection_id":64946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:21:53] local.INFO: TCP Data received {"connection_id":64848,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:21:53] local.INFO: Processing buffer {"connection_id":64848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:21:53] local.INFO: IMEI packet received {"connection_id":64848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":64848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:21:58] local.INFO: TCP Data received {"connection_id":64848,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:21:58] local.INFO: Processing buffer {"connection_id":64848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:21:58] local.INFO: IMEI packet received {"connection_id":64848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":64848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:21:59] local.INFO: TCP Data received {"connection_id":64848,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:59] local.INFO: Processing buffer {"connection_id":64848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:21:59] local.INFO: Packet analysis {"connection_id":64848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:21:59] local.INFO: Extracted packet for processing {"connection_id":64848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:21: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-05-08 08:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":64848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:21:59] local.INFO: GPS data processed {"connection_id":64848,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:21:59] local.INFO: Acknowledgment sent {"connection_id":64848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:22:32] local.INFO: TCP Data received {"connection_id":64848,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:22:32] local.INFO: Processing buffer {"connection_id":64848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:22:32] local.INFO: Packet analysis {"connection_id":64848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:22:32] local.INFO: Extracted packet for processing {"connection_id":64848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:22:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:22:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":64848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:22:32] local.INFO: GPS data processed {"connection_id":64848,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:22:32] local.INFO: Acknowledgment sent {"connection_id":64848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:22:53] local.INFO: TCP Data received {"connection_id":64885,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:22:53] local.INFO: Processing buffer {"connection_id":64885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:22:53] local.INFO: IMEI packet received {"connection_id":64885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":64885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:22:58] local.INFO: TCP Data received {"connection_id":64885,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:22:58] local.INFO: Processing buffer {"connection_id":64885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:22:58] local.INFO: IMEI packet received {"connection_id":64885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":64885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:22:59] local.INFO: TCP Data received {"connection_id":64885,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:22:59] local.INFO: Processing buffer {"connection_id":64885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:22:59] local.INFO: Packet analysis {"connection_id":64885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:22:59] local.INFO: Extracted packet for processing {"connection_id":64885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:22: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-05-08 08:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":64885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:22:59] local.INFO: GPS data processed {"connection_id":64885,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:22:59] local.INFO: Acknowledgment sent {"connection_id":64885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:23:32] local.INFO: TCP Data received {"connection_id":64885,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:23:32] local.INFO: Processing buffer {"connection_id":64885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:23:32] local.INFO: Packet analysis {"connection_id":64885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:23:32] local.INFO: Extracted packet for processing {"connection_id":64885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:23:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":64885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:23:32] local.INFO: GPS data processed {"connection_id":64885,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:23:32] local.INFO: Acknowledgment sent {"connection_id":64885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:23:58] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:23:58] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:23:58] local.INFO: IMEI packet received {"connection_id":64849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":64849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:24:03] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:03] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:03] local.INFO: IMEI packet received {"connection_id":64849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":64849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:24:04] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:24:04] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:24:04] local.INFO: Packet analysis {"connection_id":64849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:24:04] local.INFO: Extracted packet for processing {"connection_id":64849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:24:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:24:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:24:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:24:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:24:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:24:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:24:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:24:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:24:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:24:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:24:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:24:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:24:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:24:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:24:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:24:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:24:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:24:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:24:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:24:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:24:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:24:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:24:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:24:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:24:04] local.INFO: DEBUG: GPS processor result {"connection_id":64849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:24:04] local.INFO: GPS data processed {"connection_id":64849,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:24:04] local.INFO: Acknowledgment sent {"connection_id":64849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:24:10] local.INFO: TCP Data received {"connection_id":64849,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:24:10] local.INFO: Processing buffer {"connection_id":64849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:24:10] local.INFO: Packet analysis {"connection_id":64849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:24:10] local.INFO: Extracted packet for processing {"connection_id":64849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 08:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 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-05-08 08:24: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-05-08 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":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:24:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:24:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":64849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:24:10] local.INFO: GPS data processed {"connection_id":64849,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:24:10] local.INFO: Acknowledgment sent {"connection_id":64849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:24:53] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:53] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:53] local.INFO: IMEI packet received {"connection_id":64886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":64886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:24:58] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:58] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:24:58] local.INFO: IMEI packet received {"connection_id":64886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":64886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:25:00] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:25:00] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e057d76a8012d34c54006aa50700000006228..."} 
[2026-05-08 08:25:00] local.INFO: Packet analysis {"connection_id":64886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:25:00] local.INFO: Extracted packet for processing {"connection_id":64886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e057d"} 
[2026-05-08 08:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221316608001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:25: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-05-08 08:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778208569000,"timestamp_ms":1778208569000,"timestamp_seconds":1778208569,"priority":1,"record_length":96,"hex_timestamp":"0000019e057d76a8"} 
[2026-05-08 08:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 08:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1565,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221316608001,"66":24506,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221316608001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221316608001,"power":24506,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":64886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:25:00] local.INFO: GPS data processed {"connection_id":64886,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:25:00] local.INFO: Acknowledgment sent {"connection_id":64886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:25:07] local.INFO: TCP Data received {"connection_id":64948,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:25:07] local.INFO: Processing buffer {"connection_id":64948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:25:07] local.INFO: IMEI packet received {"connection_id":64948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":64948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:25:32] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:25:32] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:25:32] local.INFO: Packet analysis {"connection_id":64886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:25:32] local.INFO: Extracted packet for processing {"connection_id":64886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:25:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:25:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":64886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:25:32] local.INFO: GPS data processed {"connection_id":64886,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:25:32] local.INFO: Acknowledgment sent {"connection_id":64886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:25:47] local.INFO: TCP Data received {"connection_id":64887,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:25:47] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:25:47] local.INFO: IMEI packet received {"connection_id":64887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":64887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:25:53] local.INFO: TCP Data received {"connection_id":65694,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:25:53] local.INFO: Processing buffer {"connection_id":65694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:25:53] local.INFO: IMEI packet received {"connection_id":65694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":65694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:25:58] local.INFO: TCP Data received {"connection_id":65694,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:25:58] local.INFO: Processing buffer {"connection_id":65694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:25:58] local.INFO: IMEI packet received {"connection_id":65694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":65694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:26:00] local.INFO: TCP Data received {"connection_id":65694,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:26:00] local.INFO: Processing buffer {"connection_id":65694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:26:00] local.INFO: Packet analysis {"connection_id":65694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:26:00] local.INFO: Extracted packet for processing {"connection_id":65694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:26:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:26: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-05-08 08:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:26:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:26:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:26:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:26:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:26:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":65694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:26:00] local.INFO: GPS data processed {"connection_id":65694,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:26:00] local.INFO: Acknowledgment sent {"connection_id":65694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:26:31] local.INFO: TCP Data received {"connection_id":65694,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:26:31] local.INFO: Processing buffer {"connection_id":65694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:26:31] local.INFO: Packet analysis {"connection_id":65694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:26:31] local.INFO: Extracted packet for processing {"connection_id":65694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:26:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":65694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:26:31] local.INFO: GPS data processed {"connection_id":65694,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:26:31] local.INFO: Acknowledgment sent {"connection_id":65694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:26:58] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:26:58] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:26:58] local.INFO: IMEI packet received {"connection_id":64850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":64850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:27:03] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:03] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:03] local.INFO: IMEI packet received {"connection_id":64850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":64850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:27:04] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:04] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:04] local.INFO: Packet analysis {"connection_id":64850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:27:04] local.INFO: Extracted packet for processing {"connection_id":64850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:27:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":64850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:27:04] local.INFO: GPS data processed {"connection_id":64850,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:27:04] local.INFO: Acknowledgment sent {"connection_id":64850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:27:09] local.INFO: TCP Data received {"connection_id":64850,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:09] local.INFO: Processing buffer {"connection_id":64850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:09] local.INFO: Packet analysis {"connection_id":64850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:27:09] local.INFO: Extracted packet for processing {"connection_id":64850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:27: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-05-08 08: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":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:27:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":64850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:27:09] local.INFO: GPS data processed {"connection_id":64850,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:27:09] local.INFO: Acknowledgment sent {"connection_id":64850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:27:53] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:53] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:53] local.INFO: IMEI packet received {"connection_id":64889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":64889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:27:58] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:58] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:27:58] local.INFO: IMEI packet received {"connection_id":64889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":64889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:27:59] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:59] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:27:59] local.INFO: Packet analysis {"connection_id":64889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:27:59] local.INFO: Extracted packet for processing {"connection_id":64889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:27: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-05-08 08:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:27:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":64889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:27:59] local.INFO: GPS data processed {"connection_id":64889,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:27:59] local.INFO: Acknowledgment sent {"connection_id":64889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:28:04] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:04] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:04] local.INFO: Packet analysis {"connection_id":64889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:28:04] local.INFO: Extracted packet for processing {"connection_id":64889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:28: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-05-08 08:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:28:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:28:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":64889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:28:04] local.INFO: GPS data processed {"connection_id":64889,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:28:04] local.INFO: Acknowledgment sent {"connection_id":64889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:28:36] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:36] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:36] local.INFO: Packet analysis {"connection_id":64889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:28:36] local.INFO: Extracted packet for processing {"connection_id":64889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:28:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:28: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-05-08 08:28:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:28:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:28:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":64889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:28:36] local.INFO: GPS data processed {"connection_id":64889,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:28:36] local.INFO: Acknowledgment sent {"connection_id":64889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:28:53] local.INFO: TCP Data received {"connection_id":64949,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:28:53] local.INFO: Processing buffer {"connection_id":64949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:28:53] local.INFO: IMEI packet received {"connection_id":64949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":64949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:28:58] local.INFO: TCP Data received {"connection_id":64949,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:28:58] local.INFO: Processing buffer {"connection_id":64949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:28:58] local.INFO: IMEI packet received {"connection_id":64949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":64949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:28:59] local.INFO: TCP Data received {"connection_id":64949,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:59] local.INFO: Processing buffer {"connection_id":64949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:28:59] local.INFO: Packet analysis {"connection_id":64949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:28:59] local.INFO: Extracted packet for processing {"connection_id":64949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:28: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-05-08 08:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:28:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:28:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":64949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:28:59] local.INFO: GPS data processed {"connection_id":64949,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:28:59] local.INFO: Acknowledgment sent {"connection_id":64949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:29:32] local.INFO: TCP Data received {"connection_id":64949,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:29:32] local.INFO: Processing buffer {"connection_id":64949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:29:32] local.INFO: Packet analysis {"connection_id":64949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:29:32] local.INFO: Extracted packet for processing {"connection_id":64949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:29:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:29:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":64949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:29:32] local.INFO: GPS data processed {"connection_id":64949,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:29:32] local.INFO: Acknowledgment sent {"connection_id":64949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:29:53] local.INFO: TCP Data received {"connection_id":64950,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:29:53] local.INFO: Processing buffer {"connection_id":64950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:29:53] local.INFO: IMEI packet received {"connection_id":64950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":64950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:29:58] local.INFO: TCP Data received {"connection_id":64950,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:29:58] local.INFO: Processing buffer {"connection_id":64950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:29:58] local.INFO: IMEI packet received {"connection_id":64950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":64950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:30:00] local.INFO: TCP Data received {"connection_id":64950,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:30:00] local.INFO: Processing buffer {"connection_id":64950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05820e70012d34c54006aa50700000006225..."} 
[2026-05-08 08:30:00] local.INFO: Packet analysis {"connection_id":64950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:30:00] local.INFO: Extracted packet for processing {"connection_id":64950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0582"} 
[2026-05-08 08:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221393664001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:30: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-05-08 08:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778208870000,"timestamp_ms":1778208870000,"timestamp_seconds":1778208870,"priority":1,"record_length":96,"hex_timestamp":"0000019e05820e70"} 
[2026-05-08 08:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-05-08 08:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221393664001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221393664001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221393664001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":64950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:30:00] local.INFO: GPS data processed {"connection_id":64950,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:30:00] local.INFO: Acknowledgment sent {"connection_id":64950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:30:31] local.INFO: TCP Data received {"connection_id":64950,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:30:31] local.INFO: Processing buffer {"connection_id":64950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:30:31] local.INFO: Packet analysis {"connection_id":64950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:30:31] local.INFO: Extracted packet for processing {"connection_id":64950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":64950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:30:31] local.INFO: GPS data processed {"connection_id":64950,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:30:31] local.INFO: Acknowledgment sent {"connection_id":64950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:30:58] local.INFO: TCP Data received {"connection_id":64854,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:30:58] local.INFO: Processing buffer {"connection_id":64854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:30:58] local.INFO: IMEI packet received {"connection_id":64854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":64854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:31:03] local.INFO: TCP Data received {"connection_id":64854,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:03] local.INFO: Processing buffer {"connection_id":64854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:03] local.INFO: IMEI packet received {"connection_id":64854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":64854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:31:04] local.INFO: TCP Data received {"connection_id":64854,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:31:04] local.INFO: Processing buffer {"connection_id":64854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:31:04] local.INFO: Packet analysis {"connection_id":64854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:31:04] local.INFO: Extracted packet for processing {"connection_id":64854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:31:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:31:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:31:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:31:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:31:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:31:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:31:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:31:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:31:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:31:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:31:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:31:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:31:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:31:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:31:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:31:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:31:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:31:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:31:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:31:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:31:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:31:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:31:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":64854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:31:04] local.INFO: GPS data processed {"connection_id":64854,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:31:04] local.INFO: Acknowledgment sent {"connection_id":64854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:31:09] local.INFO: TCP Data received {"connection_id":64854,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:31:09] local.INFO: Processing buffer {"connection_id":64854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:31:09] local.INFO: Packet analysis {"connection_id":64854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:31:09] local.INFO: Extracted packet for processing {"connection_id":64854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 08:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 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-05-08 08:31: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-05-08 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":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 08:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:31:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":64854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:31:09] local.INFO: GPS data processed {"connection_id":64854,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:31:09] local.INFO: Acknowledgment sent {"connection_id":64854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:31:22] local.INFO: TCP Data received {"connection_id":64853,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:31:22] local.INFO: Processing buffer {"connection_id":64853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:31:22] local.INFO: IMEI packet received {"connection_id":64853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":64853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:31:42] local.INFO: TCP Data received {"connection_id":65696,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:31:42] local.INFO: Processing buffer {"connection_id":65696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:31:42] local.INFO: IMEI packet received {"connection_id":65696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":65696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:31:53] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:53] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:53] local.INFO: IMEI packet received {"connection_id":64951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":64951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:31:58] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:58] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:31:58] local.INFO: IMEI packet received {"connection_id":64951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":64951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:32:00] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:00] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:00] local.INFO: Packet analysis {"connection_id":64951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:32:00] local.INFO: Extracted packet for processing {"connection_id":64951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:32:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32: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-05-08 08:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:32:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:32:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:32:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":64951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:32:00] local.INFO: GPS data processed {"connection_id":64951,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:32:00] local.INFO: Acknowledgment sent {"connection_id":64951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:32:31] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:31] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:31] local.INFO: Packet analysis {"connection_id":64951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:32:31] local.INFO: Extracted packet for processing {"connection_id":64951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:32:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:32:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":64951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:32:31] local.INFO: GPS data processed {"connection_id":64951,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:32:31] local.INFO: Acknowledgment sent {"connection_id":64951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:32:53] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:32:53] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:32:53] local.INFO: IMEI packet received {"connection_id":64890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":64890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:32:58] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:32:58] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:32:58] local.INFO: IMEI packet received {"connection_id":64890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":64890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:32:59] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:59] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:32:59] local.INFO: Packet analysis {"connection_id":64890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:32:59] local.INFO: Extracted packet for processing {"connection_id":64890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:32: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-05-08 08:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:32:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":64890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:32:59] local.INFO: GPS data processed {"connection_id":64890,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:32:59] local.INFO: Acknowledgment sent {"connection_id":64890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:33:32] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:33:32] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:33:32] local.INFO: Packet analysis {"connection_id":64890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:33:32] local.INFO: Extracted packet for processing {"connection_id":64890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:33:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":64890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:33:32] local.INFO: GPS data processed {"connection_id":64890,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:33:32] local.INFO: Acknowledgment sent {"connection_id":64890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:33:53] local.INFO: TCP Data received {"connection_id":64952,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:33:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:33:53] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:33:53] local.INFO: IMEI packet received {"connection_id":64952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:33:53] local.INFO: IMEI acknowledgment sent {"connection_id":64952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:33:58] local.INFO: TCP Data received {"connection_id":64952,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:33:58] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:33:58] local.INFO: IMEI packet received {"connection_id":64952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":64952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:33:59] local.INFO: TCP Data received {"connection_id":64952,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:33:59] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:33:59] local.INFO: Packet analysis {"connection_id":64952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:33:59] local.INFO: Extracted packet for processing {"connection_id":64952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:33: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-05-08 08:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":64952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:33:59] local.INFO: GPS data processed {"connection_id":64952,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:33:59] local.INFO: Acknowledgment sent {"connection_id":64952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:34:31] local.INFO: TCP Data received {"connection_id":64952,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:34:31] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:34:31] local.INFO: Packet analysis {"connection_id":64952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:34:31] local.INFO: Extracted packet for processing {"connection_id":64952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:34:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":64952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:34:31] local.INFO: GPS data processed {"connection_id":64952,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:34:31] local.INFO: Acknowledgment sent {"connection_id":64952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:34:53] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:34:53] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:34:53] local.INFO: IMEI packet received {"connection_id":64891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":64891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:34:58] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:34:58] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:34:58] local.INFO: IMEI packet received {"connection_id":64891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":64891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:34:59] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:34:59] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0586a638012d34c54006aa50700000006228..."} 
[2026-05-08 08:34:59] local.INFO: Packet analysis {"connection_id":64891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:34:59] local.INFO: Extracted packet for processing {"connection_id":64891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0586"} 
[2026-05-08 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221470720001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:34: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-05-08 08:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778209171000,"timestamp_ms":1778209171000,"timestamp_seconds":1778209171,"priority":1,"record_length":96,"hex_timestamp":"0000019e0586a638"} 
[2026-05-08 08:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221470720001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221470720001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221470720001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":64891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:34:59] local.INFO: GPS data processed {"connection_id":64891,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:34:59] local.INFO: Acknowledgment sent {"connection_id":64891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:35:30] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:35:30] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:35:30] local.INFO: Packet analysis {"connection_id":64891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:35:30] local.INFO: Extracted packet for processing {"connection_id":64891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:35:30] 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-05-08 08:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:35: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-05-08 08:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:35:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":64891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:35:30] local.INFO: GPS data processed {"connection_id":64891,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:35:30] local.INFO: Acknowledgment sent {"connection_id":64891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:35:55] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:35:55] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:35:55] local.INFO: IMEI packet received {"connection_id":64953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":64953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:35:59] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:35:59] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:35:59] local.INFO: IMEI packet received {"connection_id":64953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":64953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:36:00] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:00] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:00] local.INFO: Packet analysis {"connection_id":64953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:36:00] local.INFO: Extracted packet for processing {"connection_id":64953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:00] 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-05-08 08:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:36:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":64953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:36:00] local.INFO: GPS data processed {"connection_id":64953,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:36:00] local.INFO: Acknowledgment sent {"connection_id":64953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:36:03] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:03] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:03] local.INFO: Packet analysis {"connection_id":64953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:36:03] local.INFO: Extracted packet for processing {"connection_id":64953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36: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-05-08 08:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:36:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":64953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:36:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":64953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:36:03] local.INFO: GPS data processed {"connection_id":64953,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:36:03] local.INFO: Acknowledgment sent {"connection_id":64953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:36:36] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:36] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:36] local.INFO: Packet analysis {"connection_id":64953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:36:36] local.INFO: Extracted packet for processing {"connection_id":64953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36: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-05-08 08:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:36: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-05-08 08: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:36:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":64953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:36:36] local.INFO: GPS data processed {"connection_id":64953,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:36:36] local.INFO: Acknowledgment sent {"connection_id":64953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:36:53] local.INFO: TCP Data received {"connection_id":64892,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:36:53] local.INFO: Processing buffer {"connection_id":64892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:36:53] local.INFO: IMEI packet received {"connection_id":64892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":64892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:36:58] local.INFO: TCP Data received {"connection_id":64892,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:36:58] local.INFO: Processing buffer {"connection_id":64892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:36:58] local.INFO: IMEI packet received {"connection_id":64892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":64892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:36:59] local.INFO: TCP Data received {"connection_id":64892,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:59] local.INFO: Processing buffer {"connection_id":64892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:36:59] local.INFO: Packet analysis {"connection_id":64892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:36:59] local.INFO: Extracted packet for processing {"connection_id":64892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:36:59] 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-05-08 08:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:36:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:36:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":64892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:36:59] local.INFO: GPS data processed {"connection_id":64892,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:36:59] local.INFO: Acknowledgment sent {"connection_id":64892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:37:07] local.INFO: TCP Data received {"connection_id":65700,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:37:07] local.INFO: Processing buffer {"connection_id":65700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:37:07] local.INFO: IMEI packet received {"connection_id":65700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":65700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:37:31] local.INFO: TCP Data received {"connection_id":64892,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:37:31] local.INFO: Processing buffer {"connection_id":64892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:37:31] local.INFO: Packet analysis {"connection_id":64892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:37:31] local.INFO: Extracted packet for processing {"connection_id":64892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:37:31] 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-05-08 08:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:37:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":64892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:37:31] local.INFO: GPS data processed {"connection_id":64892,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:37:31] local.INFO: Acknowledgment sent {"connection_id":64892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:37:42] local.INFO: TCP Data received {"connection_id":64856,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:37:42] local.INFO: Processing buffer {"connection_id":64856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:37:42] local.INFO: IMEI packet received {"connection_id":64856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":64856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:37:53] local.INFO: TCP Data received {"connection_id":65701,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:37:53] local.INFO: Processing buffer {"connection_id":65701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:37:53] local.INFO: IMEI packet received {"connection_id":65701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":65701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:37:58] local.INFO: TCP Data received {"connection_id":65701,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:37:58] local.INFO: Processing buffer {"connection_id":65701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:37:58] local.INFO: IMEI packet received {"connection_id":65701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":65701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:37:59] local.INFO: TCP Data received {"connection_id":65701,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:37:59] local.INFO: Processing buffer {"connection_id":65701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:37:59] local.INFO: Packet analysis {"connection_id":65701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:37:59] local.INFO: Extracted packet for processing {"connection_id":65701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:37:59] 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-05-08 08:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":65701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:37:59] local.INFO: GPS data processed {"connection_id":65701,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:37:59] local.INFO: Acknowledgment sent {"connection_id":65701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:38:32] local.INFO: TCP Data received {"connection_id":65701,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:38:32] local.INFO: Processing buffer {"connection_id":65701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:38:32] local.INFO: Packet analysis {"connection_id":65701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:38:32] local.INFO: Extracted packet for processing {"connection_id":65701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:38:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:38:32] 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-05-08 08:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:38:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:38:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:38:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":65701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:38:32] local.INFO: GPS data processed {"connection_id":65701,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:38:32] local.INFO: Acknowledgment sent {"connection_id":65701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:38:53] local.INFO: TCP Data received {"connection_id":64858,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:38:53] local.INFO: Processing buffer {"connection_id":64858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:38:53] local.INFO: IMEI packet received {"connection_id":64858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":64858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:38:58] local.INFO: TCP Data received {"connection_id":64858,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:38:58] local.INFO: Processing buffer {"connection_id":64858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:38:58] local.INFO: IMEI packet received {"connection_id":64858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":64858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:38:59] local.INFO: TCP Data received {"connection_id":64858,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:38:59] local.INFO: Processing buffer {"connection_id":64858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:38:59] local.INFO: Packet analysis {"connection_id":64858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:38:59] local.INFO: Extracted packet for processing {"connection_id":64858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:38:59] 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-05-08 08:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:38:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":64858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:38:59] local.INFO: GPS data processed {"connection_id":64858,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:38:59] local.INFO: Acknowledgment sent {"connection_id":64858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:39:31] local.INFO: TCP Data received {"connection_id":64858,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:39:31] local.INFO: Processing buffer {"connection_id":64858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:39:31] local.INFO: Packet analysis {"connection_id":64858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:39:31] local.INFO: Extracted packet for processing {"connection_id":64858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:39:31] 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-05-08 08:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:39:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":64858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:39:31] local.INFO: GPS data processed {"connection_id":64858,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:39:31] local.INFO: Acknowledgment sent {"connection_id":64858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:39:58] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:39:58] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:39:58] local.INFO: IMEI packet received {"connection_id":64894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":64894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:40:03] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:03] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:03] local.INFO: IMEI packet received {"connection_id":64894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":64894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:40:04] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:40:04] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:40:04] local.INFO: Packet analysis {"connection_id":64894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:40:04] local.INFO: Extracted packet for processing {"connection_id":64894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40:04] 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-05-08 08:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:40:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:40:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":64894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:40:04] local.INFO: GPS data processed {"connection_id":64894,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:40:04] local.INFO: Acknowledgment sent {"connection_id":64894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:40:09] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:40:09] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058b3e00012d34c54006aa50700000006227..."} 
[2026-05-08 08:40:09] local.INFO: Packet analysis {"connection_id":64894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:40:09] local.INFO: Extracted packet for processing {"connection_id":64894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058b"} 
[2026-05-08 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221547776001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40: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-05-08 08:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778209472000,"timestamp_ms":1778209472000,"timestamp_seconds":1778209472,"priority":1,"record_length":96,"hex_timestamp":"0000019e058b3e00"} 
[2026-05-08 08:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08: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-05-08 08: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221547776001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 08:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221547776001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:40:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 08:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221547776001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":64894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:40:09] local.INFO: GPS data processed {"connection_id":64894,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:40:09] local.INFO: Acknowledgment sent {"connection_id":64894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:40:53] local.INFO: TCP Data received {"connection_id":64954,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:53] local.INFO: Processing buffer {"connection_id":64954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:53] local.INFO: IMEI packet received {"connection_id":64954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":64954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:40:58] local.INFO: TCP Data received {"connection_id":64954,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:58] local.INFO: Processing buffer {"connection_id":64954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:40:58] local.INFO: IMEI packet received {"connection_id":64954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":64954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:40:59] local.INFO: TCP Data received {"connection_id":64954,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:40:59] local.INFO: Processing buffer {"connection_id":64954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:40:59] local.INFO: Packet analysis {"connection_id":64954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:40:59] local.INFO: Extracted packet for processing {"connection_id":64954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:40: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-05-08 08:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:40:59] 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-05-08 08:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":64954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:40:59] local.INFO: GPS data processed {"connection_id":64954,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:40:59] local.INFO: Acknowledgment sent {"connection_id":64954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:41:31] local.INFO: TCP Data received {"connection_id":64954,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:41:31] local.INFO: Processing buffer {"connection_id":64954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:41:31] local.INFO: Packet analysis {"connection_id":64954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:41:31] local.INFO: Extracted packet for processing {"connection_id":64954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:41:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:41:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":64954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:41:31] local.INFO: GPS data processed {"connection_id":64954,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:41:31] local.INFO: Acknowledgment sent {"connection_id":64954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:41:53] local.INFO: TCP Data received {"connection_id":64860,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:41:53] local.INFO: Processing buffer {"connection_id":64860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:41:53] local.INFO: IMEI packet received {"connection_id":64860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":64860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:41:58] local.INFO: TCP Data received {"connection_id":64860,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:41:58] local.INFO: Processing buffer {"connection_id":64860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:41:58] local.INFO: IMEI packet received {"connection_id":64860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":64860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:41:59] local.INFO: TCP Data received {"connection_id":64860,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:41:59] local.INFO: Processing buffer {"connection_id":64860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:41:59] local.INFO: Packet analysis {"connection_id":64860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:41:59] local.INFO: Extracted packet for processing {"connection_id":64860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:41: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-05-08 08:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:41:59] 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-05-08 08:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:41:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":64860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:41:59] local.INFO: GPS data processed {"connection_id":64860,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:41:59] local.INFO: Acknowledgment sent {"connection_id":64860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:42:31] local.INFO: TCP Data received {"connection_id":64860,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:42:31] local.INFO: Processing buffer {"connection_id":64860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:42:31] local.INFO: Packet analysis {"connection_id":64860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:42:31] local.INFO: Extracted packet for processing {"connection_id":64860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:42:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":64860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:42:31] local.INFO: GPS data processed {"connection_id":64860,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:42:31] local.INFO: Acknowledgment sent {"connection_id":64860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:42:58] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:42:58] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:42:58] local.INFO: IMEI packet received {"connection_id":64896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":64896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:43:03] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:03] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:03] local.INFO: IMEI packet received {"connection_id":64896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":64896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:43:04] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:04] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:04] local.INFO: Packet analysis {"connection_id":64896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:43:04] local.INFO: Extracted packet for processing {"connection_id":64896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:43: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-05-08 08:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":64896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:43:04] local.INFO: GPS data processed {"connection_id":64896,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:43:04] local.INFO: Acknowledgment sent {"connection_id":64896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:43:09] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:09] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:09] local.INFO: Packet analysis {"connection_id":64896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:43:09] local.INFO: Extracted packet for processing {"connection_id":64896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:43: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-05-08 08: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:43: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-05-08 08: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-05-08 08:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:43:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":64896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:43:09] local.INFO: GPS data processed {"connection_id":64896,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:43:09] local.INFO: Acknowledgment sent {"connection_id":64896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:43:14] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:14] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:43:14] local.INFO: Packet analysis {"connection_id":64896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:43:14] local.INFO: Extracted packet for processing {"connection_id":64896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:43: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-05-08 08:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:43: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-05-08 08:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:43: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-05-08 08:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":64896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:43:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:43:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:43:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":64896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:43:14] local.INFO: GPS data processed {"connection_id":64896,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:43:14] local.INFO: Acknowledgment sent {"connection_id":64896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:43:17] local.INFO: TCP Data received {"connection_id":64861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:43:17] local.INFO: Processing buffer {"connection_id":64861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:43:17] local.INFO: IMEI packet received {"connection_id":64861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":64861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:43:47] local.INFO: TCP Data received {"connection_id":64955,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:43:47] local.INFO: Processing buffer {"connection_id":64955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:43:47] local.INFO: IMEI packet received {"connection_id":64955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:43:47] local.INFO: IMEI acknowledgment sent {"connection_id":64955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:43:53] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:53] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:53] local.INFO: IMEI packet received {"connection_id":64897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":64897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:43:58] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:58] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:43:58] local.INFO: IMEI packet received {"connection_id":64897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":64897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:44:00] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:00] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:00] local.INFO: Packet analysis {"connection_id":64897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:44:00] local.INFO: Extracted packet for processing {"connection_id":64897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:44: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-05-08 08:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:44:00] 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-05-08 08:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:44:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":64897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:44:00] local.INFO: GPS data processed {"connection_id":64897,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:44:00] local.INFO: Acknowledgment sent {"connection_id":64897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:44:04] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:04] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:04] local.INFO: Packet analysis {"connection_id":64897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:44:04] local.INFO: Extracted packet for processing {"connection_id":64897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":64897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:44:04] local.INFO: GPS data processed {"connection_id":64897,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:44:04] local.INFO: Acknowledgment sent {"connection_id":64897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:44:35] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:35] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:44:35] local.INFO: Packet analysis {"connection_id":64897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:44:35] local.INFO: Extracted packet for processing {"connection_id":64897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:44:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:44:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:44:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":64897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:44:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":64897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:44:35] local.INFO: GPS data processed {"connection_id":64897,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:44:35] local.INFO: Acknowledgment sent {"connection_id":64897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:44:53] local.INFO: TCP Data received {"connection_id":65702,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:44:53] local.INFO: Processing buffer {"connection_id":65702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:44:53] local.INFO: IMEI packet received {"connection_id":65702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":65702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:44:58] local.INFO: TCP Data received {"connection_id":65702,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:44:58] local.INFO: Processing buffer {"connection_id":65702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:44:58] local.INFO: IMEI packet received {"connection_id":65702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":65702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:45:00] local.INFO: TCP Data received {"connection_id":65702,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:45:00] local.INFO: Processing buffer {"connection_id":65702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e058fd5c8012d34c54006aa50700000006228..."} 
[2026-05-08 08:45:00] local.INFO: Packet analysis {"connection_id":65702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:45:00] local.INFO: Extracted packet for processing {"connection_id":65702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e058f"} 
[2026-05-08 08:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221624832001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45: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-05-08 08:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778209773000,"timestamp_ms":1778209773000,"timestamp_seconds":1778209773,"priority":1,"record_length":96,"hex_timestamp":"0000019e058fd5c8"} 
[2026-05-08 08:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:45:00] 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-05-08 08:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221624832001,"66":25147,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221624832001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221624832001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":65702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:45:00] local.INFO: GPS data processed {"connection_id":65702,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:45:00] local.INFO: Acknowledgment sent {"connection_id":65702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:45:31] local.INFO: TCP Data received {"connection_id":65702,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:45:31] local.INFO: Processing buffer {"connection_id":65702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:45:31] local.INFO: Packet analysis {"connection_id":65702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:45:31] local.INFO: Extracted packet for processing {"connection_id":65702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:45:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":65702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:45:31] local.INFO: GPS data processed {"connection_id":65702,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:45:31] local.INFO: Acknowledgment sent {"connection_id":65702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:45:53] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:45:53] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:45:53] local.INFO: IMEI packet received {"connection_id":64899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:45:53] local.INFO: IMEI acknowledgment sent {"connection_id":64899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:45:58] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:45:58] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:45:58] local.INFO: IMEI packet received {"connection_id":64899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":64899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:45:59] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:45:59] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:45:59] local.INFO: Packet analysis {"connection_id":64899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:45:59] local.INFO: Extracted packet for processing {"connection_id":64899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:45: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-05-08 08:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":64899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:45:59] local.INFO: GPS data processed {"connection_id":64899,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:45:59] local.INFO: Acknowledgment sent {"connection_id":64899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:46:31] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:46:31] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:46:31] local.INFO: Packet analysis {"connection_id":64899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:46:31] local.INFO: Extracted packet for processing {"connection_id":64899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:46:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":64899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:46:31] local.INFO: GPS data processed {"connection_id":64899,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:46:31] local.INFO: Acknowledgment sent {"connection_id":64899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:46:58] local.INFO: TCP Data received {"connection_id":64900,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:46:58] local.INFO: Processing buffer {"connection_id":64900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:46:58] local.INFO: IMEI packet received {"connection_id":64900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":64900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:47:03] local.INFO: TCP Data received {"connection_id":64900,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:03] local.INFO: Processing buffer {"connection_id":64900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:03] local.INFO: IMEI packet received {"connection_id":64900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":64900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:47:04] local.INFO: TCP Data received {"connection_id":64900,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:04] local.INFO: Processing buffer {"connection_id":64900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:04] local.INFO: Packet analysis {"connection_id":64900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:47:04] local.INFO: Extracted packet for processing {"connection_id":64900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:47:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:47:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:47:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:47:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:47:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:47:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:47:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:47:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:47:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:47:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:47:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:47:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:47:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:47:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:47:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:47:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:47:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:47:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:47:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:47:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:47:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:47:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:47:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:47:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:47:04] local.INFO: DEBUG: GPS processor result {"connection_id":64900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:47:04] local.INFO: GPS data processed {"connection_id":64900,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:47:04] local.INFO: Acknowledgment sent {"connection_id":64900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:47:09] local.INFO: TCP Data received {"connection_id":64900,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:09] local.INFO: Processing buffer {"connection_id":64900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:09] local.INFO: Packet analysis {"connection_id":64900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:47:09] local.INFO: Extracted packet for processing {"connection_id":64900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 08:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 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-05-08 08: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-05-08 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":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:47:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 08:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:47:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:47:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":64900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:47:09] local.INFO: GPS data processed {"connection_id":64900,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:47:09] local.INFO: Acknowledgment sent {"connection_id":64900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:47:53] local.INFO: TCP Data received {"connection_id":64958,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:53] local.INFO: Processing buffer {"connection_id":64958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:53] local.INFO: IMEI packet received {"connection_id":64958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":64958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:47:58] local.INFO: TCP Data received {"connection_id":64958,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:58] local.INFO: Processing buffer {"connection_id":64958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:47:58] local.INFO: IMEI packet received {"connection_id":64958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:47:59] local.INFO: TCP Data received {"connection_id":64958,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:59] local.INFO: Processing buffer {"connection_id":64958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:47:59] local.INFO: Packet analysis {"connection_id":64958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:47:59] local.INFO: Extracted packet for processing {"connection_id":64958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:47: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-05-08 08:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":64958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:47:59] local.INFO: GPS data processed {"connection_id":64958,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:47:59] local.INFO: Acknowledgment sent {"connection_id":64958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:48:31] local.INFO: TCP Data received {"connection_id":64958,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:48:31] local.INFO: Processing buffer {"connection_id":64958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:48:31] local.INFO: Packet analysis {"connection_id":64958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:48:31] local.INFO: Extracted packet for processing {"connection_id":64958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:48:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":64958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:48:31] local.INFO: GPS data processed {"connection_id":64958,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:48:31] local.INFO: Acknowledgment sent {"connection_id":64958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:48:52] local.INFO: TCP Data received {"connection_id":65704,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:48:53] local.INFO: Processing buffer {"connection_id":65704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:48:53] local.INFO: IMEI packet received {"connection_id":65704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":65704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:48:58] local.INFO: TCP Data received {"connection_id":65704,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:48:58] local.INFO: Processing buffer {"connection_id":65704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:48:58] local.INFO: IMEI packet received {"connection_id":65704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":65704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:48:59] local.INFO: TCP Data received {"connection_id":65704,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:48:59] local.INFO: Processing buffer {"connection_id":65704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:48:59] local.INFO: Packet analysis {"connection_id":65704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:48:59] local.INFO: Extracted packet for processing {"connection_id":65704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:48: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-05-08 08:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:48:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":65704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:48:59] local.INFO: GPS data processed {"connection_id":65704,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:48:59] local.INFO: Acknowledgment sent {"connection_id":65704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:49:31] local.INFO: TCP Data received {"connection_id":65704,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:49:31] local.INFO: Processing buffer {"connection_id":65704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:49:31] local.INFO: Packet analysis {"connection_id":65704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:49:31] local.INFO: Extracted packet for processing {"connection_id":65704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:49:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":65704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:49:31] local.INFO: GPS data processed {"connection_id":65704,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:49:31] local.INFO: Acknowledgment sent {"connection_id":65704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:49:42] local.INFO: TCP Data received {"connection_id":64862,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:49:42] local.INFO: Processing buffer {"connection_id":64862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:49:42] local.INFO: IMEI packet received {"connection_id":64862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":64862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:49:58] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:49:58] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:49:58] local.INFO: IMEI packet received {"connection_id":64902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":64902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:50:03] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:50:03] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:50:03] local.INFO: IMEI packet received {"connection_id":64902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":64902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:50:05] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:50:05] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05946d90012d34c54006aa50700000006227..."} 
[2026-05-08 08:50:05] local.INFO: Packet analysis {"connection_id":64902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:50:05] local.INFO: Extracted packet for processing {"connection_id":64902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0594"} 
[2026-05-08 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221701888001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:50: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-05-08 08:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778210074000,"timestamp_ms":1778210074000,"timestamp_seconds":1778210074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05946d90"} 
[2026-05-08 08:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:50:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 08:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:50:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221701888001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221701888001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221701888001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":64902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:50:05] local.INFO: GPS data processed {"connection_id":64902,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:50:05] local.INFO: Acknowledgment sent {"connection_id":64902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:50:36] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:50:36] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:50:36] local.INFO: Packet analysis {"connection_id":64902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:50:36] local.INFO: Extracted packet for processing {"connection_id":64902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:50: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-05-08 08: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":64902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:50:36] local.INFO: GPS data processed {"connection_id":64902,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:50:36] local.INFO: Acknowledgment sent {"connection_id":64902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:50:58] local.INFO: TCP Data received {"connection_id":64959,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:50:58] local.INFO: Processing buffer {"connection_id":64959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:50:58] local.INFO: IMEI packet received {"connection_id":64959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":64959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:51:03] local.INFO: TCP Data received {"connection_id":64959,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:03] local.INFO: Processing buffer {"connection_id":64959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:03] local.INFO: IMEI packet received {"connection_id":64959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":64959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:51:04] local.INFO: TCP Data received {"connection_id":64959,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:04] local.INFO: Processing buffer {"connection_id":64959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:04] local.INFO: Packet analysis {"connection_id":64959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:51:04] local.INFO: Extracted packet for processing {"connection_id":64959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":64959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:51:04] local.INFO: GPS data processed {"connection_id":64959,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:51:04] local.INFO: Acknowledgment sent {"connection_id":64959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:51:09] local.INFO: TCP Data received {"connection_id":64959,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:09] local.INFO: Processing buffer {"connection_id":64959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:09] local.INFO: Packet analysis {"connection_id":64959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:51:09] local.INFO: Extracted packet for processing {"connection_id":64959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 08:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 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-05-08 08:51: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-05-08 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":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 08:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:51:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:51:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":64959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:51:09] local.INFO: GPS data processed {"connection_id":64959,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:51:09] local.INFO: Acknowledgment sent {"connection_id":64959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:51:53] local.INFO: TCP Data received {"connection_id":64864,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:53] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:53] local.INFO: IMEI packet received {"connection_id":64864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":64864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:51:58] local.INFO: TCP Data received {"connection_id":64864,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:58] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:51:58] local.INFO: IMEI packet received {"connection_id":64864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":64864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:51:59] local.INFO: TCP Data received {"connection_id":64864,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:59] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:51:59] local.INFO: Packet analysis {"connection_id":64864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:51:59] local.INFO: Extracted packet for processing {"connection_id":64864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:51: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-05-08 08:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":64864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:51:59] local.INFO: GPS data processed {"connection_id":64864,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:51:59] local.INFO: Acknowledgment sent {"connection_id":64864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:52:31] local.INFO: TCP Data received {"connection_id":64864,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:52:31] local.INFO: Processing buffer {"connection_id":64864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:52:31] local.INFO: Packet analysis {"connection_id":64864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:52:31] local.INFO: Extracted packet for processing {"connection_id":64864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":64864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:52:31] local.INFO: GPS data processed {"connection_id":64864,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:52:31] local.INFO: Acknowledgment sent {"connection_id":64864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:52:52] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:52:53] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:52:53] local.INFO: IMEI packet received {"connection_id":64960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":64960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:52:58] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:52:58] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:52:58] local.INFO: IMEI packet received {"connection_id":64960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":64960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:53:00] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:53:00] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:53:00] local.INFO: Packet analysis {"connection_id":64960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:53:00] local.INFO: Extracted packet for processing {"connection_id":64960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:53: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-05-08 08:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:53:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":64960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:53:00] local.INFO: GPS data processed {"connection_id":64960,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:53:00] local.INFO: Acknowledgment sent {"connection_id":64960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:53:32] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:53:32] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:53:32] local.INFO: Packet analysis {"connection_id":64960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:53:32] local.INFO: Extracted packet for processing {"connection_id":64960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:53:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:53:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":64960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:53:32] local.INFO: GPS data processed {"connection_id":64960,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:53:32] local.INFO: Acknowledgment sent {"connection_id":64960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:53:52] local.INFO: TCP Data received {"connection_id":65706,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:53:52] local.INFO: Processing buffer {"connection_id":65706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:53:52] local.INFO: IMEI packet received {"connection_id":65706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":65706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:53:58] local.INFO: TCP Data received {"connection_id":65706,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:53:58] local.INFO: Processing buffer {"connection_id":65706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:53:58] local.INFO: IMEI packet received {"connection_id":65706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":65706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:54:00] local.INFO: TCP Data received {"connection_id":65706,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:00] local.INFO: Processing buffer {"connection_id":65706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:00] local.INFO: Packet analysis {"connection_id":65706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:54:00] local.INFO: Extracted packet for processing {"connection_id":65706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:54:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54: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-05-08 08:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:54:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:54:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:54:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":65706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:54:00] local.INFO: GPS data processed {"connection_id":65706,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:54:00] local.INFO: Acknowledgment sent {"connection_id":65706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:54:32] local.INFO: TCP Data received {"connection_id":65706,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:32] local.INFO: Processing buffer {"connection_id":65706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:32] local.INFO: Packet analysis {"connection_id":65706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:54:32] local.INFO: Extracted packet for processing {"connection_id":65706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:54:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:54:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:54:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":65706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:54:32] local.INFO: GPS data processed {"connection_id":65706,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:54:32] local.INFO: Acknowledgment sent {"connection_id":65706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:54:53] local.INFO: TCP Data received {"connection_id":64962,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:54:53] local.INFO: Processing buffer {"connection_id":64962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:54:53] local.INFO: IMEI packet received {"connection_id":64962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":64962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:54:58] local.INFO: TCP Data received {"connection_id":64962,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:54:58] local.INFO: Processing buffer {"connection_id":64962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:54:58] local.INFO: IMEI packet received {"connection_id":64962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":64962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:54:59] local.INFO: TCP Data received {"connection_id":64962,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:59] local.INFO: Processing buffer {"connection_id":64962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05990558012d34c54006aa50700000006227..."} 
[2026-05-08 08:54:59] local.INFO: Packet analysis {"connection_id":64962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:54:59] local.INFO: Extracted packet for processing {"connection_id":64962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0599"} 
[2026-05-08 08:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221778944001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:54: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-05-08 08:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210375000,"timestamp_ms":1778210375000,"timestamp_seconds":1778210375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05990558"} 
[2026-05-08 08:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 08:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221778944001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221778944001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221778944001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":64962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:54:59] local.INFO: GPS data processed {"connection_id":64962,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:54:59] local.INFO: Acknowledgment sent {"connection_id":64962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:55:12] local.INFO: TCP Data received {"connection_id":64961,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:55:12] local.INFO: Processing buffer {"connection_id":64961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:55:12] local.INFO: IMEI packet received {"connection_id":64961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":64961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:55:30] local.INFO: TCP Data received {"connection_id":64962,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:55:30] local.INFO: Processing buffer {"connection_id":64962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:55:30] local.INFO: Packet analysis {"connection_id":64962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:55:30] local.INFO: Extracted packet for processing {"connection_id":64962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 08:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:55: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-05-08 08:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:55:30] 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-05-08 08:55:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:55:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:55:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":64962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:55:30] local.INFO: GPS data processed {"connection_id":64962,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:55:30] local.INFO: Acknowledgment sent {"connection_id":64962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:55:42] local.INFO: TCP Data received {"connection_id":65707,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:55:42] local.INFO: Processing buffer {"connection_id":65707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 08:55:42] local.INFO: IMEI packet received {"connection_id":65707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 08:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":65707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:55:58] local.INFO: TCP Data received {"connection_id":64963,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:55:58] local.INFO: Processing buffer {"connection_id":64963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:55:58] local.INFO: IMEI packet received {"connection_id":64963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":64963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:56:03] local.INFO: TCP Data received {"connection_id":64963,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:03] local.INFO: Processing buffer {"connection_id":64963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:03] local.INFO: IMEI packet received {"connection_id":64963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":64963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:56:06] local.INFO: TCP Data received {"connection_id":64963,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:06] local.INFO: Processing buffer {"connection_id":64963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:06] local.INFO: Packet analysis {"connection_id":64963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:56:06] local.INFO: Extracted packet for processing {"connection_id":64963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:56: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-05-08 08:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 08:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:56: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-05-08 08:56:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":64963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":64963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":64963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:56:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":64963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:56:06] local.INFO: GPS data processed {"connection_id":64963,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:56:06] local.INFO: Acknowledgment sent {"connection_id":64963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:56:37] local.INFO: TCP Data received {"connection_id":64963,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:37] local.INFO: Processing buffer {"connection_id":64963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:37] local.INFO: Packet analysis {"connection_id":64963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:56:37] local.INFO: Extracted packet for processing {"connection_id":64963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:56:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 08:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 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-05-08 08: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-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:56: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-05-08 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-05-08 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-05-08 08:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":64963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":64963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":64963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:56:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:56:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":64963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:56:37] local.INFO: GPS data processed {"connection_id":64963,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:56:37] local.INFO: Acknowledgment sent {"connection_id":64963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:56:52] local.INFO: TCP Data received {"connection_id":64965,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:52] local.INFO: Processing buffer {"connection_id":64965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:52] local.INFO: IMEI packet received {"connection_id":64965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":64965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:56:58] local.INFO: TCP Data received {"connection_id":64965,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:58] local.INFO: Processing buffer {"connection_id":64965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:56:58] local.INFO: IMEI packet received {"connection_id":64965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":64965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:56:59] local.INFO: TCP Data received {"connection_id":64965,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:59] local.INFO: Processing buffer {"connection_id":64965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:56:59] local.INFO: Packet analysis {"connection_id":64965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:56:59] local.INFO: Extracted packet for processing {"connection_id":64965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:56: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-05-08 08:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 08:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:56:59] 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-05-08 08:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":64965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:56:59] local.INFO: GPS data processed {"connection_id":64965,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:56:59] local.INFO: Acknowledgment sent {"connection_id":64965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:57:31] local.INFO: TCP Data received {"connection_id":64965,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:57:31] local.INFO: Processing buffer {"connection_id":64965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:57:31] local.INFO: Packet analysis {"connection_id":64965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:57:31] local.INFO: Extracted packet for processing {"connection_id":64965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 08:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:57:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":64965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:57:31] local.INFO: GPS data processed {"connection_id":64965,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:57:31] local.INFO: Acknowledgment sent {"connection_id":64965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:57:52] local.INFO: TCP Data received {"connection_id":64866,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:57:52] local.INFO: Processing buffer {"connection_id":64866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:57:52] local.INFO: IMEI packet received {"connection_id":64866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":64866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:57:58] local.INFO: TCP Data received {"connection_id":64866,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:57:58] local.INFO: Processing buffer {"connection_id":64866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:57:58] local.INFO: IMEI packet received {"connection_id":64866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":64866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:57:59] local.INFO: TCP Data received {"connection_id":64866,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:57:59] local.INFO: Processing buffer {"connection_id":64866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:57:59] local.INFO: Packet analysis {"connection_id":64866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:57:59] local.INFO: Extracted packet for processing {"connection_id":64866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:57: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-05-08 08:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 08:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:57:59] 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-05-08 08:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 08:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":64866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:57:59] local.INFO: GPS data processed {"connection_id":64866,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:57:59] local.INFO: Acknowledgment sent {"connection_id":64866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:58:31] local.INFO: TCP Data received {"connection_id":64866,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:58:31] local.INFO: Processing buffer {"connection_id":64866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:58:31] local.INFO: Packet analysis {"connection_id":64866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:58:31] local.INFO: Extracted packet for processing {"connection_id":64866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 08:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 08:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 08:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":64866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:58:31] local.INFO: GPS data processed {"connection_id":64866,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:58:31] local.INFO: Acknowledgment sent {"connection_id":64866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:58:59] local.INFO: TCP Data received {"connection_id":65709,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:58:59] local.INFO: Processing buffer {"connection_id":65709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:58:59] local.INFO: IMEI packet received {"connection_id":65709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":65709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:59:03] local.INFO: TCP Data received {"connection_id":65709,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:03] local.INFO: Processing buffer {"connection_id":65709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:03] local.INFO: IMEI packet received {"connection_id":65709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":65709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 08:59:04] local.INFO: TCP Data received {"connection_id":65709,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:59:04] local.INFO: Processing buffer {"connection_id":65709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:59:04] local.INFO: Packet analysis {"connection_id":65709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:59:04] local.INFO: Extracted packet for processing {"connection_id":65709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 08:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 08: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-05-08 08:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":65709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:59:04] local.INFO: GPS data processed {"connection_id":65709,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:59:04] local.INFO: Acknowledgment sent {"connection_id":65709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:59:09] local.INFO: TCP Data received {"connection_id":65709,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:59:09] local.INFO: Processing buffer {"connection_id":65709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 08:59:09] local.INFO: Packet analysis {"connection_id":65709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:59:09] local.INFO: Extracted packet for processing {"connection_id":65709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 08:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 08: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-05-08 08:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 08:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 08:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 08: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-05-08 08:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 08:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 08:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 08: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 08:59: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-05-08 08: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-05-08 08:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 08:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 08:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 08:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 08:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 08:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 08:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 08:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 08:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 08:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 08:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 08:59:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 08:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 08:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 08:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 08:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 08:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":65709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 08:59:09] local.INFO: GPS data processed {"connection_id":65709,"processed":1,"errors":0,"total":1} 
[2026-05-08 08:59:09] local.INFO: Acknowledgment sent {"connection_id":65709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 08:59:53] local.INFO: TCP Data received {"connection_id":64867,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:53] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:53] local.INFO: IMEI packet received {"connection_id":64867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 08:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":64867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 08:59:58] local.INFO: TCP Data received {"connection_id":64867,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:58] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 08:59:58] local.INFO: IMEI packet received {"connection_id":64867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 08:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":64867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:00:00] local.INFO: TCP Data received {"connection_id":64867,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 09:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 09:00:00] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e059d9d20012d34c54006aa50700000006227..."} 
[2026-05-08 09:00:00] local.INFO: Packet analysis {"connection_id":64867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 09:00:00] local.INFO: Extracted packet for processing {"connection_id":64867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e059d"} 
[2026-05-08 09:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221856000001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:00: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-05-08 09:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778210676000,"timestamp_ms":1778210676000,"timestamp_seconds":1778210676,"priority":1,"record_length":96,"hex_timestamp":"0000019e059d9d20"} 
[2026-05-08 09:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:00:00] 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-05-08 09:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221856000001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221856000001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221856000001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":64867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:00:00] local.INFO: GPS data processed {"connection_id":64867,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:00:00] local.INFO: Acknowledgment sent {"connection_id":64867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:00:31] local.INFO: TCP Data received {"connection_id":64867,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:00:31] local.INFO: Processing buffer {"connection_id":64867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:00:31] local.INFO: Packet analysis {"connection_id":64867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:00:31] local.INFO: Extracted packet for processing {"connection_id":64867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":64867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:00:31] local.INFO: GPS data processed {"connection_id":64867,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:00:31] local.INFO: Acknowledgment sent {"connection_id":64867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:00:52] local.INFO: TCP Data received {"connection_id":64906,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:00:52] local.INFO: Processing buffer {"connection_id":64906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:00:52] local.INFO: IMEI packet received {"connection_id":64906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":64906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:00:58] local.INFO: TCP Data received {"connection_id":64906,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:00:58] local.INFO: Processing buffer {"connection_id":64906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:00:58] local.INFO: IMEI packet received {"connection_id":64906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":64906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:01:00] local.INFO: TCP Data received {"connection_id":64906,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:00] local.INFO: Processing buffer {"connection_id":64906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:00] local.INFO: Packet analysis {"connection_id":64906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:01:00] local.INFO: Extracted packet for processing {"connection_id":64906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:01:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01: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-05-08 09:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:01:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:01:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:01:00] 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-05-08 09:01:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:01:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":64906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:01:00] local.INFO: GPS data processed {"connection_id":64906,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:01:00] local.INFO: Acknowledgment sent {"connection_id":64906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:01:12] local.INFO: TCP Data received {"connection_id":65710,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:01:12] local.INFO: Processing buffer {"connection_id":65710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:01:12] local.INFO: IMEI packet received {"connection_id":65710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":65710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:01:32] local.INFO: TCP Data received {"connection_id":64906,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:32] local.INFO: Processing buffer {"connection_id":64906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:32] local.INFO: Packet analysis {"connection_id":64906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:01:32] local.INFO: Extracted packet for processing {"connection_id":64906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:01:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:01:32] 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-05-08 09:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:01:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":64906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:01:32] local.INFO: GPS data processed {"connection_id":64906,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:01:32] local.INFO: Acknowledgment sent {"connection_id":64906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:01:42] local.INFO: TCP Data received {"connection_id":64966,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:01:42] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:01:42] local.INFO: IMEI packet received {"connection_id":64966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":64966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:01:52] local.INFO: TCP Data received {"connection_id":64868,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:01:52] local.INFO: Processing buffer {"connection_id":64868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:01:52] local.INFO: IMEI packet received {"connection_id":64868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":64868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:01:58] local.INFO: TCP Data received {"connection_id":64868,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:01:58] local.INFO: Processing buffer {"connection_id":64868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:01:58] local.INFO: IMEI packet received {"connection_id":64868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":64868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:01:59] local.INFO: TCP Data received {"connection_id":64868,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:59] local.INFO: Processing buffer {"connection_id":64868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:01:59] local.INFO: Packet analysis {"connection_id":64868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:01:59] local.INFO: Extracted packet for processing {"connection_id":64868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:01: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-05-08 09:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:01:59] 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-05-08 09:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:01:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":64868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:01:59] local.INFO: GPS data processed {"connection_id":64868,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:01:59] local.INFO: Acknowledgment sent {"connection_id":64868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:02:31] local.INFO: TCP Data received {"connection_id":64868,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:02:31] local.INFO: Processing buffer {"connection_id":64868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:02:31] local.INFO: Packet analysis {"connection_id":64868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:02:31] local.INFO: Extracted packet for processing {"connection_id":64868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:02:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":64868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:02:31] local.INFO: GPS data processed {"connection_id":64868,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:02:31] local.INFO: Acknowledgment sent {"connection_id":64868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:02:58] local.INFO: TCP Data received {"connection_id":64869,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:02:58] local.INFO: Processing buffer {"connection_id":64869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:02:58] local.INFO: IMEI packet received {"connection_id":64869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":64869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:03:03] local.INFO: TCP Data received {"connection_id":64869,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:03] local.INFO: Processing buffer {"connection_id":64869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:03] local.INFO: IMEI packet received {"connection_id":64869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":64869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:03:04] local.INFO: TCP Data received {"connection_id":64869,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:04] local.INFO: Processing buffer {"connection_id":64869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:04] local.INFO: Packet analysis {"connection_id":64869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:03:04] local.INFO: Extracted packet for processing {"connection_id":64869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:03: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-05-08 09:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":64869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:03:04] local.INFO: GPS data processed {"connection_id":64869,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:03:04] local.INFO: Acknowledgment sent {"connection_id":64869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:03:09] local.INFO: TCP Data received {"connection_id":64869,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:09] local.INFO: Processing buffer {"connection_id":64869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:09] local.INFO: Packet analysis {"connection_id":64869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:03:09] local.INFO: Extracted packet for processing {"connection_id":64869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 09:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 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-05-08 09: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-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:03: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-05-08 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-05-08 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-05-08 09:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:03:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":64869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:03:09] local.INFO: GPS data processed {"connection_id":64869,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:03:09] local.INFO: Acknowledgment sent {"connection_id":64869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:03:52] local.INFO: TCP Data received {"connection_id":64909,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:52] local.INFO: Processing buffer {"connection_id":64909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:52] local.INFO: IMEI packet received {"connection_id":64909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":64909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:03:58] local.INFO: TCP Data received {"connection_id":64909,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:58] local.INFO: Processing buffer {"connection_id":64909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:03:58] local.INFO: IMEI packet received {"connection_id":64909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":64909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:03:59] local.INFO: TCP Data received {"connection_id":64909,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:59] local.INFO: Processing buffer {"connection_id":64909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:03:59] local.INFO: Packet analysis {"connection_id":64909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:03:59] local.INFO: Extracted packet for processing {"connection_id":64909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:03: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-05-08 09:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:03:59] 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-05-08 09:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:03:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":64909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:03:59] local.INFO: GPS data processed {"connection_id":64909,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:03:59] local.INFO: Acknowledgment sent {"connection_id":64909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:04:32] local.INFO: TCP Data received {"connection_id":64909,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:04:32] local.INFO: Processing buffer {"connection_id":64909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:04:32] local.INFO: Packet analysis {"connection_id":64909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:04:32] local.INFO: Extracted packet for processing {"connection_id":64909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:04:32] 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-05-08 09:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:04:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":64909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:04:32] local.INFO: GPS data processed {"connection_id":64909,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:04:32] local.INFO: Acknowledgment sent {"connection_id":64909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:04:53] local.INFO: TCP Data received {"connection_id":65711,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:04:53] local.INFO: Processing buffer {"connection_id":65711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:04:53] local.INFO: IMEI packet received {"connection_id":65711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":65711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:04:58] local.INFO: TCP Data received {"connection_id":65711,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:04:58] local.INFO: Processing buffer {"connection_id":65711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:04:58] local.INFO: IMEI packet received {"connection_id":65711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":65711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:04:59] local.INFO: TCP Data received {"connection_id":65711,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:04:59] local.INFO: Processing buffer {"connection_id":65711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a234e8012d34c54006aa50700000006226..."} 
[2026-05-08 09:04:59] local.INFO: Packet analysis {"connection_id":65711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:04:59] local.INFO: Extracted packet for processing {"connection_id":65711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a2"} 
[2026-05-08 09:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455221933056001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:04: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-05-08 09:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778210977000,"timestamp_ms":1778210977000,"timestamp_seconds":1778210977,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a234e8"} 
[2026-05-08 09:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:04:59] 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-05-08 09:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455221933056001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455221933056001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:04:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455221933056001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":65711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:04:59] local.INFO: GPS data processed {"connection_id":65711,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:04:59] local.INFO: Acknowledgment sent {"connection_id":65711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:05:31] local.INFO: TCP Data received {"connection_id":65711,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:05:31] local.INFO: Processing buffer {"connection_id":65711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:05:31] local.INFO: Packet analysis {"connection_id":65711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:05:31] local.INFO: Extracted packet for processing {"connection_id":65711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:05:31] 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-05-08 09: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-05-08 09:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:05:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":65711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:05:31] local.INFO: GPS data processed {"connection_id":65711,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:05:31] local.INFO: Acknowledgment sent {"connection_id":65711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:05:53] local.INFO: TCP Data received {"connection_id":65712,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:05:53] local.INFO: Processing buffer {"connection_id":65712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:05:53] local.INFO: IMEI packet received {"connection_id":65712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":65712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:05:58] local.INFO: TCP Data received {"connection_id":65712,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:05:58] local.INFO: Processing buffer {"connection_id":65712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:05:58] local.INFO: IMEI packet received {"connection_id":65712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":65712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:06:00] local.INFO: TCP Data received {"connection_id":65712,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:00] local.INFO: Processing buffer {"connection_id":65712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:00] local.INFO: Packet analysis {"connection_id":65712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:06:00] local.INFO: Extracted packet for processing {"connection_id":65712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:06:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06: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-05-08 09:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:06:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:06:00] 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-05-08 09:06:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:06:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":65712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:06:00] local.INFO: GPS data processed {"connection_id":65712,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:06:00] local.INFO: Acknowledgment sent {"connection_id":65712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:06:04] local.INFO: TCP Data received {"connection_id":65712,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:04] local.INFO: Processing buffer {"connection_id":65712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:04] local.INFO: Packet analysis {"connection_id":65712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:06:04] local.INFO: Extracted packet for processing {"connection_id":65712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06: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-05-08 09:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:06: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-05-08 09:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:06:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:06:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":65712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:06:04] local.INFO: GPS data processed {"connection_id":65712,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:06:04] local.INFO: Acknowledgment sent {"connection_id":65712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:06:37] local.INFO: TCP Data received {"connection_id":65712,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:37] local.INFO: Processing buffer {"connection_id":65712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:37] local.INFO: Packet analysis {"connection_id":65712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:06:37] local.INFO: Extracted packet for processing {"connection_id":65712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:06:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 09:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 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-05-08 09: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-05-08 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":124,"data_length":795,"current_offset":136} 
[2026-05-08 09: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-05-08 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-05-08 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-05-08 09:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":65712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":65712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":65712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:06:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":65712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:06:37] local.INFO: GPS data processed {"connection_id":65712,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:06:37] local.INFO: Acknowledgment sent {"connection_id":65712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:06:53] local.INFO: TCP Data received {"connection_id":64969,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:06:53] local.INFO: Processing buffer {"connection_id":64969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:06:53] local.INFO: IMEI packet received {"connection_id":64969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":64969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:06:57] local.INFO: TCP Data received {"connection_id":64969,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:06:57] local.INFO: Processing buffer {"connection_id":64969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:06:57] local.INFO: IMEI packet received {"connection_id":64969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":64969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:06:58] local.INFO: TCP Data received {"connection_id":64969,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:58] local.INFO: Processing buffer {"connection_id":64969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:06:58] local.INFO: Packet analysis {"connection_id":64969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:06:58] local.INFO: Extracted packet for processing {"connection_id":64969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:06: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-05-08 09:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:06: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-05-08 09: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-05-08 09:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:06:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:06:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":64969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:06:58] local.INFO: GPS data processed {"connection_id":64969,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:06:58] local.INFO: Acknowledgment sent {"connection_id":64969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:07:02] local.INFO: TCP Data received {"connection_id":64870,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:07:02] local.INFO: Processing buffer {"connection_id":64870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:07:02] local.INFO: IMEI packet received {"connection_id":64870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":64870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:07:30] local.INFO: TCP Data received {"connection_id":64969,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:07:30] local.INFO: Processing buffer {"connection_id":64969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:07:30] local.INFO: Packet analysis {"connection_id":64969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:07:30] local.INFO: Extracted packet for processing {"connection_id":64969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:07: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-05-08 09:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:07:30] 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-05-08 09:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:07:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:07:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":64969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:07:30] local.INFO: GPS data processed {"connection_id":64969,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:07:30] local.INFO: Acknowledgment sent {"connection_id":64969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:07:52] local.INFO: TCP Data received {"connection_id":64970,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:07:52] local.INFO: Processing buffer {"connection_id":64970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:07:52] local.INFO: IMEI packet received {"connection_id":64970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":64970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:07:58] local.INFO: TCP Data received {"connection_id":64970,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:07:58] local.INFO: Processing buffer {"connection_id":64970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:07:58] local.INFO: IMEI packet received {"connection_id":64970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":64970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:07:59] local.INFO: TCP Data received {"connection_id":64970,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:07:59] local.INFO: Processing buffer {"connection_id":64970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:07:59] local.INFO: Packet analysis {"connection_id":64970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:07:59] local.INFO: Extracted packet for processing {"connection_id":64970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:07: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-05-08 09:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:07:59] 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-05-08 09:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:07:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":64970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:07:59] local.INFO: GPS data processed {"connection_id":64970,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:07:59] local.INFO: Acknowledgment sent {"connection_id":64970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:08:31] local.INFO: TCP Data received {"connection_id":64970,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:08:31] local.INFO: Processing buffer {"connection_id":64970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:08:31] local.INFO: Packet analysis {"connection_id":64970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:08:31] local.INFO: Extracted packet for processing {"connection_id":64970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:08:31] 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-05-08 09:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:08:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":64970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:08:31] local.INFO: GPS data processed {"connection_id":64970,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:08:31] local.INFO: Acknowledgment sent {"connection_id":64970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:08:52] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:08:52] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:08:52] local.INFO: IMEI packet received {"connection_id":64971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":64971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:08:58] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:08:58] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:08:58] local.INFO: IMEI packet received {"connection_id":64971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":64971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:09:00] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:00] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:00] local.INFO: Packet analysis {"connection_id":64971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:09:00] local.INFO: Extracted packet for processing {"connection_id":64971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:09:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09: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-05-08 09:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:09:00] 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-05-08 09:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:09:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":64971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:09:00] local.INFO: GPS data processed {"connection_id":64971,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:09:00] local.INFO: Acknowledgment sent {"connection_id":64971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:09:32] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:32] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:32] local.INFO: Packet analysis {"connection_id":64971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:09:32] local.INFO: Extracted packet for processing {"connection_id":64971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:09:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:09:32] 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-05-08 09:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:09:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:09:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":64971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:09:32] local.INFO: GPS data processed {"connection_id":64971,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:09:32] local.INFO: Acknowledgment sent {"connection_id":64971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:09:52] local.INFO: TCP Data received {"connection_id":65713,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:09:52] local.INFO: Processing buffer {"connection_id":65713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:09:52] local.INFO: IMEI packet received {"connection_id":65713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":65713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:09:57] local.INFO: TCP Data received {"connection_id":65713,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:09:57] local.INFO: Processing buffer {"connection_id":65713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:09:57] local.INFO: IMEI packet received {"connection_id":65713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":65713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:09:59] local.INFO: TCP Data received {"connection_id":65713,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:59] local.INFO: Processing buffer {"connection_id":65713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05a6ccb0012d34c54006aa50700000006227..."} 
[2026-05-08 09:09:59] local.INFO: Packet analysis {"connection_id":65713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:09:59] local.INFO: Extracted packet for processing {"connection_id":65713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05a6"} 
[2026-05-08 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222010112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:09: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-05-08 09:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778211278000,"timestamp_ms":1778211278000,"timestamp_seconds":1778211278,"priority":1,"record_length":96,"hex_timestamp":"0000019e05a6ccb0"} 
[2026-05-08 09:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:09:59] 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-05-08 09:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222010112001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222010112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222010112001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":65713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:09:59] local.INFO: GPS data processed {"connection_id":65713,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:09:59] local.INFO: Acknowledgment sent {"connection_id":65713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:10:30] local.INFO: TCP Data received {"connection_id":65713,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:10:30] local.INFO: Processing buffer {"connection_id":65713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:10:30] local.INFO: Packet analysis {"connection_id":65713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:10:30] local.INFO: Extracted packet for processing {"connection_id":65713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:10:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:10: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-05-08 09:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:10:30] 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-05-08 09: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-05-08 09:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:10:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":65713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:10:30] local.INFO: GPS data processed {"connection_id":65713,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:10:30] local.INFO: Acknowledgment sent {"connection_id":65713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:10:52] local.INFO: TCP Data received {"connection_id":64871,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:10:53] local.INFO: Processing buffer {"connection_id":64871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:10:53] local.INFO: IMEI packet received {"connection_id":64871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":64871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:10:57] local.INFO: TCP Data received {"connection_id":64871,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:10:58] local.INFO: Processing buffer {"connection_id":64871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:10:58] local.INFO: IMEI packet received {"connection_id":64871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":64871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:10:59] local.INFO: TCP Data received {"connection_id":64871,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:10:59] local.INFO: Processing buffer {"connection_id":64871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:10:59] local.INFO: Packet analysis {"connection_id":64871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:10:59] local.INFO: Extracted packet for processing {"connection_id":64871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:10: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-05-08 09:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:10:59] 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-05-08 09:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:10:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":64871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:10:59] local.INFO: GPS data processed {"connection_id":64871,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:10:59] local.INFO: Acknowledgment sent {"connection_id":64871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:11:12] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:12] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:12] local.INFO: IMEI packet received {"connection_id":64972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":64972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:11:14] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:14] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:14] local.INFO: IMEI packet received {"connection_id":64972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":64972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:11:16] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:16] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:16] local.INFO: IMEI packet received {"connection_id":64972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":64972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:11:21] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab31b0012d38e18006ab15d8000701592b..."} 
[2026-05-08 09:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab31b0012d38e18006ab15d8000701592b..."} 
[2026-05-08 09:11:21] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab31b0012d38e18006ab15d8000701592b..."} 
[2026-05-08 09:11:21] local.INFO: Packet analysis {"connection_id":64972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:11:21] local.INFO: Extracted packet for processing {"connection_id":64972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:11:21] local.INFO: GPS Element Parsed {"raw_longitude":758702464,"raw_latitude":111875544,"longitude_deg":75.8702464,"latitude_deg":11.1875544,"altitude":7,"angle":345,"satellites":43,"speed":54,"hex_longitude":"2d38e180","hex_latitude":"06ab15d8","is_valid_coordinates":true} 
[2026-05-08 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:11:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222159104001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110111158899310592,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4101371914288736256,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:11:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778211566000,"timestamp_ms":1778211566000,"timestamp_seconds":1778211566,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab31b0"} 
[2026-05-08 09:11:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:11:21] 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-05-08 09:11:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-05-08 09:11:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:11:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:11:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:11:21] local.INFO: Teltonika packet parsed successfully {"connection_id":64972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:11:21] local.INFO: Passing IMEI to GPS processor {"connection_id":64972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:11:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":64972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:11:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:11:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:11:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:11:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222159104001,"66":28376,"164":206,"81":23296,"24":54,"16":110111158899310592,"45":4101371914288736256},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-05-08 09:11:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:11:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:11:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222159104001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:11:21] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-05-08 09:11:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-05-08 09:11:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110111158899310592,"km_value":110111158899310.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:11:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4101371914288736256,"description":"Unknown IO ID 45"} 
[2026-05-08 09:11:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222159104001,"power":28376,"unknown_164":206,"unknown_81":23296,"ignition":54,"odometer":null,"unknown_45":4101371914288736256}} 
[2026-05-08 09:11:21] local.INFO: DEBUG: GPS processor result {"connection_id":64972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:11:21] local.INFO: GPS data processed {"connection_id":64972,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:11:21] local.INFO: Acknowledgment sent {"connection_id":64972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:11:22] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab4d08012d38d7c006ab3988000701592b..."} 
[2026-05-08 09:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab4d08012d38d7c006ab3988000701592b..."} 
[2026-05-08 09:11:22] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab4d08012d38d7c006ab3988000701592b..."} 
[2026-05-08 09:11:22] local.INFO: Packet analysis {"connection_id":64972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:11:22] local.INFO: Extracted packet for processing {"connection_id":64972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:11:22] local.INFO: GPS Element Parsed {"raw_longitude":758699968,"raw_latitude":111884680,"longitude_deg":75.8699968,"latitude_deg":11.188468,"altitude":7,"angle":345,"satellites":43,"speed":53,"hex_longitude":"2d38d7c0","hex_latitude":"06ab3988","is_valid_coordinates":true} 
[2026-05-08 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222160896001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110111618460811264,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4098697902012356608,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1778211573000,"timestamp_ms":1778211573000,"timestamp_seconds":1778211573,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab4d08"} 
[2026-05-08 09:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:11: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-05-08 09:11:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:11:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":64972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":64972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":64972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222160896001,"66":28300,"164":206,"81":23296,"24":53,"16":110111618460811264,"45":4098697902012356608},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,81,24,16,45]} 
[2026-05-08 09:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222160896001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:11:22] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-05-08 09:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-05-08 09:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110111618460811264,"km_value":110111618460811.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4098697902012356608,"description":"Unknown IO ID 45"} 
[2026-05-08 09:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222160896001,"power":28300,"unknown_164":206,"unknown_81":23296,"ignition":53,"odometer":null,"unknown_45":4098697902012356608}} 
[2026-05-08 09:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":64972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:11:22] local.INFO: GPS data processed {"connection_id":64972,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:11:22] local.INFO: Acknowledgment sent {"connection_id":64972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:11:30] local.INFO: TCP Data received {"connection_id":64871,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:11:30] local.INFO: Processing buffer {"connection_id":64871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:11:30] local.INFO: Packet analysis {"connection_id":64871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:11:30] local.INFO: Extracted packet for processing {"connection_id":64871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:11: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-05-08 09:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:11:30] 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-05-08 09:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:11:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:11:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":64871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:11:30] local.INFO: GPS data processed {"connection_id":64871,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:11:30] local.INFO: Acknowledgment sent {"connection_id":64871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:11:48] local.INFO: TCP Data received {"connection_id":64872,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:48] local.INFO: Processing buffer {"connection_id":64872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:11:48] local.INFO: IMEI packet received {"connection_id":64872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":64872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:11:52] local.INFO: TCP Data received {"connection_id":65714,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:11:52] local.INFO: Processing buffer {"connection_id":65714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:11:52] local.INFO: IMEI packet received {"connection_id":65714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":65714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:11:57] local.INFO: TCP Data received {"connection_id":65714,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:11:57] local.INFO: Processing buffer {"connection_id":65714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:11:57] local.INFO: IMEI packet received {"connection_id":65714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:11:58] local.INFO: TCP Data received {"connection_id":65714,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:11:58] local.INFO: Processing buffer {"connection_id":65714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:11:58] local.INFO: Packet analysis {"connection_id":65714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:11:58] local.INFO: Extracted packet for processing {"connection_id":65714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:11: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-05-08 09:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:11:58] 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-05-08 09: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-05-08 09:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:11:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":65714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:11:58] local.INFO: GPS data processed {"connection_id":65714,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:11:58] local.INFO: Acknowledgment sent {"connection_id":65714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:12:30] local.INFO: TCP Data received {"connection_id":65714,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:12:30] local.INFO: Processing buffer {"connection_id":65714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:12:30] local.INFO: Packet analysis {"connection_id":65714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:12:30] local.INFO: Extracted packet for processing {"connection_id":65714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:12: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-05-08 09:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:12:30] 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-05-08 09:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:12:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":65714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:12:30] local.INFO: GPS data processed {"connection_id":65714,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:12:30] local.INFO: Acknowledgment sent {"connection_id":65714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:12:53] local.INFO: TCP Data received {"connection_id":64973,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:12:53] local.INFO: Processing buffer {"connection_id":64973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:12:53] local.INFO: IMEI packet received {"connection_id":64973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":64973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:12:58] local.INFO: TCP Data received {"connection_id":64973,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:12:58] local.INFO: Processing buffer {"connection_id":64973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:12:58] local.INFO: IMEI packet received {"connection_id":64973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":64973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:12:59] local.INFO: TCP Data received {"connection_id":64872,"ip":"117.224.36.36","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-05-08 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64872,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-05-08 09:12:59] local.INFO: Processing buffer {"connection_id":64872,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-05-08 09:12:59] local.INFO: IMEI packet received {"connection_id":64872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":64872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:12:59] local.INFO: TCP Data received {"connection_id":64973,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:12:59] local.INFO: Processing buffer {"connection_id":64973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:12:59] local.INFO: Packet analysis {"connection_id":64973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:12:59] local.INFO: Extracted packet for processing {"connection_id":64973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:12: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-05-08 09:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:12:59] 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-05-08 09:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":64973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:12:59] local.INFO: GPS data processed {"connection_id":64973,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:12:59] local.INFO: Acknowledgment sent {"connection_id":64973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:13:02] local.INFO: TCP Data received {"connection_id":64872,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:13:02] local.INFO: Processing buffer {"connection_id":64872,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-05-08 09:13:02] local.INFO: IMEI packet received {"connection_id":64872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":64872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:13:31] local.INFO: TCP Data received {"connection_id":64973,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:13:31] local.INFO: Processing buffer {"connection_id":64973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:13:31] local.INFO: Packet analysis {"connection_id":64973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:13:31] local.INFO: Extracted packet for processing {"connection_id":64973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":64973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:13:31] local.INFO: GPS data processed {"connection_id":64973,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:13:31] local.INFO: Acknowledgment sent {"connection_id":64973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:13:52] local.INFO: TCP Data received {"connection_id":64874,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:13:52] local.INFO: Processing buffer {"connection_id":64874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:13:52] local.INFO: IMEI packet received {"connection_id":64874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":64874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:13:58] local.INFO: TCP Data received {"connection_id":64874,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:13:58] local.INFO: Processing buffer {"connection_id":64874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:13:58] local.INFO: IMEI packet received {"connection_id":64874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":64874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:13:59] local.INFO: TCP Data received {"connection_id":64874,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:13:59] local.INFO: Processing buffer {"connection_id":64874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:13:59] local.INFO: Packet analysis {"connection_id":64874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:13:59] local.INFO: Extracted packet for processing {"connection_id":64874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:13: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-05-08 09:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:13:59] 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-05-08 09:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:13:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":64874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:13:59] local.INFO: GPS data processed {"connection_id":64874,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:13:59] local.INFO: Acknowledgment sent {"connection_id":64874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:14:31] local.INFO: TCP Data received {"connection_id":64874,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:14:31] local.INFO: Processing buffer {"connection_id":64874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:14:31] local.INFO: Packet analysis {"connection_id":64874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:14:31] local.INFO: Extracted packet for processing {"connection_id":64874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:14:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":64874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:14:31] local.INFO: GPS data processed {"connection_id":64874,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:14:31] local.INFO: Acknowledgment sent {"connection_id":64874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:14:52] local.INFO: TCP Data received {"connection_id":64911,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:14:52] local.INFO: Processing buffer {"connection_id":64911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:14:52] local.INFO: IMEI packet received {"connection_id":64911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":64911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:14:58] local.INFO: TCP Data received {"connection_id":64911,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:14:58] local.INFO: Processing buffer {"connection_id":64911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:14:58] local.INFO: IMEI packet received {"connection_id":64911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":64911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:15:00] local.INFO: TCP Data received {"connection_id":64911,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:00] local.INFO: Processing buffer {"connection_id":64911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ab6478012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:00] local.INFO: Packet analysis {"connection_id":64911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:15:00] local.INFO: Extracted packet for processing {"connection_id":64911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ab"} 
[2026-05-08 09:15:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222087168001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15: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-05-08 09:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778211579000,"timestamp_ms":1778211579000,"timestamp_seconds":1778211579,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ab6478"} 
[2026-05-08 09:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:15:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:15:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:15:00] 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-05-08 09:15:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222087168001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222087168001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:15:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222087168001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":64911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:15:00] local.INFO: GPS data processed {"connection_id":64911,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:15:00] local.INFO: Acknowledgment sent {"connection_id":64911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:15:32] local.INFO: TCP Data received {"connection_id":64911,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:32] local.INFO: Processing buffer {"connection_id":64911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:32] local.INFO: Packet analysis {"connection_id":64911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:15:32] local.INFO: Extracted packet for processing {"connection_id":64911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:15:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:15:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:15:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:15:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:15:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:15:32] 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-05-08 09:15:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:15:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:15:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:15:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:15:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:15:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:15:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:15:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:15:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:15:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:15:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:15:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:15:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:15:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:15:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:15:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:15:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:15:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:15:32] local.INFO: DEBUG: GPS processor result {"connection_id":64911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:15:32] local.INFO: GPS data processed {"connection_id":64911,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:15:32] local.INFO: Acknowledgment sent {"connection_id":64911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:15:53] local.INFO: TCP Data received {"connection_id":64976,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:15:53] local.INFO: Processing buffer {"connection_id":64976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:15:53] local.INFO: IMEI packet received {"connection_id":64976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":64976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:15:58] local.INFO: TCP Data received {"connection_id":64976,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:15:58] local.INFO: Processing buffer {"connection_id":64976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:15:58] local.INFO: IMEI packet received {"connection_id":64976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":64976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:15:59] local.INFO: TCP Data received {"connection_id":64976,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:59] local.INFO: Processing buffer {"connection_id":64976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:15:59] local.INFO: Packet analysis {"connection_id":64976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:15:59] local.INFO: Extracted packet for processing {"connection_id":64976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:15: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-05-08 09:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:15:59] 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-05-08 09:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:15:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":64976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:15:59] local.INFO: GPS data processed {"connection_id":64976,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:15:59] local.INFO: Acknowledgment sent {"connection_id":64976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:16:31] local.INFO: TCP Data received {"connection_id":64976,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:16:31] local.INFO: Processing buffer {"connection_id":64976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:16:31] local.INFO: Packet analysis {"connection_id":64976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:16:31] local.INFO: Extracted packet for processing {"connection_id":64976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:16:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:16:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:16:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:16:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:16:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:16:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:16:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:16:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:16:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:16:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:16:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:16:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:16:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:16:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:16:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:16:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:16:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:16:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:16:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:16:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:16:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:16:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:16:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:16:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:16:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:16:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:16:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:16:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:16:31] local.INFO: DEBUG: GPS processor result {"connection_id":64976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:16:31] local.INFO: GPS data processed {"connection_id":64976,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:16:31] local.INFO: Acknowledgment sent {"connection_id":64976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:16:52] local.INFO: TCP Data received {"connection_id":64978,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:16:52] local.INFO: Processing buffer {"connection_id":64978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:16:52] local.INFO: IMEI packet received {"connection_id":64978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":64978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:16:58] local.INFO: TCP Data received {"connection_id":64978,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:16:58] local.INFO: Processing buffer {"connection_id":64978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:16:58] local.INFO: IMEI packet received {"connection_id":64978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":64978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:16:59] local.INFO: TCP Data received {"connection_id":64978,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:00] local.INFO: Processing buffer {"connection_id":64978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:00] local.INFO: Packet analysis {"connection_id":64978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:17:00] local.INFO: Extracted packet for processing {"connection_id":64978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17: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-05-08 09:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:17:00] 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-05-08 09:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:17:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":64978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:17:00] local.INFO: GPS data processed {"connection_id":64978,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:17:00] local.INFO: Acknowledgment sent {"connection_id":64978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:17:31] local.INFO: TCP Data received {"connection_id":64978,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:31] local.INFO: Processing buffer {"connection_id":64978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:31] local.INFO: Packet analysis {"connection_id":64978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:17:31] local.INFO: Extracted packet for processing {"connection_id":64978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:17:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":64978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:17:31] local.INFO: GPS data processed {"connection_id":64978,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:17:31] local.INFO: Acknowledgment sent {"connection_id":64978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:17:41] local.INFO: TCP Data received {"connection_id":65716,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:17:41] local.INFO: Processing buffer {"connection_id":65716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:17:41] local.INFO: IMEI packet received {"connection_id":65716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":65716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:17:47] local.INFO: TCP Data received {"connection_id":65716,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:17:47] local.INFO: Processing buffer {"connection_id":65716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:17:47] local.INFO: IMEI packet received {"connection_id":65716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":65716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:17:48] local.INFO: TCP Data received {"connection_id":65716,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b1e488012d34a68006b2a698000a012f26..."} 
[2026-05-08 09:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b1e488012d34a68006b2a698000a012f26..."} 
[2026-05-08 09:17:48] local.INFO: Processing buffer {"connection_id":65716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b1e488012d34a68006b2a698000a012f26..."} 
[2026-05-08 09:17:48] local.INFO: Packet analysis {"connection_id":65716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b1"} 
[2026-05-08 09:17:48] local.INFO: Extracted packet for processing {"connection_id":65716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b1"} 
[2026-05-08 09:17:48] local.INFO: GPS Element Parsed {"raw_longitude":758425216,"raw_latitude":112371352,"longitude_deg":75.8425216,"latitude_deg":11.2371352,"altitude":10,"angle":303,"satellites":38,"speed":25,"hex_longitude":"2d34a680","hex_latitude":"06b2a698","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222270976001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139415489150976,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802445489150027776,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778212005000,"timestamp_ms":1778212005000,"timestamp_seconds":1778212005,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b1e488"} 
[2026-05-08 09:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:17: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-05-08 09: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-05-08 09:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222270976001,"66":28300,"182":206,"28":21760,"24":25,"16":110139415489150976,"45":3802445489150027776},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222270976001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:17:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:17:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139415489150976,"km_value":110139415489150.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802445489150027776,"description":"Unknown IO ID 45"} 
[2026-05-08 09:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222270976001,"power":28300,"unknown_182":206,"unknown_28":21760,"ignition":25,"odometer":null,"unknown_45":3802445489150027776}} 
[2026-05-08 09:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":65716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:17:48] local.INFO: GPS data processed {"connection_id":65716,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:17:48] local.INFO: Acknowledgment sent {"connection_id":65716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:17:52] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:17:52] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:17:52] local.INFO: IMEI packet received {"connection_id":64875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":64875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:17:58] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:17:58] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:17:58] local.INFO: IMEI packet received {"connection_id":64875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":64875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:17:59] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:59] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:17:59] local.INFO: Packet analysis {"connection_id":64875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:17:59] local.INFO: Extracted packet for processing {"connection_id":64875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:17: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-05-08 09:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:17:59] 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-05-08 09:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":64875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:17:59] local.INFO: GPS data processed {"connection_id":64875,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:17:59] local.INFO: Acknowledgment sent {"connection_id":64875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:18:21] local.INFO: TCP Data received {"connection_id":65716,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b1ffe0012d349f0006b2abc0000a013b29..."} 
[2026-05-08 09:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b1ffe0012d349f0006b2abc0000a013b29..."} 
[2026-05-08 09:18:21] local.INFO: Processing buffer {"connection_id":65716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b1ffe0012d349f0006b2abc0000a013b29..."} 
[2026-05-08 09:18:21] local.INFO: Packet analysis {"connection_id":65716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b1"} 
[2026-05-08 09:18:21] local.INFO: Extracted packet for processing {"connection_id":65716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b1"} 
[2026-05-08 09:18:21] local.INFO: GPS Element Parsed {"raw_longitude":758423296,"raw_latitude":112372672,"longitude_deg":75.8423296,"latitude_deg":11.2372672,"altitude":10,"angle":315,"satellites":41,"speed":9,"hex_longitude":"2d349f00","hex_latitude":"06b2abc0","is_valid_coordinates":true} 
[2026-05-08 09:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:18:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222273280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139527158300672,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3793860502361643008,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:18:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778212012000,"timestamp_ms":1778212012000,"timestamp_seconds":1778212012,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b1ffe0"} 
[2026-05-08 09:18:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:18:21] 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-05-08 09:18:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-05-08 09:18:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:18:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:18:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:18:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:18:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:18:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:18:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:18:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:18:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:18:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:18:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222273280001,"66":28571,"182":206,"28":21760,"24":9,"16":110139527158300672,"45":3793860502361643008},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:18:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:18:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:18:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222273280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:18:21] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:18:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:18:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139527158300672,"km_value":110139527158300.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:18:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3793860502361643008,"description":"Unknown IO ID 45"} 
[2026-05-08 09:18:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222273280001,"power":28571,"unknown_182":206,"unknown_28":21760,"ignition":9,"odometer":null,"unknown_45":3793860502361643008}} 
[2026-05-08 09:18:21] local.INFO: DEBUG: GPS processor result {"connection_id":65716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:18:21] local.INFO: GPS data processed {"connection_id":65716,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:18:21] local.INFO: Acknowledgment sent {"connection_id":65716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:18:31] local.INFO: TCP Data received {"connection_id":64875,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:18:31] local.INFO: Processing buffer {"connection_id":64875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:18:31] local.INFO: Packet analysis {"connection_id":64875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:18:31] local.INFO: Extracted packet for processing {"connection_id":64875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:18:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":64875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:18:31] local.INFO: GPS data processed {"connection_id":64875,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:18:31] local.INFO: Acknowledgment sent {"connection_id":64875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:18:42] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:42] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:42] local.INFO: IMEI packet received {"connection_id":64979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":64979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:18:42] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:42] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:42] local.INFO: IMEI packet received {"connection_id":64979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":64979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:18:47] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:47] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:18:47] local.INFO: IMEI packet received {"connection_id":64979,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":64979,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:18:48] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b203c8012d349e8006b2aca0000a01462a..."} 
[2026-05-08 09:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b203c8012d349e8006b2aca0000a01462a..."} 
[2026-05-08 09:18:48] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b203c8012d349e8006b2aca0000a01462a..."} 
[2026-05-08 09:18:48] local.INFO: Packet analysis {"connection_id":64979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:18:48] local.INFO: Extracted packet for processing {"connection_id":64979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:18:48] local.INFO: GPS Element Parsed {"raw_longitude":758423168,"raw_latitude":112372896,"longitude_deg":75.8423168,"latitude_deg":11.2372896,"altitude":10,"angle":326,"satellites":42,"speed":11,"hex_longitude":"2d349e80","hex_latitude":"06b2aca0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:18:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222275072001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139540043202560,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791749440036651008,"note":"Value kept but may cause issues"} 
[2026-05-08 09:18:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778212013000,"timestamp_ms":1778212013000,"timestamp_seconds":1778212013,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b203c8"} 
[2026-05-08 09:18:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:18: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-05-08 09: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-05-08 09:18:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:18:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222275072001,"66":28517,"182":206,"28":21760,"24":11,"16":110139540043202560,"45":3791749440036651008},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222275072001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:18:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:18:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139540043202560,"km_value":110139540043202.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:18:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791749440036651008,"description":"Unknown IO ID 45"} 
[2026-05-08 09:18:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222275072001,"power":28517,"unknown_182":206,"unknown_28":21760,"ignition":11,"odometer":null,"unknown_45":3791749440036651008}} 
[2026-05-08 09:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":64979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:18:48] local.INFO: GPS data processed {"connection_id":64979,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:18:48] local.INFO: Acknowledgment sent {"connection_id":64979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:18:58] local.INFO: TCP Data received {"connection_id":64980,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:18:58] local.INFO: Processing buffer {"connection_id":64980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:18:58] local.INFO: IMEI packet received {"connection_id":64980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":64980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:19:03] local.INFO: TCP Data received {"connection_id":64980,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:03] local.INFO: Processing buffer {"connection_id":64980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:03] local.INFO: IMEI packet received {"connection_id":64980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":64980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:19:04] local.INFO: TCP Data received {"connection_id":64980,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:04] local.INFO: Processing buffer {"connection_id":64980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:04] local.INFO: Packet analysis {"connection_id":64980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:19:04] local.INFO: Extracted packet for processing {"connection_id":64980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:19:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":64980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:19:04] local.INFO: GPS data processed {"connection_id":64980,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:19:04] local.INFO: Acknowledgment sent {"connection_id":64980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:19:09] local.INFO: TCP Data received {"connection_id":64980,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:09] local.INFO: Processing buffer {"connection_id":64980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:09] local.INFO: Packet analysis {"connection_id":64980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:19:09] local.INFO: Extracted packet for processing {"connection_id":64980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:19: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-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:19: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-05-08 09: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-05-08 09:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:19:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:19:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":64980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:19:09] local.INFO: GPS data processed {"connection_id":64980,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:19:09] local.INFO: Acknowledgment sent {"connection_id":64980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:19:24] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b20b98012d349cc006b2ae68000a01352a..."} 
[2026-05-08 09:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b20b98012d349cc006b2ae68000a01352a..."} 
[2026-05-08 09:19:24] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b20b98012d349cc006b2ae68000a01352a..."} 
[2026-05-08 09:19:24] local.INFO: Packet analysis {"connection_id":64979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:19:24] local.INFO: Extracted packet for processing {"connection_id":64979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:19:24] local.INFO: GPS Element Parsed {"raw_longitude":758422720,"raw_latitude":112373352,"longitude_deg":75.842272,"latitude_deg":11.2373352,"altitude":10,"angle":309,"satellites":42,"speed":12,"hex_longitude":"2d349cc0","hex_latitude":"06b2ae68","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222275328001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139570107973632,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3791608702548353024,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778212015000,"timestamp_ms":1778212015000,"timestamp_seconds":1778212015,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b20b98"} 
[2026-05-08 09:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:19: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-05-08 09: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-05-08 09:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":64979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":64979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":64979,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222275328001,"66":28495,"182":206,"28":21760,"24":12,"16":110139570107973632,"45":3791608702548353024},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222275328001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:19:24] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:19:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139570107973632,"km_value":110139570107973.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3791608702548353024,"description":"Unknown IO ID 45"} 
[2026-05-08 09:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222275328001,"power":28495,"unknown_182":206,"unknown_28":21760,"ignition":12,"odometer":null,"unknown_45":3791608702548353024}} 
[2026-05-08 09:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":64979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:19:24] local.INFO: GPS data processed {"connection_id":64979,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:19:24] local.INFO: Acknowledgment sent {"connection_id":64979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:19:41] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:41] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:41] local.INFO: IMEI packet received {"connection_id":64912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:19:41] local.INFO: IMEI acknowledgment sent {"connection_id":64912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:19:45] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:45] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:45] local.INFO: IMEI packet received {"connection_id":64912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:19:45] local.INFO: IMEI acknowledgment sent {"connection_id":64912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:19:46] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:46] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:19:46] local.INFO: IMEI packet received {"connection_id":64912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:19:46] local.INFO: IMEI acknowledgment sent {"connection_id":64912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:19:48] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.36.36","data_length":93,"data_hex":"00000000000000518e010000019e05b21368012d349b0006b2af70000a01222b..."} 
[2026-05-08 09:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":93,"packet_hex":"00000000000000518e010000019e05b21368012d349b0006b2af70000a01222b..."} 
[2026-05-08 09:19:48] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":93,"buffer_hex":"00000000000000518e010000019e05b21368012d349b0006b2af70000a01222b..."} 
[2026-05-08 09:19:48] local.INFO: Packet analysis {"connection_id":64912,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019e05b2"} 
[2026-05-08 09:19:48] local.INFO: Extracted packet for processing {"connection_id":64912,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019e05b2"} 
[2026-05-08 09:19:48] local.INFO: GPS Element Parsed {"raw_longitude":758422272,"raw_latitude":112373616,"longitude_deg":75.8422272,"latitude_deg":11.2373616,"altitude":10,"angle":290,"satellites":43,"speed":9,"hex_longitude":"2d349b00","hex_latitude":"06b2af70","is_valid_coordinates":true} 
[2026-05-08 09: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":93,"current_offset":40} 
[2026-05-08 09:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:19:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:19:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-05-08 09:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64912,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-05-08 09:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64912,"device_imei":"862567071632322","avl_records_count":0} 
[2026-05-08 09:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64912,"device_imei":"862567071632322","avl_records_count":0} 
[2026-05-08 09:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":0,"parser_version":"unknown"} 
[2026-05-08 09:19:48] local.WARNING: DEBUG: No valid data to process  
[2026-05-08 09:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":64912,"result":{"success":false,"message":"No valid data to process"}} 
[2026-05-08 09:19:48] local.ERROR: GPS data processing failed {"connection_id":64912,"error":"No valid data to process"} 
[2026-05-08 09:19:48] local.INFO: Acknowledgment sent {"connection_id":64912,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-05-08 09:19:53] local.INFO: TCP Data received {"connection_id":64913,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:53] local.INFO: Processing buffer {"connection_id":64913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:53] local.INFO: IMEI packet received {"connection_id":64913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":64913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:19:58] local.INFO: TCP Data received {"connection_id":64913,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:58] local.INFO: Processing buffer {"connection_id":64913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:19:58] local.INFO: IMEI packet received {"connection_id":64913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":64913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:19:59] local.INFO: TCP Data received {"connection_id":64913,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:59] local.INFO: Processing buffer {"connection_id":64913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05affc40012d34c54006aa50700000006228..."} 
[2026-05-08 09:19:59] local.INFO: Packet analysis {"connection_id":64913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:19:59] local.INFO: Extracted packet for processing {"connection_id":64913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05af"} 
[2026-05-08 09:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222164224001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:19: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-05-08 09:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778211880000,"timestamp_ms":1778211880000,"timestamp_seconds":1778211880,"priority":1,"record_length":96,"hex_timestamp":"0000019e05affc40"} 
[2026-05-08 09:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:19:59] 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-05-08 09:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222164224001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222164224001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:19:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222164224001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":64913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:19:59] local.INFO: GPS data processed {"connection_id":64913,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:19:59] local.INFO: Acknowledgment sent {"connection_id":64913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:20:20] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b22308012d3496c006b2b0e8000a01332c..."} 
[2026-05-08 09:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b22308012d3496c006b2b0e8000a01332c..."} 
[2026-05-08 09:20:20] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b22308012d3496c006b2b0e8000a01332c..."} 
[2026-05-08 09:20:20] local.INFO: Packet analysis {"connection_id":64912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:20:20] local.INFO: Extracted packet for processing {"connection_id":64912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758421184,"raw_latitude":112373992,"longitude_deg":75.8421184,"latitude_deg":11.2373992,"altitude":10,"angle":307,"satellites":44,"speed":7,"hex_longitude":"2d3496c0","hex_latitude":"06b2b0e8","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222276352001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139651712352256,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3790623540130050048,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778212021000,"timestamp_ms":1778212021000,"timestamp_seconds":1778212021,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b22308"} 
[2026-05-08 09:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:20: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-05-08 09: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-05-08 09:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":64912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":64912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":64912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222276352001,"66":28278,"182":206,"28":21760,"24":7,"16":110139651712352256,"45":3790623540130050048},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222276352001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:20:20] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:20:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139651712352256,"km_value":110139651712352.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3790623540130050048,"description":"Unknown IO ID 45"} 
[2026-05-08 09:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222276352001,"power":28278,"unknown_182":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3790623540130050048}} 
[2026-05-08 09:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":64912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:20:20] local.INFO: GPS data processed {"connection_id":64912,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:20:20] local.INFO: Acknowledgment sent {"connection_id":64912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:20:30] local.INFO: TCP Data received {"connection_id":64913,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:20:30] local.INFO: Processing buffer {"connection_id":64913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:20:30] local.INFO: Packet analysis {"connection_id":64913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:20:30] local.INFO: Extracted packet for processing {"connection_id":64913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:30] 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-05-08 09:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:20: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-05-08 09:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:20:30] 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-05-08 09:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:20:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":64913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:20:30] local.INFO: GPS data processed {"connection_id":64913,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:20:30] local.INFO: Acknowledgment sent {"connection_id":64913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:20:46] local.INFO: TCP Data received {"connection_id":65717,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:20:46] local.INFO: Processing buffer {"connection_id":65717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:20:46] local.INFO: IMEI packet received {"connection_id":65717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:20:46] local.INFO: IMEI acknowledgment sent {"connection_id":65717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:20:48] local.INFO: TCP Data received {"connection_id":65717,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:20:48] local.INFO: Processing buffer {"connection_id":65717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:20:48] local.INFO: IMEI packet received {"connection_id":65717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":65717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:20:48] local.INFO: TCP Data received {"connection_id":65717,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b27510012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b27510012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:20:48] local.INFO: Processing buffer {"connection_id":65717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b27510012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:20:48] local.INFO: Packet analysis {"connection_id":65717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:20:48] local.INFO: Extracted packet for processing {"connection_id":65717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:20:48] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:20:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222277376001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789427271479126016,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778212042000,"timestamp_ms":1778212042000,"timestamp_seconds":1778212042,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b27510"} 
[2026-05-08 09:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:20: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-05-08 09: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-05-08 09:20:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222277376001,"66":28539,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789427271479126016},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222277376001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:20:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:20:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:20:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789427271479126016,"description":"Unknown IO ID 45"} 
[2026-05-08 09:20:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222277376001,"power":28539,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789427271479126016}} 
[2026-05-08 09:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":65717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121185,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:20:49] local.INFO: GPS data processed {"connection_id":65717,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:20:49] local.INFO: Acknowledgment sent {"connection_id":65717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:20:52] local.INFO: TCP Data received {"connection_id":65717,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b2c718012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b2c718012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:20:52] local.INFO: Processing buffer {"connection_id":65717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b2c718012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:20:52] local.INFO: Packet analysis {"connection_id":65717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:20:52] local.INFO: Extracted packet for processing {"connection_id":65717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b2"} 
[2026-05-08 09:20:52] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222282752001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1778212063000,"timestamp_ms":1778212063000,"timestamp_seconds":1778212063,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b2c718"} 
[2026-05-08 09:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:20: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-05-08 09:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-05-08 09:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":65717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":65717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":65717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222282752001,"66":28343,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222282752001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:20:52] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:20:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222282752001,"power":28343,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":65717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:20:52] local.INFO: GPS data processed {"connection_id":65717,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:20:52] local.INFO: Acknowledgment sent {"connection_id":65717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:20:52] local.INFO: TCP Data received {"connection_id":65718,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:20:52] local.INFO: Processing buffer {"connection_id":65718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:20:52] local.INFO: IMEI packet received {"connection_id":65718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":65718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:20:58] local.INFO: TCP Data received {"connection_id":65718,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:20:58] local.INFO: Processing buffer {"connection_id":65718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:20:58] local.INFO: IMEI packet received {"connection_id":65718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":65718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:20:59] local.INFO: TCP Data received {"connection_id":65718,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:20:59] local.INFO: Processing buffer {"connection_id":65718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:20:59] local.INFO: Packet analysis {"connection_id":65718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:20:59] local.INFO: Extracted packet for processing {"connection_id":65718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:20:59] 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-05-08 09:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:20:59] 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-05-08 09:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:20:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":65718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:20:59] local.INFO: GPS data processed {"connection_id":65718,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:20:59] local.INFO: Acknowledgment sent {"connection_id":65718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:21:24] local.INFO: TCP Data received {"connection_id":65717,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b31920012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b31920012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:21:24] local.INFO: Processing buffer {"connection_id":65717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b31920012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:21:24] local.INFO: Packet analysis {"connection_id":65717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b3"} 
[2026-05-08 09:21:24] local.INFO: Extracted packet for processing {"connection_id":65717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b3"} 
[2026-05-08 09:21:24] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:21:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222288128001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:21:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778212084000,"timestamp_ms":1778212084000,"timestamp_seconds":1778212084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b31920"} 
[2026-05-08 09:21:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:21: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-05-08 09:21:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-05-08 09:21:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:21:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:21:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:21:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:21:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:21:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:21:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:21:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:21:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:21:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:21:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222288128001,"66":28398,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:21:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:21:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:21:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222288128001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:21:24] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:21:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:21:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:21:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:21:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222288128001,"power":28398,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:21:24] local.INFO: DEBUG: GPS processor result {"connection_id":65717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:21:24] local.INFO: GPS data processed {"connection_id":65717,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:21:24] local.INFO: Acknowledgment sent {"connection_id":65717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:21:30] local.INFO: TCP Data received {"connection_id":65718,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:21:30] local.INFO: Processing buffer {"connection_id":65718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:21:30] local.INFO: Packet analysis {"connection_id":65718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:21:30] local.INFO: Extracted packet for processing {"connection_id":65718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:30] 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-05-08 09:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:21: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-05-08 09:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:21:30] 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-05-08 09:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:21:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":65718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:21:30] local.INFO: GPS data processed {"connection_id":65718,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:21:30] local.INFO: Acknowledgment sent {"connection_id":65718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:21:41] local.INFO: TCP Data received {"connection_id":64914,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:21:41] local.INFO: Processing buffer {"connection_id":64914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:21:41] local.INFO: IMEI packet received {"connection_id":64914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":64914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:21:46] local.INFO: TCP Data received {"connection_id":64914,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:21:46] local.INFO: Processing buffer {"connection_id":64914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:21:46] local.INFO: IMEI packet received {"connection_id":64914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:21:46] local.INFO: IMEI acknowledgment sent {"connection_id":64914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:21:47] local.INFO: TCP Data received {"connection_id":64914,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b36b28012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:21:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b36b28012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:21:47] local.INFO: Processing buffer {"connection_id":64914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b36b28012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:21:47] local.INFO: Packet analysis {"connection_id":64914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b3"} 
[2026-05-08 09:21:47] local.INFO: Extracted packet for processing {"connection_id":64914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b3"} 
[2026-05-08 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:21:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222293504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:21:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778212105000,"timestamp_ms":1778212105000,"timestamp_seconds":1778212105,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b36b28"} 
[2026-05-08 09:21:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:21:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:21:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:21:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:21:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:21:47] local.INFO: Teltonika packet parsed successfully {"connection_id":64914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:21:47] local.INFO: Passing IMEI to GPS processor {"connection_id":64914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:21:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":64914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:21:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:21:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:21:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:21:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222293504001,"66":28398,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:21:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:21:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:21:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222293504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:21:47] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:21:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:21:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:21:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:21:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222293504001,"power":28398,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":64914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:21:48] local.INFO: GPS data processed {"connection_id":64914,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:21:48] local.INFO: Acknowledgment sent {"connection_id":64914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:21:52] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:21:52] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:21:52] local.INFO: IMEI packet received {"connection_id":64915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":64915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:21:58] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:21:58] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:21:58] local.INFO: IMEI packet received {"connection_id":64915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":64915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:21:59] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:21:59] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:21:59] local.INFO: Packet analysis {"connection_id":64915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:21:59] local.INFO: Extracted packet for processing {"connection_id":64915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:21:59] 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-05-08 09:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:21:59] 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-05-08 09:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:21:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":64915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:21:59] local.INFO: GPS data processed {"connection_id":64915,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:21:59] local.INFO: Acknowledgment sent {"connection_id":64915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:22:19] local.INFO: TCP Data received {"connection_id":64914,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b3bd30012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b3bd30012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:22:19] local.INFO: Processing buffer {"connection_id":64914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b3bd30012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:22:19] local.INFO: Packet analysis {"connection_id":64914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b3"} 
[2026-05-08 09:22:19] local.INFO: Extracted packet for processing {"connection_id":64914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b3"} 
[2026-05-08 09:22:19] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222298880001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778212126000,"timestamp_ms":1778212126000,"timestamp_seconds":1778212126,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b3bd30"} 
[2026-05-08 09:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:22: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-05-08 09:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":64914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":64914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":64914,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222298880001,"66":28354,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222298880001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:22:19] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:22:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222298880001,"power":28354,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":64914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:22:19] local.INFO: GPS data processed {"connection_id":64914,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:22:19] local.INFO: Acknowledgment sent {"connection_id":64914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:22:31] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:22:31] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:22:31] local.INFO: Packet analysis {"connection_id":64915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:22:31] local.INFO: Extracted packet for processing {"connection_id":64915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:31] 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-05-08 09:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":64915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:22:31] local.INFO: GPS data processed {"connection_id":64915,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:22:31] local.INFO: Acknowledgment sent {"connection_id":64915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:22:42] local.INFO: TCP Data received {"connection_id":65719,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:22:42] local.INFO: Processing buffer {"connection_id":65719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:22:42] local.INFO: IMEI packet received {"connection_id":65719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":65719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:22:47] local.INFO: TCP Data received {"connection_id":65719,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:22:47] local.INFO: Processing buffer {"connection_id":65719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:22:47] local.INFO: IMEI packet received {"connection_id":65719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":65719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:22:49] local.INFO: TCP Data received {"connection_id":65719,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b40f38012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b40f38012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:22:49] local.INFO: Processing buffer {"connection_id":65719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b40f38012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:22:49] local.INFO: Packet analysis {"connection_id":65719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:22:49] local.INFO: Extracted packet for processing {"connection_id":65719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:22:49] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222304256001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778212147000,"timestamp_ms":1778212147000,"timestamp_seconds":1778212147,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b40f38"} 
[2026-05-08 09:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09: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-05-08 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222304256001,"66":28485,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222304256001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:22:49] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:22:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222304256001,"power":28485,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":65719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:22:50] local.INFO: GPS data processed {"connection_id":65719,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:22:50] local.INFO: Acknowledgment sent {"connection_id":65719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:22:58] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:22:58] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:22:58] local.INFO: IMEI packet received {"connection_id":64981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":64981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:23:03] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:03] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:03] local.INFO: IMEI packet received {"connection_id":64981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":64981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:23:04] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:04] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:04] local.INFO: Packet analysis {"connection_id":64981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:04] local.INFO: Extracted packet for processing {"connection_id":64981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:04] 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-05-08 09:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:23:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:23:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:23:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:23:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":64981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:23:04] local.INFO: GPS data processed {"connection_id":64981,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:23:04] local.INFO: Acknowledgment sent {"connection_id":64981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:23:10] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:10] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:10] local.INFO: Packet analysis {"connection_id":64981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:10] local.INFO: Extracted packet for processing {"connection_id":64981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:10] 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-05-08 09:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:23: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-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:23:10] 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-05-08 09: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-05-08 09:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:23:10] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:23:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":64981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:23:10] local.INFO: GPS data processed {"connection_id":64981,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:23:10] local.INFO: Acknowledgment sent {"connection_id":64981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:23:21] local.INFO: TCP Data received {"connection_id":65719,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b46140012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b46140012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:23:21] local.INFO: Processing buffer {"connection_id":65719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b46140012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:23:21] local.INFO: Packet analysis {"connection_id":65719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:21] local.INFO: Extracted packet for processing {"connection_id":65719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222309632001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778212168000,"timestamp_ms":1778212168000,"timestamp_seconds":1778212168,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b46140"} 
[2026-05-08 09:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:23:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-05-08 09:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:23:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222309632001,"66":28485,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222309632001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:23:21] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:23:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222309632001,"power":28485,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":65719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:23:21] local.INFO: GPS data processed {"connection_id":65719,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:23:21] local.INFO: Acknowledgment sent {"connection_id":65719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:23:43] local.INFO: TCP Data received {"connection_id":64876,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:23:43] local.INFO: Processing buffer {"connection_id":64876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:23:43] local.INFO: IMEI packet received {"connection_id":64876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":64876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:23:47] local.INFO: TCP Data received {"connection_id":64876,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:23:47] local.INFO: Processing buffer {"connection_id":64876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:23:47] local.INFO: IMEI packet received {"connection_id":64876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:23:47] local.INFO: IMEI acknowledgment sent {"connection_id":64876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:23:49] local.INFO: TCP Data received {"connection_id":64876,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b4b348012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b4b348012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:23:49] local.INFO: Processing buffer {"connection_id":64876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b4b348012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:23:49] local.INFO: Packet analysis {"connection_id":64876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:49] local.INFO: Extracted packet for processing {"connection_id":64876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222315008001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778212189000,"timestamp_ms":1778212189000,"timestamp_seconds":1778212189,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b4b348"} 
[2026-05-08 09:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:23: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-05-08 09: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-05-08 09:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":64876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":64876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":64876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222315008001,"66":28506,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222315008001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:23:49] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:23:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222315008001,"power":28506,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":64876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:23:49] local.INFO: GPS data processed {"connection_id":64876,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:23:49] local.INFO: Acknowledgment sent {"connection_id":64876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:23:53] local.INFO: TCP Data received {"connection_id":64916,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:53] local.INFO: Processing buffer {"connection_id":64916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:53] local.INFO: IMEI packet received {"connection_id":64916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":64916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:23:58] local.INFO: TCP Data received {"connection_id":64916,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:58] local.INFO: Processing buffer {"connection_id":64916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:23:58] local.INFO: IMEI packet received {"connection_id":64916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":64916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:23:59] local.INFO: TCP Data received {"connection_id":64916,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:59] local.INFO: Processing buffer {"connection_id":64916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:23:59] local.INFO: Packet analysis {"connection_id":64916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:59] local.INFO: Extracted packet for processing {"connection_id":64916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:23:59] 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-05-08 09:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:23:59] 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-05-08 09:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:23:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":64916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:23:59] local.INFO: GPS data processed {"connection_id":64916,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:23:59] local.INFO: Acknowledgment sent {"connection_id":64916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:24:21] local.INFO: TCP Data received {"connection_id":64876,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b50550012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b50550012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:24:21] local.INFO: Processing buffer {"connection_id":64876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b50550012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:24:21] local.INFO: Packet analysis {"connection_id":64876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b5"} 
[2026-05-08 09:24:21] local.INFO: Extracted packet for processing {"connection_id":64876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b5"} 
[2026-05-08 09:24:21] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:24:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222320384001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:24:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778212210000,"timestamp_ms":1778212210000,"timestamp_seconds":1778212210,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b50550"} 
[2026-05-08 09:24:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:24:21] 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-05-08 09:24:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-05-08 09:24:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:24:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:24:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:24:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:24:21] local.INFO: Teltonika packet parsed successfully {"connection_id":64876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:24:21] local.INFO: Passing IMEI to GPS processor {"connection_id":64876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:24:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":64876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:24:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:24:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:24:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:24:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222320384001,"66":28082,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:24:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:24:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:24:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222320384001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:24:21] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:24:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:24:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:24:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:24:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222320384001,"power":28082,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":64876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:24:21] local.INFO: GPS data processed {"connection_id":64876,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:24:21] local.INFO: Acknowledgment sent {"connection_id":64876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:24:31] local.INFO: TCP Data received {"connection_id":64916,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:24:31] local.INFO: Processing buffer {"connection_id":64916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:24:31] local.INFO: Packet analysis {"connection_id":64916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:24:31] local.INFO: Extracted packet for processing {"connection_id":64916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:31] 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-05-08 09:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:24:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":64916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:24:31] local.INFO: GPS data processed {"connection_id":64916,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:24:31] local.INFO: Acknowledgment sent {"connection_id":64916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:24:42] local.INFO: TCP Data received {"connection_id":65720,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:24:42] local.INFO: Processing buffer {"connection_id":65720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:24:42] local.INFO: IMEI packet received {"connection_id":65720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":65720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:24:47] local.INFO: TCP Data received {"connection_id":65720,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:24:47] local.INFO: Processing buffer {"connection_id":65720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:24:47] local.INFO: IMEI packet received {"connection_id":65720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:24:47] local.INFO: IMEI acknowledgment sent {"connection_id":65720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:24:49] local.INFO: TCP Data received {"connection_id":65720,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b55758012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b55758012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:24:49] local.INFO: Processing buffer {"connection_id":65720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b55758012d3495c006b2b1a0000a01362e..."} 
[2026-05-08 09:24:49] local.INFO: Packet analysis {"connection_id":65720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b5"} 
[2026-05-08 09:24:49] local.INFO: Extracted packet for processing {"connection_id":65720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b5"} 
[2026-05-08 09:24:49] local.INFO: GPS Element Parsed {"raw_longitude":758420928,"raw_latitude":112374176,"longitude_deg":75.8420928,"latitude_deg":11.2374176,"altitude":10,"angle":310,"satellites":46,"speed":0,"hex_longitude":"2d3495c0","hex_latitude":"06b2b1a0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222325760001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3789145796502462464,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778212231000,"timestamp_ms":1778212231000,"timestamp_seconds":1778212231,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b55758"} 
[2026-05-08 09:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:24: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-05-08 09: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-05-08 09:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222325760001,"66":28485,"182":206,"28":21760,"24":0,"16":110139664597254144,"45":3789145796502462464},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222325760001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:24:49] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:24:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3789145796502462464,"description":"Unknown IO ID 45"} 
[2026-05-08 09:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222325760001,"power":28485,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3789145796502462464}} 
[2026-05-08 09:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":65720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:24:49] local.INFO: GPS data processed {"connection_id":65720,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:24:49] local.INFO: Acknowledgment sent {"connection_id":65720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:24:52] local.INFO: TCP Data received {"connection_id":64917,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:24:52] local.INFO: Processing buffer {"connection_id":64917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:24:52] local.INFO: IMEI packet received {"connection_id":64917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":64917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:24:58] local.INFO: TCP Data received {"connection_id":64917,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64917,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:24:58] local.INFO: Processing buffer {"connection_id":64917,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:24:58] local.INFO: IMEI packet received {"connection_id":64917,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":64917,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:24:59] local.INFO: TCP Data received {"connection_id":64917,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:24:59] local.INFO: Processing buffer {"connection_id":64917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b49408012d34c54006aa50700000006229..."} 
[2026-05-08 09:24:59] local.INFO: Packet analysis {"connection_id":64917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:24:59] local.INFO: Extracted packet for processing {"connection_id":64917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b4"} 
[2026-05-08 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222241280001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:24:59] 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-05-08 09:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212181000,"timestamp_ms":1778212181000,"timestamp_seconds":1778212181,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b49408"} 
[2026-05-08 09:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:24:59] 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-05-08 09:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222241280001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222241280001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:24:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222241280001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":64917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:24:59] local.INFO: GPS data processed {"connection_id":64917,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:24:59] local.INFO: Acknowledgment sent {"connection_id":64917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:25:21] local.INFO: TCP Data received {"connection_id":65720,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b91c30012d345ec006b2d8b80009012e26..."} 
[2026-05-08 09:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b91c30012d345ec006b2d8b80009012e26..."} 
[2026-05-08 09:25:21] local.INFO: Processing buffer {"connection_id":65720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b91c30012d345ec006b2d8b80009012e26..."} 
[2026-05-08 09:25:21] local.INFO: Packet analysis {"connection_id":65720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:21] local.INFO: Extracted packet for processing {"connection_id":65720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:21] local.INFO: GPS Element Parsed {"raw_longitude":758406848,"raw_latitude":112384184,"longitude_deg":75.8406848,"latitude_deg":11.2384184,"altitude":9,"angle":302,"satellites":38,"speed":28,"hex_longitude":"2d345ec0","hex_latitude":"06b2d8b8","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,182,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 09:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778212478000,"timestamp_ms":1778212478000,"timestamp_seconds":1778212478,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b91c30"} 
[2026-05-08 09:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:25:21] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65720,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"182":206,"28":21760,"24":28,"16":110139664597254144},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16]} 
[2026-05-08 09:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-05-08 09:25:21] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:25:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:25:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_182":206,"unknown_28":21760,"ignition":28,"odometer":null}} 
[2026-05-08 09:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":65720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:25:21] local.INFO: GPS data processed {"connection_id":65720,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:25:21] local.INFO: Acknowledgment sent {"connection_id":65720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:25:31] local.INFO: TCP Data received {"connection_id":64917,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:25:31] local.INFO: Processing buffer {"connection_id":64917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:25:31] local.INFO: Packet analysis {"connection_id":64917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:31] local.INFO: Extracted packet for processing {"connection_id":64917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:31] 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-05-08 09:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64917,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":64917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:25:31] local.INFO: GPS data processed {"connection_id":64917,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:25:31] local.INFO: Acknowledgment sent {"connection_id":64917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:25:47] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:47] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:47] local.INFO: IMEI packet received {"connection_id":64877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:25:47] local.INFO: IMEI acknowledgment sent {"connection_id":64877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:25:48] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:48] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:48] local.INFO: IMEI packet received {"connection_id":64877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":64877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:25:48] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:48] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:48] local.INFO: IMEI packet received {"connection_id":64877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":64877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:25:52] local.INFO: TCP Data received {"connection_id":64878,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:25:52] local.INFO: Processing buffer {"connection_id":64878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:25:52] local.INFO: IMEI packet received {"connection_id":64878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":64878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:25:53] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:53] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:25:53] local.INFO: IMEI packet received {"connection_id":64877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":64877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:25:55] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b972200100000000000000000000000000..."} 
[2026-05-08 09:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b972200100000000000000000000000000..."} 
[2026-05-08 09:25:55] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b972200100000000000000000000000000..."} 
[2026-05-08 09:25:55] local.INFO: Packet analysis {"connection_id":64877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:55] local.INFO: Extracted packet for processing {"connection_id":64877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25: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-05-08 09:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222394368001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3773664672785938432,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1778212500000,"timestamp_ms":1778212500000,"timestamp_seconds":1778212500,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b97220"} 
[2026-05-08 09:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:25:55] 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-05-08 09:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:25:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":64877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":64877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":64877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":64877,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 09:25:55] local.INFO: GPS data processed {"connection_id":64877,"processed":0,"errors":0,"total":1} 
[2026-05-08 09:25:55] local.INFO: Acknowledgment sent {"connection_id":64877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:25:57] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b96a50012d34210006b2ffa8000d013026..."} 
[2026-05-08 09:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b96a50012d34210006b2ffa8000d013026..."} 
[2026-05-08 09:25:57] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b96a50012d34210006b2ffa8000d013026..."} 
[2026-05-08 09:25:57] local.INFO: Packet analysis {"connection_id":64877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:57] local.INFO: Extracted packet for processing {"connection_id":64877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:57] local.INFO: GPS Element Parsed {"raw_longitude":758391040,"raw_latitude":112394152,"longitude_deg":75.839104,"latitude_deg":11.2394152,"altitude":13,"angle":304,"satellites":38,"speed":42,"hex_longitude":"2d342100","hex_latitude":"06b2ffa8","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,182,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 09:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778212498000,"timestamp_ms":1778212498000,"timestamp_seconds":1778212498,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b96a50"} 
[2026-05-08 09:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":64877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":64877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":64877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"182":206,"28":21760,"24":42,"16":110139664597254144},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16]} 
[2026-05-08 09:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-05-08 09:25:57] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:25:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:25:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_182":206,"unknown_28":21760,"ignition":42,"odometer":null}} 
[2026-05-08 09:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":64877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:25:57] local.INFO: GPS data processed {"connection_id":64877,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:25:57] local.INFO: Acknowledgment sent {"connection_id":64877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:25:58] local.INFO: TCP Data received {"connection_id":64878,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:25:58] local.INFO: Processing buffer {"connection_id":64878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:25:58] local.INFO: IMEI packet received {"connection_id":64878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":64878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:25:59] local.INFO: TCP Data received {"connection_id":64878,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:25:59] local.INFO: Processing buffer {"connection_id":64878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:25:59] local.INFO: Packet analysis {"connection_id":64878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:59] local.INFO: Extracted packet for processing {"connection_id":64878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:59] 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-05-08 09:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:25:59] 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-05-08 09:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":64878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:25:59] local.INFO: GPS data processed {"connection_id":64878,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:25:59] local.INFO: Acknowledgment sent {"connection_id":64878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:25:59] local.INFO: TCP Data received {"connection_id":64877,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b9b0a0012d33e60006b32df0000f013b27..."} 
[2026-05-08 09:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b9b0a0012d33e60006b32df0000f013b27..."} 
[2026-05-08 09:25:59] local.INFO: Processing buffer {"connection_id":64877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b9b0a0012d33e60006b32df0000f013b27..."} 
[2026-05-08 09:25:59] local.INFO: Packet analysis {"connection_id":64877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:59] local.INFO: Extracted packet for processing {"connection_id":64877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758375936,"raw_latitude":112406000,"longitude_deg":75.8375936,"latitude_deg":11.2406,"altitude":15,"angle":315,"satellites":39,"speed":43,"hex_longitude":"2d33e600","hex_latitude":"06b32df0","is_valid_coordinates":true} 
[2026-05-08 09:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222399488001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3756283592976607232,"note":"Value kept but may cause issues"} 
[2026-05-08 09:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,182,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212516000,"timestamp_ms":1778212516000,"timestamp_seconds":1778212516,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b9b0a0"} 
[2026-05-08 09:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222399488001,"66":28256,"182":206,"28":21760,"24":43,"16":110139664597254144,"45":3756283592976607232},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-05-08 09:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222399488001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-05-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3756283592976607232,"description":"Unknown IO ID 45"} 
[2026-05-08 09:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222399488001,"power":28256,"unknown_182":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":3756283592976607232}} 
[2026-05-08 09:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":64877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:25:59] local.INFO: GPS data processed {"connection_id":64877,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:25:59] local.INFO: Acknowledgment sent {"connection_id":64877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:26:30] local.INFO: TCP Data received {"connection_id":64878,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:26:30] local.INFO: Processing buffer {"connection_id":64878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:26:30] local.INFO: Packet analysis {"connection_id":64878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:26:30] local.INFO: Extracted packet for processing {"connection_id":64878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:26:30] 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-05-08 09:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:26: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-05-08 09:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:26:30] 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-05-08 09:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:26:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":64878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:26:30] local.INFO: GPS data processed {"connection_id":64878,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:26:30] local.INFO: Acknowledgment sent {"connection_id":64878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:26:42] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:26:42] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:26:42] local.INFO: IMEI packet received {"connection_id":64918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":64918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:26:47] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:26:47] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:26:47] local.INFO: IMEI packet received {"connection_id":64918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":64918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:26:50] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b9f6f0012d33b9c006b37608000e01562a..."} 
[2026-05-08 09:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b9f6f0012d33b9c006b37608000e01562a..."} 
[2026-05-08 09:26:50] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b9f6f0012d33b9c006b37608000e01562a..."} 
[2026-05-08 09:26:50] local.INFO: Packet analysis {"connection_id":64918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:26:50] local.INFO: Extracted packet for processing {"connection_id":64918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:26:50] local.INFO: GPS Element Parsed {"raw_longitude":758364608,"raw_latitude":112424456,"longitude_deg":75.8364608,"latitude_deg":11.2424456,"altitude":14,"angle":342,"satellites":42,"speed":53,"hex_longitude":"2d33b9c0","hex_latitude":"06b37608","is_valid_coordinates":true} 
[2026-05-08 09:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222404096001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110139664597254144,"note":"Value kept but may cause issues"} 
[2026-05-08 09:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3739676569353711616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1778212534000,"timestamp_ms":1778212534000,"timestamp_seconds":1778212534,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b9f6f0"} 
[2026-05-08 09:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:26: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-05-08 09:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-05-08 09:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":64918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":64918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":64918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222404096001,"66":28354,"144":206,"28":21760,"24":53,"16":110139664597254144,"45":3739676569353711616},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,28,24,16,45]} 
[2026-05-08 09:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222404096001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:26:50] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-05-08 09:26:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110139664597254144,"km_value":110139664597254.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3739676569353711616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222404096001,"power":28354,"unknown_144":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3739676569353711616}} 
[2026-05-08 09:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":64918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:26:50] local.INFO: GPS data processed {"connection_id":64918,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:26:50] local.INFO: Acknowledgment sent {"connection_id":64918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:26:58] local.INFO: TCP Data received {"connection_id":65721,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:26:58] local.INFO: Processing buffer {"connection_id":65721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:26:58] local.INFO: IMEI packet received {"connection_id":65721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":65721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:27:03] local.INFO: TCP Data received {"connection_id":65721,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:03] local.INFO: Processing buffer {"connection_id":65721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:03] local.INFO: IMEI packet received {"connection_id":65721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":65721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:27:04] local.INFO: TCP Data received {"connection_id":65721,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:04] local.INFO: Processing buffer {"connection_id":65721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:04] local.INFO: Packet analysis {"connection_id":65721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:27:04] local.INFO: Extracted packet for processing {"connection_id":65721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:04] 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-05-08 09:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:27:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":65721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:27:04] local.INFO: GPS data processed {"connection_id":65721,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:27:04] local.INFO: Acknowledgment sent {"connection_id":65721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:27:09] local.INFO: TCP Data received {"connection_id":65721,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:09] local.INFO: Processing buffer {"connection_id":65721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:09] local.INFO: Packet analysis {"connection_id":65721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:27:09] local.INFO: Extracted packet for processing {"connection_id":65721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27: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-05-08 09:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:27: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-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:27: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-05-08 09: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-05-08 09:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:27:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":65721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:27:09] local.INFO: GPS data processed {"connection_id":65721,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:27:09] local.INFO: Acknowledgment sent {"connection_id":65721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:27:23] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bb2b88012d3328c006b4a828000f012727..."} 
[2026-05-08 09:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bb2b88012d3328c006b4a828000f012727..."} 
[2026-05-08 09:27:23] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bb2b88012d3328c006b4a828000f012727..."} 
[2026-05-08 09:27:23] local.INFO: Packet analysis {"connection_id":64918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bb"} 
[2026-05-08 09:27:23] local.INFO: Extracted packet for processing {"connection_id":64918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bb"} 
[2026-05-08 09:27:23] local.INFO: GPS Element Parsed {"raw_longitude":758327488,"raw_latitude":112502824,"longitude_deg":75.8327488,"latitude_deg":11.2502824,"altitude":15,"angle":295,"satellites":39,"speed":51,"hex_longitude":"2d3328c0","hex_latitude":"06b4a828","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222427136001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110144273097162752,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3695484998033965056,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1778212613000,"timestamp_ms":1778212613000,"timestamp_seconds":1778212613,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bb2b88"} 
[2026-05-08 09:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:27:23] 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-05-08 09: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 09:27:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2840,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":64918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":64918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":64918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222427136001,"66":28430,"211":206,"28":21760,"24":51,"16":110144273097162752,"45":3695484998033965056},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-05-08 09:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222427136001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:27:23] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-05-08 09:27:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110144273097162752,"km_value":110144273097162.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":3695484998033965056,"description":"Unknown IO ID 45"} 
[2026-05-08 09:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222427136001,"power":28430,"unknown_211":206,"unknown_28":21760,"ignition":51,"odometer":null,"unknown_45":3695484998033965056}} 
[2026-05-08 09:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":64918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:27:23] local.INFO: GPS data processed {"connection_id":64918,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:27:23] local.INFO: Acknowledgment sent {"connection_id":64918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:27:42] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:42] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:42] local.INFO: IMEI packet received {"connection_id":64879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":64879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:27:42] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:42] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:42] local.INFO: IMEI packet received {"connection_id":64879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":64879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:27:50] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:50] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:27:50] local.INFO: IMEI packet received {"connection_id":64879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":64879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:27:53] local.INFO: TCP Data received {"connection_id":65722,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:53] local.INFO: Processing buffer {"connection_id":65722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:53] local.INFO: IMEI packet received {"connection_id":65722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":65722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:27:57] local.INFO: TCP Data received {"connection_id":65722,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:57] local.INFO: Processing buffer {"connection_id":65722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:27:57] local.INFO: IMEI packet received {"connection_id":65722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":65722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:27:58] local.INFO: TCP Data received {"connection_id":65722,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:58] local.INFO: Processing buffer {"connection_id":65722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:27:58] local.INFO: Packet analysis {"connection_id":65722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:27:58] local.INFO: Extracted packet for processing {"connection_id":65722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:27:58] 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-05-08 09:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:27:58] 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-05-08 09:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:27:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":65722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:27:58] local.INFO: GPS data processed {"connection_id":65722,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:27:58] local.INFO: Acknowledgment sent {"connection_id":65722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:28:00] local.INFO: TCP Data received {"connection_id":64879,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bb46e0012d33070006b4b7e8000f012728..."} 
[2026-05-08 09:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bb46e0012d33070006b4b7e8000f012728..."} 
[2026-05-08 09:28:00] local.INFO: Processing buffer {"connection_id":64879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bb46e0012d33070006b4b7e8000f012728..."} 
[2026-05-08 09:28:00] local.INFO: Packet analysis {"connection_id":64879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bb"} 
[2026-05-08 09:28:00] local.INFO: Extracted packet for processing {"connection_id":64879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bb"} 
[2026-05-08 09:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758318848,"raw_latitude":112506856,"longitude_deg":75.8318848,"latitude_deg":11.2506856,"altitude":15,"angle":295,"satellites":40,"speed":55,"hex_longitude":"2d330700","hex_latitude":"06b4b7e8","is_valid_coordinates":true} 
[2026-05-08 09:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222428928001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110144728363696128,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3686407430036006912,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778212620000,"timestamp_ms":1778212620000,"timestamp_seconds":1778212620,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bb46e0"} 
[2026-05-08 09:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-05-08 09:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222428928001,"66":28398,"211":206,"28":21760,"24":55,"16":110144728363696128,"45":3686407430036006912},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,28,24,16,45]} 
[2026-05-08 09:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222428928001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:28:00] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-05-08 09:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110144728363696128,"km_value":110144728363696.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3686407430036006912,"description":"Unknown IO ID 45"} 
[2026-05-08 09:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222428928001,"power":28398,"unknown_211":206,"unknown_28":21760,"ignition":55,"odometer":null,"unknown_45":3686407430036006912}} 
[2026-05-08 09:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":64879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:28:00] local.INFO: GPS data processed {"connection_id":64879,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:28:00] local.INFO: Acknowledgment sent {"connection_id":64879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:28:30] local.INFO: TCP Data received {"connection_id":65722,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:28:30] local.INFO: Processing buffer {"connection_id":65722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:28:30] local.INFO: Packet analysis {"connection_id":65722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:28:30] local.INFO: Extracted packet for processing {"connection_id":65722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:30] 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-05-08 09:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:28: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-05-08 09:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:28:30] 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-05-08 09:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:28:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":65722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:28:30] local.INFO: GPS data processed {"connection_id":65722,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:28:30] local.INFO: Acknowledgment sent {"connection_id":65722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:28:47] local.INFO: TCP Data received {"connection_id":64880,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:28:47] local.INFO: Processing buffer {"connection_id":64880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:28:47] local.INFO: IMEI packet received {"connection_id":64880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":64880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:28:52] local.INFO: TCP Data received {"connection_id":64881,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:28:52] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:28:52] local.INFO: IMEI packet received {"connection_id":64881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":64881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:28:53] local.INFO: TCP Data received {"connection_id":64880,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:28:53] local.INFO: Processing buffer {"connection_id":64880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:28:53] local.INFO: IMEI packet received {"connection_id":64880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":64880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:28:55] local.INFO: TCP Data received {"connection_id":64880,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bc73a8012d31b14006b59660000b014529..."} 
[2026-05-08 09:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bc73a8012d31b14006b59660000b014529..."} 
[2026-05-08 09:28:55] local.INFO: Processing buffer {"connection_id":64880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bc73a8012d31b14006b59660000b014529..."} 
[2026-05-08 09:28:55] local.INFO: Packet analysis {"connection_id":64880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bc"} 
[2026-05-08 09:28:55] local.INFO: Extracted packet for processing {"connection_id":64880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bc"} 
[2026-05-08 09:28:55] local.INFO: GPS Element Parsed {"raw_longitude":758231360,"raw_latitude":112563808,"longitude_deg":75.823136,"latitude_deg":11.2563808,"altitude":11,"angle":325,"satellites":41,"speed":53,"hex_longitude":"2d31b140","hex_latitude":"06b59660","is_valid_coordinates":true} 
[2026-05-08 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222448640001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110149792130138112,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3587257869503385600,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1778212697000,"timestamp_ms":1778212697000,"timestamp_seconds":1778212697,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bc73a8"} 
[2026-05-08 09:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:28:55] 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-05-08 09:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":64880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":64880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":64880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222448640001,"66":28354,"78":206,"28":21760,"24":53,"16":110149792130138112,"45":3587257869503385600},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-05-08 09:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222448640001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:28:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-05-08 09:28:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110149792130138112,"km_value":110149792130138.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3587257869503385600,"description":"Unknown IO ID 45"} 
[2026-05-08 09:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222448640001,"power":28354,"unknown_78":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3587257869503385600}} 
[2026-05-08 09:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":64880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121217,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:28:55] local.INFO: GPS data processed {"connection_id":64880,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:28:55] local.INFO: Acknowledgment sent {"connection_id":64880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:28:58] local.INFO: TCP Data received {"connection_id":64881,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:28:58] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:28:58] local.INFO: IMEI packet received {"connection_id":64881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":64881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:28:59] local.INFO: TCP Data received {"connection_id":64881,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:28:59] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:28:59] local.INFO: Packet analysis {"connection_id":64881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:28:59] local.INFO: Extracted packet for processing {"connection_id":64881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:28:59] 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-05-08 09:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:28:59] 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-05-08 09:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":64881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:28:59] local.INFO: GPS data processed {"connection_id":64881,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:28:59] local.INFO: Acknowledgment sent {"connection_id":64881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:29:30] local.INFO: TCP Data received {"connection_id":64881,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:29:30] local.INFO: Processing buffer {"connection_id":64881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:29:30] local.INFO: Packet analysis {"connection_id":64881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:29:30] local.INFO: Extracted packet for processing {"connection_id":64881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:30] 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-05-08 09:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:29: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-05-08 09:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:29:30] 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-05-08 09:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:29:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":64881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:29:30] local.INFO: GPS data processed {"connection_id":64881,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:29:30] local.INFO: Acknowledgment sent {"connection_id":64881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:29:41] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:29:41] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:29:41] local.INFO: IMEI packet received {"connection_id":64982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":64982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:29:47] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:29:47] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:29:47] local.INFO: IMEI packet received {"connection_id":64982,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":64982,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:29:49] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bc8f00012d319d0006b5b450000e014728..."} 
[2026-05-08 09:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bc8f00012d319d0006b5b450000e014728..."} 
[2026-05-08 09:29:49] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bc8f00012d319d0006b5b450000e014728..."} 
[2026-05-08 09:29:49] local.INFO: Packet analysis {"connection_id":64982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bc"} 
[2026-05-08 09:29:49] local.INFO: Extracted packet for processing {"connection_id":64982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bc"} 
[2026-05-08 09:29:49] local.INFO: GPS Element Parsed {"raw_longitude":758226176,"raw_latitude":112571472,"longitude_deg":75.8226176,"latitude_deg":11.2571472,"altitude":14,"angle":327,"satellites":40,"speed":50,"hex_longitude":"2d319d00","hex_latitude":"06b5b450","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222450432001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110150234511769600,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3580713576296767488,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,78,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778212704000,"timestamp_ms":1778212704000,"timestamp_seconds":1778212704,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bc8f00"} 
[2026-05-08 09:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:29: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-05-08 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":64982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":64982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":64982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222450432001,"66":28452,"78":206,"28":21760,"24":50,"16":110150234511769600,"45":3580713576296767488},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-05-08 09:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222450432001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:29:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-05-08 09:29:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110150234511769600,"km_value":110150234511769.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3580713576296767488,"description":"Unknown IO ID 45"} 
[2026-05-08 09:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222450432001,"power":28452,"unknown_78":206,"unknown_28":21760,"ignition":50,"odometer":null,"unknown_45":3580713576296767488}} 
[2026-05-08 09:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":64982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:29:49] local.INFO: GPS data processed {"connection_id":64982,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:29:49] local.INFO: Acknowledgment sent {"connection_id":64982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:29:52] local.INFO: TCP Data received {"connection_id":65723,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:29:52] local.INFO: Processing buffer {"connection_id":65723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:29:52] local.INFO: IMEI packet received {"connection_id":65723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":65723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:29:57] local.INFO: TCP Data received {"connection_id":65723,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:29:57] local.INFO: Processing buffer {"connection_id":65723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:29:57] local.INFO: IMEI packet received {"connection_id":65723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":65723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:29:58] local.INFO: TCP Data received {"connection_id":65723,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:29:58] local.INFO: Processing buffer {"connection_id":65723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05b92bd0012d34c54006aa50700000006228..."} 
[2026-05-08 09:29:58] local.INFO: Packet analysis {"connection_id":65723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:29:58] local.INFO: Extracted packet for processing {"connection_id":65723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05b9"} 
[2026-05-08 09:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222318336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:29:58] 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-05-08 09:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778212482000,"timestamp_ms":1778212482000,"timestamp_seconds":1778212482,"priority":1,"record_length":96,"hex_timestamp":"0000019e05b92bd0"} 
[2026-05-08 09:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:29:58] 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-05-08 09: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-05-08 09:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222318336001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222318336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:29:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:29:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222318336001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":65723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:29:58] local.INFO: GPS data processed {"connection_id":65723,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:29:58] local.INFO: Acknowledgment sent {"connection_id":65723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:30:21] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdac28012d308d4006b6a4b8000f011a29..."} 
[2026-05-08 09:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdac28012d308d4006b6a4b8000f011a29..."} 
[2026-05-08 09:30:21] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdac28012d308d4006b6a4b8000f011a29..."} 
[2026-05-08 09:30:21] local.INFO: Packet analysis {"connection_id":64982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:30:21] local.INFO: Extracted packet for processing {"connection_id":64982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:30:21] local.INFO: GPS Element Parsed {"raw_longitude":758156608,"raw_latitude":112633016,"longitude_deg":75.8156608,"latitude_deg":11.2633016,"altitude":15,"angle":282,"satellites":41,"speed":54,"hex_longitude":"2d308d40","hex_latitude":"06b6a4b8","is_valid_coordinates":true} 
[2026-05-08 09:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222469120001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110154950385860608,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3509007825996967936,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:21] 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-05-08 09:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778212777000,"timestamp_ms":1778212777000,"timestamp_seconds":1778212777,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdac28"} 
[2026-05-08 09:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":64982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":64982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":64982,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222469120001,"66":28398,"82":206,"28":21760,"24":54,"16":110154950385860608,"45":3509007825996967936},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-05-08 09:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222469120001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:30:21] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-05-08 09:30:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110154950385860608,"km_value":110154950385860.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3509007825996967936,"description":"Unknown IO ID 45"} 
[2026-05-08 09:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222469120001,"power":28398,"unknown_82":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":3509007825996967936}} 
[2026-05-08 09:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":64982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:30:21] local.INFO: GPS data processed {"connection_id":64982,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:30:21] local.INFO: Acknowledgment sent {"connection_id":64982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:30:30] local.INFO: TCP Data received {"connection_id":65723,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:30:30] local.INFO: Processing buffer {"connection_id":65723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:30:30] local.INFO: Packet analysis {"connection_id":65723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:30:30] local.INFO: Extracted packet for processing {"connection_id":65723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:30] 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-05-08 09:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:30: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-05-08 09:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:30:30] 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-05-08 09:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:30:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":65723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:30:30] local.INFO: GPS data processed {"connection_id":65723,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:30:30] local.INFO: Acknowledgment sent {"connection_id":65723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:30:42] local.INFO: TCP Data received {"connection_id":64983,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:30:42] local.INFO: Processing buffer {"connection_id":64983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:30:42] local.INFO: IMEI packet received {"connection_id":64983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":64983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:30:46] local.INFO: TCP Data received {"connection_id":64983,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:30:46] local.INFO: Processing buffer {"connection_id":64983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:30:46] local.INFO: IMEI packet received {"connection_id":64983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:30:46] local.INFO: IMEI acknowledgment sent {"connection_id":64983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:30:48] local.INFO: TCP Data received {"connection_id":64983,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc780012d30684006b6ab38000f011726..."} 
[2026-05-08 09:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc780012d30684006b6ab38000f011726..."} 
[2026-05-08 09:30:48] local.INFO: Processing buffer {"connection_id":64983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc780012d30684006b6ab38000f011726..."} 
[2026-05-08 09:30:48] local.INFO: Packet analysis {"connection_id":64983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:30:48] local.INFO: Extracted packet for processing {"connection_id":64983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758147136,"raw_latitude":112634680,"longitude_deg":75.8147136,"latitude_deg":11.263468,"altitude":15,"angle":279,"satellites":38,"speed":53,"hex_longitude":"2d306840","hex_latitude":"06b6ab38","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222470912001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110155405652393984,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3498522883114973184,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778212784000,"timestamp_ms":1778212784000,"timestamp_seconds":1778212784,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc780"} 
[2026-05-08 09:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:30: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-05-08 09: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222470912001,"66":28267,"172":206,"28":21760,"24":53,"16":110155405652393984,"45":3498522883114973184},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-05-08 09:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222470912001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:30:48] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-05-08 09:30:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110155405652393984,"km_value":110155405652393.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3498522883114973184,"description":"Unknown IO ID 45"} 
[2026-05-08 09:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222470912001,"power":28267,"unknown_172":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3498522883114973184}} 
[2026-05-08 09:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":64983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:30:48] local.INFO: GPS data processed {"connection_id":64983,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:30:48] local.INFO: Acknowledgment sent {"connection_id":64983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:30:53] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:30:53] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:30:53] local.INFO: IMEI packet received {"connection_id":64882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":64882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:30:58] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:30:58] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:30:58] local.INFO: IMEI packet received {"connection_id":64882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":64882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:30:59] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:30:59] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:30:59] local.INFO: Packet analysis {"connection_id":64882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:30:59] local.INFO: Extracted packet for processing {"connection_id":64882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:30:59] 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-05-08 09:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:30:59] 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-05-08 09:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:30:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":64882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:30:59] local.INFO: GPS data processed {"connection_id":64882,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:30:59] local.INFO: Acknowledgment sent {"connection_id":64882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:31:30] local.INFO: TCP Data received {"connection_id":64882,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:31:30] local.INFO: Processing buffer {"connection_id":64882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:31:30] local.INFO: Packet analysis {"connection_id":64882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:31:30] local.INFO: Extracted packet for processing {"connection_id":64882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:30] 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-05-08 09:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:31: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-05-08 09:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:31:30] 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-05-08 09:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:31:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":64882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:31:30] local.INFO: GPS data processed {"connection_id":64882,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:31:30] local.INFO: Acknowledgment sent {"connection_id":64882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:31:34] local.INFO: TCP Data received {"connection_id":64983,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bde2d8012d30434006b6b1c80010011826..."} 
[2026-05-08 09:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bde2d8012d30434006b6b1c80010011826..."} 
[2026-05-08 09:31:34] local.INFO: Processing buffer {"connection_id":64983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bde2d8012d30434006b6b1c80010011826..."} 
[2026-05-08 09:31:34] local.INFO: Packet analysis {"connection_id":64983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:31:34] local.INFO: Extracted packet for processing {"connection_id":64983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:31:34] local.INFO: GPS Element Parsed {"raw_longitude":758137664,"raw_latitude":112636360,"longitude_deg":75.8137664,"latitude_deg":11.263636,"altitude":16,"angle":280,"satellites":38,"speed":53,"hex_longitude":"2d304340","hex_latitude":"06b6b1c8","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472704001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110155865213894656,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3488108308977104896,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778212791000,"timestamp_ms":1778212791000,"timestamp_seconds":1778212791,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bde2d8"} 
[2026-05-08 09:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:31:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-05-08 09:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1711,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":64983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":64983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":64983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472704001,"66":28430,"172":206,"28":21760,"24":53,"16":110155865213894656,"45":3488108308977104896},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-05-08 09:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472704001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:31:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-05-08 09:31:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110155865213894656,"km_value":110155865213894.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3488108308977104896,"description":"Unknown IO ID 45"} 
[2026-05-08 09:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472704001,"power":28430,"unknown_172":206,"unknown_28":21760,"ignition":53,"odometer":null,"unknown_45":3488108308977104896}} 
[2026-05-08 09:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":64983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:31:34] local.INFO: GPS data processed {"connection_id":64983,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:31:34] local.INFO: Acknowledgment sent {"connection_id":64983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:31:41] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:41] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:41] local.INFO: IMEI packet received {"connection_id":64919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":64919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:31:45] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:45] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:45] local.INFO: IMEI packet received {"connection_id":64919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:31:45] local.INFO: IMEI acknowledgment sent {"connection_id":64919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:31:46] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:46] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:31:46] local.INFO: IMEI packet received {"connection_id":64919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":64919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:31:47] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bed508012d2fa00006b7ae180009015425..."} 
[2026-05-08 09:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bed508012d2fa00006b7ae180009015425..."} 
[2026-05-08 09:31:47] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bed508012d2fa00006b7ae180009015425..."} 
[2026-05-08 09:31:47] local.INFO: Packet analysis {"connection_id":64919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05be"} 
[2026-05-08 09:31:47] local.INFO: Extracted packet for processing {"connection_id":64919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05be"} 
[2026-05-08 09:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758095872,"raw_latitude":112700952,"longitude_deg":75.8095872,"latitude_deg":11.2700952,"altitude":9,"angle":340,"satellites":37,"speed":54,"hex_longitude":"2d2fa000","hex_latitude":"06b7ae18","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222488576001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110159863828447232,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3434979907137597440,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778212853000,"timestamp_ms":1778212853000,"timestamp_seconds":1778212853,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bed508"} 
[2026-05-08 09:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":64919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":64919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":64919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222488576001,"66":28398,"172":206,"28":21760,"24":54,"16":110159863828447232,"45":3434979907137597440},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-05-08 09:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222488576001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:31:47] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-05-08 09:31:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110159863828447232,"km_value":110159863828447.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3434979907137597440,"description":"Unknown IO ID 45"} 
[2026-05-08 09:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222488576001,"power":28398,"unknown_172":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":3434979907137597440}} 
[2026-05-08 09:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":64919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:31:48] local.INFO: GPS data processed {"connection_id":64919,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:31:48] local.INFO: Acknowledgment sent {"connection_id":64919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:31:53] local.INFO: TCP Data received {"connection_id":64883,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:31:53] local.INFO: Processing buffer {"connection_id":64883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:31:53] local.INFO: IMEI packet received {"connection_id":64883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":64883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:31:58] local.INFO: TCP Data received {"connection_id":64883,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:31:58] local.INFO: Processing buffer {"connection_id":64883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:31:58] local.INFO: IMEI packet received {"connection_id":64883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":64883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:31:59] local.INFO: TCP Data received {"connection_id":64883,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:31:59] local.INFO: Processing buffer {"connection_id":64883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:31:59] local.INFO: Packet analysis {"connection_id":64883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:31:59] local.INFO: Extracted packet for processing {"connection_id":64883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:31:59] 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-05-08 09:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:31:59] 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-05-08 09: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-05-08 09:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":64883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:31:59] local.INFO: GPS data processed {"connection_id":64883,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:31:59] local.INFO: Acknowledgment sent {"connection_id":64883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:32:27] local.INFO: TCP Data received {"connection_id":64919,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bef060012d2f924006b7d0d80009015125..."} 
[2026-05-08 09:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bef060012d2f924006b7d0d80009015125..."} 
[2026-05-08 09:32:27] local.INFO: Processing buffer {"connection_id":64919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bef060012d2f924006b7d0d80009015125..."} 
[2026-05-08 09:32:27] local.INFO: Packet analysis {"connection_id":64919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05be"} 
[2026-05-08 09:32:27] local.INFO: Extracted packet for processing {"connection_id":64919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05be"} 
[2026-05-08 09:32:27] local.INFO: GPS Element Parsed {"raw_longitude":758092352,"raw_latitude":112709848,"longitude_deg":75.8092352,"latitude_deg":11.2709848,"altitude":9,"angle":337,"satellites":37,"speed":54,"hex_longitude":"2d2f9240","hex_latitude":"06b7d0d8","is_valid_coordinates":true} 
[2026-05-08 09:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222490368001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110160323389947904,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3431742944907761664,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1778212860000,"timestamp_ms":1778212860000,"timestamp_seconds":1778212860,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bef060"} 
[2026-05-08 09:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":64919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":64919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":64919,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222490368001,"66":28398,"172":206,"28":21760,"24":54,"16":110160323389947904,"45":3431742944907761664},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-05-08 09:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222490368001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:32:27] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-05-08 09:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110160323389947904,"km_value":110160323389947.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":3431742944907761664,"description":"Unknown IO ID 45"} 
[2026-05-08 09:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222490368001,"power":28398,"unknown_172":206,"unknown_28":21760,"ignition":54,"odometer":null,"unknown_45":3431742944907761664}} 
[2026-05-08 09:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":64919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:32:27] local.INFO: GPS data processed {"connection_id":64919,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:32:27] local.INFO: Acknowledgment sent {"connection_id":64919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:32:31] local.INFO: TCP Data received {"connection_id":64883,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:32:31] local.INFO: Processing buffer {"connection_id":64883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:32:31] local.INFO: Packet analysis {"connection_id":64883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:32:31] local.INFO: Extracted packet for processing {"connection_id":64883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:31] 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-05-08 09:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:32:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:32:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:32:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":64883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:32:31] local.INFO: GPS data processed {"connection_id":64883,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:32:31] local.INFO: Acknowledgment sent {"connection_id":64883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:32:41] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:41] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:41] local.INFO: IMEI packet received {"connection_id":64884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:32:41] local.INFO: IMEI acknowledgment sent {"connection_id":64884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:32:49] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:49] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:49] local.INFO: IMEI packet received {"connection_id":64884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":64884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:32:49] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:49] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:32:49] local.INFO: IMEI packet received {"connection_id":64884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":64884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:32:52] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bf0bb8012d2f830006b7f2c00009014e27..."} 
[2026-05-08 09:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bf0bb8012d2f830006b7f2c00009014e27..."} 
[2026-05-08 09:32:52] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bf0bb8012d2f830006b7f2c00009014e27..."} 
[2026-05-08 09:32:52] local.INFO: Packet analysis {"connection_id":64884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bf"} 
[2026-05-08 09:32:52] local.INFO: Extracted packet for processing {"connection_id":64884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bf"} 
[2026-05-08 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":758088448,"raw_latitude":112718528,"longitude_deg":75.8088448,"latitude_deg":11.2718528,"altitude":9,"angle":334,"satellites":39,"speed":53,"hex_longitude":"2d2f8300","hex_latitude":"06b7f2c0","is_valid_coordinates":true} 
[2026-05-08 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222492160001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110160782951448576,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3427872663980267520,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1778212867000,"timestamp_ms":1778212867000,"timestamp_seconds":1778212867,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bf0bb8"} 
[2026-05-08 09:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":64884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":64884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":64884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222492160001,"66":28354,"39":206,"2":57088,"24":53,"16":110160782951448576,"45":3427872663980267520},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-05-08 09:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222492160001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:32:52] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-05-08 09:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110160782951448576,"km_value":110160782951448.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":3427872663980267520,"description":"Unknown IO ID 45"} 
[2026-05-08 09:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222492160001,"power":28354,"unknown_39":206,"power_alt":57088,"ignition":53,"odometer":null,"unknown_45":3427872663980267520}} 
[2026-05-08 09:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":64884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:32:52] local.INFO: GPS data processed {"connection_id":64884,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:32:52] local.INFO: Acknowledgment sent {"connection_id":64884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:32:54] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bf2710012d2f738006b814680008014e26..."} 
[2026-05-08 09:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bf2710012d2f738006b814680008014e26..."} 
[2026-05-08 09:32:54] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bf2710012d2f738006b814680008014e26..."} 
[2026-05-08 09:32:54] local.INFO: Packet analysis {"connection_id":64884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bf"} 
[2026-05-08 09:32:54] local.INFO: Extracted packet for processing {"connection_id":64884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bf"} 
[2026-05-08 09:32:54] local.INFO: GPS Element Parsed {"raw_longitude":758084480,"raw_latitude":112727144,"longitude_deg":75.808448,"latitude_deg":11.2727144,"altitude":8,"angle":334,"satellites":38,"speed":53,"hex_longitude":"2d2f7380","hex_latitude":"06b81468","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222493952001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110161242512949248,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3423580170587652096,"note":"Value kept but may cause issues"} 
[2026-05-08 09:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778212874000,"timestamp_ms":1778212874000,"timestamp_seconds":1778212874,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bf2710"} 
[2026-05-08 09:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:32:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":64884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":64884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":64884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222493952001,"66":28398,"39":206,"2":57088,"24":53,"16":110161242512949248,"45":3423580170587652096},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,2,24,16,45]} 
[2026-05-08 09:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222493952001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:32:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-05-08 09:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110161242512949248,"km_value":110161242512949.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3423580170587652096,"description":"Unknown IO ID 45"} 
[2026-05-08 09:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222493952001,"power":28398,"unknown_39":206,"power_alt":57088,"ignition":53,"odometer":null,"unknown_45":3423580170587652096}} 
[2026-05-08 09:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":64884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:32:54] local.INFO: GPS data processed {"connection_id":64884,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:32:54] local.INFO: Acknowledgment sent {"connection_id":64884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:32:57] local.INFO: TCP Data received {"connection_id":64984,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:32:57] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:32:57] local.INFO: IMEI packet received {"connection_id":64984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":64984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:33:03] local.INFO: TCP Data received {"connection_id":64984,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:03] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:03] local.INFO: IMEI packet received {"connection_id":64984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":64984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:33:04] local.INFO: TCP Data received {"connection_id":64984,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:04] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:04] local.INFO: Packet analysis {"connection_id":64984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:33:04] local.INFO: Extracted packet for processing {"connection_id":64984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:04] 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-05-08 09:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:33:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":64984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:33:04] local.INFO: GPS data processed {"connection_id":64984,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:33:04] local.INFO: Acknowledgment sent {"connection_id":64984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:33:31] local.INFO: TCP Data received {"connection_id":64884,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bf4268012d2f63c006b836500008014f24..."} 
[2026-05-08 09:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bf4268012d2f63c006b836500008014f24..."} 
[2026-05-08 09:33:31] local.INFO: Processing buffer {"connection_id":64884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bf4268012d2f63c006b836500008014f24..."} 
[2026-05-08 09:33:31] local.INFO: Packet analysis {"connection_id":64884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bf"} 
[2026-05-08 09:33:31] local.INFO: Extracted packet for processing {"connection_id":64884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bf"} 
[2026-05-08 09:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758080448,"raw_latitude":112735824,"longitude_deg":75.8080448,"latitude_deg":11.2735824,"altitude":8,"angle":335,"satellites":36,"speed":54,"hex_longitude":"2d2f63c0","hex_latitude":"06b83650","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222495744001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110161706369417216,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3419217308450842624,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778212881000,"timestamp_ms":1778212881000,"timestamp_seconds":1778212881,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bf4268"} 
[2026-05-08 09:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222495744001,"66":28354,"124":206,"2":57088,"24":54,"16":110161706369417216,"45":3419217308450842624},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,2,24,16,45]} 
[2026-05-08 09:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222495744001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:33:31] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-05-08 09:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110161706369417216,"km_value":110161706369417.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3419217308450842624,"description":"Unknown IO ID 45"} 
[2026-05-08 09:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222495744001,"power":28354,"unknown_124":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":3419217308450842624}} 
[2026-05-08 09:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":64884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:33:31] local.INFO: GPS data processed {"connection_id":64884,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:33:31] local.INFO: Acknowledgment sent {"connection_id":64884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:33:36] local.INFO: TCP Data received {"connection_id":64984,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:36] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:36] local.INFO: Packet analysis {"connection_id":64984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:33:36] local.INFO: Extracted packet for processing {"connection_id":64984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:33:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:33:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33: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-05-08 09:33:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:33:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:33:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:33:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:33:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:33:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:33:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:33:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:33:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:33:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:33:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:33:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:33:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:33:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:33:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:33:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:33:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:33:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:33:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:33:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:33:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:33:36] local.INFO: DEBUG: GPS processor result {"connection_id":64984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:33:36] local.INFO: GPS data processed {"connection_id":64984,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:33:36] local.INFO: Acknowledgment sent {"connection_id":64984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:33:46] local.INFO: TCP Data received {"connection_id":65724,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:46] local.INFO: Processing buffer {"connection_id":65724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:46] local.INFO: IMEI packet received {"connection_id":65724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":65724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:33:47] local.INFO: TCP Data received {"connection_id":65724,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:47] local.INFO: Processing buffer {"connection_id":65724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:47] local.INFO: IMEI packet received {"connection_id":65724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":65724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:33:52] local.INFO: TCP Data received {"connection_id":65724,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:52] local.INFO: Processing buffer {"connection_id":65724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:33:52] local.INFO: IMEI packet received {"connection_id":65724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":65724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:33:52] local.INFO: TCP Data received {"connection_id":65725,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:52] local.INFO: Processing buffer {"connection_id":65725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:52] local.INFO: IMEI packet received {"connection_id":65725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":65725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:33:57] local.INFO: TCP Data received {"connection_id":65724,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c07ae8012d2e9d0006b999580014014d2b..."} 
[2026-05-08 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c07ae8012d2e9d0006b999580014014d2b..."} 
[2026-05-08 09:33:57] local.INFO: Processing buffer {"connection_id":65724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c07ae8012d2e9d0006b999580014014d2b..."} 
[2026-05-08 09:33:57] local.INFO: Packet analysis {"connection_id":65724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c0"} 
[2026-05-08 09:33:57] local.INFO: Extracted packet for processing {"connection_id":65724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c0"} 
[2026-05-08 09:33:57] local.INFO: GPS Element Parsed {"raw_longitude":758029568,"raw_latitude":112826712,"longitude_deg":75.8029568,"latitude_deg":11.2826712,"altitude":20,"angle":333,"satellites":43,"speed":41,"hex_longitude":"2d2e9d00","hex_latitude":"06b99958","is_valid_coordinates":true} 
[2026-05-08 09:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222515712001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110166735776120832,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3363414894341142528,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778212961000,"timestamp_ms":1778212961000,"timestamp_seconds":1778212961,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c07ae8"} 
[2026-05-08 09:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-05-08 09:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222515712001,"66":28398,"38":206,"2":57088,"24":41,"16":110166735776120832,"45":3363414894341142528},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,45]} 
[2026-05-08 09:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222515712001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:33:57] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-05-08 09:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110166735776120832,"km_value":110166735776120.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3363414894341142528,"description":"Unknown IO ID 45"} 
[2026-05-08 09:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222515712001,"power":28398,"unknown_38":206,"power_alt":57088,"ignition":41,"odometer":null,"unknown_45":3363414894341142528}} 
[2026-05-08 09:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":65724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:33:57] local.INFO: GPS data processed {"connection_id":65724,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:33:57] local.INFO: Acknowledgment sent {"connection_id":65724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:33:58] local.INFO: TCP Data received {"connection_id":65724,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c09e10012d2e8b0006b9b8f80016014a2b..."} 
[2026-05-08 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c09e10012d2e8b0006b9b8f80016014a2b..."} 
[2026-05-08 09:33:58] local.INFO: Processing buffer {"connection_id":65724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c09e10012d2e8b0006b9b8f80016014a2b..."} 
[2026-05-08 09:33:58] local.INFO: Packet analysis {"connection_id":65724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c0"} 
[2026-05-08 09:33:58] local.INFO: Extracted packet for processing {"connection_id":65724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c0"} 
[2026-05-08 09:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758024960,"raw_latitude":112834808,"longitude_deg":75.802496,"latitude_deg":11.2834808,"altitude":22,"angle":330,"satellites":43,"speed":41,"hex_longitude":"2d2e8b00","hex_latitude":"06b9b8f8","is_valid_coordinates":true} 
[2026-05-08 09:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222518016001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110167186747686912,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3358840925971896320,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778212970000,"timestamp_ms":1778212970000,"timestamp_seconds":1778212970,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c09e10"} 
[2026-05-08 09:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:33: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-05-08 09:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222518016001,"66":28452,"105":206,"2":57088,"24":41,"16":110167186747686912,"45":3358840925971896320},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-05-08 09:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222518016001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:33:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110167186747686912,"km_value":110167186747686.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3358840925971896320,"description":"Unknown IO ID 45"} 
[2026-05-08 09:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222518016001,"power":28452,"unknown_105":206,"power_alt":57088,"ignition":41,"odometer":null,"unknown_45":3358840925971896320}} 
[2026-05-08 09:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":65724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:33:58] local.INFO: GPS data processed {"connection_id":65724,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:33:58] local.INFO: Acknowledgment sent {"connection_id":65724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:33:58] local.INFO: TCP Data received {"connection_id":65725,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65725,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:58] local.INFO: Processing buffer {"connection_id":65725,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:33:58] local.INFO: IMEI packet received {"connection_id":65725,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":65725,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:33:59] local.INFO: TCP Data received {"connection_id":65725,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:59] local.INFO: Processing buffer {"connection_id":65725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:33:59] local.INFO: Packet analysis {"connection_id":65725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:33:59] local.INFO: Extracted packet for processing {"connection_id":65725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:33:59] 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-05-08 09:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:33:59] 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-05-08 09:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:33:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":65725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:33:59] local.INFO: GPS data processed {"connection_id":65725,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:33:59] local.INFO: Acknowledgment sent {"connection_id":65725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:34:31] local.INFO: TCP Data received {"connection_id":65725,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:34:31] local.INFO: Processing buffer {"connection_id":65725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:34:31] local.INFO: Packet analysis {"connection_id":65725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:34:31] local.INFO: Extracted packet for processing {"connection_id":65725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:31] 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-05-08 09:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:34:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65725,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:34:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:34:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":65725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:34:31] local.INFO: GPS data processed {"connection_id":65725,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:34:31] local.INFO: Acknowledgment sent {"connection_id":65725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:34:42] local.INFO: TCP Data received {"connection_id":65726,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:34:42] local.INFO: Processing buffer {"connection_id":65726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:34:42] local.INFO: IMEI packet received {"connection_id":65726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":65726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:34:43] local.INFO: TCP Data received {"connection_id":65726,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:34:43] local.INFO: Processing buffer {"connection_id":65726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:34:43] local.INFO: IMEI packet received {"connection_id":65726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:34:43] local.INFO: IMEI acknowledgment sent {"connection_id":65726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:34:44] local.INFO: TCP Data received {"connection_id":65726,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c0c138012d2e798006b9d8980019014d29..."} 
[2026-05-08 09:34:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c0c138012d2e798006b9d8980019014d29..."} 
[2026-05-08 09:34:44] local.INFO: Processing buffer {"connection_id":65726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c0c138012d2e798006b9d8980019014d29..."} 
[2026-05-08 09:34:44] local.INFO: Packet analysis {"connection_id":65726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c0"} 
[2026-05-08 09:34:44] local.INFO: Extracted packet for processing {"connection_id":65726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c0"} 
[2026-05-08 09:34:44] local.INFO: GPS Element Parsed {"raw_longitude":758020480,"raw_latitude":112842904,"longitude_deg":75.802048,"latitude_deg":11.2842904,"altitude":25,"angle":333,"satellites":41,"speed":40,"hex_longitude":"2d2e7980","hex_latitude":"06b9d898","is_valid_coordinates":true} 
[2026-05-08 09:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:34:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222520320001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110167633424285696,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3353774376393177088,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:34:44] local.INFO: AVL Record Parsed {"raw_timestamp":1778212979000,"timestamp_ms":1778212979000,"timestamp_seconds":1778212979,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c0c138"} 
[2026-05-08 09:34:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:34:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:34:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 09:34:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:34:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:34:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:34:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:34:44] local.INFO: Teltonika packet parsed successfully {"connection_id":65726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:34:44] local.INFO: Passing IMEI to GPS processor {"connection_id":65726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:34:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":65726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:34:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:34:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:34:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:34:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222520320001,"66":28398,"105":206,"2":57088,"24":40,"16":110167633424285696,"45":3353774376393177088},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-05-08 09:34:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:34:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:34:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222520320001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:34:44] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:34:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110167633424285696,"km_value":110167633424285.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:34:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3353774376393177088,"description":"Unknown IO ID 45"} 
[2026-05-08 09:34:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222520320001,"power":28398,"unknown_105":206,"power_alt":57088,"ignition":40,"odometer":null,"unknown_45":3353774376393177088}} 
[2026-05-08 09:34:44] local.INFO: DEBUG: GPS processor result {"connection_id":65726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:34:44] local.INFO: GPS data processed {"connection_id":65726,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:34:44] local.INFO: Acknowledgment sent {"connection_id":65726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:34:48] local.INFO: TCP Data received {"connection_id":65726,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c0e460012d2e6a0006b9fb00001a015229..."} 
[2026-05-08 09:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c0e460012d2e6a0006b9fb00001a015229..."} 
[2026-05-08 09:34:48] local.INFO: Processing buffer {"connection_id":65726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c0e460012d2e6a0006b9fb00001a015229..."} 
[2026-05-08 09:34:48] local.INFO: Packet analysis {"connection_id":65726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c0"} 
[2026-05-08 09:34:48] local.INFO: Extracted packet for processing {"connection_id":65726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c0"} 
[2026-05-08 09:34:48] local.INFO: GPS Element Parsed {"raw_longitude":758016512,"raw_latitude":112851712,"longitude_deg":75.8016512,"latitude_deg":11.2851712,"altitude":26,"angle":338,"satellites":41,"speed":44,"hex_longitude":"2d2e6a00","hex_latitude":"06b9fb00","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222522624001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110168101575720960,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3348848564302813184,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778212988000,"timestamp_ms":1778212988000,"timestamp_seconds":1778212988,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c0e460"} 
[2026-05-08 09:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:34: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-05-08 09: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:34:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222522624001,"66":28452,"105":206,"2":57088,"24":44,"16":110168101575720960,"45":3348848564302813184},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-05-08 09:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222522624001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110168101575720960,"km_value":110168101575720.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3348848564302813184,"description":"Unknown IO ID 45"} 
[2026-05-08 09:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222522624001,"power":28452,"unknown_105":206,"power_alt":57088,"ignition":44,"odometer":null,"unknown_45":3348848564302813184}} 
[2026-05-08 09:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":65726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:34:48] local.INFO: GPS data processed {"connection_id":65726,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:34:48] local.INFO: Acknowledgment sent {"connection_id":65726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:34:52] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:34:52] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:34:52] local.INFO: IMEI packet received {"connection_id":64920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":64920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:34:58] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:34:58] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:34:58] local.INFO: IMEI packet received {"connection_id":64920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":64920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:34:59] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:34:59] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05bdc398012d34c54006aa50700000006228..."} 
[2026-05-08 09:34:59] local.INFO: Packet analysis {"connection_id":64920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:34:59] local.INFO: Extracted packet for processing {"connection_id":64920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05bd"} 
[2026-05-08 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222395392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:34:59] 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-05-08 09:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778212783000,"timestamp_ms":1778212783000,"timestamp_seconds":1778212783,"priority":1,"record_length":96,"hex_timestamp":"0000019e05bdc398"} 
[2026-05-08 09:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:34:59] 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-05-08 09:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222395392001,"66":25201,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222395392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:34:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222395392001,"power":25201,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":64920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:34:59] local.INFO: GPS data processed {"connection_id":64920,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:34:59] local.INFO: Acknowledgment sent {"connection_id":64920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:35:19] local.INFO: TCP Data received {"connection_id":65726,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c21510012d2dc24006bb6f680012014f26..."} 
[2026-05-08 09:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c21510012d2dc24006bb6f680012014f26..."} 
[2026-05-08 09:35:19] local.INFO: Processing buffer {"connection_id":65726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c21510012d2dc24006bb6f680012014f26..."} 
[2026-05-08 09:35:19] local.INFO: Packet analysis {"connection_id":65726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:35:19] local.INFO: Extracted packet for processing {"connection_id":65726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:35:19] local.INFO: GPS Element Parsed {"raw_longitude":757973568,"raw_latitude":112947048,"longitude_deg":75.7973568,"latitude_deg":11.2947048,"altitude":18,"angle":335,"satellites":38,"speed":53,"hex_longitude":"2d2dc240","hex_latitude":"06bb6f68","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222543104001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110173156752228352,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3301560768239874048,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778213066000,"timestamp_ms":1778213066000,"timestamp_seconds":1778213066,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c21510"} 
[2026-05-08 09:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:35: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-05-08 09: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65726,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222543104001,"66":28398,"192":206,"2":57088,"24":53,"16":110173156752228352,"45":3301560768239874048},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-05-08 09:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222543104001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:35:19] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-05-08 09:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110173156752228352,"km_value":110173156752228.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3301560768239874048,"description":"Unknown IO ID 45"} 
[2026-05-08 09:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222543104001,"power":28398,"unknown_192":206,"power_alt":57088,"ignition":53,"odometer":null,"unknown_45":3301560768239874048}} 
[2026-05-08 09:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":65726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:35:19] local.INFO: GPS data processed {"connection_id":65726,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:35:19] local.INFO: Acknowledgment sent {"connection_id":65726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:35:30] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:35:30] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:35:30] local.INFO: Packet analysis {"connection_id":64920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:35:30] local.INFO: Extracted packet for processing {"connection_id":64920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:30] 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-05-08 09:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:35: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-05-08 09:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:35:30] 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-05-08 09:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:35:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":64920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:35:30] local.INFO: GPS data processed {"connection_id":64920,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:35:30] local.INFO: Acknowledgment sent {"connection_id":64920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:35:53] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:35:53] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:35:53] local.INFO: IMEI packet received {"connection_id":64985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":64985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:35:56] local.INFO: TCP Data received {"connection_id":65727,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:35:56] local.INFO: Processing buffer {"connection_id":65727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:35:56] local.INFO: IMEI packet received {"connection_id":65727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":65727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:35:58] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:35:58] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:35:58] local.INFO: IMEI packet received {"connection_id":64985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":64985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:35:58] local.INFO: TCP Data received {"connection_id":65727,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:35:58] local.INFO: Processing buffer {"connection_id":65727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:35:58] local.INFO: IMEI packet received {"connection_id":65727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":65727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:35:59] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:35:59] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:35:59] local.INFO: Packet analysis {"connection_id":64985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:35:59] local.INFO: Extracted packet for processing {"connection_id":64985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:35:59] 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-05-08 09:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:35:59] 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-05-08 09:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:35:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":64985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:35:59] local.INFO: GPS data processed {"connection_id":64985,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:35:59] local.INFO: Acknowledgment sent {"connection_id":64985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:36:00] local.INFO: TCP Data received {"connection_id":65727,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:36:00] local.INFO: Processing buffer {"connection_id":65727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:36:00] local.INFO: IMEI packet received {"connection_id":65727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":65727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:36:02] local.INFO: TCP Data received {"connection_id":65727,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65727,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:36:02] local.INFO: Processing buffer {"connection_id":65727,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:36:02] local.INFO: IMEI packet received {"connection_id":65727,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":65727,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:36:04] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:04] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:04] local.INFO: Packet analysis {"connection_id":64985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:36:04] local.INFO: Extracted packet for processing {"connection_id":64985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:36:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36:04] 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-05-08 09:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:36:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:36:04] 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-05-08 09:36:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:36:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":64985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:36:04] local.INFO: GPS data processed {"connection_id":64985,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:36:04] local.INFO: Acknowledgment sent {"connection_id":64985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:36:35] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:35] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:35] local.INFO: Packet analysis {"connection_id":64985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:36:35] local.INFO: Extracted packet for processing {"connection_id":64985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:36:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:36:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36: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-05-08 09:36:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:36:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:36:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:36:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:36:35] 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-05-08 09: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-05-08 09:36:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:36:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:36:35] local.INFO: Teltonika packet parsed successfully {"connection_id":64985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:36:35] local.INFO: Passing IMEI to GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:36:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:36:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:36:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:36:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:36:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:36:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:36:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:36:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:36:35] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:36:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:36:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:36:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:36:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:36:35] local.INFO: DEBUG: GPS processor result {"connection_id":64985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:36:35] local.INFO: GPS data processed {"connection_id":64985,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:36:35] local.INFO: Acknowledgment sent {"connection_id":64985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:36:53] local.INFO: TCP Data received {"connection_id":64921,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:36:53] local.INFO: Processing buffer {"connection_id":64921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:36:53] local.INFO: IMEI packet received {"connection_id":64921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":64921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:36:58] local.INFO: TCP Data received {"connection_id":64921,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:36:58] local.INFO: Processing buffer {"connection_id":64921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:36:58] local.INFO: IMEI packet received {"connection_id":64921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":64921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:36:59] local.INFO: TCP Data received {"connection_id":64921,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:59] local.INFO: Processing buffer {"connection_id":64921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:36:59] local.INFO: Packet analysis {"connection_id":64921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:36:59] local.INFO: Extracted packet for processing {"connection_id":64921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:36:59] 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-05-08 09:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:36:59] 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-05-08 09: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-05-08 09:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":64921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:36:59] local.INFO: GPS data processed {"connection_id":64921,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:36:59] local.INFO: Acknowledgment sent {"connection_id":64921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:37:31] local.INFO: TCP Data received {"connection_id":64921,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:37:31] local.INFO: Processing buffer {"connection_id":64921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:37:31] local.INFO: Packet analysis {"connection_id":64921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:37:31] local.INFO: Extracted packet for processing {"connection_id":64921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:37:31] 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-05-08 09:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:37:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:37:31] 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-05-08 09: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-05-08 09:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:37:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":64921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:37:31] local.INFO: GPS data processed {"connection_id":64921,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:37:31] local.INFO: Acknowledgment sent {"connection_id":64921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:37:52] local.INFO: TCP Data received {"connection_id":65728,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:37:52] local.INFO: Processing buffer {"connection_id":65728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:37:52] local.INFO: IMEI packet received {"connection_id":65728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":65728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:37:58] local.INFO: TCP Data received {"connection_id":65728,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:37:58] local.INFO: Processing buffer {"connection_id":65728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:37:58] local.INFO: IMEI packet received {"connection_id":65728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":65728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:37:59] local.INFO: TCP Data received {"connection_id":65728,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:37:59] local.INFO: Processing buffer {"connection_id":65728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:37:59] local.INFO: Packet analysis {"connection_id":65728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:37:59] local.INFO: Extracted packet for processing {"connection_id":65728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:37:59] 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-05-08 09:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:37:59] 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-05-08 09:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":65728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:37:59] local.INFO: GPS data processed {"connection_id":65728,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:37:59] local.INFO: Acknowledgment sent {"connection_id":65728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:38:30] local.INFO: TCP Data received {"connection_id":65728,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:38:30] local.INFO: Processing buffer {"connection_id":65728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:38:30] local.INFO: Packet analysis {"connection_id":65728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:38:30] local.INFO: Extracted packet for processing {"connection_id":65728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:38:30] 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-05-08 09:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:38: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-05-08 09:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:38:30] 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-05-08 09:38:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:38:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":65728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:38:30] local.INFO: GPS data processed {"connection_id":65728,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:38:30] local.INFO: Acknowledgment sent {"connection_id":65728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:38:52] local.INFO: TCP Data received {"connection_id":64987,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:38:52] local.INFO: Processing buffer {"connection_id":64987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:38:52] local.INFO: IMEI packet received {"connection_id":64987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":64987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:38:58] local.INFO: TCP Data received {"connection_id":64987,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:38:58] local.INFO: Processing buffer {"connection_id":64987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:38:58] local.INFO: IMEI packet received {"connection_id":64987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":64987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:38:59] local.INFO: TCP Data received {"connection_id":64987,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:38:59] local.INFO: Processing buffer {"connection_id":64987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:38:59] local.INFO: Packet analysis {"connection_id":64987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:38:59] local.INFO: Extracted packet for processing {"connection_id":64987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:38:59] 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-05-08 09:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:38:59] 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-05-08 09:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:38:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":64987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:38:59] local.INFO: GPS data processed {"connection_id":64987,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:38:59] local.INFO: Acknowledgment sent {"connection_id":64987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:39:31] local.INFO: TCP Data received {"connection_id":64987,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:39:31] local.INFO: Processing buffer {"connection_id":64987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:39:31] local.INFO: Packet analysis {"connection_id":64987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:39:31] local.INFO: Extracted packet for processing {"connection_id":64987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:39:31] 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-05-08 09:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:39:31] 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-05-08 09:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:39:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":64987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:39:31] local.INFO: GPS data processed {"connection_id":64987,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:39:31] local.INFO: Acknowledgment sent {"connection_id":64987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:39:58] local.INFO: TCP Data received {"connection_id":65730,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:39:58] local.INFO: Processing buffer {"connection_id":65730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:39:58] local.INFO: IMEI packet received {"connection_id":65730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":65730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:40:03] local.INFO: TCP Data received {"connection_id":65730,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:03] local.INFO: Processing buffer {"connection_id":65730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:03] local.INFO: IMEI packet received {"connection_id":65730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":65730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:40:04] local.INFO: TCP Data received {"connection_id":65730,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:40:04] local.INFO: Processing buffer {"connection_id":65730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:40:04] local.INFO: Packet analysis {"connection_id":65730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:40:04] local.INFO: Extracted packet for processing {"connection_id":65730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:40:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:40:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40:04] 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-05-08 09:40:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:40:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:40:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:40:04] 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-05-08 09: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-05-08 09:40:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:40:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:40:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:40:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:40:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:40:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:40:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:40:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:40:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:40:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:40:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:40:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:40:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:40:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:40:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:40:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:40:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:40:04] local.INFO: DEBUG: GPS processor result {"connection_id":65730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:40:04] local.INFO: GPS data processed {"connection_id":65730,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:40:04] local.INFO: Acknowledgment sent {"connection_id":65730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:40:09] local.INFO: TCP Data received {"connection_id":65730,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:40:09] local.INFO: Processing buffer {"connection_id":65730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c25b60012d34c54006aa50700000006229..."} 
[2026-05-08 09:40:09] local.INFO: Packet analysis {"connection_id":65730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:40:09] local.INFO: Extracted packet for processing {"connection_id":65730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c2"} 
[2026-05-08 09:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222472448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40: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-05-08 09:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778213084000,"timestamp_ms":1778213084000,"timestamp_seconds":1778213084,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c25b60"} 
[2026-05-08 09:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09: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-05-08 09:40:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:40: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-05-08 09:40:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222472448001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222472448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:40:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:40:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222472448001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":65730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:40:09] local.INFO: GPS data processed {"connection_id":65730,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:40:09] local.INFO: Acknowledgment sent {"connection_id":65730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:40:54] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:54] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:54] local.INFO: IMEI packet received {"connection_id":64886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":64886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:40:58] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:58] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:40:58] local.INFO: IMEI packet received {"connection_id":64886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":64886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:40:59] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:40:59] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:40:59] local.INFO: Packet analysis {"connection_id":64886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:40:59] local.INFO: Extracted packet for processing {"connection_id":64886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:40:59] 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-05-08 09:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:40:59] 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-05-08 09:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:40:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":64886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:40:59] local.INFO: GPS data processed {"connection_id":64886,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:40:59] local.INFO: Acknowledgment sent {"connection_id":64886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:41:07] local.INFO: TCP Data received {"connection_id":64923,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:07] local.INFO: Processing buffer {"connection_id":64923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:07] local.INFO: IMEI packet received {"connection_id":64923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":64923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:41:08] local.INFO: TCP Data received {"connection_id":64923,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c65eb8012d2a0a4006bfd6f0000e014229..."} 
[2026-05-08 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c65eb8012d2a0a4006bfd6f0000e014229..."} 
[2026-05-08 09:41:08] local.INFO: Processing buffer {"connection_id":64923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c65eb8012d2a0a4006bfd6f0000e014229..."} 
[2026-05-08 09:41:08] local.INFO: Packet analysis {"connection_id":64923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:41:08] local.INFO: Extracted packet for processing {"connection_id":64923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":757729856,"raw_latitude":113235696,"longitude_deg":75.7729856,"latitude_deg":11.3235696,"altitude":14,"angle":322,"satellites":41,"speed":54,"hex_longitude":"2d2a0a40","hex_latitude":"06bfd6f0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222615040001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110191388888399872,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3035918759043366912,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778213347000,"timestamp_ms":1778213347000,"timestamp_seconds":1778213347,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c65eb8"} 
[2026-05-08 09:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":64923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":64923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":64923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222615040001,"66":28354,"77":206,"2":57088,"24":54,"16":110191388888399872,"45":3035918759043366912},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-05-08 09:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222615040001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:41:08] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-05-08 09:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110191388888399872,"km_value":110191388888399.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3035918759043366912,"description":"Unknown IO ID 45"} 
[2026-05-08 09:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222615040001,"power":28354,"unknown_77":206,"power_alt":57088,"ignition":54,"odometer":null,"unknown_45":3035918759043366912}} 
[2026-05-08 09:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":64923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:41:08] local.INFO: GPS data processed {"connection_id":64923,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:41:08] local.INFO: Acknowledgment sent {"connection_id":64923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:41:31] local.INFO: TCP Data received {"connection_id":64886,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:41:31] local.INFO: Processing buffer {"connection_id":64886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:41:31] local.INFO: Packet analysis {"connection_id":64886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:41:31] local.INFO: Extracted packet for processing {"connection_id":64886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:31] 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-05-08 09:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:41:31] 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-05-08 09: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-05-08 09:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:41:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":64886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:41:31] local.INFO: GPS data processed {"connection_id":64886,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:41:31] local.INFO: Acknowledgment sent {"connection_id":64886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:41:52] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:52] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:52] local.INFO: IMEI packet received {"connection_id":64924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":64924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:41:52] local.INFO: TCP Data received {"connection_id":64988,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:41:52] local.INFO: Processing buffer {"connection_id":64988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:41:52] local.INFO: IMEI packet received {"connection_id":64988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":64988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:41:52] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:52] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:41:52] local.INFO: IMEI packet received {"connection_id":64924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":64924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:41:58] local.INFO: TCP Data received {"connection_id":64988,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:41:58] local.INFO: Processing buffer {"connection_id":64988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:41:58] local.INFO: IMEI packet received {"connection_id":64988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":64988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:41:59] local.INFO: TCP Data received {"connection_id":64988,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:41:59] local.INFO: Processing buffer {"connection_id":64988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:41:59] local.INFO: Packet analysis {"connection_id":64988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:41:59] local.INFO: Extracted packet for processing {"connection_id":64988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:41:59] 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-05-08 09:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:41:59] 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-05-08 09:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:41:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":64988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:41:59] local.INFO: GPS data processed {"connection_id":64988,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:41:59] local.INFO: Acknowledgment sent {"connection_id":64988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:42:06] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:42:06] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:42:06] local.INFO: IMEI packet received {"connection_id":64924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":64924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:42:09] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c7a6d8012d28e74006c12260000f013c2d..."} 
[2026-05-08 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c7a6d8012d28e74006c12260000f013c2d..."} 
[2026-05-08 09:42:09] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c7a6d8012d28e74006c12260000f013c2d..."} 
[2026-05-08 09:42:09] local.INFO: Packet analysis {"connection_id":64924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c7"} 
[2026-05-08 09:42:09] local.INFO: Extracted packet for processing {"connection_id":64924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c7"} 
[2026-05-08 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":757655360,"raw_latitude":113320544,"longitude_deg":75.765536,"latitude_deg":11.3320544,"altitude":15,"angle":316,"satellites":45,"speed":55,"hex_longitude":"2d28e740","hex_latitude":"06c12260","is_valid_coordinates":true} 
[2026-05-08 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-05-08 09:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222636544001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110196847791833088,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2954783597028409344,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778213431000,"timestamp_ms":1778213431000,"timestamp_seconds":1778213431,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c7a6d8"} 
[2026-05-08 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-05-08 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-05-08 09:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 09:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222636544001,"66":28300,"143":206,"27":54528,"24":55,"16":110196847791833088,"45":2954783597028409344},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-05-08 09:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222636544001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:42:09] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-05-08 09:42:09] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-05-08 09:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110196847791833088,"km_value":110196847791833.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2954783597028409344,"description":"Unknown IO ID 45"} 
[2026-05-08 09:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222636544001,"power":28300,"unknown_143":206,"unknown_27":54528,"ignition":55,"odometer":null,"unknown_45":2954783597028409344}} 
[2026-05-08 09:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":64924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:42:09] local.INFO: GPS data processed {"connection_id":64924,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:42:09] local.INFO: Acknowledgment sent {"connection_id":64924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:42:29] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c7c230012d28ccc006c13d40000f013c2d..."} 
[2026-05-08 09:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c7c230012d28ccc006c13d40000f013c2d..."} 
[2026-05-08 09:42:29] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c7c230012d28ccc006c13d40000f013c2d..."} 
[2026-05-08 09:42:29] local.INFO: Packet analysis {"connection_id":64924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c7"} 
[2026-05-08 09:42:29] local.INFO: Extracted packet for processing {"connection_id":64924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c7"} 
[2026-05-08 09:42:29] local.INFO: GPS Element Parsed {"raw_longitude":757648576,"raw_latitude":113327424,"longitude_deg":75.7648576,"latitude_deg":11.3327424,"altitude":15,"angle":316,"satellites":45,"speed":54,"hex_longitude":"2d28ccc0","hex_latitude":"06c13d40","is_valid_coordinates":true} 
[2026-05-08 09:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222638336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110197311648301056,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2947394878891515904,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778213438000,"timestamp_ms":1778213438000,"timestamp_seconds":1778213438,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c7c230"} 
[2026-05-08 09:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:42:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-05-08 09:42:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:42: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-05-08 09:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":64924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":64924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":64924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222638336001,"66":28452,"143":206,"27":54528,"24":54,"16":110197311648301056,"45":2947394878891515904},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-05-08 09:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222638336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:42:29] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-05-08 09:42:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-05-08 09:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110197311648301056,"km_value":110197311648301.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":2947394878891515904,"description":"Unknown IO ID 45"} 
[2026-05-08 09:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222638336001,"power":28452,"unknown_143":206,"unknown_27":54528,"ignition":54,"odometer":null,"unknown_45":2947394878891515904}} 
[2026-05-08 09:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":64924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:42:30] local.INFO: GPS data processed {"connection_id":64924,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:42:30] local.INFO: Acknowledgment sent {"connection_id":64924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:42:31] local.INFO: TCP Data received {"connection_id":64988,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:42:31] local.INFO: Processing buffer {"connection_id":64988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:42:31] local.INFO: Packet analysis {"connection_id":64988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:42:31] local.INFO: Extracted packet for processing {"connection_id":64988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:31] 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-05-08 09:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:42:31] 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-05-08 09:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:42:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":64988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:42:31] local.INFO: GPS data processed {"connection_id":64988,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:42:31] local.INFO: Acknowledgment sent {"connection_id":64988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:42:41] local.INFO: TCP Data received {"connection_id":65731,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:42:41] local.INFO: Processing buffer {"connection_id":65731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:42:41] local.INFO: IMEI packet received {"connection_id":65731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":65731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:42:52] local.INFO: TCP Data received {"connection_id":65732,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:42:52] local.INFO: Processing buffer {"connection_id":65732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:42:52] local.INFO: IMEI packet received {"connection_id":65732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":65732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:42:58] local.INFO: TCP Data received {"connection_id":65732,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:42:58] local.INFO: Processing buffer {"connection_id":65732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:42:58] local.INFO: IMEI packet received {"connection_id":65732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":65732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:42:59] local.INFO: TCP Data received {"connection_id":65732,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:42:59] local.INFO: Processing buffer {"connection_id":65732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:42:59] local.INFO: Packet analysis {"connection_id":65732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:42:59] local.INFO: Extracted packet for processing {"connection_id":65732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:42:59] 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-05-08 09:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:42:59] 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-05-08 09:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:42:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":65732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:42:59] local.INFO: GPS data processed {"connection_id":65732,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:42:59] local.INFO: Acknowledgment sent {"connection_id":65732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:43:29] local.INFO: TCP Data received {"connection_id":65731,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:29] local.INFO: Processing buffer {"connection_id":65731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:29] local.INFO: IMEI packet received {"connection_id":65731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:43:29] local.INFO: IMEI acknowledgment sent {"connection_id":65731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:43:32] local.INFO: TCP Data received {"connection_id":65732,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:43:32] local.INFO: Processing buffer {"connection_id":65732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:43:32] local.INFO: Packet analysis {"connection_id":65732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:43:32] local.INFO: Extracted packet for processing {"connection_id":65732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:43:32] 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-05-08 09:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:43:32] 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-05-08 09:43:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:43:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":65732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:43:32] local.INFO: GPS data processed {"connection_id":65732,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:43:32] local.INFO: Acknowledgment sent {"connection_id":65732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:43:41] local.INFO: TCP Data received {"connection_id":64925,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:41] local.INFO: Processing buffer {"connection_id":64925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:41] local.INFO: IMEI packet received {"connection_id":64925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":64925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:43:44] local.INFO: TCP Data received {"connection_id":64925,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:44] local.INFO: Processing buffer {"connection_id":64925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:43:44] local.INFO: IMEI packet received {"connection_id":64925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:43:44] local.INFO: IMEI acknowledgment sent {"connection_id":64925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:43:58] local.INFO: TCP Data received {"connection_id":64887,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:43:58] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:43:58] local.INFO: IMEI packet received {"connection_id":64887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":64887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:44:03] local.INFO: TCP Data received {"connection_id":64887,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:03] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:03] local.INFO: IMEI packet received {"connection_id":64887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":64887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:44:04] local.INFO: TCP Data received {"connection_id":64887,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:04] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:04] local.INFO: Packet analysis {"connection_id":64887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:44:04] local.INFO: Extracted packet for processing {"connection_id":64887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44:04] 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-05-08 09:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:44: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-05-08 09: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-05-08 09:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:44:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":64887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:44:04] local.INFO: GPS data processed {"connection_id":64887,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:44:04] local.INFO: Acknowledgment sent {"connection_id":64887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:44:09] local.INFO: TCP Data received {"connection_id":64887,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:09] local.INFO: Processing buffer {"connection_id":64887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:09] local.INFO: Packet analysis {"connection_id":64887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:44:09] local.INFO: Extracted packet for processing {"connection_id":64887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44: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-05-08 09:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:44: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-05-08 09:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:44: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-05-08 09:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:44:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:44:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":64887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:44:09] local.INFO: GPS data processed {"connection_id":64887,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:44:09] local.INFO: Acknowledgment sent {"connection_id":64887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:44:53] local.INFO: TCP Data received {"connection_id":64990,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:53] local.INFO: Processing buffer {"connection_id":64990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:53] local.INFO: IMEI packet received {"connection_id":64990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":64990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:44:58] local.INFO: TCP Data received {"connection_id":64990,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:58] local.INFO: Processing buffer {"connection_id":64990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:44:58] local.INFO: IMEI packet received {"connection_id":64990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":64990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:44:59] local.INFO: TCP Data received {"connection_id":64990,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:59] local.INFO: Processing buffer {"connection_id":64990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05c6f328012d34c54006aa5070000000622b..."} 
[2026-05-08 09:44:59] local.INFO: Packet analysis {"connection_id":64990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:44:59] local.INFO: Extracted packet for processing {"connection_id":64990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05c6"} 
[2026-05-08 09:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222549504001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:44:59] 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-05-08 09:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213385000,"timestamp_ms":1778213385000,"timestamp_seconds":1778213385,"priority":1,"record_length":96,"hex_timestamp":"0000019e05c6f328"} 
[2026-05-08 09:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:44:59] 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-05-08 09:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222549504001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 09:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222549504001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:44:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 09:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222549504001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":64990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:44:59] local.INFO: GPS data processed {"connection_id":64990,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:44:59] local.INFO: Acknowledgment sent {"connection_id":64990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:45:31] local.INFO: TCP Data received {"connection_id":64990,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:45:31] local.INFO: Processing buffer {"connection_id":64990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:45:31] local.INFO: Packet analysis {"connection_id":64990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:45:31] local.INFO: Extracted packet for processing {"connection_id":64990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:45:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":64990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:45:31] local.INFO: GPS data processed {"connection_id":64990,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:45:31] local.INFO: Acknowledgment sent {"connection_id":64990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:45:52] local.INFO: TCP Data received {"connection_id":64927,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:45:52] local.INFO: Processing buffer {"connection_id":64927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:45:52] local.INFO: IMEI packet received {"connection_id":64927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":64927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:45:58] local.INFO: TCP Data received {"connection_id":64927,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:45:58] local.INFO: Processing buffer {"connection_id":64927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:45:58] local.INFO: IMEI packet received {"connection_id":64927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":64927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:45:59] local.INFO: TCP Data received {"connection_id":64927,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:45:59] local.INFO: Processing buffer {"connection_id":64927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:45:59] local.INFO: Packet analysis {"connection_id":64927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:45:59] local.INFO: Extracted packet for processing {"connection_id":64927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:45: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-05-08 09:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:45:59] 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-05-08 09:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":64927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:45:59] local.INFO: GPS data processed {"connection_id":64927,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:45:59] local.INFO: Acknowledgment sent {"connection_id":64927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:46:30] local.INFO: TCP Data received {"connection_id":64927,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:46:30] local.INFO: Processing buffer {"connection_id":64927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:46:30] local.INFO: Packet analysis {"connection_id":64927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:46:30] local.INFO: Extracted packet for processing {"connection_id":64927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:46: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-05-08 09:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:46:30] 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-05-08 09:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":64927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:46:30] local.INFO: GPS data processed {"connection_id":64927,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:46:30] local.INFO: Acknowledgment sent {"connection_id":64927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:46:52] local.INFO: TCP Data received {"connection_id":64888,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:46:52] local.INFO: Processing buffer {"connection_id":64888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:46:52] local.INFO: IMEI packet received {"connection_id":64888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":64888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:46:58] local.INFO: TCP Data received {"connection_id":64888,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:46:58] local.INFO: Processing buffer {"connection_id":64888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:46:58] local.INFO: IMEI packet received {"connection_id":64888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":64888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:46:59] local.INFO: TCP Data received {"connection_id":64888,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:46:59] local.INFO: Processing buffer {"connection_id":64888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:46:59] local.INFO: Packet analysis {"connection_id":64888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:46:59] local.INFO: Extracted packet for processing {"connection_id":64888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:46: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-05-08 09:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:46:59] 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-05-08 09:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:46:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:46:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":64888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:46:59] local.INFO: GPS data processed {"connection_id":64888,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:46:59] local.INFO: Acknowledgment sent {"connection_id":64888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:47:31] local.INFO: TCP Data received {"connection_id":64888,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:47:31] local.INFO: Processing buffer {"connection_id":64888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:47:31] local.INFO: Packet analysis {"connection_id":64888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:47:31] local.INFO: Extracted packet for processing {"connection_id":64888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:47:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:47:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:47:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":64888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:47:31] local.INFO: GPS data processed {"connection_id":64888,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:47:31] local.INFO: Acknowledgment sent {"connection_id":64888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:47:52] local.INFO: TCP Data received {"connection_id":64993,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:47:52] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:47:52] local.INFO: IMEI packet received {"connection_id":64993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":64993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:47:58] local.INFO: TCP Data received {"connection_id":64993,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:47:58] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:47:58] local.INFO: IMEI packet received {"connection_id":64993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:47:59] local.INFO: TCP Data received {"connection_id":64993,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:47:59] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:47:59] local.INFO: Packet analysis {"connection_id":64993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:47:59] local.INFO: Extracted packet for processing {"connection_id":64993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:47: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-05-08 09:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:47:59] 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-05-08 09:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":64993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:47:59] local.INFO: GPS data processed {"connection_id":64993,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:47:59] local.INFO: Acknowledgment sent {"connection_id":64993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:48:31] local.INFO: TCP Data received {"connection_id":64993,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:48:31] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:48:31] local.INFO: Packet analysis {"connection_id":64993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:48:31] local.INFO: Extracted packet for processing {"connection_id":64993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:48:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":64993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:48:31] local.INFO: GPS data processed {"connection_id":64993,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:48:31] local.INFO: Acknowledgment sent {"connection_id":64993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:48:45] local.INFO: TCP Data received {"connection_id":65733,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:48:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:48:45] local.INFO: Processing buffer {"connection_id":65733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:48:45] local.INFO: IMEI packet received {"connection_id":65733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:48:45] local.INFO: IMEI acknowledgment sent {"connection_id":65733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:48:47] local.INFO: TCP Data received {"connection_id":65733,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:48:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:48:47] local.INFO: Processing buffer {"connection_id":65733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:48:47] local.INFO: IMEI packet received {"connection_id":65733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:48:47] local.INFO: IMEI acknowledgment sent {"connection_id":65733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:48:49] local.INFO: TCP Data received {"connection_id":65733,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cda600012d24dc8006c7eec8000c01552f..."} 
[2026-05-08 09:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cda600012d24dc8006c7eec8000c01552f..."} 
[2026-05-08 09:48:49] local.INFO: Processing buffer {"connection_id":65733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cda600012d24dc8006c7eec8000c01552f..."} 
[2026-05-08 09:48:49] local.INFO: Packet analysis {"connection_id":65733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cd"} 
[2026-05-08 09:48:49] local.INFO: Extracted packet for processing {"connection_id":65733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cd"} 
[2026-05-08 09:48:49] local.INFO: GPS Element Parsed {"raw_longitude":757390464,"raw_latitude":113766088,"longitude_deg":75.7390464,"latitude_deg":11.3766088,"altitude":12,"angle":341,"satellites":47,"speed":58,"hex_longitude":"2d24dc80","hex_latitude":"06c7eec8","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222737408001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110222218163650560,"note":"Value kept but may cause issues"} 
[2026-05-08 09:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2658531184154064896,"note":"Value kept but may cause issues"} 
[2026-05-08 09:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778213824000,"timestamp_ms":1778213824000,"timestamp_seconds":1778213824,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cda600"} 
[2026-05-08 09:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:48: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-05-08 09: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222737408001,"66":28376,"249":206,"2":56576,"24":58,"16":110222218163650560,"45":2658531184154064896},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-05-08 09:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222737408001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:48:49] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-05-08 09:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110222218163650560,"km_value":110222218163650.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2658531184154064896,"description":"Unknown IO ID 45"} 
[2026-05-08 09:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222737408001,"power":28376,"unknown_249":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2658531184154064896}} 
[2026-05-08 09:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":65733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:48:49] local.INFO: GPS data processed {"connection_id":65733,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:48:49] local.INFO: Acknowledgment sent {"connection_id":65733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:48:58] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:48:58] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:48:58] local.INFO: IMEI packet received {"connection_id":64889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":64889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:49:03] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:03] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:03] local.INFO: IMEI packet received {"connection_id":64889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":64889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:49:04] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:04] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:04] local.INFO: Packet analysis {"connection_id":64889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:49:04] local.INFO: Extracted packet for processing {"connection_id":64889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:49:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:49:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":64889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:49:04] local.INFO: GPS data processed {"connection_id":64889,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:49:04] local.INFO: Acknowledgment sent {"connection_id":64889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:49:09] local.INFO: TCP Data received {"connection_id":64889,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:09] local.INFO: Processing buffer {"connection_id":64889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:09] local.INFO: Packet analysis {"connection_id":64889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:49:09] local.INFO: Extracted packet for processing {"connection_id":64889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09: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-05-08 09: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:49: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-05-08 09: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-05-08 09:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:49:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:49:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":64889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:49:09] local.INFO: GPS data processed {"connection_id":64889,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:49:09] local.INFO: Acknowledgment sent {"connection_id":64889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:49:09] local.INFO: TCP Data received {"connection_id":64928,"ip":"162.216.150.184","data_length":1483,"data_hex":"16030105c6010005c2030329ed1f46cc5886d9763935e6779f0c4e03e9fa4024..."} 
[2026-05-08 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":1483,"packet_hex":"16030105c6010005c2030329ed1f46cc5886d9763935e6779f0c4e03e9fa4024..."} 
[2026-05-08 09:49:09] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":1483,"buffer_hex":"16030105c6010005c2030329ed1f46cc5886d9763935e6779f0c4e03e9fa4024..."} 
[2026-05-08 09:49:09] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":64928,"buffer_length":1483,"first_bytes_hex":"16030105c6010005c2030329ed1f46cc"} 
[2026-05-08 09:49:09] local.INFO: TCP Data received {"connection_id":64929,"ip":"162.216.150.184","data_length":207,"data_hex":"16030100ca010000c60303b9fb64f844f1c60f53d67cd326c996004cc27ea6db..."} 
[2026-05-08 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64929,"packet_length":207,"packet_hex":"16030100ca010000c60303b9fb64f844f1c60f53d67cd326c996004cc27ea6db..."} 
[2026-05-08 09:49:09] local.INFO: Processing buffer {"connection_id":64929,"buffer_length":207,"buffer_hex":"16030100ca010000c60303b9fb64f844f1c60f53d67cd326c996004cc27ea6db..."} 
[2026-05-08 09:49:09] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":64929,"buffer_length":207,"first_bytes_hex":"16030100ca010000c60303b9fb64f844"} 
[2026-05-08 09:49:09] local.INFO: TCP Data received {"connection_id":64929,"ip":"162.216.150.184","data_length":7,"data_hex":"1503010002020a..."} 
[2026-05-08 09:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64929,"packet_length":7,"packet_hex":"1503010002020a..."} 
[2026-05-08 09:49:09] local.INFO: Processing buffer {"connection_id":64929,"buffer_length":7,"buffer_hex":"1503010002020a..."} 
[2026-05-08 09:49:21] local.INFO: TCP Data received {"connection_id":65733,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ceee20012d24360006c95b70000e015e2b..."} 
[2026-05-08 09:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ceee20012d24360006c95b70000e015e2b..."} 
[2026-05-08 09:49:21] local.INFO: Processing buffer {"connection_id":65733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ceee20012d24360006c95b70000e015e2b..."} 
[2026-05-08 09:49:21] local.INFO: Packet analysis {"connection_id":65733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05ce"} 
[2026-05-08 09:49:21] local.INFO: Extracted packet for processing {"connection_id":65733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05ce"} 
[2026-05-08 09:49:21] local.INFO: GPS Element Parsed {"raw_longitude":757347840,"raw_latitude":113859440,"longitude_deg":75.734784,"latitude_deg":11.385944,"altitude":14,"angle":350,"satellites":43,"speed":59,"hex_longitude":"2d243600","hex_latitude":"06c95b70","is_valid_coordinates":true} 
[2026-05-08 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:49:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222758656001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110227251865321472,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2611454494322720768,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:49:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778213908000,"timestamp_ms":1778213908000,"timestamp_seconds":1778213908,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ceee20"} 
[2026-05-08 09:49:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:49:21] 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-05-08 09:49:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:49:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:49:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:49:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:49:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:49:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:49:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:49:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:49:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:49:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:49:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:49:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222758656001,"66":28376,"248":206,"2":56576,"24":59,"16":110227251865321472,"45":2611454494322720768},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-05-08 09:49:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:49:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:49:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222758656001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:49:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110227251865321472,"km_value":110227251865321.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:49:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2611454494322720768,"description":"Unknown IO ID 45"} 
[2026-05-08 09:49:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222758656001,"power":28376,"tamper_alert":206,"power_alt":56576,"ignition":59,"odometer":null,"unknown_45":2611454494322720768}} 
[2026-05-08 09:49:21] local.INFO: DEBUG: GPS processor result {"connection_id":65733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:49:21] local.INFO: GPS data processed {"connection_id":65733,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:49:21] local.INFO: Acknowledgment sent {"connection_id":65733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:49:46] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:46] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:46] local.INFO: IMEI packet received {"connection_id":64994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:49:46] local.INFO: IMEI acknowledgment sent {"connection_id":64994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:49:48] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:48] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:48] local.INFO: IMEI packet received {"connection_id":64994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":64994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:49:51] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:51] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:49:51] local.INFO: IMEI packet received {"connection_id":64994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":64994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:49:52] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cf0590012d242ec006c97da8000c01582d..."} 
[2026-05-08 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cf0590012d242ec006c97da8000c01582d..."} 
[2026-05-08 09:49:52] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cf0590012d242ec006c97da8000c01582d..."} 
[2026-05-08 09:49:52] local.INFO: Packet analysis {"connection_id":64994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cf"} 
[2026-05-08 09:49:52] local.INFO: Extracted packet for processing {"connection_id":64994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cf"} 
[2026-05-08 09:49:52] local.INFO: GPS Element Parsed {"raw_longitude":757345984,"raw_latitude":113868200,"longitude_deg":75.7345984,"latitude_deg":11.38682,"altitude":12,"angle":344,"satellites":45,"speed":58,"hex_longitude":"2d242ec0","hex_latitude":"06c97da8","is_valid_coordinates":true} 
[2026-05-08 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222760448001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110227685657018368,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2609273063255797760,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1778213914000,"timestamp_ms":1778213914000,"timestamp_seconds":1778213914,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cf0590"} 
[2026-05-08 09:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:49: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-05-08 09:49:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:49:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:49:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":64994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":64994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":64994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222760448001,"66":28376,"248":206,"2":56576,"24":58,"16":110227685657018368,"45":2609273063255797760},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-05-08 09:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222760448001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110227685657018368,"km_value":110227685657018.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2609273063255797760,"description":"Unknown IO ID 45"} 
[2026-05-08 09:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222760448001,"power":28376,"tamper_alert":206,"power_alt":56576,"ignition":58,"odometer":null,"unknown_45":2609273063255797760}} 
[2026-05-08 09:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":64994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:49:52] local.INFO: GPS data processed {"connection_id":64994,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:49:52] local.INFO: Acknowledgment sent {"connection_id":64994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:49:52] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:52] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:52] local.INFO: IMEI packet received {"connection_id":64890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":64890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:49:58] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:58] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:49:58] local.INFO: IMEI packet received {"connection_id":64890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":64890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:49:59] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:59] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cb8af0012d34c54006aa5070000000622c..."} 
[2026-05-08 09:49:59] local.INFO: Packet analysis {"connection_id":64890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:49:59] local.INFO: Extracted packet for processing {"connection_id":64890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cb"} 
[2026-05-08 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222626560001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:49: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-05-08 09:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213686000,"timestamp_ms":1778213686000,"timestamp_seconds":1778213686,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cb8af0"} 
[2026-05-08 09:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 09:49:59] 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-05-08 09: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-05-08 09:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222626560001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222626560001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222626560001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":64890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:49:59] local.INFO: GPS data processed {"connection_id":64890,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:49:59] local.INFO: Acknowledgment sent {"connection_id":64890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:50:24] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05cf20e8012d24228006c9a268000c01532d..."} 
[2026-05-08 09:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05cf20e8012d24228006c9a268000c01532d..."} 
[2026-05-08 09:50:24] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05cf20e8012d24228006c9a268000c01532d..."} 
[2026-05-08 09:50:24] local.INFO: Packet analysis {"connection_id":64994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05cf"} 
[2026-05-08 09:50:24] local.INFO: Extracted packet for processing {"connection_id":64994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05cf"} 
[2026-05-08 09:50:24] local.INFO: GPS Element Parsed {"raw_longitude":757342848,"raw_latitude":113877608,"longitude_deg":75.7342848,"latitude_deg":11.3877608,"altitude":12,"angle":339,"satellites":45,"speed":54,"hex_longitude":"2d242280","hex_latitude":"06c9a268","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222761984001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110228166693355520,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2607232369676888064,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778213921000,"timestamp_ms":1778213921000,"timestamp_seconds":1778213921,"priority":1,"record_length":96,"hex_timestamp":"0000019e05cf20e8"} 
[2026-05-08 09:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:50: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-05-08 09: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":64994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":64994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":64994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222761984001,"66":28028,"248":206,"2":56576,"24":54,"16":110228166693355520,"45":2607232369676888064},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-05-08 09:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222761984001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110228166693355520,"km_value":110228166693355.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2607232369676888064,"description":"Unknown IO ID 45"} 
[2026-05-08 09:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222761984001,"power":28028,"tamper_alert":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":2607232369676888064}} 
[2026-05-08 09:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":64994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:50:24] local.INFO: GPS data processed {"connection_id":64994,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:50:24] local.INFO: Acknowledgment sent {"connection_id":64994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:50:30] local.INFO: TCP Data received {"connection_id":64890,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:50:30] local.INFO: Processing buffer {"connection_id":64890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:50:30] local.INFO: Packet analysis {"connection_id":64890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:50:30] local.INFO: Extracted packet for processing {"connection_id":64890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:50: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-05-08 09:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:50:30] 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-05-08 09:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":64890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:50:30] local.INFO: GPS data processed {"connection_id":64890,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:50:30] local.INFO: Acknowledgment sent {"connection_id":64890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:50:42] local.INFO: TCP Data received {"connection_id":65734,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:42] local.INFO: Processing buffer {"connection_id":65734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:42] local.INFO: IMEI packet received {"connection_id":65734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":65734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:50:42] local.INFO: TCP Data received {"connection_id":65734,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:42] local.INFO: Processing buffer {"connection_id":65734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:42] local.INFO: IMEI packet received {"connection_id":65734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":65734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:50:47] local.INFO: TCP Data received {"connection_id":65734,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:47] local.INFO: Processing buffer {"connection_id":65734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:50:47] local.INFO: IMEI packet received {"connection_id":65734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:50:47] local.INFO: IMEI acknowledgment sent {"connection_id":65734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:50:48] local.INFO: TCP Data received {"connection_id":65734,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d00f30012d23320006ca5908000e01412b..."} 
[2026-05-08 09:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d00f30012d23320006ca5908000e01412b..."} 
[2026-05-08 09:50:48] local.INFO: Processing buffer {"connection_id":65734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d00f30012d23320006ca5908000e01412b..."} 
[2026-05-08 09:50:48] local.INFO: Packet analysis {"connection_id":65734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:50:48] local.INFO: Extracted packet for processing {"connection_id":65734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:50:48] local.INFO: GPS Element Parsed {"raw_longitude":757281280,"raw_latitude":113924360,"longitude_deg":75.728128,"latitude_deg":11.392436,"altitude":14,"angle":321,"satellites":43,"speed":54,"hex_longitude":"2d233200","hex_latitude":"06ca5908","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222778112001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110232165307908096,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2541437593883938816,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778213982000,"timestamp_ms":1778213982000,"timestamp_seconds":1778213982,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d00f30"} 
[2026-05-08 09:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:50: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-05-08 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 09:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222778112001,"66":28495,"118":206,"2":56576,"24":54,"16":110232165307908096,"45":2541437593883938816},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-05-08 09:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222778112001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:50:48] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-05-08 09:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110232165307908096,"km_value":110232165307908.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2541437593883938816,"description":"Unknown IO ID 45"} 
[2026-05-08 09:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222778112001,"power":28495,"unknown_118":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":2541437593883938816}} 
[2026-05-08 09:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":65734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:50:48] local.INFO: GPS data processed {"connection_id":65734,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:50:48] local.INFO: Acknowledgment sent {"connection_id":65734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:50:52] local.INFO: TCP Data received {"connection_id":64995,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:50:52] local.INFO: Processing buffer {"connection_id":64995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:50:52] local.INFO: IMEI packet received {"connection_id":64995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":64995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:50:58] local.INFO: TCP Data received {"connection_id":64995,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:50:58] local.INFO: Processing buffer {"connection_id":64995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:50:58] local.INFO: IMEI packet received {"connection_id":64995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":64995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:50:59] local.INFO: TCP Data received {"connection_id":64995,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:50:59] local.INFO: Processing buffer {"connection_id":64995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:50:59] local.INFO: Packet analysis {"connection_id":64995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:50:59] local.INFO: Extracted packet for processing {"connection_id":64995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:50: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-05-08 09:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:50:59] 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-05-08 09:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":64995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:50:59] local.INFO: GPS data processed {"connection_id":64995,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:50:59] local.INFO: Acknowledgment sent {"connection_id":64995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:51:19] local.INFO: TCP Data received {"connection_id":65734,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d02a88012d231b0006ca7660000d01402a..."} 
[2026-05-08 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d02a88012d231b0006ca7660000d01402a..."} 
[2026-05-08 09:51:19] local.INFO: Processing buffer {"connection_id":65734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d02a88012d231b0006ca7660000d01402a..."} 
[2026-05-08 09:51:19] local.INFO: Packet analysis {"connection_id":65734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:51:19] local.INFO: Extracted packet for processing {"connection_id":65734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:51:19] local.INFO: GPS Element Parsed {"raw_longitude":757275392,"raw_latitude":113931872,"longitude_deg":75.7275392,"latitude_deg":11.3931872,"altitude":13,"angle":320,"satellites":42,"speed":53,"hex_longitude":"2d231b00","hex_latitude":"06ca7660","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222779392001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110232624869408768,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2536089569327646720,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,118,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778213989000,"timestamp_ms":1778213989000,"timestamp_seconds":1778213989,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d02a88"} 
[2026-05-08 09:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:51: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-05-08 09: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-05-08 09:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222779392001,"66":28398,"118":206,"2":56576,"24":53,"16":110232624869408768,"45":2536089569327646720},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-05-08 09:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222779392001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:51:19] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-05-08 09:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110232624869408768,"km_value":110232624869408.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2536089569327646720,"description":"Unknown IO ID 45"} 
[2026-05-08 09:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222779392001,"power":28398,"unknown_118":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2536089569327646720}} 
[2026-05-08 09:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":65734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:51:20] local.INFO: GPS data processed {"connection_id":65734,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:51:20] local.INFO: Acknowledgment sent {"connection_id":65734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:51:30] local.INFO: TCP Data received {"connection_id":64995,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:51:30] local.INFO: Processing buffer {"connection_id":64995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:51:30] local.INFO: Packet analysis {"connection_id":64995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:51:30] local.INFO: Extracted packet for processing {"connection_id":64995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:51: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-05-08 09:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:51:30] 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-05-08 09:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:51:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":64995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:51:30] local.INFO: GPS data processed {"connection_id":64995,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:51:30] local.INFO: Acknowledgment sent {"connection_id":64995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:51:42] local.INFO: TCP Data received {"connection_id":65735,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:51:42] local.INFO: Processing buffer {"connection_id":65735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:51:42] local.INFO: IMEI packet received {"connection_id":65735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":65735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:51:45] local.INFO: TCP Data received {"connection_id":65735,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65735,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:51:45] local.INFO: Processing buffer {"connection_id":65735,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:51:45] local.INFO: IMEI packet received {"connection_id":65735,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":65735,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:51:45] local.INFO: TCP Data received {"connection_id":65735,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d13fe0012d22648006cbb468000801312b..."} 
[2026-05-08 09:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d13fe0012d22648006cbb468000801312b..."} 
[2026-05-08 09:51:45] local.INFO: Processing buffer {"connection_id":65735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d13fe0012d22648006cbb468000801312b..."} 
[2026-05-08 09:51:45] local.INFO: Packet analysis {"connection_id":65735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:51:45] local.INFO: Extracted packet for processing {"connection_id":65735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:51:45] local.INFO: GPS Element Parsed {"raw_longitude":757228672,"raw_latitude":114013288,"longitude_deg":75.7228672,"latitude_deg":11.4013288,"altitude":8,"angle":305,"satellites":43,"speed":53,"hex_longitude":"2d226480","hex_latitude":"06cbb468","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222797568001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110237237664284672,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2486338867215273984,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1778214060000,"timestamp_ms":1778214060000,"timestamp_seconds":1778214060,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d13fe0"} 
[2026-05-08 09:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":65735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":65735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":65735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222797568001,"66":28376,"240":206,"2":56576,"24":53,"16":110237237664284672,"45":2486338867215273984},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222797568001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:51:45] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110237237664284672,"km_value":110237237664284.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2486338867215273984,"description":"Unknown IO ID 45"} 
[2026-05-08 09:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222797568001,"power":28376,"unknown_240":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2486338867215273984}} 
[2026-05-08 09:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":65735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:51:45] local.INFO: GPS data processed {"connection_id":65735,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:51:45] local.INFO: Acknowledgment sent {"connection_id":65735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:51:52] local.INFO: TCP Data received {"connection_id":64930,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:51:52] local.INFO: Processing buffer {"connection_id":64930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:51:52] local.INFO: IMEI packet received {"connection_id":64930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":64930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:51:58] local.INFO: TCP Data received {"connection_id":64930,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:51:58] local.INFO: Processing buffer {"connection_id":64930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:51:58] local.INFO: IMEI packet received {"connection_id":64930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":64930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:51:59] local.INFO: TCP Data received {"connection_id":64930,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:51:59] local.INFO: Processing buffer {"connection_id":64930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:51:59] local.INFO: Packet analysis {"connection_id":64930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:51:59] local.INFO: Extracted packet for processing {"connection_id":64930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:51: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-05-08 09:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:51:59] 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-05-08 09:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":64930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:51:59] local.INFO: GPS data processed {"connection_id":64930,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:51:59] local.INFO: Acknowledgment sent {"connection_id":64930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:52:18] local.INFO: TCP Data received {"connection_id":65735,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d13fe0012d22648006cbb468000801312b..."} 
[2026-05-08 09:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d13fe0012d22648006cbb468000801312b..."} 
[2026-05-08 09:52:18] local.INFO: Processing buffer {"connection_id":65735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d13fe0012d22648006cbb468000801312b..."} 
[2026-05-08 09:52:18] local.INFO: Packet analysis {"connection_id":65735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:52:18] local.INFO: Extracted packet for processing {"connection_id":65735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:52:18] local.INFO: GPS Element Parsed {"raw_longitude":757228672,"raw_latitude":114013288,"longitude_deg":75.7228672,"latitude_deg":11.4013288,"altitude":8,"angle":305,"satellites":43,"speed":53,"hex_longitude":"2d226480","hex_latitude":"06cbb468","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222799360001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110237237664284672,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2478246461636372480,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1778214060000,"timestamp_ms":1778214060000,"timestamp_seconds":1778214060,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d13fe0"} 
[2026-05-08 09:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":65735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":65735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":65735,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222799360001,"66":28376,"240":206,"2":56576,"24":53,"16":110237237664284672,"45":2478246461636372480},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222799360001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:52:18] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110237237664284672,"km_value":110237237664284.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2478246461636372480,"description":"Unknown IO ID 45"} 
[2026-05-08 09:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222799360001,"power":28376,"unknown_240":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2478246461636372480}} 
[2026-05-08 09:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":65735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:52:18] local.INFO: GPS data processed {"connection_id":65735,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:52:18] local.INFO: Acknowledgment sent {"connection_id":65735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:52:31] local.INFO: TCP Data received {"connection_id":64930,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:52:31] local.INFO: Processing buffer {"connection_id":64930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:52:31] local.INFO: Packet analysis {"connection_id":64930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:52:31] local.INFO: Extracted packet for processing {"connection_id":64930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:52:31] 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-05-08 09: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-05-08 09:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":64930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:52:31] local.INFO: GPS data processed {"connection_id":64930,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:52:31] local.INFO: Acknowledgment sent {"connection_id":64930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:52:41] local.INFO: TCP Data received {"connection_id":64996,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:52:41] local.INFO: Processing buffer {"connection_id":64996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:52:41] local.INFO: IMEI packet received {"connection_id":64996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":64996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:52:47] local.INFO: TCP Data received {"connection_id":64996,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:52:47] local.INFO: Processing buffer {"connection_id":64996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:52:47] local.INFO: IMEI packet received {"connection_id":64996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:52:47] local.INFO: IMEI acknowledgment sent {"connection_id":64996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:52:48] local.INFO: TCP Data received {"connection_id":64996,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d15b38012d22468006cbca50000801352b..."} 
[2026-05-08 09:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d15b38012d22468006cbca50000801352b..."} 
[2026-05-08 09:52:48] local.INFO: Processing buffer {"connection_id":64996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d15b38012d22468006cbca50000801352b..."} 
[2026-05-08 09:52:48] local.INFO: Packet analysis {"connection_id":64996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:52:48] local.INFO: Extracted packet for processing {"connection_id":64996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:52:48] local.INFO: GPS Element Parsed {"raw_longitude":757220992,"raw_latitude":114018896,"longitude_deg":75.7220992,"latitude_deg":11.4018896,"altitude":8,"angle":309,"satellites":43,"speed":53,"hex_longitude":"2d224680","hex_latitude":"06cbca50","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222799360001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110237692930818048,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2478246461636372480,"note":"Value kept but may cause issues"} 
[2026-05-08 09:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214067000,"timestamp_ms":1778214067000,"timestamp_seconds":1778214067,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d15b38"} 
[2026-05-08 09:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:52: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-05-08 09: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:52:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222799360001,"66":28354,"240":206,"2":56576,"24":53,"16":110237692930818048,"45":2478246461636372480},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222799360001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:52:48] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110237692930818048,"km_value":110237692930818.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2478246461636372480,"description":"Unknown IO ID 45"} 
[2026-05-08 09:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222799360001,"power":28354,"unknown_240":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2478246461636372480}} 
[2026-05-08 09:52:48] local.INFO: DEBUG: GPS processor result {"connection_id":64996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:52:48] local.INFO: GPS data processed {"connection_id":64996,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:52:48] local.INFO: Acknowledgment sent {"connection_id":64996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:52:58] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:52:58] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:52:58] local.INFO: IMEI packet received {"connection_id":64891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":64891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:53:03] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:03] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:03] local.INFO: IMEI packet received {"connection_id":64891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":64891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:53:04] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:04] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:04] local.INFO: Packet analysis {"connection_id":64891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:53:04] local.INFO: Extracted packet for processing {"connection_id":64891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:53:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:53:04] 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-05-08 09: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-05-08 09:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":64891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:53:04] local.INFO: GPS data processed {"connection_id":64891,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:53:04] local.INFO: Acknowledgment sent {"connection_id":64891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:53:09] local.INFO: TCP Data received {"connection_id":64891,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:09] local.INFO: Processing buffer {"connection_id":64891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:09] local.INFO: Packet analysis {"connection_id":64891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:53:09] local.INFO: Extracted packet for processing {"connection_id":64891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:53: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-05-08 09: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:53: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-05-08 09: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-05-08 09:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:53:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:53:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":64891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:53:09] local.INFO: GPS data processed {"connection_id":64891,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:53:09] local.INFO: Acknowledgment sent {"connection_id":64891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:53:20] local.INFO: TCP Data received {"connection_id":64996,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d17690012d222cc006cbe5280008014126..."} 
[2026-05-08 09:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d17690012d222cc006cbe5280008014126..."} 
[2026-05-08 09:53:20] local.INFO: Processing buffer {"connection_id":64996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d17690012d222cc006cbe5280008014126..."} 
[2026-05-08 09:53:20] local.INFO: Packet analysis {"connection_id":64996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:53:20] local.INFO: Extracted packet for processing {"connection_id":64996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:53:20] local.INFO: GPS Element Parsed {"raw_longitude":757214400,"raw_latitude":114025768,"longitude_deg":75.72144,"latitude_deg":11.4025768,"altitude":8,"angle":321,"satellites":38,"speed":53,"hex_longitude":"2d222cc0","hex_latitude":"06cbe528","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:53:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222801152001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110238152492318720,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2469802212336488448,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:53:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778214074000,"timestamp_ms":1778214074000,"timestamp_seconds":1778214074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d17690"} 
[2026-05-08 09:53:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:53: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-05-08 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:53:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:53:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:53:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:53:20] local.INFO: Teltonika packet parsed successfully {"connection_id":64996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:53:20] local.INFO: Passing IMEI to GPS processor {"connection_id":64996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:53:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":64996,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:53:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:53:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:53:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:53:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222801152001,"66":28419,"240":206,"2":56576,"24":53,"16":110238152492318720,"45":2469802212336488448},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:53:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:53:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:53:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222801152001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:53:20] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:53:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110238152492318720,"km_value":110238152492318.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:53:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2469802212336488448,"description":"Unknown IO ID 45"} 
[2026-05-08 09:53:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222801152001,"power":28419,"unknown_240":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2469802212336488448}} 
[2026-05-08 09:53:20] local.INFO: DEBUG: GPS processor result {"connection_id":64996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121295,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:53:20] local.INFO: GPS data processed {"connection_id":64996,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:53:20] local.INFO: Acknowledgment sent {"connection_id":64996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:53:41] local.INFO: TCP Data received {"connection_id":65736,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:53:41] local.INFO: Processing buffer {"connection_id":65736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:53:41] local.INFO: IMEI packet received {"connection_id":65736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":65736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:53:47] local.INFO: TCP Data received {"connection_id":65736,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:53:47] local.INFO: Processing buffer {"connection_id":65736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:53:47] local.INFO: IMEI packet received {"connection_id":65736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":65736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:53:48] local.INFO: TCP Data received {"connection_id":65736,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d17690012d222cc006cbe5280008014126..."} 
[2026-05-08 09:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d17690012d222cc006cbe5280008014126..."} 
[2026-05-08 09:53:48] local.INFO: Processing buffer {"connection_id":65736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d17690012d222cc006cbe5280008014126..."} 
[2026-05-08 09:53:48] local.INFO: Packet analysis {"connection_id":65736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:53:48] local.INFO: Extracted packet for processing {"connection_id":65736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d1"} 
[2026-05-08 09:53:48] local.INFO: GPS Element Parsed {"raw_longitude":757214400,"raw_latitude":114025768,"longitude_deg":75.72144,"latitude_deg":11.4025768,"altitude":8,"angle":321,"satellites":38,"speed":53,"hex_longitude":"2d222cc0","hex_latitude":"06cbe528","is_valid_coordinates":true} 
[2026-05-08 09:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222802944001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110238152492318720,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2462554231687948288,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214074000,"timestamp_ms":1778214074000,"timestamp_seconds":1778214074,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d17690"} 
[2026-05-08 09:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:53: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-05-08 09:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-05-08 09:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222802944001,"66":28419,"240":206,"2":56576,"24":53,"16":110238152492318720,"45":2462554231687948288},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222802944001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:53:48] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110238152492318720,"km_value":110238152492318.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2462554231687948288,"description":"Unknown IO ID 45"} 
[2026-05-08 09:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222802944001,"power":28419,"unknown_240":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2462554231687948288}} 
[2026-05-08 09:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":65736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:53:48] local.INFO: GPS data processed {"connection_id":65736,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:53:48] local.INFO: Acknowledgment sent {"connection_id":65736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:53:53] local.INFO: TCP Data received {"connection_id":65737,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:53] local.INFO: Processing buffer {"connection_id":65737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:53] local.INFO: IMEI packet received {"connection_id":65737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":65737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:53:58] local.INFO: TCP Data received {"connection_id":65737,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:58] local.INFO: Processing buffer {"connection_id":65737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:53:58] local.INFO: IMEI packet received {"connection_id":65737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":65737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:53:59] local.INFO: TCP Data received {"connection_id":65737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:59] local.INFO: Processing buffer {"connection_id":65737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:53:59] local.INFO: Packet analysis {"connection_id":65737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:53:59] local.INFO: Extracted packet for processing {"connection_id":65737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:53: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-05-08 09:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:53:59] 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-05-08 09:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:53:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":65737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:53:59] local.INFO: GPS data processed {"connection_id":65737,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:53:59] local.INFO: Acknowledgment sent {"connection_id":65737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:54:04] local.INFO: TCP Data received {"connection_id":65737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:04] local.INFO: Processing buffer {"connection_id":65737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:04] local.INFO: Packet analysis {"connection_id":65737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:54:04] local.INFO: Extracted packet for processing {"connection_id":65737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:54:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:54:04] 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-05-08 09:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:54:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:54:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":65737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:54:04] local.INFO: GPS data processed {"connection_id":65737,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:54:04] local.INFO: Acknowledgment sent {"connection_id":65737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:54:20] local.INFO: TCP Data received {"connection_id":65736,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d2f178012d21b08006ccfde8000601522a..."} 
[2026-05-08 09:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d2f178012d21b08006ccfde8000601522a..."} 
[2026-05-08 09:54:20] local.INFO: Processing buffer {"connection_id":65736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d2f178012d21b08006ccfde8000601522a..."} 
[2026-05-08 09:54:20] local.INFO: Packet analysis {"connection_id":65736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d2"} 
[2026-05-08 09:54:20] local.INFO: Extracted packet for processing {"connection_id":65736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d2"} 
[2026-05-08 09:54:20] local.INFO: GPS Element Parsed {"raw_longitude":757182592,"raw_latitude":114097640,"longitude_deg":75.7182592,"latitude_deg":11.409764,"altitude":6,"angle":338,"satellites":42,"speed":22,"hex_longitude":"2d21b080","hex_latitude":"06ccfde8","is_valid_coordinates":true} 
[2026-05-08 09:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222823680001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110241992193081344,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2430325346870648832,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778214171000,"timestamp_ms":1778214171000,"timestamp_seconds":1778214171,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d2f178"} 
[2026-05-08 09:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09: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-05-08 09:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 09:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222823680001,"66":28376,"240":206,"2":56576,"24":22,"16":110241992193081344,"45":2430325346870648832},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222823680001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:54:20] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110241992193081344,"km_value":110241992193081.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2430325346870648832,"description":"Unknown IO ID 45"} 
[2026-05-08 09:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222823680001,"power":28376,"unknown_240":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":2430325346870648832}} 
[2026-05-08 09:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":65736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:54:20] local.INFO: GPS data processed {"connection_id":65736,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:54:20] local.INFO: Acknowledgment sent {"connection_id":65736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:54:36] local.INFO: TCP Data received {"connection_id":65737,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:36] local.INFO: Processing buffer {"connection_id":65737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:36] local.INFO: Packet analysis {"connection_id":65737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:54:36] local.INFO: Extracted packet for processing {"connection_id":65737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:54:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:54:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:54:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:54:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:54:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:54: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-05-08 09: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-05-08 09:54:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:54:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:54:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:54:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:54:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:54:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:54:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:54:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:54:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:54:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:54:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:54:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:54:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:54:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:54:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:54:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:54:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:54:36] local.INFO: DEBUG: GPS processor result {"connection_id":65737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:54:36] local.INFO: GPS data processed {"connection_id":65737,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:54:36] local.INFO: Acknowledgment sent {"connection_id":65737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:54:53] local.INFO: TCP Data received {"connection_id":64932,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:54:53] local.INFO: Processing buffer {"connection_id":64932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:54:53] local.INFO: IMEI packet received {"connection_id":64932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":64932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:54:58] local.INFO: TCP Data received {"connection_id":64932,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:54:58] local.INFO: Processing buffer {"connection_id":64932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:54:58] local.INFO: IMEI packet received {"connection_id":64932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":64932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:54:59] local.INFO: TCP Data received {"connection_id":64932,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:59] local.INFO: Processing buffer {"connection_id":64932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d022b8012d34c54006aa50700000006228..."} 
[2026-05-08 09:54:59] local.INFO: Packet analysis {"connection_id":64932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:54:59] local.INFO: Extracted packet for processing {"connection_id":64932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d0"} 
[2026-05-08 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222703616001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:54: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-05-08 09:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778213987000,"timestamp_ms":1778213987000,"timestamp_seconds":1778213987,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d022b8"} 
[2026-05-08 09:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 09:54:59] 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-05-08 09:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222703616001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222703616001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222703616001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":64932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:54:59] local.INFO: GPS data processed {"connection_id":64932,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:54:59] local.INFO: Acknowledgment sent {"connection_id":64932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:55:00] local.INFO: TCP Data received {"connection_id":64931,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:00] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:00] local.INFO: IMEI packet received {"connection_id":64931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":64931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:55:04] local.INFO: TCP Data received {"connection_id":64931,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:04] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:04] local.INFO: IMEI packet received {"connection_id":64931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":64931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:55:08] local.INFO: TCP Data received {"connection_id":64931,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d34380012d21a70006cd12d80002015328..."} 
[2026-05-08 09:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d34380012d21a70006cd12d80002015328..."} 
[2026-05-08 09:55:08] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d34380012d21a70006cd12d80002015328..."} 
[2026-05-08 09:55:08] local.INFO: Packet analysis {"connection_id":64931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d3"} 
[2026-05-08 09:55:08] local.INFO: Extracted packet for processing {"connection_id":64931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d3"} 
[2026-05-08 09:55:08] local.INFO: GPS Element Parsed {"raw_longitude":757180160,"raw_latitude":114103000,"longitude_deg":75.718016,"latitude_deg":11.4103,"altitude":2,"angle":339,"satellites":40,"speed":8,"hex_longitude":"2d21a700","hex_latitude":"06cd12d8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 09:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222827776001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110242275660922880,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2427580965850048512,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778214192000,"timestamp_ms":1778214192000,"timestamp_seconds":1778214192,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d34380"} 
[2026-05-08 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-05-08 09:55:08] 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-05-08 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 09:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":64931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":64931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":64931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222827776001,"66":28354,"240":206,"2":56576,"24":8,"16":110242275660922880,"45":2427580965850048512},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222827776001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:55:08] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110242275660922880,"km_value":110242275660922.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":2427580965850048512,"description":"Unknown IO ID 45"} 
[2026-05-08 09:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222827776001,"power":28354,"unknown_240":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":2427580965850048512}} 
[2026-05-08 09:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":64931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:55:08] local.INFO: GPS data processed {"connection_id":64931,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:55:08] local.INFO: Acknowledgment sent {"connection_id":64931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:55:09] local.INFO: TCP Data received {"connection_id":64931,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d391a0012d21948006cd32780008014c23..."} 
[2026-05-08 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d391a0012d21948006cd32780008014c23..."} 
[2026-05-08 09:55:09] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d391a0012d21948006cd32780008014c23..."} 
[2026-05-08 09:55:09] local.INFO: Packet analysis {"connection_id":64931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d3"} 
[2026-05-08 09:55:09] local.INFO: Extracted packet for processing {"connection_id":64931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d3"} 
[2026-05-08 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":757175424,"raw_latitude":114111096,"longitude_deg":75.7175424,"latitude_deg":11.4111096,"altitude":8,"angle":332,"satellites":35,"speed":24,"hex_longitude":"2d219480","hex_latitude":"06cd3278","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222833152001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110242730927456256,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2424906953572669440,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778214212000,"timestamp_ms":1778214212000,"timestamp_seconds":1778214212,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d391a0"} 
[2026-05-08 09:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 09:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222833152001,"66":28430,"240":206,"2":56576,"24":24,"16":110242730927456256,"45":2424906953572669440},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222833152001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:55:09] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110242730927456256,"km_value":110242730927456.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2424906953572669440,"description":"Unknown IO ID 45"} 
[2026-05-08 09:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222833152001,"power":28430,"unknown_240":206,"power_alt":56576,"ignition":24,"odometer":null,"unknown_45":2424906953572669440}} 
[2026-05-08 09:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":64931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:55:09] local.INFO: GPS data processed {"connection_id":64931,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:55:09] local.INFO: Acknowledgment sent {"connection_id":64931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:55:31] local.INFO: TCP Data received {"connection_id":64932,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:55:31] local.INFO: Processing buffer {"connection_id":64932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:55:31] local.INFO: Packet analysis {"connection_id":64932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:55:31] local.INFO: Extracted packet for processing {"connection_id":64932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:55:31] 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-05-08 09:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:55:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:55:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":64932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:55:31] local.INFO: GPS data processed {"connection_id":64932,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:55:31] local.INFO: Acknowledgment sent {"connection_id":64932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:55:42] local.INFO: TCP Data received {"connection_id":65738,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:42] local.INFO: Processing buffer {"connection_id":65738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:42] local.INFO: IMEI packet received {"connection_id":65738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":65738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:55:44] local.INFO: TCP Data received {"connection_id":65738,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:44] local.INFO: Processing buffer {"connection_id":65738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:44] local.INFO: IMEI packet received {"connection_id":65738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":65738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:55:47] local.INFO: TCP Data received {"connection_id":65738,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:47] local.INFO: Processing buffer {"connection_id":65738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:55:47] local.INFO: IMEI packet received {"connection_id":65738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":65738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:55:48] local.INFO: TCP Data received {"connection_id":65738,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d3d7f0012d21820006cd5118000901482c..."} 
[2026-05-08 09:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d3d7f0012d21820006cd5118000901482c..."} 
[2026-05-08 09:55:48] local.INFO: Processing buffer {"connection_id":65738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d3d7f0012d21820006cd5118000901482c..."} 
[2026-05-08 09:55:48] local.INFO: Packet analysis {"connection_id":65738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d3"} 
[2026-05-08 09:55:48] local.INFO: Extracted packet for processing {"connection_id":65738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d3"} 
[2026-05-08 09:55:48] local.INFO: GPS Element Parsed {"raw_longitude":757170688,"raw_latitude":114118936,"longitude_deg":75.7170688,"latitude_deg":11.4118936,"altitude":9,"angle":328,"satellites":44,"speed":22,"hex_longitude":"2d218200","hex_latitude":"06cd5118","is_valid_coordinates":true} 
[2026-05-08 09:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222838272001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110243173309087744,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2419699666505594880,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214230000,"timestamp_ms":1778214230000,"timestamp_seconds":1778214230,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d3d7f0"} 
[2026-05-08 09:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:55: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-05-08 09:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-05-08 09:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222838272001,"66":28376,"240":206,"2":56576,"24":22,"16":110243173309087744,"45":2419699666505594880},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222838272001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:55:48] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110243173309087744,"km_value":110243173309087.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2419699666505594880,"description":"Unknown IO ID 45"} 
[2026-05-08 09:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222838272001,"power":28376,"unknown_240":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":2419699666505594880}} 
[2026-05-08 09:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":65738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:55:48] local.INFO: GPS data processed {"connection_id":65738,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:55:48] local.INFO: Acknowledgment sent {"connection_id":65738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:55:52] local.INFO: TCP Data received {"connection_id":64933,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:55:52] local.INFO: Processing buffer {"connection_id":64933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:55:52] local.INFO: IMEI packet received {"connection_id":64933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":64933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:55:53] local.INFO: TCP Data received {"connection_id":65738,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d40ab8012d216d8006cd6e40000901412d..."} 
[2026-05-08 09:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d40ab8012d216d8006cd6e40000901412d..."} 
[2026-05-08 09:55:53] local.INFO: Processing buffer {"connection_id":65738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d40ab8012d216d8006cd6e40000901412d..."} 
[2026-05-08 09:55:53] local.INFO: Packet analysis {"connection_id":65738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:55:53] local.INFO: Extracted packet for processing {"connection_id":65738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:55:53] local.INFO: GPS Element Parsed {"raw_longitude":757165440,"raw_latitude":114126400,"longitude_deg":75.716544,"latitude_deg":11.41264,"altitude":9,"angle":321,"satellites":45,"speed":32,"hex_longitude":"2d216d80","hex_latitude":"06cd6e40","is_valid_coordinates":true} 
[2026-05-08 09:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222842880001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110243611395751936,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2414492379438454784,"note":"Value kept but may cause issues"} 
[2026-05-08 09:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778214243000,"timestamp_ms":1778214243000,"timestamp_seconds":1778214243,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d40ab8"} 
[2026-05-08 09:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:55: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-05-08 09:55:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:55:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222842880001,"66":28419,"240":206,"2":56576,"24":32,"16":110243611395751936,"45":2414492379438454784},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222842880001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:55:53] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110243611395751936,"km_value":110243611395751.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2414492379438454784,"description":"Unknown IO ID 45"} 
[2026-05-08 09:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222842880001,"power":28419,"unknown_240":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":2414492379438454784}} 
[2026-05-08 09:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":65738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:55:53] local.INFO: GPS data processed {"connection_id":65738,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:55:53] local.INFO: Acknowledgment sent {"connection_id":65738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:55:58] local.INFO: TCP Data received {"connection_id":64933,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:55:58] local.INFO: Processing buffer {"connection_id":64933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:55:58] local.INFO: IMEI packet received {"connection_id":64933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":64933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:56:00] local.INFO: TCP Data received {"connection_id":64933,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:56:00] local.INFO: Processing buffer {"connection_id":64933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:56:00] local.INFO: Packet analysis {"connection_id":64933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:56:00] local.INFO: Extracted packet for processing {"connection_id":64933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56: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-05-08 09:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:56:00] 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-05-08 09:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:56:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":64933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:56:00] local.INFO: GPS data processed {"connection_id":64933,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:56:00] local.INFO: Acknowledgment sent {"connection_id":64933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:56:24] local.INFO: TCP Data received {"connection_id":65738,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d43d80012d21568006cd88d80009013d2c..."} 
[2026-05-08 09:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d43d80012d21568006cd88d80009013d2c..."} 
[2026-05-08 09:56:24] local.INFO: Processing buffer {"connection_id":65738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d43d80012d21568006cd88d80009013d2c..."} 
[2026-05-08 09:56:24] local.INFO: Packet analysis {"connection_id":65738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:56:24] local.INFO: Extracted packet for processing {"connection_id":65738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:56:24] local.INFO: GPS Element Parsed {"raw_longitude":757159552,"raw_latitude":114133208,"longitude_deg":75.7159552,"latitude_deg":11.4133208,"altitude":9,"angle":317,"satellites":44,"speed":18,"hex_longitude":"2d215680","hex_latitude":"06cd88d8","is_valid_coordinates":true} 
[2026-05-08 09:56: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-05-08 09:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222846208001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110244045187448832,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2408722142417797120,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,240,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778214256000,"timestamp_ms":1778214256000,"timestamp_seconds":1778214256,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d43d80"} 
[2026-05-08 09:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:56: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-05-08 09:56: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-05-08 09:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:56: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-05-08 09:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65738,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222846208001,"66":28419,"240":206,"2":56576,"24":18,"16":110244045187448832,"45":2408722142417797120},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-05-08 09:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222846208001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:56:24] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-05-08 09:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110244045187448832,"km_value":110244045187448.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2408722142417797120,"description":"Unknown IO ID 45"} 
[2026-05-08 09:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222846208001,"power":28419,"unknown_240":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":2408722142417797120}} 
[2026-05-08 09:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":65738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:56:24] local.INFO: GPS data processed {"connection_id":65738,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:56:24] local.INFO: Acknowledgment sent {"connection_id":65738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:56:32] local.INFO: TCP Data received {"connection_id":64933,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:56:32] local.INFO: Processing buffer {"connection_id":64933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:56:32] local.INFO: Packet analysis {"connection_id":64933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:56:32] local.INFO: Extracted packet for processing {"connection_id":64933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:56:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:56:32] 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-05-08 09:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:56:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:56:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":64933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:56:32] local.INFO: GPS data processed {"connection_id":64933,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:56:32] local.INFO: Acknowledgment sent {"connection_id":64933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:56:41] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:41] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:41] local.INFO: IMEI packet received {"connection_id":64997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":64997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:56:42] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:42] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:42] local.INFO: IMEI packet received {"connection_id":64997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:56:42] local.INFO: IMEI acknowledgment sent {"connection_id":64997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:56:46] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:46] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:56:46] local.INFO: IMEI packet received {"connection_id":64997,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:56:46] local.INFO: IMEI acknowledgment sent {"connection_id":64997,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:56:48] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d47430012d213d4006cda0f0000801392a..."} 
[2026-05-08 09:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d47430012d213d4006cda0f0000801392a..."} 
[2026-05-08 09:56:48] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d47430012d213d4006cda0f0000801392a..."} 
[2026-05-08 09:56:48] local.INFO: Packet analysis {"connection_id":64997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:56:48] local.INFO: Extracted packet for processing {"connection_id":64997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":757153088,"raw_latitude":114139376,"longitude_deg":75.7153088,"latitude_deg":11.4139376,"altitude":8,"angle":313,"satellites":42,"speed":32,"hex_longitude":"2d213d40","hex_latitude":"06cda0f0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222849536001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110244474684178432,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2402248217955194880,"note":"Value kept but may cause issues"} 
[2026-05-08 09:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214270000,"timestamp_ms":1778214270000,"timestamp_seconds":1778214270,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d47430"} 
[2026-05-08 09:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-05-08 09:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222849536001,"66":28452,"197":206,"2":56576,"24":32,"16":110244474684178432,"45":2402248217955194880},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-05-08 09:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222849536001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:56:48] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-05-08 09:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110244474684178432,"km_value":110244474684178.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2402248217955194880,"description":"Unknown IO ID 45"} 
[2026-05-08 09:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222849536001,"power":28452,"unknown_197":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":2402248217955194880}} 
[2026-05-08 09:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":64997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:56:48] local.INFO: GPS data processed {"connection_id":64997,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:56:48] local.INFO: Acknowledgment sent {"connection_id":64997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:56:52] local.INFO: TCP Data received {"connection_id":64998,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:56:52] local.INFO: Processing buffer {"connection_id":64998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:56:52] local.INFO: IMEI packet received {"connection_id":64998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":64998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:56:58] local.INFO: TCP Data received {"connection_id":64998,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:56:58] local.INFO: Processing buffer {"connection_id":64998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:56:58] local.INFO: IMEI packet received {"connection_id":64998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":64998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:57:00] local.INFO: TCP Data received {"connection_id":64998,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:57:00] local.INFO: Processing buffer {"connection_id":64998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:57:00] local.INFO: Packet analysis {"connection_id":64998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:00] local.INFO: Extracted packet for processing {"connection_id":64998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57: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-05-08 09:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:57:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:57:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:57:00] 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-05-08 09:57:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:57:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:57:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:57:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":64998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:57:00] local.INFO: GPS data processed {"connection_id":64998,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:57:00] local.INFO: Acknowledgment sent {"connection_id":64998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:57:19] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d49b40012d2122c006cdb890000901392c..."} 
[2026-05-08 09:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d49b40012d2122c006cdb890000901392c..."} 
[2026-05-08 09:57:19] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d49b40012d2122c006cdb890000901392c..."} 
[2026-05-08 09:57:19] local.INFO: Packet analysis {"connection_id":64997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:19] local.INFO: Extracted packet for processing {"connection_id":64997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":757146304,"raw_latitude":114145424,"longitude_deg":75.7146304,"latitude_deg":11.4145424,"altitude":9,"angle":313,"satellites":44,"speed":39,"hex_longitude":"2d2122c0","hex_latitude":"06cdb890","is_valid_coordinates":true} 
[2026-05-08 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222853120001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110244912770842624,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2395140974794829824,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778214280000,"timestamp_ms":1778214280000,"timestamp_seconds":1778214280,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d49b40"} 
[2026-05-08 09:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 09:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":64997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":64997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":64997,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222853120001,"66":28332,"73":206,"2":56576,"24":39,"16":110244912770842624,"45":2395140974794829824},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 09:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222853120001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:57:19] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 09:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110244912770842624,"km_value":110244912770842.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2395140974794829824,"description":"Unknown IO ID 45"} 
[2026-05-08 09:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222853120001,"power":28332,"unknown_73":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2395140974794829824}} 
[2026-05-08 09:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":64997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121312,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:57:19] local.INFO: GPS data processed {"connection_id":64997,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:57:19] local.INFO: Acknowledgment sent {"connection_id":64997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:57:33] local.INFO: TCP Data received {"connection_id":64998,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:57:33] local.INFO: Processing buffer {"connection_id":64998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:57:33] local.INFO: Packet analysis {"connection_id":64998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:33] local.INFO: Extracted packet for processing {"connection_id":64998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57: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-05-08 09:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:57: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-05-08 09: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:57:33] 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-05-08 09: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-05-08 09:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":64998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":64998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":64998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:57:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":64998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:57:33] local.INFO: GPS data processed {"connection_id":64998,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:57:33] local.INFO: Acknowledgment sent {"connection_id":64998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:57:41] local.INFO: TCP Data received {"connection_id":64934,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:41] local.INFO: Processing buffer {"connection_id":64934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:41] local.INFO: IMEI packet received {"connection_id":64934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":64934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:57:45] local.INFO: TCP Data received {"connection_id":64934,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:45] local.INFO: Processing buffer {"connection_id":64934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:45] local.INFO: IMEI packet received {"connection_id":64934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":64934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:57:46] local.INFO: TCP Data received {"connection_id":64934,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:46] local.INFO: Processing buffer {"connection_id":64934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:57:46] local.INFO: IMEI packet received {"connection_id":64934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":64934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:57:48] local.INFO: TCP Data received {"connection_id":64934,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d210e4006cdd098000901452d..."} 
[2026-05-08 09:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d210e4006cdd098000901452d..."} 
[2026-05-08 09:57:48] local.INFO: Processing buffer {"connection_id":64934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d210e4006cdd098000901452d..."} 
[2026-05-08 09:57:48] local.INFO: Packet analysis {"connection_id":64934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:48] local.INFO: Extracted packet for processing {"connection_id":64934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:48] local.INFO: GPS Element Parsed {"raw_longitude":757141056,"raw_latitude":114151576,"longitude_deg":75.7141056,"latitude_deg":11.4151576,"altitude":9,"angle":325,"satellites":45,"speed":41,"hex_longitude":"2d210e40","hex_latitude":"06cdd098","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222855680001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110245299317899264,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2387681887913545728,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-05-08 09:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222855680001,"66":28452,"73":206,"2":56576,"24":41,"16":110245299317899264,"45":2387681887913545728},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 09:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222855680001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:57:48] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 09:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110245299317899264,"km_value":110245299317899.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2387681887913545728,"description":"Unknown IO ID 45"} 
[2026-05-08 09:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222855680001,"power":28452,"unknown_73":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":2387681887913545728}} 
[2026-05-08 09:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":64934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:57:48] local.INFO: GPS data processed {"connection_id":64934,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:57:48] local.INFO: Acknowledgment sent {"connection_id":64934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:57:53] local.INFO: TCP Data received {"connection_id":64934,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4dda8012d20fa8006cdf148000a014b2c..."} 
[2026-05-08 09:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4dda8012d20fa8006cdf148000a014b2c..."} 
[2026-05-08 09:57:53] local.INFO: Processing buffer {"connection_id":64934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4dda8012d20fa8006cdf148000a014b2c..."} 
[2026-05-08 09:57:53] local.INFO: Packet analysis {"connection_id":64934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:53] local.INFO: Extracted packet for processing {"connection_id":64934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:57:53] local.INFO: GPS Element Parsed {"raw_longitude":757136000,"raw_latitude":114159944,"longitude_deg":75.7136,"latitude_deg":11.4159944,"altitude":10,"angle":331,"satellites":44,"speed":43,"hex_longitude":"2d20fa80","hex_latitude":"06cdf148","is_valid_coordinates":true} 
[2026-05-08 09:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:57:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110245771764301824,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2381911650892552192,"note":"Value kept but may cause issues"} 
[2026-05-08 09:57:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:57:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778214297000,"timestamp_ms":1778214297000,"timestamp_seconds":1778214297,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4dda8"} 
[2026-05-08 09:57:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:57: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-05-08 09:57:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 09:57:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:57:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:57:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:57:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:57:53] local.INFO: Teltonika packet parsed successfully {"connection_id":64934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:57:53] local.INFO: Passing IMEI to GPS processor {"connection_id":64934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:57:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":64934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:57:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:57:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:57:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:57:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":28234,"73":206,"2":56576,"24":43,"16":110245771764301824,"45":2381911650892552192},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 09:57:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:57:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:57:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:57:53] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 09:57:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110245771764301824,"km_value":110245771764301.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:57:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2381911650892552192,"description":"Unknown IO ID 45"} 
[2026-05-08 09:57:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":28234,"unknown_73":206,"power_alt":56576,"ignition":43,"odometer":null,"unknown_45":2381911650892552192}} 
[2026-05-08 09:57:53] local.INFO: DEBUG: GPS processor result {"connection_id":64934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:57:53] local.INFO: GPS data processed {"connection_id":64934,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:57:53] local.INFO: Acknowledgment sent {"connection_id":64934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:57:58] local.INFO: TCP Data received {"connection_id":64892,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:57:58] local.INFO: Processing buffer {"connection_id":64892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:57:58] local.INFO: IMEI packet received {"connection_id":64892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":64892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:58:03] local.INFO: TCP Data received {"connection_id":64892,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:03] local.INFO: Processing buffer {"connection_id":64892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:03] local.INFO: IMEI packet received {"connection_id":64892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":64892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:58:04] local.INFO: TCP Data received {"connection_id":64892,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:04] local.INFO: Processing buffer {"connection_id":64892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:04] local.INFO: Packet analysis {"connection_id":64892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:58:04] local.INFO: Extracted packet for processing {"connection_id":64892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:58: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-05-08 09: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-05-08 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":64892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:58:04] local.INFO: GPS data processed {"connection_id":64892,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:58:04] local.INFO: Acknowledgment sent {"connection_id":64892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:58:09] local.INFO: TCP Data received {"connection_id":64892,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:09] local.INFO: Processing buffer {"connection_id":64892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:09] local.INFO: Packet analysis {"connection_id":64892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:58:09] local.INFO: Extracted packet for processing {"connection_id":64892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 09:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 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-05-08 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-05-08 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":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:58: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-05-08 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-05-08 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-05-08 09:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:58:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:58:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":64892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:58:09] local.INFO: GPS data processed {"connection_id":64892,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:58:09] local.INFO: Acknowledgment sent {"connection_id":64892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:58:24] local.INFO: TCP Data received {"connection_id":64934,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d500d0012d20e7c006ce12c8000c014a2d..."} 
[2026-05-08 09:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d500d0012d20e7c006ce12c8000c014a2d..."} 
[2026-05-08 09:58:24] local.INFO: Processing buffer {"connection_id":64934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d500d0012d20e7c006ce12c8000c014a2d..."} 
[2026-05-08 09:58:24] local.INFO: Packet analysis {"connection_id":64934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:58:24] local.INFO: Extracted packet for processing {"connection_id":64934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:58:24] local.INFO: GPS Element Parsed {"raw_longitude":757131200,"raw_latitude":114168520,"longitude_deg":75.71312,"latitude_deg":11.416852,"altitude":12,"angle":330,"satellites":45,"speed":42,"hex_longitude":"2d20e7c0","hex_latitude":"06ce12c8","is_valid_coordinates":true} 
[2026-05-08 09:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222860032001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110246248505671680,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2376352520104658944,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778214306000,"timestamp_ms":1778214306000,"timestamp_seconds":1778214306,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d500d0"} 
[2026-05-08 09:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:58: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-05-08 09:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-05-08 09:58:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1414,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":64934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":64934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":64934,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222860032001,"66":28506,"73":206,"2":56576,"24":42,"16":110246248505671680,"45":2376352520104658944},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 09:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222860032001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:58:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 09:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110246248505671680,"km_value":110246248505671.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2376352520104658944,"description":"Unknown IO ID 45"} 
[2026-05-08 09:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222860032001,"power":28506,"unknown_73":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":2376352520104658944}} 
[2026-05-08 09:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":64934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:58:24] local.INFO: GPS data processed {"connection_id":64934,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:58:24] local.INFO: Acknowledgment sent {"connection_id":64934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:58:46] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:58:46] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:58:46] local.INFO: IMEI packet received {"connection_id":64935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":64935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:58:48] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:58:48] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:58:48] local.INFO: IMEI packet received {"connection_id":64935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":64935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:58:49] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d527e0012d20d54006ce33f0000b014e30..."} 
[2026-05-08 09:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d527e0012d20d54006ce33f0000b014e30..."} 
[2026-05-08 09:58:49] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d527e0012d20d54006ce33f0000b014e30..."} 
[2026-05-08 09:58:49] local.INFO: Packet analysis {"connection_id":64935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:58:49] local.INFO: Extracted packet for processing {"connection_id":64935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:58:49] local.INFO: GPS Element Parsed {"raw_longitude":757126464,"raw_latitude":114177008,"longitude_deg":75.7126464,"latitude_deg":11.4177008,"altitude":11,"angle":334,"satellites":48,"speed":33,"hex_longitude":"2d20d540","hex_latitude":"06ce33f0","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222862336001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110246716657106944,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2371074864293529600,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778214316000,"timestamp_ms":1778214316000,"timestamp_seconds":1778214316,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d527e0"} 
[2026-05-08 09:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:58: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-05-08 09: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-05-08 09:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":64935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":64935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":64935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222862336001,"66":28376,"73":206,"2":56576,"24":33,"16":110246716657106944,"45":2371074864293529600},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 09:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222862336001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:58:49] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 09:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110246716657106944,"km_value":110246716657106.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2371074864293529600,"description":"Unknown IO ID 45"} 
[2026-05-08 09:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222862336001,"power":28376,"unknown_73":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":2371074864293529600}} 
[2026-05-08 09:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":64935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:58:49] local.INFO: GPS data processed {"connection_id":64935,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:58:49] local.INFO: Acknowledgment sent {"connection_id":64935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:58:52] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d54ef0012d20ca4006ce52a8000a015b2d..."} 
[2026-05-08 09:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d54ef0012d20ca4006ce52a8000a015b2d..."} 
[2026-05-08 09:58:52] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d54ef0012d20ca4006ce52a8000a015b2d..."} 
[2026-05-08 09:58:52] local.INFO: Packet analysis {"connection_id":64935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:58:52] local.INFO: Extracted packet for processing {"connection_id":64935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":757123648,"raw_latitude":114184872,"longitude_deg":75.7123648,"latitude_deg":11.4184872,"altitude":10,"angle":347,"satellites":45,"speed":35,"hex_longitude":"2d20ca40","hex_latitude":"06ce52a8","is_valid_coordinates":true} 
[2026-05-08 09:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222864896001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110247120384032768,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365867577226555392,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1778214326000,"timestamp_ms":1778214326000,"timestamp_seconds":1778214326,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d54ef0"} 
[2026-05-08 09:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:58:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09:58:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 09:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09:58:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":64935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":64935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":64935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222864896001,"66":28452,"73":206,"2":56576,"24":35,"16":110247120384032768,"45":2365867577226555392},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 09:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222864896001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:58:52] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 09:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110247120384032768,"km_value":110247120384032.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2365867577226555392,"description":"Unknown IO ID 45"} 
[2026-05-08 09:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222864896001,"power":28452,"unknown_73":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2365867577226555392}} 
[2026-05-08 09:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":64935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:58:52] local.INFO: GPS data processed {"connection_id":64935,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:58:52] local.INFO: Acknowledgment sent {"connection_id":64935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:58:53] local.INFO: TCP Data received {"connection_id":65739,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:53] local.INFO: Processing buffer {"connection_id":65739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:53] local.INFO: IMEI packet received {"connection_id":65739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":65739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:58:58] local.INFO: TCP Data received {"connection_id":65739,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:58] local.INFO: Processing buffer {"connection_id":65739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:58:58] local.INFO: IMEI packet received {"connection_id":65739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":65739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:58:59] local.INFO: TCP Data received {"connection_id":65739,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:59] local.INFO: Processing buffer {"connection_id":65739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:58:59] local.INFO: Packet analysis {"connection_id":65739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:58:59] local.INFO: Extracted packet for processing {"connection_id":65739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:58: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-05-08 09:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:58:59] 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-05-08 09:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:58:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":65739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:58:59] local.INFO: GPS data processed {"connection_id":65739,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:58:59] local.INFO: Acknowledgment sent {"connection_id":65739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:59:24] local.INFO: TCP Data received {"connection_id":64935,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d57600012d20c2c006ce7608000b015c2a..."} 
[2026-05-08 09:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d57600012d20c2c006ce7608000b015c2a..."} 
[2026-05-08 09:59:24] local.INFO: Processing buffer {"connection_id":64935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d57600012d20c2c006ce7608000b015c2a..."} 
[2026-05-08 09:59:24] local.INFO: Packet analysis {"connection_id":64935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:59:24] local.INFO: Extracted packet for processing {"connection_id":64935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:59:24] local.INFO: GPS Element Parsed {"raw_longitude":757121728,"raw_latitude":114193928,"longitude_deg":75.7121728,"latitude_deg":11.4193928,"altitude":11,"angle":348,"satellites":42,"speed":37,"hex_longitude":"2d20c2c0","hex_latitude":"06ce7608","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222867456001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110247571355598848,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2362771352484751360,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778214336000,"timestamp_ms":1778214336000,"timestamp_seconds":1778214336,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d57600"} 
[2026-05-08 09:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:59:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 09:59:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":64935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":64935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":64935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222867456001,"66":28452,"73":206,"2":56576,"24":37,"16":110247571355598848,"45":2362771352484751360},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 09:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222867456001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:59:24] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 09:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110247571355598848,"km_value":110247571355598.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:59:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":2362771352484751360,"description":"Unknown IO ID 45"} 
[2026-05-08 09:59:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222867456001,"power":28452,"unknown_73":206,"power_alt":56576,"ignition":37,"odometer":null,"unknown_45":2362771352484751360}} 
[2026-05-08 09:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":64935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:59:24] local.INFO: GPS data processed {"connection_id":64935,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:59:24] local.INFO: Acknowledgment sent {"connection_id":64935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:59:32] local.INFO: TCP Data received {"connection_id":65739,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:59:32] local.INFO: Processing buffer {"connection_id":65739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:59:32] local.INFO: Packet analysis {"connection_id":65739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:59:32] local.INFO: Extracted packet for processing {"connection_id":65739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 09:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:59:32] 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-05-08 09:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 09:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":65739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:59:32] local.INFO: GPS data processed {"connection_id":65739,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:59:32] local.INFO: Acknowledgment sent {"connection_id":65739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:59:42] local.INFO: TCP Data received {"connection_id":64999,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:59:42] local.INFO: Processing buffer {"connection_id":64999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:59:42] local.INFO: IMEI packet received {"connection_id":64999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 09:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":64999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:59:46] local.INFO: TCP Data received {"connection_id":64999,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64999,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:59:46] local.INFO: Processing buffer {"connection_id":64999,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 09:59:46] local.INFO: IMEI packet received {"connection_id":64999,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 09:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":64999,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:59:48] local.INFO: TCP Data received {"connection_id":64999,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d5a8c8012d20bc0006ce9a78000b015f29..."} 
[2026-05-08 09:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d5a8c8012d20bc0006ce9a78000b015f29..."} 
[2026-05-08 09:59:48] local.INFO: Processing buffer {"connection_id":64999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d5a8c8012d20bc0006ce9a78000b015f29..."} 
[2026-05-08 09:59:48] local.INFO: Packet analysis {"connection_id":64999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:59:48] local.INFO: Extracted packet for processing {"connection_id":64999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 09:59:48] local.INFO: GPS Element Parsed {"raw_longitude":757120000,"raw_latitude":114203256,"longitude_deg":75.712,"latitude_deg":11.4203256,"altitude":11,"angle":351,"satellites":41,"speed":27,"hex_longitude":"2d20bc00","hex_latitude":"06ce9a78","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222870016001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110248030917099520,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2360660290161739776,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 09:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214349000,"timestamp_ms":1778214349000,"timestamp_seconds":1778214349,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d5a8c8"} 
[2026-05-08 09:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:59: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-05-08 09: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 09:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 09: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-05-08 09:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":64999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":64999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":64999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 09:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 09:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 09:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222870016001,"66":28354,"73":206,"2":56576,"24":27,"16":110248030917099520,"45":2360660290161739776},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 09:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 09:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 09:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222870016001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:59:48] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 09:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110248030917099520,"km_value":110248030917099.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2360660290161739776,"description":"Unknown IO ID 45"} 
[2026-05-08 09:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222870016001,"power":28354,"unknown_73":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":2360660290161739776}} 
[2026-05-08 09:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":64999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:59:48] local.INFO: GPS data processed {"connection_id":64999,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:59:48] local.INFO: Acknowledgment sent {"connection_id":64999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 09:59:53] local.INFO: TCP Data received {"connection_id":64893,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:59:53] local.INFO: Processing buffer {"connection_id":64893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:59:53] local.INFO: IMEI packet received {"connection_id":64893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 09:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":64893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 09:59:58] local.INFO: TCP Data received {"connection_id":64893,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:59:58] local.INFO: Processing buffer {"connection_id":64893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 09:59:58] local.INFO: IMEI packet received {"connection_id":64893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 09:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":64893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 09:59:59] local.INFO: TCP Data received {"connection_id":64893,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:59:59] local.INFO: Processing buffer {"connection_id":64893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d4ba80012d34c54006aa5070000400622a..."} 
[2026-05-08 09:59:59] local.INFO: Packet analysis {"connection_id":64893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:59:59] local.INFO: Extracted packet for processing {"connection_id":64893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d4"} 
[2026-05-08 09:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":4,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 09: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-05-08 09:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222780672001,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 09:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 09: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-05-08 09:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778214288000,"timestamp_ms":1778214288000,"timestamp_seconds":1778214288,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d4ba80"} 
[2026-05-08 09:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 09:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 09: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 09:59:59] 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-05-08 09: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-05-08 09:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 09:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 09:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 09:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 09:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 09:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 09:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 09:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222780672001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 09:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 09:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 09:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222780672001,"description":"Unknown IO ID 0"} 
[2026-05-08 09:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 09:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 09:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 09:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 09:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222780672001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 09:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":64893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 09:59:59] local.INFO: GPS data processed {"connection_id":64893,"processed":1,"errors":0,"total":1} 
[2026-05-08 09:59:59] local.INFO: Acknowledgment sent {"connection_id":64893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:00:19] local.INFO: TCP Data received {"connection_id":64999,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d5e360012d20b4c006cebe70000a01601d..."} 
[2026-05-08 10:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d5e360012d20b4c006cebe70000a01601d..."} 
[2026-05-08 10:00:19] local.INFO: Processing buffer {"connection_id":64999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d5e360012d20b4c006cebe70000a01601d..."} 
[2026-05-08 10:00:19] local.INFO: Packet analysis {"connection_id":64999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 10:00:19] local.INFO: Extracted packet for processing {"connection_id":64999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d5"} 
[2026-05-08 10:00:19] local.INFO: GPS Element Parsed {"raw_longitude":757118144,"raw_latitude":114212464,"longitude_deg":75.7118144,"latitude_deg":11.4212464,"altitude":10,"angle":352,"satellites":29,"speed":22,"hex_longitude":"2d20b4c0","hex_latitude":"06cebe70","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222873344001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110248486183632896,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2358760334071330816,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778214364000,"timestamp_ms":1778214364000,"timestamp_seconds":1778214364,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d5e360"} 
[2026-05-08 10:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 10:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":64999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":64999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":64999,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222873344001,"66":28637,"73":206,"2":56576,"24":22,"16":110248486183632896,"45":2358760334071330816},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 10:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222873344001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:00:19] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 10:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110248486183632896,"km_value":110248486183632.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2358760334071330816,"description":"Unknown IO ID 45"} 
[2026-05-08 10:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222873344001,"power":28637,"unknown_73":206,"power_alt":56576,"ignition":22,"odometer":null,"unknown_45":2358760334071330816}} 
[2026-05-08 10:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":64999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121326,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:00:19] local.INFO: GPS data processed {"connection_id":64999,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:00:19] local.INFO: Acknowledgment sent {"connection_id":64999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:00:30] local.INFO: TCP Data received {"connection_id":64893,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:00:30] local.INFO: Processing buffer {"connection_id":64893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:00:30] local.INFO: Packet analysis {"connection_id":64893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:00:30] local.INFO: Extracted packet for processing {"connection_id":64893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:30] 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-05-08 10:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:00: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-05-08 10: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:00:30] 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-05-08 10:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:00:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:00:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":64893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:00:30] local.INFO: GPS data processed {"connection_id":64893,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:00:30] local.INFO: Acknowledgment sent {"connection_id":64893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:00:40] local.INFO: TCP Data received {"connection_id":65740,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:40] local.INFO: Processing buffer {"connection_id":65740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:40] local.INFO: IMEI packet received {"connection_id":65740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":65740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:00:41] local.INFO: TCP Data received {"connection_id":65740,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:41] local.INFO: Processing buffer {"connection_id":65740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:41] local.INFO: IMEI packet received {"connection_id":65740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":65740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:00:46] local.INFO: TCP Data received {"connection_id":65740,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65740,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:46] local.INFO: Processing buffer {"connection_id":65740,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:00:46] local.INFO: IMEI packet received {"connection_id":65740,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:00:46] local.INFO: IMEI acknowledgment sent {"connection_id":65740,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:00:48] local.INFO: TCP Data received {"connection_id":65740,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d917b0012d209bc006cefdc8000a01632b..."} 
[2026-05-08 10:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d917b0012d209bc006cefdc8000a01632b..."} 
[2026-05-08 10:00:48] local.INFO: Processing buffer {"connection_id":65740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d917b0012d209bc006cefdc8000a01632b..."} 
[2026-05-08 10:00:48] local.INFO: Packet analysis {"connection_id":65740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:00:48] local.INFO: Extracted packet for processing {"connection_id":65740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:00:48] local.INFO: GPS Element Parsed {"raw_longitude":757111744,"raw_latitude":114228680,"longitude_deg":75.7111744,"latitude_deg":11.422868,"altitude":10,"angle":355,"satellites":43,"speed":8,"hex_longitude":"2d209bc0","hex_latitude":"06cefdc8","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222930944001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110248855550820352,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2349682766078920704,"note":"Value kept but may cause issues"} 
[2026-05-08 10:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214574000,"timestamp_ms":1778214574000,"timestamp_seconds":1778214574,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d917b0"} 
[2026-05-08 10:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:00: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-05-08 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 10:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65740,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65740,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222930944001,"66":28354,"73":206,"2":56576,"24":8,"16":110248855550820352,"45":2349682766078920704},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 10:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222930944001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:00:48] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 10:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110248855550820352,"km_value":110248855550820.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2349682766078920704,"description":"Unknown IO ID 45"} 
[2026-05-08 10:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222930944001,"power":28354,"unknown_73":206,"power_alt":56576,"ignition":8,"odometer":null,"unknown_45":2349682766078920704}} 
[2026-05-08 10:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":65740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121328,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:00:48] local.INFO: GPS data processed {"connection_id":65740,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:00:48] local.INFO: Acknowledgment sent {"connection_id":65740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:00:58] local.INFO: TCP Data received {"connection_id":65741,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:00:58] local.INFO: Processing buffer {"connection_id":65741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:00:58] local.INFO: IMEI packet received {"connection_id":65741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":65741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:01:03] local.INFO: TCP Data received {"connection_id":65741,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:03] local.INFO: Processing buffer {"connection_id":65741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:03] local.INFO: IMEI packet received {"connection_id":65741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":65741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:01:04] local.INFO: TCP Data received {"connection_id":65741,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:04] local.INFO: Processing buffer {"connection_id":65741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:04] local.INFO: Packet analysis {"connection_id":65741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:04] local.INFO: Extracted packet for processing {"connection_id":65741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:04] 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-05-08 10:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:01: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-05-08 10: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-05-08 10:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:01:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":65741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:01:04] local.INFO: GPS data processed {"connection_id":65741,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:01:04] local.INFO: Acknowledgment sent {"connection_id":65741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:01:09] local.INFO: TCP Data received {"connection_id":65741,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:09] local.INFO: Processing buffer {"connection_id":65741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:09] local.INFO: Packet analysis {"connection_id":65741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:09] local.INFO: Extracted packet for processing {"connection_id":65741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01: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-05-08 10:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 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-05-08 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-05-08 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":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:01: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-05-08 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-05-08 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-05-08 10:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:01:09] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":65741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:01:09] local.INFO: GPS data processed {"connection_id":65741,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:01:09] local.INFO: Acknowledgment sent {"connection_id":65741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:01:20] local.INFO: TCP Data received {"connection_id":65740,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d9fa400100000000000000000000000000..."} 
[2026-05-08 10:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d9fa400100000000000000000000000000..."} 
[2026-05-08 10:01:20] local.INFO: Processing buffer {"connection_id":65740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d9fa400100000000000000000000000000..."} 
[2026-05-08 10:01:20] local.INFO: Packet analysis {"connection_id":65740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:20] local.INFO: Extracted packet for processing {"connection_id":65740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222930944001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110248855550820352,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2349682766078920704,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778214632000,"timestamp_ms":1778214632000,"timestamp_seconds":1778214632,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d9fa40"} 
[2026-05-08 10:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:01: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-05-08 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 10:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65740,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65740,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":65740,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 10:01:20] local.INFO: GPS data processed {"connection_id":65740,"processed":0,"errors":0,"total":1} 
[2026-05-08 10:01:20] local.INFO: Acknowledgment sent {"connection_id":65740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:01:41] local.INFO: TCP Data received {"connection_id":65000,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:01:41] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:01:41] local.INFO: IMEI packet received {"connection_id":65000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":65000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:01:47] local.INFO: TCP Data received {"connection_id":65000,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:01:47] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:01:47] local.INFO: IMEI packet received {"connection_id":65000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:01:47] local.INFO: IMEI acknowledgment sent {"connection_id":65000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:01:48] local.INFO: TCP Data received {"connection_id":65000,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d98510012d207a4006cf2fd8000a014423..."} 
[2026-05-08 10:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d98510012d207a4006cf2fd8000a014423..."} 
[2026-05-08 10:01:48] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d98510012d207a4006cf2fd8000a014423..."} 
[2026-05-08 10:01:48] local.INFO: Packet analysis {"connection_id":65000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:48] local.INFO: Extracted packet for processing {"connection_id":65000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:48] local.INFO: GPS Element Parsed {"raw_longitude":757103168,"raw_latitude":114241496,"longitude_deg":75.7103168,"latitude_deg":11.4241496,"altitude":10,"angle":324,"satellites":35,"speed":32,"hex_longitude":"2d207a40","hex_latitude":"06cf2fd8","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110248855550820352,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,73,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 10:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214602000,"timestamp_ms":1778214602000,"timestamp_seconds":1778214602,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d98510"} 
[2026-05-08 10:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-05-08 10:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28495,"73":206,"2":56576,"24":32,"16":110248855550820352},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16]} 
[2026-05-08 10:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-05-08 10:01:48] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 10:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110248855550820352,"km_value":110248855550820.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:01:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28495,"unknown_73":206,"power_alt":56576,"ignition":32,"odometer":null}} 
[2026-05-08 10:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":65000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:01:48] local.INFO: GPS data processed {"connection_id":65000,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:01:48] local.INFO: Acknowledgment sent {"connection_id":65000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:01:52] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:52] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:52] local.INFO: IMEI packet received {"connection_id":64936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":64936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:01:58] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:58] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:01:58] local.INFO: IMEI packet received {"connection_id":64936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":64936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:01:59] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:59] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:01:59] local.INFO: Packet analysis {"connection_id":64936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:59] local.INFO: Extracted packet for processing {"connection_id":64936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:01:59] 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-05-08 10:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:01:59] 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-05-08 10:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:01:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":64936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:01:59] local.INFO: GPS data processed {"connection_id":64936,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:01:59] local.INFO: Acknowledgment sent {"connection_id":64936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:02:20] local.INFO: TCP Data received {"connection_id":65000,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d9d718012d204d4006cf6ab00009014421..."} 
[2026-05-08 10:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d9d718012d204d4006cf6ab00009014421..."} 
[2026-05-08 10:02:20] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d9d718012d204d4006cf6ab00009014421..."} 
[2026-05-08 10:02:20] local.INFO: Packet analysis {"connection_id":65000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:02:20] local.INFO: Extracted packet for processing {"connection_id":65000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:02:20] local.INFO: GPS Element Parsed {"raw_longitude":757091648,"raw_latitude":114256560,"longitude_deg":75.7091648,"latitude_deg":11.425656,"altitude":9,"angle":324,"satellites":33,"speed":0,"hex_longitude":"2d204d40","hex_latitude":"06cf6ab0","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:02:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222938112001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110248855550820352,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2340253354362394624,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:02:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778214623000,"timestamp_ms":1778214623000,"timestamp_seconds":1778214623,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d9d718"} 
[2026-05-08 10:02:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:02: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-05-08 10: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":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-05-08 10:02:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:02:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:02:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:02:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:02:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:02:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65000,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:02:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:02:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:02:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:02:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222938112001,"66":28354,"73":206,"2":56576,"24":0,"16":110248855550820352,"45":2340253354362394624},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-05-08 10:02:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:02:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:02:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222938112001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:02:20] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-05-08 10:02:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110248855550820352,"km_value":110248855550820.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:02:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2340253354362394624,"description":"Unknown IO ID 45"} 
[2026-05-08 10:02:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222938112001,"power":28354,"unknown_73":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2340253354362394624}} 
[2026-05-08 10:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":65000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:02:21] local.INFO: GPS data processed {"connection_id":65000,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:02:21] local.INFO: Acknowledgment sent {"connection_id":65000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:02:30] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:02:30] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:02:30] local.INFO: Packet analysis {"connection_id":64936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:02:30] local.INFO: Extracted packet for processing {"connection_id":64936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:30] 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-05-08 10:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:02: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-05-08 10:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:02:30] 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-05-08 10:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:02:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":64936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:02:31] local.INFO: GPS data processed {"connection_id":64936,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:02:31] local.INFO: Acknowledgment sent {"connection_id":64936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:02:41] local.INFO: TCP Data received {"connection_id":65001,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:41] local.INFO: Processing buffer {"connection_id":65001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:41] local.INFO: IMEI packet received {"connection_id":65001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":65001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:02:44] local.INFO: TCP Data received {"connection_id":65001,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:44] local.INFO: Processing buffer {"connection_id":65001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:44] local.INFO: IMEI packet received {"connection_id":65001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":65001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:02:46] local.INFO: TCP Data received {"connection_id":65001,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65001,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:46] local.INFO: Processing buffer {"connection_id":65001,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:02:46] local.INFO: IMEI packet received {"connection_id":65001,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":65001,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:02:48] local.INFO: TCP Data received {"connection_id":65001,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05dab9a80100000000000000000000000000..."} 
[2026-05-08 10:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05dab9a80100000000000000000000000000..."} 
[2026-05-08 10:02:48] local.INFO: Processing buffer {"connection_id":65001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dab9a80100000000000000000000000000..."} 
[2026-05-08 10:02:48] local.INFO: Packet analysis {"connection_id":65001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05da"} 
[2026-05-08 10:02:48] local.INFO: Extracted packet for processing {"connection_id":65001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05da"} 
[2026-05-08 10:02: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-05-08 10: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-05-08 10:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222943488001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110248855550820352,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2327586980414271488,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778214681000,"timestamp_ms":1778214681000,"timestamp_seconds":1778214681,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dab9a8"} 
[2026-05-08 10:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:02: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-05-08 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 10:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":65001,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 10:02:48] local.INFO: GPS data processed {"connection_id":65001,"processed":0,"errors":0,"total":1} 
[2026-05-08 10:02:48] local.INFO: Acknowledgment sent {"connection_id":65001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:02:53] local.INFO: TCP Data received {"connection_id":65002,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:02:53] local.INFO: Processing buffer {"connection_id":65002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:02:53] local.INFO: IMEI packet received {"connection_id":65002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":65002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:02:58] local.INFO: TCP Data received {"connection_id":65002,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:02:58] local.INFO: Processing buffer {"connection_id":65002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:02:58] local.INFO: IMEI packet received {"connection_id":65002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":65002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:02:59] local.INFO: TCP Data received {"connection_id":65002,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:02:59] local.INFO: Processing buffer {"connection_id":65002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:02:59] local.INFO: Packet analysis {"connection_id":65002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:02:59] local.INFO: Extracted packet for processing {"connection_id":65002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:02:59] 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-05-08 10:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:02:59] 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-05-08 10:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:02:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":65002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:02:59] local.INFO: GPS data processed {"connection_id":65002,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:02:59] local.INFO: Acknowledgment sent {"connection_id":65002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:03:25] local.INFO: TCP Data received {"connection_id":65001,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05dbbb78012d1fc00006d0fb68000c01552e..."} 
[2026-05-08 10:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05dbbb78012d1fc00006d0fb68000c01552e..."} 
[2026-05-08 10:03:25] local.INFO: Processing buffer {"connection_id":65001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dbbb78012d1fc00006d0fb68000c01552e..."} 
[2026-05-08 10:03:25] local.INFO: Packet analysis {"connection_id":65001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05db"} 
[2026-05-08 10:03:25] local.INFO: Extracted packet for processing {"connection_id":65001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05db"} 
[2026-05-08 10:03:25] local.INFO: GPS Element Parsed {"raw_longitude":757055488,"raw_latitude":114359144,"longitude_deg":75.7055488,"latitude_deg":11.4359144,"altitude":12,"angle":341,"satellites":46,"speed":53,"hex_longitude":"2d1fc000","hex_latitude":"06d0fb68","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222973440001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110253562834976768,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2291135970954211328,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778214747000,"timestamp_ms":1778214747000,"timestamp_seconds":1778214747,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dbbb78"} 
[2026-05-08 10:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:03: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-05-08 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 10:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":65001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":65001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":65001,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222973440001,"66":28354,"74":206,"2":56576,"24":53,"16":110253562834976768,"45":2291135970954211328},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,2,24,16,45]} 
[2026-05-08 10:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222973440001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:03:25] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-05-08 10:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110253562834976768,"km_value":110253562834976.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2291135970954211328,"description":"Unknown IO ID 45"} 
[2026-05-08 10:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222973440001,"power":28354,"unknown_74":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2291135970954211328}} 
[2026-05-08 10:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":65001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:03:25] local.INFO: GPS data processed {"connection_id":65001,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:03:25] local.INFO: Acknowledgment sent {"connection_id":65001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:03:31] local.INFO: TCP Data received {"connection_id":65002,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:03:31] local.INFO: Processing buffer {"connection_id":65002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:03:31] local.INFO: Packet analysis {"connection_id":65002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:03:31] local.INFO: Extracted packet for processing {"connection_id":65002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:31] 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-05-08 10:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:03:31] 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-05-08 10: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-05-08 10:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:03:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":65002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:03:31] local.INFO: GPS data processed {"connection_id":65002,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:03:31] local.INFO: Acknowledgment sent {"connection_id":65002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:03:41] local.INFO: TCP Data received {"connection_id":65742,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:03:41] local.INFO: Processing buffer {"connection_id":65742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:03:41] local.INFO: IMEI packet received {"connection_id":65742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:03:41] local.INFO: IMEI acknowledgment sent {"connection_id":65742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:03:49] local.INFO: TCP Data received {"connection_id":65742,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:03:49] local.INFO: Processing buffer {"connection_id":65742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:03:49] local.INFO: IMEI packet received {"connection_id":65742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":65742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:03:50] local.INFO: TCP Data received {"connection_id":65742,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05dbd6d0012d1fb44006d11e90000d01552e..."} 
[2026-05-08 10:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05dbd6d0012d1fb44006d11e90000d01552e..."} 
[2026-05-08 10:03:50] local.INFO: Processing buffer {"connection_id":65742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dbd6d0012d1fb44006d11e90000d01552e..."} 
[2026-05-08 10:03:50] local.INFO: Packet analysis {"connection_id":65742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05db"} 
[2026-05-08 10:03:50] local.INFO: Extracted packet for processing {"connection_id":65742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05db"} 
[2026-05-08 10:03:50] local.INFO: GPS Element Parsed {"raw_longitude":757052480,"raw_latitude":114368144,"longitude_deg":75.705248,"latitude_deg":11.4368144,"altitude":13,"angle":341,"satellites":46,"speed":53,"hex_longitude":"2d1fb440","hex_latitude":"06d11e90","is_valid_coordinates":true} 
[2026-05-08 10:03: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-05-08 10:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222975232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110254022396477440,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2287828639980152832,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1778214754000,"timestamp_ms":1778214754000,"timestamp_seconds":1778214754,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dbd6d0"} 
[2026-05-08 10:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:03:50] 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-05-08 10:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 10:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:03: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-05-08 10:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":65742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":65742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":65742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222975232001,"66":28376,"74":206,"2":56576,"24":53,"16":110254022396477440,"45":2287828639980152832},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,2,24,16,45]} 
[2026-05-08 10:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222975232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:03:50] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-05-08 10:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110254022396477440,"km_value":110254022396477.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2287828639980152832,"description":"Unknown IO ID 45"} 
[2026-05-08 10:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222975232001,"power":28376,"unknown_74":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2287828639980152832}} 
[2026-05-08 10:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":65742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:03:50] local.INFO: GPS data processed {"connection_id":65742,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:03:50] local.INFO: Acknowledgment sent {"connection_id":65742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:03:52] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:03:52] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:03:52] local.INFO: IMEI packet received {"connection_id":64894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":64894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:03:57] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:03:57] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:03:57] local.INFO: IMEI packet received {"connection_id":64894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":64894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:03:58] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:03:58] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:03:58] local.INFO: Packet analysis {"connection_id":64894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:03:58] local.INFO: Extracted packet for processing {"connection_id":64894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:03:58] 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-05-08 10:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:03: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-05-08 10: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-05-08 10:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:03:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":64894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:03:58] local.INFO: GPS data processed {"connection_id":64894,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:03:58] local.INFO: Acknowledgment sent {"connection_id":64894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:04:22] local.INFO: TCP Data received {"connection_id":65742,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05dbf228012d1fa8c006d141e0000e01562b..."} 
[2026-05-08 10:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05dbf228012d1fa8c006d141e0000e01562b..."} 
[2026-05-08 10:04:22] local.INFO: Processing buffer {"connection_id":65742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dbf228012d1fa8c006d141e0000e01562b..."} 
[2026-05-08 10:04:22] local.INFO: Packet analysis {"connection_id":65742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05db"} 
[2026-05-08 10:04:22] local.INFO: Extracted packet for processing {"connection_id":65742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05db"} 
[2026-05-08 10:04:22] local.INFO: GPS Element Parsed {"raw_longitude":757049536,"raw_latitude":114377184,"longitude_deg":75.7049536,"latitude_deg":11.4377184,"altitude":14,"angle":342,"satellites":43,"speed":53,"hex_longitude":"2d1fa8c0","hex_latitude":"06d141e0","is_valid_coordinates":true} 
[2026-05-08 10:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222977024001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110254481957978112,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2284521309006106624,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1778214761000,"timestamp_ms":1778214761000,"timestamp_seconds":1778214761,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dbf228"} 
[2026-05-08 10:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:04:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 10:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":65742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":65742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":65742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222977024001,"66":28376,"77":206,"2":56576,"24":53,"16":110254481957978112,"45":2284521309006106624},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-05-08 10:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222977024001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:04:22] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-05-08 10:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110254481957978112,"km_value":110254481957978.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2284521309006106624,"description":"Unknown IO ID 45"} 
[2026-05-08 10:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222977024001,"power":28376,"unknown_77":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2284521309006106624}} 
[2026-05-08 10:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":65742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:04:22] local.INFO: GPS data processed {"connection_id":65742,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:04:22] local.INFO: Acknowledgment sent {"connection_id":65742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:04:31] local.INFO: TCP Data received {"connection_id":64894,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:04:31] local.INFO: Processing buffer {"connection_id":64894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:04:31] local.INFO: Packet analysis {"connection_id":64894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:04:31] local.INFO: Extracted packet for processing {"connection_id":64894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:31] 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-05-08 10:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:04:31] 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-05-08 10: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-05-08 10:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:04:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":64894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:04:31] local.INFO: GPS data processed {"connection_id":64894,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:04:31] local.INFO: Acknowledgment sent {"connection_id":64894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:04:47] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:47] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:47] local.INFO: IMEI packet received {"connection_id":65003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":65003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:04:48] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:48] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:48] local.INFO: IMEI packet received {"connection_id":65003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":65003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:04:52] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:52] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:04:52] local.INFO: IMEI packet received {"connection_id":65003,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":65003,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:04:52] local.INFO: TCP Data received {"connection_id":64895,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:04:52] local.INFO: Processing buffer {"connection_id":64895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:04:52] local.INFO: IMEI packet received {"connection_id":64895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":64895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:04:53] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.36.36","data_length":1360,"data_hex":"000000000000030f8e0a0000019e05dc0d80012d1f9d0006d164d8001001552b..."} 
[2026-05-08 10:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019e05dc0d80012d1f9d0006d164d8001001552b..."} 
[2026-05-08 10:04:53] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019e05dc0d80012d1f9d0006d164d8001001552b..."} 
[2026-05-08 10:04:53] local.INFO: Packet analysis {"connection_id":65003,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019e05dc"} 
[2026-05-08 10:04:53] local.INFO: Extracted packet for processing {"connection_id":65003,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e05dc"} 
[2026-05-08 10:04:53] local.INFO: GPS Element Parsed {"raw_longitude":757046528,"raw_latitude":114386136,"longitude_deg":75.7046528,"latitude_deg":11.4386136,"altitude":16,"angle":341,"satellites":43,"speed":53,"hex_longitude":"2d1f9d00","hex_latitude":"06d164d8","is_valid_coordinates":true} 
[2026-05-08 10:04: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-05-08 10:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222978816001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110254941519478784,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2281284346776248320,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778214768000,"timestamp_ms":1778214768000,"timestamp_seconds":1778214768,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dc0d80"} 
[2026-05-08 10:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:04: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-05-08 10:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 10:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222978816001,"66":28376,"77":206,"2":56576,"24":53,"16":110254941519478784,"45":2281284346776248320},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-05-08 10:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222978816001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:04:53] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-05-08 10:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110254941519478784,"km_value":110254941519478.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2281284346776248320,"description":"Unknown IO ID 45"} 
[2026-05-08 10:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222978816001,"power":28376,"unknown_77":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2281284346776248320}} 
[2026-05-08 10:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":65003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:04:54] local.INFO: GPS data processed {"connection_id":65003,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:04:54] local.INFO: Acknowledgment sent {"connection_id":65003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:04:54] local.INFO: Packet analysis {"connection_id":65003,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e05dc"} 
[2026-05-08 10:04:54] local.INFO: Incomplete packet, waiting for more data {"connection_id":65003,"needed":795,"available":565} 
[2026-05-08 10:04:54] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.36.36","data_length":230,"data_hex":"2d1fe4c006d092b0000c01532b00350000000a000400ef0100715500f0010045..."} 
[2026-05-08 10:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":230,"packet_hex":"2d1fe4c006d092b0000c01532b00350000000a000400ef0100715500f0010045..."} 
[2026-05-08 10:04:54] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dc28d8012d1f900006d187900011015228..."} 
[2026-05-08 10:04:54] local.INFO: Packet analysis {"connection_id":65003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dc"} 
[2026-05-08 10:04:54] local.INFO: Extracted packet for processing {"connection_id":65003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dc"} 
[2026-05-08 10:04:54] local.INFO: GPS Element Parsed {"raw_longitude":757043200,"raw_latitude":114395024,"longitude_deg":75.70432,"latitude_deg":11.4395024,"altitude":17,"angle":338,"satellites":40,"speed":54,"hex_longitude":"2d1f9000","hex_latitude":"06d18790","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:04:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222980608001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110255396786012160,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2277977015802189824,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:04:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778214775000,"timestamp_ms":1778214775000,"timestamp_seconds":1778214775,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dc28d8"} 
[2026-05-08 10:04:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:04:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 10:04:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:04:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:04:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:04:54] local.INFO: Teltonika packet parsed successfully {"connection_id":65003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:04:54] local.INFO: Passing IMEI to GPS processor {"connection_id":65003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:04:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":65003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:04:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:04:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:04:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:04:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222980608001,"66":28452,"84":206,"2":56576,"24":54,"16":110255396786012160,"45":2277977015802189824},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,2,24,16,45]} 
[2026-05-08 10:04:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:04:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:04:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222980608001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:04:54] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-05-08 10:04:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110255396786012160,"km_value":110255396786012.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:04:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":2277977015802189824,"description":"Unknown IO ID 45"} 
[2026-05-08 10:04:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222980608001,"power":28452,"unknown_84":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":2277977015802189824}} 
[2026-05-08 10:04:54] local.INFO: DEBUG: GPS processor result {"connection_id":65003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:04:54] local.INFO: GPS data processed {"connection_id":65003,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:04:54] local.INFO: Acknowledgment sent {"connection_id":65003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:04:57] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05dc4430012d1f7f8006d1a8b00013014922..."} 
[2026-05-08 10:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05dc4430012d1f7f8006d1a8b00013014922..."} 
[2026-05-08 10:04:57] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dc4430012d1f7f8006d1a8b00013014922..."} 
[2026-05-08 10:04:57] local.INFO: Packet analysis {"connection_id":65003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dc"} 
[2026-05-08 10:04:57] local.INFO: Extracted packet for processing {"connection_id":65003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dc"} 
[2026-05-08 10:04:57] local.INFO: GPS Element Parsed {"raw_longitude":757038976,"raw_latitude":114403504,"longitude_deg":75.7038976,"latitude_deg":11.4403504,"altitude":19,"angle":329,"satellites":34,"speed":53,"hex_longitude":"2d1f7f80","hex_latitude":"06d1a8b0","is_valid_coordinates":true} 
[2026-05-08 10:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222982400001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110255856347512832,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2274317841107226624,"note":"Value kept but may cause issues"} 
[2026-05-08 10:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,84,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778214782000,"timestamp_ms":1778214782000,"timestamp_seconds":1778214782,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dc4430"} 
[2026-05-08 10:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 10:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65003,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222982400001,"66":28430,"84":206,"2":56576,"24":53,"16":110255856347512832,"45":2274317841107226624},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,84,2,24,16,45]} 
[2026-05-08 10:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222982400001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:04:57] local.INFO: Unknown IO ID detected {"io_id":84,"value":206,"description":"Unknown IO ID 84"} 
[2026-05-08 10:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110255856347512832,"km_value":110255856347512.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2274317841107226624,"description":"Unknown IO ID 45"} 
[2026-05-08 10:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222982400001,"power":28430,"unknown_84":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2274317841107226624}} 
[2026-05-08 10:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":65003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:04:57] local.INFO: GPS data processed {"connection_id":65003,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:04:57] local.INFO: Acknowledgment sent {"connection_id":65003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:04:58] local.INFO: TCP Data received {"connection_id":64895,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:04:58] local.INFO: Processing buffer {"connection_id":64895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:04:58] local.INFO: IMEI packet received {"connection_id":64895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":64895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:05:00] local.INFO: TCP Data received {"connection_id":64895,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:05:00] local.INFO: Processing buffer {"connection_id":64895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05d95248012d34c54006aa50700000006229..."} 
[2026-05-08 10:05:00] local.INFO: Packet analysis {"connection_id":64895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:05:00] local.INFO: Extracted packet for processing {"connection_id":64895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05d9"} 
[2026-05-08 10:05:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:05:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222857728001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:00] 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-05-08 10:05:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778214589000,"timestamp_ms":1778214589000,"timestamp_seconds":1778214589,"priority":1,"record_length":96,"hex_timestamp":"0000019e05d95248"} 
[2026-05-08 10:05:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:05:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:05:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:05:00] 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-05-08 10:05:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:05:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:05:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:05:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:05:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:05:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:05:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:05:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:05:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:05:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222857728001,"66":25212,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:05:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:05:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:05:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222857728001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:05:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:05:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:05:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:05:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:05:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222857728001,"power":25212,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:05:00] local.INFO: DEBUG: GPS processor result {"connection_id":64895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:05:00] local.INFO: GPS data processed {"connection_id":64895,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:05:00] local.INFO: Acknowledgment sent {"connection_id":64895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:05:31] local.INFO: TCP Data received {"connection_id":64895,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:05:31] local.INFO: Processing buffer {"connection_id":64895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:05:31] local.INFO: Packet analysis {"connection_id":64895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:05:31] local.INFO: Extracted packet for processing {"connection_id":64895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:31] 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-05-08 10:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:05:31] 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-05-08 10:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:05:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":64895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:05:31] local.INFO: GPS data processed {"connection_id":64895,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:05:31] local.INFO: Acknowledgment sent {"connection_id":64895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:05:42] local.INFO: TCP Data received {"connection_id":65004,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:42] local.INFO: Processing buffer {"connection_id":65004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:42] local.INFO: IMEI packet received {"connection_id":65004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":65004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:05:42] local.INFO: TCP Data received {"connection_id":65004,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:42] local.INFO: Processing buffer {"connection_id":65004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:42] local.INFO: IMEI packet received {"connection_id":65004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:05:42] local.INFO: IMEI acknowledgment sent {"connection_id":65004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:05:47] local.INFO: TCP Data received {"connection_id":65004,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:47] local.INFO: Processing buffer {"connection_id":65004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:05:47] local.INFO: IMEI packet received {"connection_id":65004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":65004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:05:49] local.INFO: TCP Data received {"connection_id":65004,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddaf78012d1e2f4006d303000011013c2c..."} 
[2026-05-08 10:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddaf78012d1e2f4006d303000011013c2c..."} 
[2026-05-08 10:05:49] local.INFO: Processing buffer {"connection_id":65004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddaf78012d1e2f4006d303000011013c2c..."} 
[2026-05-08 10:05:49] local.INFO: Packet analysis {"connection_id":65004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:05:49] local.INFO: Extracted packet for processing {"connection_id":65004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756952896,"raw_latitude":114492160,"longitude_deg":75.6952896,"latitude_deg":11.449216,"altitude":17,"angle":316,"satellites":44,"speed":54,"hex_longitude":"2d1e2f40","hex_latitude":"06d30300","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223006208001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110261804877217792,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2182486629978449920,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778214875000,"timestamp_ms":1778214875000,"timestamp_seconds":1778214875,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddaf78"} 
[2026-05-08 10:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:05: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-05-08 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 10:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223006208001,"66":28571,"110":206,"2":56576,"24":54,"16":110261804877217792,"45":2182486629978449920},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-05-08 10:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223006208001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:05:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-05-08 10:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110261804877217792,"km_value":110261804877217.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2182486629978449920,"description":"Unknown IO ID 45"} 
[2026-05-08 10:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223006208001,"power":28571,"unknown_110":206,"power_alt":56576,"ignition":54,"odometer":null,"unknown_45":2182486629978449920}} 
[2026-05-08 10:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":65004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:05:49] local.INFO: GPS data processed {"connection_id":65004,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:05:49] local.INFO: Acknowledgment sent {"connection_id":65004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:05:53] local.INFO: TCP Data received {"connection_id":65004,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddcad0012d1e168006d31ea00011013f29..."} 
[2026-05-08 10:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddcad0012d1e168006d31ea00011013f29..."} 
[2026-05-08 10:05:53] local.INFO: Processing buffer {"connection_id":65004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddcad0012d1e168006d31ea00011013f29..."} 
[2026-05-08 10:05:53] local.INFO: Packet analysis {"connection_id":65004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:05:53] local.INFO: Extracted packet for processing {"connection_id":65004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:05:53] local.INFO: GPS Element Parsed {"raw_longitude":756946560,"raw_latitude":114499232,"longitude_deg":75.694656,"latitude_deg":11.4499232,"altitude":17,"angle":319,"satellites":41,"speed":53,"hex_longitude":"2d1e1680","hex_latitude":"06d31ea0","is_valid_coordinates":true} 
[2026-05-08 10:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:05:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223008000001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110262260143751168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2175027543097409536,"note":"Value kept but may cause issues"} 
[2026-05-08 10:05:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:05:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778214882000,"timestamp_ms":1778214882000,"timestamp_seconds":1778214882,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddcad0"} 
[2026-05-08 10:05:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:05: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-05-08 10:05:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-05-08 10:05:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:05:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:05:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:05:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:05:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:05:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:05:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:05:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:05:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:05:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:05:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223008000001,"66":28539,"110":206,"2":56576,"24":53,"16":110262260143751168,"45":2175027543097409536},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-05-08 10:05:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:05:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:05:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223008000001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:05:53] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-05-08 10:05:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110262260143751168,"km_value":110262260143751.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:05:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":2175027543097409536,"description":"Unknown IO ID 45"} 
[2026-05-08 10:05:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223008000001,"power":28539,"unknown_110":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2175027543097409536}} 
[2026-05-08 10:05:53] local.INFO: DEBUG: GPS processor result {"connection_id":65004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:05:53] local.INFO: GPS data processed {"connection_id":65004,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:05:53] local.INFO: Acknowledgment sent {"connection_id":65004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:05:58] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:05:58] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:05:58] local.INFO: IMEI packet received {"connection_id":64896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":64896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:06:03] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:03] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:03] local.INFO: IMEI packet received {"connection_id":64896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":64896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:06:04] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:04] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:04] local.INFO: Packet analysis {"connection_id":64896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:06:04] local.INFO: Extracted packet for processing {"connection_id":64896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:04] 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-05-08 10:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:06: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-05-08 10:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:06:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:06:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":64896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:06:04] local.INFO: GPS data processed {"connection_id":64896,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:06:04] local.INFO: Acknowledgment sent {"connection_id":64896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:06:26] local.INFO: TCP Data received {"connection_id":65004,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05dde628012d1dfe0006d33a800010013e28..."} 
[2026-05-08 10:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05dde628012d1dfe0006d33a800010013e28..."} 
[2026-05-08 10:06:26] local.INFO: Processing buffer {"connection_id":65004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dde628012d1dfe0006d33a800010013e28..."} 
[2026-05-08 10:06:26] local.INFO: Packet analysis {"connection_id":65004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:06:26] local.INFO: Extracted packet for processing {"connection_id":65004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:06:26] local.INFO: GPS Element Parsed {"raw_longitude":756940288,"raw_latitude":114506368,"longitude_deg":75.6940288,"latitude_deg":11.4506368,"altitude":16,"angle":318,"satellites":40,"speed":52,"hex_longitude":"2d1dfe00","hex_latitude":"06d33a80","is_valid_coordinates":true} 
[2026-05-08 10:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223009792001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110262715410284544,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2168061037425631232,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1778214889000,"timestamp_ms":1778214889000,"timestamp_seconds":1778214889,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dde628"} 
[2026-05-08 10:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:06: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-05-08 10:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-05-08 10:06:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":65004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":65004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":65004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223009792001,"66":28571,"110":206,"2":56576,"24":52,"16":110262715410284544,"45":2168061037425631232},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-05-08 10:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223009792001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:06:26] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-05-08 10:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110262715410284544,"km_value":110262715410284.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":2168061037425631232,"description":"Unknown IO ID 45"} 
[2026-05-08 10:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223009792001,"power":28571,"unknown_110":206,"power_alt":56576,"ignition":52,"odometer":null,"unknown_45":2168061037425631232}} 
[2026-05-08 10:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":65004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:06:26] local.INFO: GPS data processed {"connection_id":65004,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:06:26] local.INFO: Acknowledgment sent {"connection_id":65004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:06:36] local.INFO: TCP Data received {"connection_id":64896,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:36] local.INFO: Processing buffer {"connection_id":64896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:36] local.INFO: Packet analysis {"connection_id":64896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:06:36] local.INFO: Extracted packet for processing {"connection_id":64896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:06:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:06:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06: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-05-08 10:06:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:06:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10: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-05-08 10:06:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:06: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-05-08 10:06:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:06:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:06:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:06:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:06:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:06:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:06:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:06:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:06:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:06:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:06:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:06:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:06:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:06:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:06:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:06:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:06:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:06:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:06:36] local.INFO: DEBUG: GPS processor result {"connection_id":64896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:06:36] local.INFO: GPS data processed {"connection_id":64896,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:06:36] local.INFO: Acknowledgment sent {"connection_id":64896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:06:42] local.INFO: TCP Data received {"connection_id":64937,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:06:42] local.INFO: Processing buffer {"connection_id":64937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:06:42] local.INFO: IMEI packet received {"connection_id":64937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":64937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:06:45] local.INFO: TCP Data received {"connection_id":64937,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:06:45] local.INFO: Processing buffer {"connection_id":64937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:06:45] local.INFO: IMEI packet received {"connection_id":64937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":64937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:06:49] local.INFO: TCP Data received {"connection_id":64937,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05de0180012d1de6c006d356a0000f014227..."} 
[2026-05-08 10:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05de0180012d1de6c006d356a0000f014227..."} 
[2026-05-08 10:06:49] local.INFO: Processing buffer {"connection_id":64937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05de0180012d1de6c006d356a0000f014227..."} 
[2026-05-08 10:06:49] local.INFO: Packet analysis {"connection_id":64937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05de"} 
[2026-05-08 10:06:49] local.INFO: Extracted packet for processing {"connection_id":64937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05de"} 
[2026-05-08 10:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756934336,"raw_latitude":114513568,"longitude_deg":75.6934336,"latitude_deg":11.4513568,"altitude":15,"angle":322,"satellites":39,"speed":53,"hex_longitude":"2d1de6c0","hex_latitude":"06d356a0","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011584001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263166381850624,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161164900498046976,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778214896000,"timestamp_ms":1778214896000,"timestamp_seconds":1778214896,"priority":1,"record_length":96,"hex_timestamp":"0000019e05de0180"} 
[2026-05-08 10:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:06: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-05-08 10: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-05-08 10:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":64937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":64937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":64937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011584001,"66":28452,"110":206,"2":56576,"24":53,"16":110263166381850624,"45":2161164900498046976},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-05-08 10:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011584001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:06:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-05-08 10:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263166381850624,"km_value":110263166381850.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2161164900498046976,"description":"Unknown IO ID 45"} 
[2026-05-08 10:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011584001,"power":28452,"unknown_110":206,"power_alt":56576,"ignition":53,"odometer":null,"unknown_45":2161164900498046976}} 
[2026-05-08 10:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":64937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:06:49] local.INFO: GPS data processed {"connection_id":64937,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:06:49] local.INFO: Acknowledgment sent {"connection_id":64937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:06:53] local.INFO: TCP Data received {"connection_id":65743,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:53] local.INFO: Processing buffer {"connection_id":65743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:53] local.INFO: IMEI packet received {"connection_id":65743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":65743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:06:58] local.INFO: TCP Data received {"connection_id":65743,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:58] local.INFO: Processing buffer {"connection_id":65743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:06:58] local.INFO: IMEI packet received {"connection_id":65743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":65743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:06:59] local.INFO: TCP Data received {"connection_id":65743,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:59] local.INFO: Processing buffer {"connection_id":65743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:06:59] local.INFO: Packet analysis {"connection_id":65743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:06:59] local.INFO: Extracted packet for processing {"connection_id":65743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:06:59] 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-05-08 10:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:06:59] 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-05-08 10:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:06:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":65743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:06:59] local.INFO: GPS data processed {"connection_id":65743,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:06:59] local.INFO: Acknowledgment sent {"connection_id":65743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:07:21] local.INFO: TCP Data received {"connection_id":64937,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05de20c0012d1dd04006d374b8000f01442a..."} 
[2026-05-08 10:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05de20c0012d1dd04006d374b8000f01442a..."} 
[2026-05-08 10:07:21] local.INFO: Processing buffer {"connection_id":64937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05de20c0012d1dd04006d374b8000f01442a..."} 
[2026-05-08 10:07:21] local.INFO: Packet analysis {"connection_id":64937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05de"} 
[2026-05-08 10:07:21] local.INFO: Extracted packet for processing {"connection_id":64937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05de"} 
[2026-05-08 10:07:21] local.INFO: GPS Element Parsed {"raw_longitude":756928576,"raw_latitude":114521272,"longitude_deg":75.6928576,"latitude_deg":11.4521272,"altitude":15,"angle":324,"satellites":42,"speed":40,"hex_longitude":"2d1dd040","hex_latitude":"06d374b8","is_valid_coordinates":true} 
[2026-05-08 10:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:07:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223013376001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263630238318592,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154620607291367424,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:07:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778214904000,"timestamp_ms":1778214904000,"timestamp_seconds":1778214904,"priority":1,"record_length":96,"hex_timestamp":"0000019e05de20c0"} 
[2026-05-08 10:07:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:07:21] 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-05-08 10:07:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 10:07:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:07:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:07:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:07:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:07:21] local.INFO: Teltonika packet parsed successfully {"connection_id":64937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:07:21] local.INFO: Passing IMEI to GPS processor {"connection_id":64937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:07:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":64937,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:07:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:07:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:07:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:07:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223013376001,"66":28517,"110":206,"2":56576,"24":40,"16":110263630238318592,"45":2154620607291367424},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-05-08 10:07:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:07:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:07:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223013376001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:07:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-05-08 10:07:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263630238318592,"km_value":110263630238318.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:07:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2154620607291367424,"description":"Unknown IO ID 45"} 
[2026-05-08 10:07:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223013376001,"power":28517,"unknown_110":206,"power_alt":56576,"ignition":40,"odometer":null,"unknown_45":2154620607291367424}} 
[2026-05-08 10:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":64937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:07:21] local.INFO: GPS data processed {"connection_id":64937,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:07:21] local.INFO: Acknowledgment sent {"connection_id":64937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:07:30] local.INFO: TCP Data received {"connection_id":65743,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:07:30] local.INFO: Processing buffer {"connection_id":65743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:07:30] local.INFO: Packet analysis {"connection_id":65743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:07:30] local.INFO: Extracted packet for processing {"connection_id":65743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:30] 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-05-08 10:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:07: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-05-08 10:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:07:30] 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-05-08 10:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:07:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:07:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":65743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:07:30] local.INFO: GPS data processed {"connection_id":65743,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:07:30] local.INFO: Acknowledgment sent {"connection_id":65743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:07:42] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:07:42] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:07:42] local.INFO: IMEI packet received {"connection_id":65005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":65005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:07:46] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:07:46] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:07:46] local.INFO: IMEI packet received {"connection_id":65005,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":65005,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:07:47] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05de72c8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05de72c8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:07:47] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05de72c8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:07:47] local.INFO: Packet analysis {"connection_id":65005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05de"} 
[2026-05-08 10:07:47] local.INFO: Extracted packet for processing {"connection_id":65005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05de"} 
[2026-05-08 10:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223015424001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2148287420317349888,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778214925000,"timestamp_ms":1778214925000,"timestamp_seconds":1778214925,"priority":1,"record_length":96,"hex_timestamp":"0000019e05de72c8"} 
[2026-05-08 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-05-08 10:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-05-08 10:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 10:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":65005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":65005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":65005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223015424001,"66":28376,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2148287420317349888},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223015424001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:07:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2148287420317349888,"description":"Unknown IO ID 45"} 
[2026-05-08 10:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223015424001,"power":28376,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2148287420317349888}} 
[2026-05-08 10:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":65005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:07:48] local.INFO: GPS data processed {"connection_id":65005,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:07:48] local.INFO: Acknowledgment sent {"connection_id":65005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:07:52] local.INFO: TCP Data received {"connection_id":65744,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:07:52] local.INFO: Processing buffer {"connection_id":65744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:07:52] local.INFO: IMEI packet received {"connection_id":65744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":65744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:07:58] local.INFO: TCP Data received {"connection_id":65744,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:07:58] local.INFO: Processing buffer {"connection_id":65744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:07:58] local.INFO: IMEI packet received {"connection_id":65744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":65744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:07:59] local.INFO: TCP Data received {"connection_id":65744,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:07:59] local.INFO: Processing buffer {"connection_id":65744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:07:59] local.INFO: Packet analysis {"connection_id":65744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:07:59] local.INFO: Extracted packet for processing {"connection_id":65744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:07:59] 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-05-08 10:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:07:59] 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-05-08 10:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:07:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":65744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:07:59] local.INFO: GPS data processed {"connection_id":65744,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:07:59] local.INFO: Acknowledgment sent {"connection_id":65744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:08:19] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05dec4d0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05dec4d0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:08:19] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dec4d0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:08:19] local.INFO: Packet analysis {"connection_id":65005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05de"} 
[2026-05-08 10:08:19] local.INFO: Extracted packet for processing {"connection_id":65005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05de"} 
[2026-05-08 10:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 10:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223020800001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778214946000,"timestamp_ms":1778214946000,"timestamp_seconds":1778214946,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dec4d0"} 
[2026-05-08 10:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:08: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-05-08 10:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 10:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65005,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223020800001,"66":28506,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223020800001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:08:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223020800001,"power":28506,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":65005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:08:19] local.INFO: GPS data processed {"connection_id":65005,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:08:19] local.INFO: Acknowledgment sent {"connection_id":65005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:08:31] local.INFO: TCP Data received {"connection_id":65744,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:08:31] local.INFO: Processing buffer {"connection_id":65744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:08:31] local.INFO: Packet analysis {"connection_id":65744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:08:31] local.INFO: Extracted packet for processing {"connection_id":65744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:31] 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-05-08 10:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:08:31] 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-05-08 10:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:08:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":65744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:08:31] local.INFO: GPS data processed {"connection_id":65744,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:08:31] local.INFO: Acknowledgment sent {"connection_id":65744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:08:42] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:08:42] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:08:42] local.INFO: IMEI packet received {"connection_id":64938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":64938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:08:47] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:08:47] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:08:47] local.INFO: IMEI packet received {"connection_id":64938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":64938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:08:49] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05df16d8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05df16d8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:08:49] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05df16d8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:08:49] local.INFO: Packet analysis {"connection_id":64938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05df"} 
[2026-05-08 10:08:49] local.INFO: Extracted packet for processing {"connection_id":64938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05df"} 
[2026-05-08 10:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223026176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778214967000,"timestamp_ms":1778214967000,"timestamp_seconds":1778214967,"priority":1,"record_length":96,"hex_timestamp":"0000019e05df16d8"} 
[2026-05-08 10:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10: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-05-08 10: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-05-08 10:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":64938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":64938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":64938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223026176001,"66":28300,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223026176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:08:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223026176001,"power":28300,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":64938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:08:49] local.INFO: GPS data processed {"connection_id":64938,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:08:49] local.INFO: Acknowledgment sent {"connection_id":64938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:08:52] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:08:52] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:08:52] local.INFO: IMEI packet received {"connection_id":64897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":64897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:08:58] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:08:58] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:08:58] local.INFO: IMEI packet received {"connection_id":64897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":64897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:08:59] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:08:59] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:08:59] local.INFO: Packet analysis {"connection_id":64897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:08:59] local.INFO: Extracted packet for processing {"connection_id":64897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:08:59] 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-05-08 10:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:08:59] 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-05-08 10: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-05-08 10:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:08:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":64897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:08:59] local.INFO: GPS data processed {"connection_id":64897,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:08:59] local.INFO: Acknowledgment sent {"connection_id":64897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:09:21] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05df68e0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05df68e0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:21] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05df68e0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:21] local.INFO: Packet analysis {"connection_id":64938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05df"} 
[2026-05-08 10:09:21] local.INFO: Extracted packet for processing {"connection_id":64938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05df"} 
[2026-05-08 10:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 10:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223031552001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778214988000,"timestamp_ms":1778214988000,"timestamp_seconds":1778214988,"priority":1,"record_length":96,"hex_timestamp":"0000019e05df68e0"} 
[2026-05-08 10:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:09:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-05-08 10:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":64938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":64938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":64938,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223031552001,"66":28354,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223031552001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:09:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223031552001,"power":28354,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":64938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:09:21] local.INFO: GPS data processed {"connection_id":64938,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:09:21] local.INFO: Acknowledgment sent {"connection_id":64938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:09:31] local.INFO: TCP Data received {"connection_id":64897,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:09:31] local.INFO: Processing buffer {"connection_id":64897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:09:31] local.INFO: Packet analysis {"connection_id":64897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:09:31] local.INFO: Extracted packet for processing {"connection_id":64897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:31] 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-05-08 10:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:09:31] 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-05-08 10: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-05-08 10:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:09:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":64897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:09:31] local.INFO: GPS data processed {"connection_id":64897,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:09:31] local.INFO: Acknowledgment sent {"connection_id":64897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:09:47] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:09:47] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:09:47] local.INFO: IMEI packet received {"connection_id":65006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":65006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:09:52] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:09:52] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:09:52] local.INFO: IMEI packet received {"connection_id":65006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":65006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:09:54] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05dfbae8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05dfbae8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:54] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05dfbae8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:54] local.INFO: Packet analysis {"connection_id":65006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05df"} 
[2026-05-08 10:09:54] local.INFO: Extracted packet for processing {"connection_id":65006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05df"} 
[2026-05-08 10:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223036928001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778215009000,"timestamp_ms":1778215009000,"timestamp_seconds":1778215009,"priority":1,"record_length":96,"hex_timestamp":"0000019e05dfbae8"} 
[2026-05-08 10:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 10:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":65006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":65006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":65006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223036928001,"66":28419,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223036928001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:09:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223036928001,"power":28419,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":65006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:09:55] local.INFO: GPS data processed {"connection_id":65006,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:09:55] local.INFO: Acknowledgment sent {"connection_id":65006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:09:57] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e00cf0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e00cf0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:57] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e00cf0012d1dc44006d38450000f014528..."} 
[2026-05-08 10:09:57] local.INFO: Packet analysis {"connection_id":65006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e0"} 
[2026-05-08 10:09:57] local.INFO: Extracted packet for processing {"connection_id":65006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e0"} 
[2026-05-08 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223042304001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778215030000,"timestamp_ms":1778215030000,"timestamp_seconds":1778215030,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e00cf0"} 
[2026-05-08 10:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-05-08 10:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223042304001,"66":28398,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223042304001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:09:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223042304001,"power":28398,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":65006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:09:57] local.INFO: GPS data processed {"connection_id":65006,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:09:57] local.INFO: Acknowledgment sent {"connection_id":65006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:09:58] local.INFO: TCP Data received {"connection_id":65745,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:09:58] local.INFO: Processing buffer {"connection_id":65745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:09:58] local.INFO: IMEI packet received {"connection_id":65745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":65745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:10:03] local.INFO: TCP Data received {"connection_id":65745,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:03] local.INFO: Processing buffer {"connection_id":65745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:03] local.INFO: IMEI packet received {"connection_id":65745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":65745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:10:04] local.INFO: TCP Data received {"connection_id":65745,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:10:04] local.INFO: Processing buffer {"connection_id":65745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:10:04] local.INFO: Packet analysis {"connection_id":65745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:10:04] local.INFO: Extracted packet for processing {"connection_id":65745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:10:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:10:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:10:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:10:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:10:04] 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-05-08 10:10:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:10:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:10:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:10: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-05-08 10: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-05-08 10:10:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:10:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:10:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:10:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:10:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:10:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:10:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:10:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:10:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:10:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:10:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:10:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:10:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:10:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:10:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:10:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:10:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:10:04] local.INFO: DEBUG: GPS processor result {"connection_id":65745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:10:04] local.INFO: GPS data processed {"connection_id":65745,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:10:04] local.INFO: Acknowledgment sent {"connection_id":65745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:10:08] local.INFO: TCP Data received {"connection_id":65745,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:10:08] local.INFO: Processing buffer {"connection_id":65745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ddea10012d34c54006aa50700000006229..."} 
[2026-05-08 10:10:08] local.INFO: Packet analysis {"connection_id":65745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:10:08] local.INFO: Extracted packet for processing {"connection_id":65745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05dd"} 
[2026-05-08 10:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455222934784001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:10: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-05-08 10:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778214890000,"timestamp_ms":1778214890000,"timestamp_seconds":1778214890,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ddea10"} 
[2026-05-08 10:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10: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-05-08 10: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 10:10: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-05-08 10: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-05-08 10:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455222934784001,"66":25191,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455222934784001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:10:08] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:10:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455222934784001,"power":25191,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":65745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:10:08] local.INFO: GPS data processed {"connection_id":65745,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:10:08] local.INFO: Acknowledgment sent {"connection_id":65745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:10:53] local.INFO: TCP Data received {"connection_id":64898,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:53] local.INFO: Processing buffer {"connection_id":64898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:53] local.INFO: IMEI packet received {"connection_id":64898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":64898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:10:58] local.INFO: TCP Data received {"connection_id":64898,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:58] local.INFO: Processing buffer {"connection_id":64898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:10:58] local.INFO: IMEI packet received {"connection_id":64898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":64898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:11:00] local.INFO: TCP Data received {"connection_id":64898,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:00] local.INFO: Processing buffer {"connection_id":64898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:00] local.INFO: Packet analysis {"connection_id":64898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:11:00] local.INFO: Extracted packet for processing {"connection_id":64898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11: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-05-08 10:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:11:00] 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-05-08 10:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:11:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":64898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:11:00] local.INFO: GPS data processed {"connection_id":64898,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:11:00] local.INFO: Acknowledgment sent {"connection_id":64898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:11:00] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:00] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:00] local.INFO: IMEI packet received {"connection_id":64939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":64939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:11:01] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:01] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:01] local.INFO: IMEI packet received {"connection_id":64939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":64939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:11:02] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:02] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:02] local.INFO: IMEI packet received {"connection_id":64939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":64939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:11:07] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:07] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:07] local.INFO: IMEI packet received {"connection_id":64939,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":64939,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:11:09] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e05ef8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e05ef8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:11:09] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e05ef8012d1dc44006d38450000f014528..."} 
[2026-05-08 10:11:09] local.INFO: Packet analysis {"connection_id":64939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e0"} 
[2026-05-08 10:11:09] local.INFO: Extracted packet for processing {"connection_id":64939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e0"} 
[2026-05-08 10:11:09] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223047680001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778215051000,"timestamp_ms":1778215051000,"timestamp_seconds":1778215051,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e05ef8"} 
[2026-05-08 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-05-08 10:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 10:11:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 10:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64939,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223047680001,"66":28485,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223047680001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:11:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223047680001,"power":28485,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":64939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:11:09] local.INFO: GPS data processed {"connection_id":64939,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:11:09] local.INFO: Acknowledgment sent {"connection_id":64939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:11:32] local.INFO: TCP Data received {"connection_id":64898,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:32] local.INFO: Processing buffer {"connection_id":64898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:32] local.INFO: Packet analysis {"connection_id":64898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:11:32] local.INFO: Extracted packet for processing {"connection_id":64898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:11:32] 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-05-08 10:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:11:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":64898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:11:32] local.INFO: GPS data processed {"connection_id":64898,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:11:32] local.INFO: Acknowledgment sent {"connection_id":64898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:11:40] local.INFO: TCP Data received {"connection_id":64940,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:40] local.INFO: Processing buffer {"connection_id":64940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:40] local.INFO: IMEI packet received {"connection_id":64940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":64940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:11:42] local.INFO: TCP Data received {"connection_id":64940,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:42] local.INFO: Processing buffer {"connection_id":64940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:42] local.INFO: IMEI packet received {"connection_id":64940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:11:42] local.INFO: IMEI acknowledgment sent {"connection_id":64940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:11:47] local.INFO: TCP Data received {"connection_id":64940,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:47] local.INFO: Processing buffer {"connection_id":64940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:11:47] local.INFO: IMEI packet received {"connection_id":64940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:11:47] local.INFO: IMEI acknowledgment sent {"connection_id":64940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:11:52] local.INFO: TCP Data received {"connection_id":64940,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e0b100012d1dc44006d38450000f014528..."} 
[2026-05-08 10:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e0b100012d1dc44006d38450000f014528..."} 
[2026-05-08 10:11:52] local.INFO: Processing buffer {"connection_id":64940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e0b100012d1dc44006d38450000f014528..."} 
[2026-05-08 10:11:52] local.INFO: Packet analysis {"connection_id":64940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e0"} 
[2026-05-08 10:11:52] local.INFO: Extracted packet for processing {"connection_id":64940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e0"} 
[2026-05-08 10:11:52] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 10:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:11:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223053056001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:11:52] local.INFO: AVL Record Parsed {"raw_timestamp":1778215072000,"timestamp_ms":1778215072000,"timestamp_seconds":1778215072,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e0b100"} 
[2026-05-08 10:11:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:11:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10:11:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-05-08 10:11:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:11:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:11:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:11:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:11:52] local.INFO: Teltonika packet parsed successfully {"connection_id":64940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:11:52] local.INFO: Passing IMEI to GPS processor {"connection_id":64940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:11:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":64940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:11:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:11:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:11:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:11:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223053056001,"66":28485,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:11:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:11:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:11:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223053056001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:11:52] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:11:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:11:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:11:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223053056001,"power":28485,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:11:52] local.INFO: DEBUG: GPS processor result {"connection_id":64940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121371,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:11:52] local.INFO: GPS data processed {"connection_id":64940,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:11:52] local.INFO: Acknowledgment sent {"connection_id":64940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:11:52] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:11:52] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:11:52] local.INFO: IMEI packet received {"connection_id":64899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":64899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:11:58] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:11:58] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:11:58] local.INFO: IMEI packet received {"connection_id":64899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":64899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:11:59] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:59] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:11:59] local.INFO: Packet analysis {"connection_id":64899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:11:59] local.INFO: Extracted packet for processing {"connection_id":64899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:11: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-05-08 10:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:11:59] 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-05-08 10:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:11:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":64899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:11:59] local.INFO: GPS data processed {"connection_id":64899,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:11:59] local.INFO: Acknowledgment sent {"connection_id":64899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:12:25] local.INFO: TCP Data received {"connection_id":64940,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e10308012d1dc44006d38450000f014528..."} 
[2026-05-08 10:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e10308012d1dc44006d38450000f014528..."} 
[2026-05-08 10:12:25] local.INFO: Processing buffer {"connection_id":64940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e10308012d1dc44006d38450000f014528..."} 
[2026-05-08 10:12:25] local.INFO: Packet analysis {"connection_id":64940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e1"} 
[2026-05-08 10:12:25] local.INFO: Extracted packet for processing {"connection_id":64940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e1"} 
[2026-05-08 10:12:25] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 10:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223058432001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778215093000,"timestamp_ms":1778215093000,"timestamp_seconds":1778215093,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e10308"} 
[2026-05-08 10:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:12: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-05-08 10:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-05-08 10:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":64940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":64940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":64940,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223058432001,"66":28452,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223058432001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:12:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223058432001,"power":28452,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":64940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:12:25] local.INFO: GPS data processed {"connection_id":64940,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:12:25] local.INFO: Acknowledgment sent {"connection_id":64940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:12:31] local.INFO: TCP Data received {"connection_id":64899,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:12:31] local.INFO: Processing buffer {"connection_id":64899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:12:31] local.INFO: Packet analysis {"connection_id":64899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:12:31] local.INFO: Extracted packet for processing {"connection_id":64899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:12:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:12:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:12:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:12:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:12:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:12:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:12:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:12:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:12:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:12:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:12:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:12:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:12:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:12:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:12:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:12:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:12:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:12:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:12:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:12:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:12:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:12:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:12:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:12:31] local.INFO: DEBUG: GPS processor result {"connection_id":64899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:12:31] local.INFO: GPS data processed {"connection_id":64899,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:12:31] local.INFO: Acknowledgment sent {"connection_id":64899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:12:52] local.INFO: TCP Data received {"connection_id":64900,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:12:52] local.INFO: Processing buffer {"connection_id":64900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:12:52] local.INFO: IMEI packet received {"connection_id":64900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":64900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:12:52] local.INFO: TCP Data received {"connection_id":65746,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:12:52] local.INFO: Processing buffer {"connection_id":65746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:12:52] local.INFO: IMEI packet received {"connection_id":65746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":65746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:12:57] local.INFO: TCP Data received {"connection_id":64900,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:12:57] local.INFO: Processing buffer {"connection_id":64900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:12:57] local.INFO: IMEI packet received {"connection_id":64900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":64900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:12:58] local.INFO: TCP Data received {"connection_id":64900,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e15510012d1dc44006d38450000f014528..."} 
[2026-05-08 10:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e15510012d1dc44006d38450000f014528..."} 
[2026-05-08 10:12:58] local.INFO: Processing buffer {"connection_id":64900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e15510012d1dc44006d38450000f014528..."} 
[2026-05-08 10:12:58] local.INFO: Packet analysis {"connection_id":64900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e1"} 
[2026-05-08 10:12:58] local.INFO: Extracted packet for processing {"connection_id":64900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e1"} 
[2026-05-08 10:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756925504,"raw_latitude":114525264,"longitude_deg":75.6925504,"latitude_deg":11.4525264,"altitude":15,"angle":325,"satellites":40,"speed":0,"hex_longitude":"2d1dc440","hex_latitude":"06d38450","is_valid_coordinates":true} 
[2026-05-08 10:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223063808001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778215114000,"timestamp_ms":1778215114000,"timestamp_seconds":1778215114,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e15510"} 
[2026-05-08 10:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:12: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-05-08 10:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 10:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64900,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223063808001,"66":28495,"79":206,"2":56576,"24":0,"16":110263870756487168,"45":2144909720597843968},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-05-08 10:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223063808001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:12:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 10:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144909720597843968,"description":"Unknown IO ID 45"} 
[2026-05-08 10:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223063808001,"power":28495,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144909720597843968}} 
[2026-05-08 10:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":64900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:12:58] local.INFO: GPS data processed {"connection_id":64900,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:12:58] local.INFO: Acknowledgment sent {"connection_id":64900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:12:58] local.INFO: TCP Data received {"connection_id":65746,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:12:58] local.INFO: Processing buffer {"connection_id":65746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:12:58] local.INFO: IMEI packet received {"connection_id":65746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":65746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:12:59] local.INFO: TCP Data received {"connection_id":65746,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:12:59] local.INFO: Processing buffer {"connection_id":65746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:12:59] local.INFO: Packet analysis {"connection_id":65746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:12:59] local.INFO: Extracted packet for processing {"connection_id":65746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:12: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-05-08 10:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:12:59] 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-05-08 10:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":65746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:12:59] local.INFO: GPS data processed {"connection_id":65746,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:12:59] local.INFO: Acknowledgment sent {"connection_id":65746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:13:31] local.INFO: TCP Data received {"connection_id":65746,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:13:31] local.INFO: Processing buffer {"connection_id":65746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:13:31] local.INFO: Packet analysis {"connection_id":65746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:13:31] local.INFO: Extracted packet for processing {"connection_id":65746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":65746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:13:31] local.INFO: GPS data processed {"connection_id":65746,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:13:31] local.INFO: Acknowledgment sent {"connection_id":65746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:13:48] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:13:48] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:13:48] local.INFO: IMEI packet received {"connection_id":64941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:13:48] local.INFO: IMEI acknowledgment sent {"connection_id":64941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:13:57] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:13:57] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:13:57] local.INFO: IMEI packet received {"connection_id":64941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":64941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:13:58] local.INFO: TCP Data received {"connection_id":64901,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:13:58] local.INFO: Processing buffer {"connection_id":64901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:13:58] local.INFO: IMEI packet received {"connection_id":64901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":64901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:14:02] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e56bf00100000000000000000000000000..."} 
[2026-05-08 10:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e56bf00100000000000000000000000000..."} 
[2026-05-08 10:14:02] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e56bf00100000000000000000000000000..."} 
[2026-05-08 10:14:02] local.INFO: Packet analysis {"connection_id":64941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e5"} 
[2026-05-08 10:14:02] local.INFO: Extracted packet for processing {"connection_id":64941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e5"} 
[2026-05-08 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223122944001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144909720597843968,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778215382000,"timestamp_ms":1778215382000,"timestamp_seconds":1778215382,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e56bf0"} 
[2026-05-08 10:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-05-08 10:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1810,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":64941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":64941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":64941,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":64941,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 10:14:02] local.INFO: GPS data processed {"connection_id":64941,"processed":0,"errors":0,"total":1} 
[2026-05-08 10:14:02] local.INFO: Acknowledgment sent {"connection_id":64941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:14:03] local.INFO: TCP Data received {"connection_id":64901,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:03] local.INFO: Processing buffer {"connection_id":64901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:03] local.INFO: IMEI packet received {"connection_id":64901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":64901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:14:04] local.INFO: TCP Data received {"connection_id":64901,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:04] local.INFO: Processing buffer {"connection_id":64901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:04] local.INFO: Packet analysis {"connection_id":64901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:14:04] local.INFO: Extracted packet for processing {"connection_id":64901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14: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-05-08 10:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:14:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:14:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":64901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:14:04] local.INFO: GPS data processed {"connection_id":64901,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:14:04] local.INFO: Acknowledgment sent {"connection_id":64901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:14:08] local.INFO: TCP Data received {"connection_id":64901,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:08] local.INFO: Processing buffer {"connection_id":64901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:08] local.INFO: Packet analysis {"connection_id":64901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:14:08] local.INFO: Extracted packet for processing {"connection_id":64901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:14: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-05-08 10: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":64901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":64901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":64901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":64901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:14:08] local.INFO: GPS data processed {"connection_id":64901,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:14:08] local.INFO: Acknowledgment sent {"connection_id":64901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:14:42] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:42] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:42] local.INFO: IMEI packet received {"connection_id":64902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":64902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:14:44] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:44] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:44] local.INFO: IMEI packet received {"connection_id":64902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:14:44] local.INFO: IMEI acknowledgment sent {"connection_id":64902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:14:47] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.36.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:47] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:14:47] local.INFO: IMEI packet received {"connection_id":64902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 10:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":64902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:14:49] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e4fe90012d1da40006d3a6c80010014230..."} 
[2026-05-08 10:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e4fe90012d1da40006d3a6c80010014230..."} 
[2026-05-08 10:14:49] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e4fe90012d1da40006d3a6c80010014230..."} 
[2026-05-08 10:14:49] local.INFO: Packet analysis {"connection_id":64902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e4"} 
[2026-05-08 10:14:49] local.INFO: Extracted packet for processing {"connection_id":64902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e4"} 
[2026-05-08 10:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756917248,"raw_latitude":114534088,"longitude_deg":75.6917248,"latitude_deg":11.4534088,"altitude":16,"angle":322,"satellites":48,"speed":14,"hex_longitude":"2d1da400","hex_latitude":"06d3a6c8","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 10:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778215354000,"timestamp_ms":1778215354000,"timestamp_seconds":1778215354,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e4fe90"} 
[2026-05-08 10:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-05-08 10:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1077,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":64902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":64902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":64902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"110":206,"2":56576,"24":14,"16":110263870756487168},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16]} 
[2026-05-08 10:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-05-08 10:14:49] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-05-08 10:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:14:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_110":206,"power_alt":56576,"ignition":14,"odometer":null}} 
[2026-05-08 10:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":64902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:14:49] local.INFO: GPS data processed {"connection_id":64902,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:14:49] local.INFO: Acknowledgment sent {"connection_id":64902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:14:53] local.INFO: TCP Data received {"connection_id":65747,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:53] local.INFO: Processing buffer {"connection_id":65747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:53] local.INFO: IMEI packet received {"connection_id":65747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":65747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:14:58] local.INFO: TCP Data received {"connection_id":65747,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:58] local.INFO: Processing buffer {"connection_id":65747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:14:58] local.INFO: IMEI packet received {"connection_id":65747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":65747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:14:59] local.INFO: TCP Data received {"connection_id":65747,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:59] local.INFO: Processing buffer {"connection_id":65747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e281d8012d34c54006aa50700001006226..."} 
[2026-05-08 10:14:59] local.INFO: Packet analysis {"connection_id":65747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:14:59] local.INFO: Extracted packet for processing {"connection_id":65747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e2"} 
[2026-05-08 10:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":1,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223011840001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:14: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-05-08 10:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215191000,"timestamp_ms":1778215191000,"timestamp_seconds":1778215191,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e281d8"} 
[2026-05-08 10:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:14:59] 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-05-08 10:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223011840001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223011840001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223011840001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":65747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:14:59] local.INFO: GPS data processed {"connection_id":65747,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:14:59] local.INFO: Acknowledgment sent {"connection_id":65747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:15:21] local.INFO: TCP Data received {"connection_id":64902,"ip":"117.224.36.36","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e55098012d1da40006d3a6c80010014230..."} 
[2026-05-08 10:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e55098012d1da40006d3a6c80010014230..."} 
[2026-05-08 10:15:21] local.INFO: Processing buffer {"connection_id":64902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e55098012d1da40006d3a6c80010014230..."} 
[2026-05-08 10:15:21] local.INFO: Packet analysis {"connection_id":64902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e5"} 
[2026-05-08 10:15:21] local.INFO: Extracted packet for processing {"connection_id":64902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e5"} 
[2026-05-08 10:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756917248,"raw_latitude":114534088,"longitude_deg":75.6917248,"latitude_deg":11.4534088,"altitude":16,"angle":322,"satellites":48,"speed":0,"hex_longitude":"2d1da400","hex_latitude":"06d3a6c8","is_valid_coordinates":true} 
[2026-05-08 10:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223130624001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110263870756487168,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2135832152601184256,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,110,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778215375000,"timestamp_ms":1778215375000,"timestamp_seconds":1778215375,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e55098"} 
[2026-05-08 10:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:15:21] 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-05-08 10:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-05-08 10:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2008,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":64902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":64902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":64902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 10:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.36.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 10:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 10:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223130624001,"66":28452,"110":206,"2":56576,"24":0,"16":110263870756487168,"45":2135832152601184256},"client_ip":"117.224.36.36","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,45]} 
[2026-05-08 10:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 10:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 10:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223130624001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:15:21] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-05-08 10:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110263870756487168,"km_value":110263870756487.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2135832152601184256,"description":"Unknown IO ID 45"} 
[2026-05-08 10:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223130624001,"power":28452,"unknown_110":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2135832152601184256}} 
[2026-05-08 10:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":64902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:15:21] local.INFO: GPS data processed {"connection_id":64902,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:15:21] local.INFO: Acknowledgment sent {"connection_id":64902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:15:31] local.INFO: TCP Data received {"connection_id":65747,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:15:31] local.INFO: Processing buffer {"connection_id":65747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:15:31] local.INFO: Packet analysis {"connection_id":65747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:15:31] local.INFO: Extracted packet for processing {"connection_id":65747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:15:31] 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-05-08 10:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:15:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":65747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:15:31] local.INFO: GPS data processed {"connection_id":65747,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:15:31] local.INFO: Acknowledgment sent {"connection_id":65747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:15:52] local.INFO: TCP Data received {"connection_id":64903,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:15:52] local.INFO: Processing buffer {"connection_id":64903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:15:52] local.INFO: IMEI packet received {"connection_id":64903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":64903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:15:58] local.INFO: TCP Data received {"connection_id":64903,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:15:58] local.INFO: Processing buffer {"connection_id":64903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:15:58] local.INFO: IMEI packet received {"connection_id":64903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":64903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:15:59] local.INFO: TCP Data received {"connection_id":64903,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:15:59] local.INFO: Processing buffer {"connection_id":64903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:15:59] local.INFO: Packet analysis {"connection_id":64903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:15:59] local.INFO: Extracted packet for processing {"connection_id":64903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:15: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-05-08 10:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:15:59] 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-05-08 10:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:15:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":64903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:15:59] local.INFO: GPS data processed {"connection_id":64903,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:15:59] local.INFO: Acknowledgment sent {"connection_id":64903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:16:30] local.INFO: TCP Data received {"connection_id":64903,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:16:30] local.INFO: Processing buffer {"connection_id":64903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:16:30] local.INFO: Packet analysis {"connection_id":64903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:16:30] local.INFO: Extracted packet for processing {"connection_id":64903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:16: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-05-08 10:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:16:30] 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-05-08 10:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:16:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":64903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:16:30] local.INFO: GPS data processed {"connection_id":64903,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:16:30] local.INFO: Acknowledgment sent {"connection_id":64903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:16:52] local.INFO: TCP Data received {"connection_id":64904,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:16:52] local.INFO: Processing buffer {"connection_id":64904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:16:52] local.INFO: IMEI packet received {"connection_id":64904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":64904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:16:58] local.INFO: TCP Data received {"connection_id":64904,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:16:58] local.INFO: Processing buffer {"connection_id":64904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:16:58] local.INFO: IMEI packet received {"connection_id":64904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":64904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:17:00] local.INFO: TCP Data received {"connection_id":64904,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:17:00] local.INFO: Processing buffer {"connection_id":64904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:17:00] local.INFO: Packet analysis {"connection_id":64904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:17:00] local.INFO: Extracted packet for processing {"connection_id":64904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:17:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:17:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:17:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:17:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:17: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-05-08 10:17:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:17:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:17:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:17:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:17:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:17:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:17:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:17:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:17:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:17:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:17:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:17:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:17:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:17:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:17:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:17:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:17:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:17:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:17:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:17:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:17:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:17:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:17:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:17:00] local.INFO: DEBUG: GPS processor result {"connection_id":64904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:17:00] local.INFO: GPS data processed {"connection_id":64904,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:17:00] local.INFO: Acknowledgment sent {"connection_id":64904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:17:32] local.INFO: TCP Data received {"connection_id":64904,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:17:32] local.INFO: Processing buffer {"connection_id":64904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:17:32] local.INFO: Packet analysis {"connection_id":64904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:17:32] local.INFO: Extracted packet for processing {"connection_id":64904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:17:32] 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-05-08 10:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:17:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":64904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:17:32] local.INFO: GPS data processed {"connection_id":64904,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:17:32] local.INFO: Acknowledgment sent {"connection_id":64904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:18:03] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:03] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:03] local.INFO: IMEI packet received {"connection_id":64942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":64942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:18:08] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:08] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:08] local.INFO: IMEI packet received {"connection_id":64942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":64942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:18:09] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:09] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:09] local.INFO: Packet analysis {"connection_id":64942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:18:09] local.INFO: Extracted packet for processing {"connection_id":64942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10: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-05-08 10: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:18: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-05-08 10: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-05-08 10:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:18:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:18:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":64942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:18:09] local.INFO: GPS data processed {"connection_id":64942,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:18:09] local.INFO: Acknowledgment sent {"connection_id":64942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:18:13] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:13] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:13] local.INFO: Packet analysis {"connection_id":64942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:18:13] local.INFO: Extracted packet for processing {"connection_id":64942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:18:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18: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-05-08 10:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:18:13] 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-05-08 10:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":64942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:18:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:18:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":64942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:18:13] local.INFO: GPS data processed {"connection_id":64942,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:18:13] local.INFO: Acknowledgment sent {"connection_id":64942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:18:18] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:18] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:18] local.INFO: Packet analysis {"connection_id":64942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:18:18] local.INFO: Extracted packet for processing {"connection_id":64942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18: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-05-08 10:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:18: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-05-08 10:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:18:18] 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-05-08 10:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":64942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:18:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:18:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":64942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:18:18] local.INFO: GPS data processed {"connection_id":64942,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:18:18] local.INFO: Acknowledgment sent {"connection_id":64942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:18:47] local.INFO: TCP Data received {"connection_id":64943,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:18:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:18:47] local.INFO: Processing buffer {"connection_id":64943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:18:47] local.INFO: IMEI packet received {"connection_id":64943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:18:47] local.INFO: IMEI acknowledgment sent {"connection_id":64943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:18:53] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:53] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:53] local.INFO: IMEI packet received {"connection_id":65007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":65007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:18:58] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:58] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:18:58] local.INFO: IMEI packet received {"connection_id":65007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":65007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:18:59] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:59] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:18:59] local.INFO: Packet analysis {"connection_id":65007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:18:59] local.INFO: Extracted packet for processing {"connection_id":65007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:18: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-05-08 10:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:18:59] 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-05-08 10:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:18:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":65007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:18:59] local.INFO: GPS data processed {"connection_id":65007,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:18:59] local.INFO: Acknowledgment sent {"connection_id":65007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:19:04] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:04] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:04] local.INFO: Packet analysis {"connection_id":65007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:19:04] local.INFO: Extracted packet for processing {"connection_id":65007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:19:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:19:04] 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-05-08 10:19:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:19:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":65007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:19:04] local.INFO: GPS data processed {"connection_id":65007,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:19:04] local.INFO: Acknowledgment sent {"connection_id":65007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:19:37] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:37] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:37] local.INFO: Packet analysis {"connection_id":65007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:19:37] local.INFO: Extracted packet for processing {"connection_id":65007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:19:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:19:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:19:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:19:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:19:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:19:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10: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-05-08 10:19:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:19: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-05-08 10:19:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:19:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:19:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:19:37] local.INFO: Teltonika packet parsed successfully {"connection_id":65007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:19:37] local.INFO: Passing IMEI to GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:19:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:19:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:19:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:19:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:19:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:19:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:19:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:19:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:19:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:19:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:19:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:19:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:19:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:19:37] local.INFO: DEBUG: GPS processor result {"connection_id":65007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:19:37] local.INFO: GPS data processed {"connection_id":65007,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:19:37] local.INFO: Acknowledgment sent {"connection_id":65007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:19:53] local.INFO: TCP Data received {"connection_id":65008,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:19:53] local.INFO: Processing buffer {"connection_id":65008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:19:53] local.INFO: IMEI packet received {"connection_id":65008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":65008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:19:58] local.INFO: TCP Data received {"connection_id":65008,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:19:58] local.INFO: Processing buffer {"connection_id":65008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:19:58] local.INFO: IMEI packet received {"connection_id":65008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":65008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:19:59] local.INFO: TCP Data received {"connection_id":65008,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:59] local.INFO: Processing buffer {"connection_id":65008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:19:59] local.INFO: Packet analysis {"connection_id":65008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:19:59] local.INFO: Extracted packet for processing {"connection_id":65008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:19: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-05-08 10:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:19:59] 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-05-08 10:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:19:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":65008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:19:59] local.INFO: GPS data processed {"connection_id":65008,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:19:59] local.INFO: Acknowledgment sent {"connection_id":65008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:20:31] local.INFO: TCP Data received {"connection_id":65008,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:20:31] local.INFO: Processing buffer {"connection_id":65008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05e719a0012d34c54006aa5070000000622b..."} 
[2026-05-08 10:20:31] local.INFO: Packet analysis {"connection_id":65008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:20:31] local.INFO: Extracted packet for processing {"connection_id":65008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05e7"} 
[2026-05-08 10:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223088896001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778215492000,"timestamp_ms":1778215492000,"timestamp_seconds":1778215492,"priority":1,"record_length":96,"hex_timestamp":"0000019e05e719a0"} 
[2026-05-08 10:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:20:31] 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-05-08 10:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223088896001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223088896001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:20:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223088896001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":65008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:20:31] local.INFO: GPS data processed {"connection_id":65008,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:20:31] local.INFO: Acknowledgment sent {"connection_id":65008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:20:52] local.INFO: TCP Data received {"connection_id":64945,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:20:52] local.INFO: Processing buffer {"connection_id":64945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:20:52] local.INFO: IMEI packet received {"connection_id":64945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":64945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:20:58] local.INFO: TCP Data received {"connection_id":64945,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:20:58] local.INFO: Processing buffer {"connection_id":64945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:20:58] local.INFO: IMEI packet received {"connection_id":64945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":64945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:21:00] local.INFO: TCP Data received {"connection_id":64945,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:00] local.INFO: Processing buffer {"connection_id":64945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:00] local.INFO: Packet analysis {"connection_id":64945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:21:00] local.INFO: Extracted packet for processing {"connection_id":64945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:21:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:00] 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-05-08 10:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:21:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:21:00] 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-05-08 10:21:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:21:00] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":64945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:21:00] local.INFO: GPS data processed {"connection_id":64945,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:21:00] local.INFO: Acknowledgment sent {"connection_id":64945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:21:31] local.INFO: TCP Data received {"connection_id":64945,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:31] local.INFO: Processing buffer {"connection_id":64945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:31] local.INFO: Packet analysis {"connection_id":64945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:21:31] local.INFO: Extracted packet for processing {"connection_id":64945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:31] 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-05-08 10:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:21:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":64945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:21:31] local.INFO: GPS data processed {"connection_id":64945,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:21:31] local.INFO: Acknowledgment sent {"connection_id":64945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:21:53] local.INFO: TCP Data received {"connection_id":65749,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:21:53] local.INFO: Processing buffer {"connection_id":65749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:21:53] local.INFO: IMEI packet received {"connection_id":65749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":65749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:21:58] local.INFO: TCP Data received {"connection_id":65749,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:21:58] local.INFO: Processing buffer {"connection_id":65749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:21:58] local.INFO: IMEI packet received {"connection_id":65749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":65749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:21:59] local.INFO: TCP Data received {"connection_id":65749,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:59] local.INFO: Processing buffer {"connection_id":65749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:21:59] local.INFO: Packet analysis {"connection_id":65749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:21:59] local.INFO: Extracted packet for processing {"connection_id":65749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:21:59] 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-05-08 10:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:21:59] 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-05-08 10:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:21:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":65749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:21:59] local.INFO: GPS data processed {"connection_id":65749,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:21:59] local.INFO: Acknowledgment sent {"connection_id":65749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:22:31] local.INFO: TCP Data received {"connection_id":65749,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:22:31] local.INFO: Processing buffer {"connection_id":65749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:22:31] local.INFO: Packet analysis {"connection_id":65749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:22:31] local.INFO: Extracted packet for processing {"connection_id":65749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:22:31] 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-05-08 10:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:22:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":65749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:22:31] local.INFO: GPS data processed {"connection_id":65749,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:22:31] local.INFO: Acknowledgment sent {"connection_id":65749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:22:52] local.INFO: TCP Data received {"connection_id":65009,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:22:52] local.INFO: Processing buffer {"connection_id":65009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:22:52] local.INFO: IMEI packet received {"connection_id":65009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":65009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:22:58] local.INFO: TCP Data received {"connection_id":65009,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:22:58] local.INFO: Processing buffer {"connection_id":65009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:22:58] local.INFO: IMEI packet received {"connection_id":65009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":65009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:22:59] local.INFO: TCP Data received {"connection_id":65009,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:22:59] local.INFO: Processing buffer {"connection_id":65009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:22:59] local.INFO: Packet analysis {"connection_id":65009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:22:59] local.INFO: Extracted packet for processing {"connection_id":65009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:22:59] 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-05-08 10:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:22:59] 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-05-08 10:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:22:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":65009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:22:59] local.INFO: GPS data processed {"connection_id":65009,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:22:59] local.INFO: Acknowledgment sent {"connection_id":65009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:23:31] local.INFO: TCP Data received {"connection_id":65009,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:23:31] local.INFO: Processing buffer {"connection_id":65009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:23:31] local.INFO: Packet analysis {"connection_id":65009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:23:31] local.INFO: Extracted packet for processing {"connection_id":65009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:23:31] 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-05-08 10:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:23:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:23:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":65009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:23:31] local.INFO: GPS data processed {"connection_id":65009,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:23:31] local.INFO: Acknowledgment sent {"connection_id":65009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:23:52] local.INFO: TCP Data received {"connection_id":64946,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:23:52] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:23:52] local.INFO: IMEI packet received {"connection_id":64946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":64946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:23:58] local.INFO: TCP Data received {"connection_id":64946,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:23:58] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:23:58] local.INFO: IMEI packet received {"connection_id":64946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":64946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:23:59] local.INFO: TCP Data received {"connection_id":64946,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:23:59] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:23:59] local.INFO: Packet analysis {"connection_id":64946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:23:59] local.INFO: Extracted packet for processing {"connection_id":64946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:23:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:23:59] 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-05-08 10:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:23:59] 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-05-08 10:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:23:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":64946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:23:59] local.INFO: GPS data processed {"connection_id":64946,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:23:59] local.INFO: Acknowledgment sent {"connection_id":64946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:24:07] local.INFO: TCP Data received {"connection_id":64907,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64907,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:24:07] local.INFO: Processing buffer {"connection_id":64907,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:24:07] local.INFO: IMEI packet received {"connection_id":64907,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":64907,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:24:30] local.INFO: TCP Data received {"connection_id":64946,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:24:30] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:24:30] local.INFO: Packet analysis {"connection_id":64946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:24:30] local.INFO: Extracted packet for processing {"connection_id":64946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:24:30] 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-05-08 10:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:24: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-05-08 10:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:24:30] 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-05-08 10:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:24:30] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:24:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":64946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:24:30] local.INFO: GPS data processed {"connection_id":64946,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:24:30] local.INFO: Acknowledgment sent {"connection_id":64946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:24:42] local.INFO: TCP Data received {"connection_id":65010,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:24:42] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:24:42] local.INFO: IMEI packet received {"connection_id":65010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":65010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:24:52] local.INFO: TCP Data received {"connection_id":65011,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:24:52] local.INFO: Processing buffer {"connection_id":65011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:24:52] local.INFO: IMEI packet received {"connection_id":65011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":65011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:24:58] local.INFO: TCP Data received {"connection_id":65011,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:24:58] local.INFO: Processing buffer {"connection_id":65011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:24:58] local.INFO: IMEI packet received {"connection_id":65011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":65011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:24:59] local.INFO: TCP Data received {"connection_id":65011,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:24:59] local.INFO: Processing buffer {"connection_id":65011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:24:59] local.INFO: Packet analysis {"connection_id":65011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:24:59] local.INFO: Extracted packet for processing {"connection_id":65011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:24:59] 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-05-08 10:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:24:59] 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-05-08 10:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:24:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":65011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:24:59] local.INFO: GPS data processed {"connection_id":65011,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:24:59] local.INFO: Acknowledgment sent {"connection_id":65011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:25:31] local.INFO: TCP Data received {"connection_id":65011,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:25:31] local.INFO: Processing buffer {"connection_id":65011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05ebb168012d34c54006aa5070000000622a..."} 
[2026-05-08 10:25:31] local.INFO: Packet analysis {"connection_id":65011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:25:31] local.INFO: Extracted packet for processing {"connection_id":65011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05eb"} 
[2026-05-08 10:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223165952001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:25:31] 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-05-08 10:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778215793000,"timestamp_ms":1778215793000,"timestamp_seconds":1778215793,"priority":1,"record_length":96,"hex_timestamp":"0000019e05ebb168"} 
[2026-05-08 10:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223165952001,"66":25223,"105":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-05-08 10:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223165952001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:25:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-05-08 10:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223165952001,"power":25223,"unknown_105":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":65011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:25:31] local.INFO: GPS data processed {"connection_id":65011,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:25:31] local.INFO: Acknowledgment sent {"connection_id":65011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:25:57] local.INFO: TCP Data received {"connection_id":65750,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:25:58] local.INFO: Processing buffer {"connection_id":65750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:25:58] local.INFO: IMEI packet received {"connection_id":65750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":65750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:26:03] local.INFO: TCP Data received {"connection_id":65750,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65750,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:03] local.INFO: Processing buffer {"connection_id":65750,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:03] local.INFO: IMEI packet received {"connection_id":65750,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":65750,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:26:05] local.INFO: TCP Data received {"connection_id":65750,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:05] local.INFO: Processing buffer {"connection_id":65750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:05] local.INFO: Packet analysis {"connection_id":65750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:26:05] local.INFO: Extracted packet for processing {"connection_id":65750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:26:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:26:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:26:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:26:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:26:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:26:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:26:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:26:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:26:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:26:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:26:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:26:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:26:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:26:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:26:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:26:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:26:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:26:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:26:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:26:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:26:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:26:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:26:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:26:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:26:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:26:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:26:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:26:05] local.INFO: DEBUG: GPS processor result {"connection_id":65750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:26:05] local.INFO: GPS data processed {"connection_id":65750,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:26:05] local.INFO: Acknowledgment sent {"connection_id":65750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:26:37] local.INFO: TCP Data received {"connection_id":65750,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:37] local.INFO: Processing buffer {"connection_id":65750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:37] local.INFO: Packet analysis {"connection_id":65750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:26:37] local.INFO: Extracted packet for processing {"connection_id":65750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:26:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:26:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:26:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:26:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:26:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:26:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:26: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-05-08 10:26:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:26: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-05-08 10:26:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:26:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:26:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:26:37] local.INFO: Teltonika packet parsed successfully {"connection_id":65750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:26:37] local.INFO: Passing IMEI to GPS processor {"connection_id":65750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:26:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":65750,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:26:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:26:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:26:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:26:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:26:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:26:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:26:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:26:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:26:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:26:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:26:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:26:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:26:37] local.INFO: DEBUG: GPS processor result {"connection_id":65750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:26:37] local.INFO: GPS data processed {"connection_id":65750,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:26:37] local.INFO: Acknowledgment sent {"connection_id":65750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:26:52] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:52] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:52] local.INFO: IMEI packet received {"connection_id":64947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":64947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:26:58] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:58] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:26:58] local.INFO: IMEI packet received {"connection_id":64947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":64947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:26:59] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:59] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:26:59] local.INFO: Packet analysis {"connection_id":64947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:26:59] local.INFO: Extracted packet for processing {"connection_id":64947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:26: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-05-08 10:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:26: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-05-08 10:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":64947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:26:59] local.INFO: GPS data processed {"connection_id":64947,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:26:59] local.INFO: Acknowledgment sent {"connection_id":64947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:27:31] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:27:31] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:27:31] local.INFO: Packet analysis {"connection_id":64947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:27:31] local.INFO: Extracted packet for processing {"connection_id":64947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:27:31] 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-05-08 10:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:27:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":64947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:27:31] local.INFO: GPS data processed {"connection_id":64947,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:27:31] local.INFO: Acknowledgment sent {"connection_id":64947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:27:52] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:27:52] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:27:52] local.INFO: IMEI packet received {"connection_id":64910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":64910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:27:58] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:27:58] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:27:58] local.INFO: IMEI packet received {"connection_id":64910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":64910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:28:00] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:00] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:00] local.INFO: Packet analysis {"connection_id":64910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:28:00] local.INFO: Extracted packet for processing {"connection_id":64910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28: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-05-08 10:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:28:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:28:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":64910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:28:00] local.INFO: GPS data processed {"connection_id":64910,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:28:00] local.INFO: Acknowledgment sent {"connection_id":64910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:28:31] local.INFO: TCP Data received {"connection_id":64910,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:31] local.INFO: Processing buffer {"connection_id":64910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:31] local.INFO: Packet analysis {"connection_id":64910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:28:31] local.INFO: Extracted packet for processing {"connection_id":64910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:28:31] 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-05-08 10:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:28:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":64910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:28:31] local.INFO: GPS data processed {"connection_id":64910,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:28:31] local.INFO: Acknowledgment sent {"connection_id":64910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:28:52] local.INFO: TCP Data received {"connection_id":64948,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:28:52] local.INFO: Processing buffer {"connection_id":64948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:28:52] local.INFO: IMEI packet received {"connection_id":64948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":64948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:28:58] local.INFO: TCP Data received {"connection_id":64948,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:28:58] local.INFO: Processing buffer {"connection_id":64948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:28:58] local.INFO: IMEI packet received {"connection_id":64948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":64948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:28:59] local.INFO: TCP Data received {"connection_id":64948,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:59] local.INFO: Processing buffer {"connection_id":64948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:28:59] local.INFO: Packet analysis {"connection_id":64948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:28:59] local.INFO: Extracted packet for processing {"connection_id":64948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:28:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:28: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-05-08 10:28:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:28:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:28:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:28:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:28: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-05-08 10:28:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:28:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:28:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:28:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:28:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:28:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:28:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:28:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:28:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:28:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:28:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:28:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:28:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:28:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:28:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:28:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:28:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:28:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:28:59] local.INFO: DEBUG: GPS processor result {"connection_id":64948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:28:59] local.INFO: GPS data processed {"connection_id":64948,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:28:59] local.INFO: Acknowledgment sent {"connection_id":64948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:29:31] local.INFO: TCP Data received {"connection_id":64948,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:29:31] local.INFO: Processing buffer {"connection_id":64948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:29:31] local.INFO: Packet analysis {"connection_id":64948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:29:31] local.INFO: Extracted packet for processing {"connection_id":64948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:29:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:29:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:29:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:29:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:29:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:29:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:29:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:29:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:29:31] 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-05-08 10:29:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:29:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:29:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:29:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:29:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:29:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:29:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:29:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:29:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:29:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:29:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:29:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:29:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:29:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:29:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:29:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:29:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:29:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:29:31] local.INFO: DEBUG: GPS processor result {"connection_id":64948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:29:31] local.INFO: GPS data processed {"connection_id":64948,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:29:31] local.INFO: Acknowledgment sent {"connection_id":64948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:29:57] local.INFO: TCP Data received {"connection_id":65012,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:29:57] local.INFO: Processing buffer {"connection_id":65012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:29:57] local.INFO: IMEI packet received {"connection_id":65012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":65012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:29:57] local.INFO: TCP Data received {"connection_id":64911,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:29:57] local.INFO: Processing buffer {"connection_id":64911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:29:57] local.INFO: IMEI packet received {"connection_id":64911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":64911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:30:03] local.INFO: TCP Data received {"connection_id":64911,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:03] local.INFO: Processing buffer {"connection_id":64911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:03] local.INFO: IMEI packet received {"connection_id":64911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":64911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:30:04] local.INFO: TCP Data received {"connection_id":64911,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:30:04] local.INFO: Processing buffer {"connection_id":64911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f04930012d34c54006aa5070000000622a..."} 
[2026-05-08 10:30:04] local.INFO: Packet analysis {"connection_id":64911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:30:04] local.INFO: Extracted packet for processing {"connection_id":64911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f0"} 
[2026-05-08 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223243008001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:30: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-05-08 10:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778216094000,"timestamp_ms":1778216094000,"timestamp_seconds":1778216094,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f04930"} 
[2026-05-08 10:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 10:30: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-05-08 10:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223243008001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223243008001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:30:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223243008001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":64911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:30:04] local.INFO: GPS data processed {"connection_id":64911,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:30:04] local.INFO: Acknowledgment sent {"connection_id":64911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:30:36] local.INFO: TCP Data received {"connection_id":64911,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:30:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:30:36] local.INFO: Processing buffer {"connection_id":64911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:30:36] local.INFO: Packet analysis {"connection_id":64911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:30:36] local.INFO: Extracted packet for processing {"connection_id":64911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:30:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:30:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:30:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:30:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:30:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:30:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:30: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-05-08 10: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:30:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:30:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:30:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:30:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:30:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:30:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:30:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:30:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:30:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:30:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:30:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:30:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:30:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:30:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:30:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:30:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:30:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:30:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:30:36] local.INFO: DEBUG: GPS processor result {"connection_id":64911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:30:36] local.INFO: GPS data processed {"connection_id":64911,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:30:36] local.INFO: Acknowledgment sent {"connection_id":64911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:30:42] local.INFO: TCP Data received {"connection_id":64949,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:30:42] local.INFO: Processing buffer {"connection_id":64949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:30:42] local.INFO: IMEI packet received {"connection_id":64949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":64949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:30:52] local.INFO: TCP Data received {"connection_id":65753,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:52] local.INFO: Processing buffer {"connection_id":65753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:52] local.INFO: IMEI packet received {"connection_id":65753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":65753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:30:58] local.INFO: TCP Data received {"connection_id":65753,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:58] local.INFO: Processing buffer {"connection_id":65753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:30:58] local.INFO: IMEI packet received {"connection_id":65753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":65753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:30:59] local.INFO: TCP Data received {"connection_id":65753,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:30:59] local.INFO: Processing buffer {"connection_id":65753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:30:59] local.INFO: Packet analysis {"connection_id":65753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:30:59] local.INFO: Extracted packet for processing {"connection_id":65753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:30: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-05-08 10:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:30:59] 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-05-08 10:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:30:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":65753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:30:59] local.INFO: GPS data processed {"connection_id":65753,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:30:59] local.INFO: Acknowledgment sent {"connection_id":65753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:31:31] local.INFO: TCP Data received {"connection_id":65753,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:31:31] local.INFO: Processing buffer {"connection_id":65753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:31:31] local.INFO: Packet analysis {"connection_id":65753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:31:31] local.INFO: Extracted packet for processing {"connection_id":65753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:31:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":65753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:31:31] local.INFO: GPS data processed {"connection_id":65753,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:31:31] local.INFO: Acknowledgment sent {"connection_id":65753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:31:58] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:31:58] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:31:58] local.INFO: IMEI packet received {"connection_id":64912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":64912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:32:03] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:03] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:03] local.INFO: IMEI packet received {"connection_id":64912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":64912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:32:05] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:05] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:05] local.INFO: Packet analysis {"connection_id":64912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:32:05] local.INFO: Extracted packet for processing {"connection_id":64912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:32: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-05-08 10:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":64912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":64912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":64912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:32:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:32:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":64912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:32:05] local.INFO: GPS data processed {"connection_id":64912,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:32:05] local.INFO: Acknowledgment sent {"connection_id":64912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:32:09] local.INFO: TCP Data received {"connection_id":64912,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:09] local.INFO: Processing buffer {"connection_id":64912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:09] local.INFO: Packet analysis {"connection_id":64912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:32:09] local.INFO: Extracted packet for processing {"connection_id":64912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 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-05-08 10:32: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-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:32: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-05-08 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-05-08 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-05-08 10:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:32:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:32:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":64912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:32:09] local.INFO: GPS data processed {"connection_id":64912,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:32:09] local.INFO: Acknowledgment sent {"connection_id":64912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:32:53] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:53] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:53] local.INFO: IMEI packet received {"connection_id":64951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":64951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:32:58] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:58] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:32:58] local.INFO: IMEI packet received {"connection_id":64951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":64951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:32:59] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:59] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:32:59] local.INFO: Packet analysis {"connection_id":64951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:32:59] local.INFO: Extracted packet for processing {"connection_id":64951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:32: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-05-08 10:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:32:59] 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-05-08 10:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:32:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":64951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:32:59] local.INFO: GPS data processed {"connection_id":64951,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:32:59] local.INFO: Acknowledgment sent {"connection_id":64951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:33:31] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:33:31] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:33:31] local.INFO: Packet analysis {"connection_id":64951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:33:31] local.INFO: Extracted packet for processing {"connection_id":64951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:33:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":64951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:33:31] local.INFO: GPS data processed {"connection_id":64951,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:33:31] local.INFO: Acknowledgment sent {"connection_id":64951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:33:52] local.INFO: TCP Data received {"connection_id":65755,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:33:52] local.INFO: Processing buffer {"connection_id":65755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:33:52] local.INFO: IMEI packet received {"connection_id":65755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":65755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:33:58] local.INFO: TCP Data received {"connection_id":65755,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:33:58] local.INFO: Processing buffer {"connection_id":65755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:33:58] local.INFO: IMEI packet received {"connection_id":65755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":65755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:33:59] local.INFO: TCP Data received {"connection_id":65755,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:33:59] local.INFO: Processing buffer {"connection_id":65755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:33:59] local.INFO: Packet analysis {"connection_id":65755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:33:59] local.INFO: Extracted packet for processing {"connection_id":65755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:33: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-05-08 10:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:33:59] 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-05-08 10:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:33:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":65755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:33:59] local.INFO: GPS data processed {"connection_id":65755,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:33:59] local.INFO: Acknowledgment sent {"connection_id":65755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:34:32] local.INFO: TCP Data received {"connection_id":65755,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:34:32] local.INFO: Processing buffer {"connection_id":65755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:34:32] local.INFO: Packet analysis {"connection_id":65755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:34:32] local.INFO: Extracted packet for processing {"connection_id":65755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:34:32] 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-05-08 10:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:34:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":65755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:34:32] local.INFO: GPS data processed {"connection_id":65755,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:34:32] local.INFO: Acknowledgment sent {"connection_id":65755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:34:57] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:34:57] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:34:57] local.INFO: IMEI packet received {"connection_id":64915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":64915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:34:57] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:34:57] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:34:57] local.INFO: IMEI packet received {"connection_id":64915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":64915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:34:58] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:34:58] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:34:58] local.INFO: Packet analysis {"connection_id":64915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:34:58] local.INFO: Extracted packet for processing {"connection_id":64915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:34: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-05-08 10:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:34:58] 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-05-08 10:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:34:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:34:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":64915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:34:58] local.INFO: GPS data processed {"connection_id":64915,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:34:58] local.INFO: Acknowledgment sent {"connection_id":64915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:35:03] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:35:03] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f4e0f8012d34c54006aa50700000006226..."} 
[2026-05-08 10:35:03] local.INFO: Packet analysis {"connection_id":64915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:35:03] local.INFO: Extracted packet for processing {"connection_id":64915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f4"} 
[2026-05-08 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223320064001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778216395000,"timestamp_ms":1778216395000,"timestamp_seconds":1778216395,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f4e0f8"} 
[2026-05-08 10:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:35:03] 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-05-08 10: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-05-08 10:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":64915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223320064001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223320064001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:35:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223320064001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":64915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:35:03] local.INFO: GPS data processed {"connection_id":64915,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:35:03] local.INFO: Acknowledgment sent {"connection_id":64915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:35:35] local.INFO: TCP Data received {"connection_id":64915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:35:35] local.INFO: Processing buffer {"connection_id":64915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:35:35] local.INFO: Packet analysis {"connection_id":64915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:35:35] local.INFO: Extracted packet for processing {"connection_id":64915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:35:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:35:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:35:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:35:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:35:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:35:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:35:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:35:35] 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-05-08 10: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-05-08 10:35:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:35:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:35:35] local.INFO: Teltonika packet parsed successfully {"connection_id":64915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:35:35] local.INFO: Passing IMEI to GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:35:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":64915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:35:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:35:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:35:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:35:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:35:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:35:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:35:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:35:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:35:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:35:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:35:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:35:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:35:35] local.INFO: DEBUG: GPS processor result {"connection_id":64915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:35:35] local.INFO: GPS data processed {"connection_id":64915,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:35:35] local.INFO: Acknowledgment sent {"connection_id":64915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:35:52] local.INFO: TCP Data received {"connection_id":65015,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:35:52] local.INFO: Processing buffer {"connection_id":65015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:35:52] local.INFO: IMEI packet received {"connection_id":65015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":65015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:35:58] local.INFO: TCP Data received {"connection_id":65015,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:35:58] local.INFO: Processing buffer {"connection_id":65015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:35:58] local.INFO: IMEI packet received {"connection_id":65015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":65015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:35:59] local.INFO: TCP Data received {"connection_id":65015,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:35:59] local.INFO: Processing buffer {"connection_id":65015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:35:59] local.INFO: Packet analysis {"connection_id":65015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:35:59] local.INFO: Extracted packet for processing {"connection_id":65015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:35: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-05-08 10:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:35:59] 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-05-08 10:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":65015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:35:59] local.INFO: GPS data processed {"connection_id":65015,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:35:59] local.INFO: Acknowledgment sent {"connection_id":65015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:36:07] local.INFO: TCP Data received {"connection_id":65014,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:36:07] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:36:07] local.INFO: IMEI packet received {"connection_id":65014,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":65014,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:36:30] local.INFO: TCP Data received {"connection_id":65015,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:36:30] local.INFO: Processing buffer {"connection_id":65015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:36:30] local.INFO: Packet analysis {"connection_id":65015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:36:30] local.INFO: Extracted packet for processing {"connection_id":65015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:36: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-05-08 10:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:36:30] 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-05-08 10:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:36:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":65015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:36:30] local.INFO: GPS data processed {"connection_id":65015,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:36:30] local.INFO: Acknowledgment sent {"connection_id":65015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:36:42] local.INFO: TCP Data received {"connection_id":65756,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:36:42] local.INFO: Processing buffer {"connection_id":65756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:36:42] local.INFO: IMEI packet received {"connection_id":65756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":65756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:36:58] local.INFO: TCP Data received {"connection_id":64952,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:36:58] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:36:58] local.INFO: IMEI packet received {"connection_id":64952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":64952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:37:03] local.INFO: TCP Data received {"connection_id":64952,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:03] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:03] local.INFO: IMEI packet received {"connection_id":64952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":64952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:37:04] local.INFO: TCP Data received {"connection_id":64952,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:04] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:04] local.INFO: Packet analysis {"connection_id":64952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:37:04] local.INFO: Extracted packet for processing {"connection_id":64952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:37:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:37:04] 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-05-08 10: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-05-08 10:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:37:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:37:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:37:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":64952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:37:04] local.INFO: GPS data processed {"connection_id":64952,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:37:04] local.INFO: Acknowledgment sent {"connection_id":64952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:37:09] local.INFO: TCP Data received {"connection_id":64952,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:09] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:09] local.INFO: Packet analysis {"connection_id":64952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:37:09] local.INFO: Extracted packet for processing {"connection_id":64952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 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-05-08 10:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:37: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-05-08 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-05-08 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-05-08 10:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:37:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:37:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":64952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:37:09] local.INFO: GPS data processed {"connection_id":64952,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:37:09] local.INFO: Acknowledgment sent {"connection_id":64952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:37:54] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:54] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:54] local.INFO: IMEI packet received {"connection_id":64918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":64918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:37:57] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:58] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:37:58] local.INFO: IMEI packet received {"connection_id":64918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":64918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:37:58] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:58] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:37:58] local.INFO: Packet analysis {"connection_id":64918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:37:58] local.INFO: Extracted packet for processing {"connection_id":64918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:37: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-05-08 10:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 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-05-08 10:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:37: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-05-08 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-05-08 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-05-08 10:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:37:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":64918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:37:58] local.INFO: GPS data processed {"connection_id":64918,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:37:58] local.INFO: Acknowledgment sent {"connection_id":64918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:38:03] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:03] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:03] local.INFO: Packet analysis {"connection_id":64918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:38:03] local.INFO: Extracted packet for processing {"connection_id":64918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:38: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-05-08 10: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-05-08 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":64918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":64918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":64918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:38:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:38:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":64918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:38:03] local.INFO: GPS data processed {"connection_id":64918,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:38:03] local.INFO: Acknowledgment sent {"connection_id":64918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:38:35] local.INFO: TCP Data received {"connection_id":64918,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:35] local.INFO: Processing buffer {"connection_id":64918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:35] local.INFO: Packet analysis {"connection_id":64918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:38:35] local.INFO: Extracted packet for processing {"connection_id":64918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:38:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:38:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:38:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:38:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:38:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:38:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:38:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:38:35] 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-05-08 10: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-05-08 10:38:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:38:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:38:35] local.INFO: Teltonika packet parsed successfully {"connection_id":64918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:38:35] local.INFO: Passing IMEI to GPS processor {"connection_id":64918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:38:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":64918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:38:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:38:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:38:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:38:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:38:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:38:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:38:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:38:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:38:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:38:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:38:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:38:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":64918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:38:35] local.INFO: GPS data processed {"connection_id":64918,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:38:35] local.INFO: Acknowledgment sent {"connection_id":64918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:38:53] local.INFO: TCP Data received {"connection_id":65757,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:38:53] local.INFO: Processing buffer {"connection_id":65757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:38:53] local.INFO: IMEI packet received {"connection_id":65757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":65757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:38:58] local.INFO: TCP Data received {"connection_id":65757,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:38:58] local.INFO: Processing buffer {"connection_id":65757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:38:58] local.INFO: IMEI packet received {"connection_id":65757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":65757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:38:59] local.INFO: TCP Data received {"connection_id":65757,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:59] local.INFO: Processing buffer {"connection_id":65757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:38:59] local.INFO: Packet analysis {"connection_id":65757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:38:59] local.INFO: Extracted packet for processing {"connection_id":65757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:38: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-05-08 10:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 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-05-08 10:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:38:59] 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-05-08 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-05-08 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-05-08 10:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:38:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":65757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:38:59] local.INFO: GPS data processed {"connection_id":65757,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:38:59] local.INFO: Acknowledgment sent {"connection_id":65757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:39:30] local.INFO: TCP Data received {"connection_id":65757,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:39:31] local.INFO: Processing buffer {"connection_id":65757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:39:31] local.INFO: Packet analysis {"connection_id":65757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:39:31] local.INFO: Extracted packet for processing {"connection_id":65757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:39:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:39:31] 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-05-08 10:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:39:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":65757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:39:31] local.INFO: GPS data processed {"connection_id":65757,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:39:31] local.INFO: Acknowledgment sent {"connection_id":65757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:39:52] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:39:52] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:39:52] local.INFO: IMEI packet received {"connection_id":65016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":65016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:39:58] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:39:58] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:39:58] local.INFO: IMEI packet received {"connection_id":65016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":65016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:39:59] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:39:59] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:39:59] local.INFO: Packet analysis {"connection_id":65016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:39:59] local.INFO: Extracted packet for processing {"connection_id":65016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:39: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-05-08 10:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:39:59] 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-05-08 10:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":65016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:39:59] local.INFO: GPS data processed {"connection_id":65016,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:39:59] local.INFO: Acknowledgment sent {"connection_id":65016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:40:30] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:40:30] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05f978c0012d34c54006aa50700000006227..."} 
[2026-05-08 10:40:30] local.INFO: Packet analysis {"connection_id":65016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:40:30] local.INFO: Extracted packet for processing {"connection_id":65016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05f9"} 
[2026-05-08 10:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223397120001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778216696000,"timestamp_ms":1778216696000,"timestamp_seconds":1778216696,"priority":1,"record_length":96,"hex_timestamp":"0000019e05f978c0"} 
[2026-05-08 10:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:40: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-05-08 10:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:40:30] 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-05-08 10:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223397120001,"66":25125,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223397120001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:40:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223397120001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":65016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:40:30] local.INFO: GPS data processed {"connection_id":65016,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:40:30] local.INFO: Acknowledgment sent {"connection_id":65016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:40:52] local.INFO: TCP Data received {"connection_id":65017,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:40:52] local.INFO: Processing buffer {"connection_id":65017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:40:52] local.INFO: IMEI packet received {"connection_id":65017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":65017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:40:58] local.INFO: TCP Data received {"connection_id":65017,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:40:58] local.INFO: Processing buffer {"connection_id":65017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:40:58] local.INFO: IMEI packet received {"connection_id":65017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":65017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:40:59] local.INFO: TCP Data received {"connection_id":65017,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:40:59] local.INFO: Processing buffer {"connection_id":65017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:40:59] local.INFO: Packet analysis {"connection_id":65017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:40:59] local.INFO: Extracted packet for processing {"connection_id":65017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:40: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-05-08 10:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 10:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:40:59] 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-05-08 10:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":65017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:40:59] local.INFO: GPS data processed {"connection_id":65017,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:40:59] local.INFO: Acknowledgment sent {"connection_id":65017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:41:31] local.INFO: TCP Data received {"connection_id":65017,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:41:31] local.INFO: Processing buffer {"connection_id":65017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:41:31] local.INFO: Packet analysis {"connection_id":65017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:41:31] local.INFO: Extracted packet for processing {"connection_id":65017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 10:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:41:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":65017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:41:31] local.INFO: GPS data processed {"connection_id":65017,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:41:31] local.INFO: Acknowledgment sent {"connection_id":65017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:41:58] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:41:58] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:41:58] local.INFO: IMEI packet received {"connection_id":64920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":64920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:42:01] local.INFO: TCP Data received {"connection_id":65018,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65018,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:42:01] local.INFO: Processing buffer {"connection_id":65018,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:42:01] local.INFO: IMEI packet received {"connection_id":65018,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":65018,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:42:03] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:42:03] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:42:03] local.INFO: IMEI packet received {"connection_id":64920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":64920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:42:04] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:42:04] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:42:04] local.INFO: Packet analysis {"connection_id":64920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:42:04] local.INFO: Extracted packet for processing {"connection_id":64920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:42:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:42:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:42:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:42:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:42:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 10:42:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:42:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:42:04] 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-05-08 10: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-05-08 10:42:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:42:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:42:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:42:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:42:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:42:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:42:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:42:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:42:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:42:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:42:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:42:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:42:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:42:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:42:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:42:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:42:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:42:04] local.INFO: DEBUG: GPS processor result {"connection_id":64920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:42:04] local.INFO: GPS data processed {"connection_id":64920,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:42:04] local.INFO: Acknowledgment sent {"connection_id":64920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:42:09] local.INFO: TCP Data received {"connection_id":64920,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:42:09] local.INFO: Processing buffer {"connection_id":64920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:42:09] local.INFO: Packet analysis {"connection_id":64920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:42:09] local.INFO: Extracted packet for processing {"connection_id":64920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 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-05-08 10:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:42: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-05-08 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-05-08 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-05-08 10:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:42:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:42:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":64920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:42:09] local.INFO: GPS data processed {"connection_id":64920,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:42:09] local.INFO: Acknowledgment sent {"connection_id":64920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:42:41] local.INFO: TCP Data received {"connection_id":65019,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:42:41] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:42:41] local.INFO: IMEI packet received {"connection_id":65019,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:42:41] local.INFO: IMEI acknowledgment sent {"connection_id":65019,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:42:58] local.INFO: TCP Data received {"connection_id":65758,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:42:58] local.INFO: Processing buffer {"connection_id":65758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:42:58] local.INFO: IMEI packet received {"connection_id":65758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":65758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:43:03] local.INFO: TCP Data received {"connection_id":65758,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:03] local.INFO: Processing buffer {"connection_id":65758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:03] local.INFO: IMEI packet received {"connection_id":65758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":65758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:43:04] local.INFO: TCP Data received {"connection_id":65758,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:04] local.INFO: Processing buffer {"connection_id":65758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:04] local.INFO: Packet analysis {"connection_id":65758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:43:04] local.INFO: Extracted packet for processing {"connection_id":65758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:43: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-05-08 10:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 10:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:43:04] 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-05-08 10:43:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":65758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:43:04] local.INFO: GPS data processed {"connection_id":65758,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:43:04] local.INFO: Acknowledgment sent {"connection_id":65758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:43:09] local.INFO: TCP Data received {"connection_id":65758,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:09] local.INFO: Processing buffer {"connection_id":65758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:09] local.INFO: Packet analysis {"connection_id":65758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:43:09] local.INFO: Extracted packet for processing {"connection_id":65758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 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-05-08 10:43: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-05-08 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:43: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-05-08 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-05-08 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-05-08 10:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:43:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":65758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:43:09] local.INFO: GPS data processed {"connection_id":65758,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:43:09] local.INFO: Acknowledgment sent {"connection_id":65758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:43:53] local.INFO: TCP Data received {"connection_id":65021,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:53] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:53] local.INFO: IMEI packet received {"connection_id":65021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":65021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:43:58] local.INFO: TCP Data received {"connection_id":65021,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:58] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:43:58] local.INFO: IMEI packet received {"connection_id":65021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":65021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:43:59] local.INFO: TCP Data received {"connection_id":65021,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:59] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:43:59] local.INFO: Packet analysis {"connection_id":65021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:43:59] local.INFO: Extracted packet for processing {"connection_id":65021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:43: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-05-08 10:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 10:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:43:59] 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-05-08 10:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:43:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":65021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:43:59] local.INFO: GPS data processed {"connection_id":65021,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:43:59] local.INFO: Acknowledgment sent {"connection_id":65021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:44:31] local.INFO: TCP Data received {"connection_id":65021,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:44:31] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:44:31] local.INFO: Packet analysis {"connection_id":65021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:44:31] local.INFO: Extracted packet for processing {"connection_id":65021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 10:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:44:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":65021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:44:31] local.INFO: GPS data processed {"connection_id":65021,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:44:31] local.INFO: Acknowledgment sent {"connection_id":65021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:44:52] local.INFO: TCP Data received {"connection_id":65759,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:44:52] local.INFO: Processing buffer {"connection_id":65759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:44:52] local.INFO: IMEI packet received {"connection_id":65759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":65759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:44:58] local.INFO: TCP Data received {"connection_id":65759,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:44:58] local.INFO: Processing buffer {"connection_id":65759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:44:58] local.INFO: IMEI packet received {"connection_id":65759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":65759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:44:59] local.INFO: TCP Data received {"connection_id":65759,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:44:59] local.INFO: Processing buffer {"connection_id":65759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:44:59] local.INFO: Packet analysis {"connection_id":65759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:44:59] local.INFO: Extracted packet for processing {"connection_id":65759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 10:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:44: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-05-08 10:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 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-05-08 10:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:44:59] 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-05-08 10:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 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-05-08 10:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":65759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:44:59] local.INFO: GPS data processed {"connection_id":65759,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:44:59] local.INFO: Acknowledgment sent {"connection_id":65759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:45:31] local.INFO: TCP Data received {"connection_id":65759,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:45:31] local.INFO: Processing buffer {"connection_id":65759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e05fe1088012d34c54006aa50700000006226..."} 
[2026-05-08 10:45:31] local.INFO: Packet analysis {"connection_id":65759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:45:31] local.INFO: Extracted packet for processing {"connection_id":65759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e05fe"} 
[2026-05-08 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778216997000,"timestamp_ms":1778216997000,"timestamp_seconds":1778216997,"priority":1,"record_length":96,"hex_timestamp":"0000019e05fe1088"} 
[2026-05-08 10:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 10:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223474176001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:45:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223474176001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":65759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:45:31] local.INFO: GPS data processed {"connection_id":65759,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:45:31] local.INFO: Acknowledgment sent {"connection_id":65759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:45:52] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:45:52] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:45:52] local.INFO: IMEI packet received {"connection_id":65022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":65022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:45:58] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:45:58] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:45:58] local.INFO: IMEI packet received {"connection_id":65022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":65022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:46:00] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:46:01] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:46:01] local.INFO: Packet analysis {"connection_id":65022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:46:01] local.INFO: Extracted packet for processing {"connection_id":65022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:46:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:46:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:46:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:46: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-05-08 10:46:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:46:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:46:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:46:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:46:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:46:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:46:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:46:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":65022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:46:01] local.INFO: GPS data processed {"connection_id":65022,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:46:01] local.INFO: Acknowledgment sent {"connection_id":65022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:46:33] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:46:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:46:33] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:46:33] local.INFO: Packet analysis {"connection_id":65022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:46:33] local.INFO: Extracted packet for processing {"connection_id":65022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:46:33] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:46:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:46:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:46:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:46:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:46:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10: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-05-08 10: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:46:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:46:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:46:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:46:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:46:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:46:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:46:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:46:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:46:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:46:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:46:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:46:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:46:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:46:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:46:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:46:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:46:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:46:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:46:33] local.INFO: DEBUG: GPS processor result {"connection_id":65022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:46:33] local.INFO: GPS data processed {"connection_id":65022,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:46:33] local.INFO: Acknowledgment sent {"connection_id":65022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:46:58] local.INFO: TCP Data received {"connection_id":65761,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:46:58] local.INFO: Processing buffer {"connection_id":65761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:46:58] local.INFO: IMEI packet received {"connection_id":65761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":65761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:47:03] local.INFO: TCP Data received {"connection_id":65761,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:03] local.INFO: Processing buffer {"connection_id":65761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:03] local.INFO: IMEI packet received {"connection_id":65761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":65761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:47:05] local.INFO: TCP Data received {"connection_id":65761,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:05] local.INFO: Processing buffer {"connection_id":65761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:05] local.INFO: Packet analysis {"connection_id":65761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:47:05] local.INFO: Extracted packet for processing {"connection_id":65761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:47: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-05-08 10:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:47:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":65761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:47:05] local.INFO: GPS data processed {"connection_id":65761,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:47:05] local.INFO: Acknowledgment sent {"connection_id":65761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:47:08] local.INFO: TCP Data received {"connection_id":65761,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:08] local.INFO: Processing buffer {"connection_id":65761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:08] local.INFO: Packet analysis {"connection_id":65761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:47:08] local.INFO: Extracted packet for processing {"connection_id":65761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:47: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-05-08 10: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":65761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:47:08] local.INFO: GPS data processed {"connection_id":65761,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:47:08] local.INFO: Acknowledgment sent {"connection_id":65761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:47:52] local.INFO: TCP Data received {"connection_id":64956,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:47:52] local.INFO: Processing buffer {"connection_id":64956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:47:52] local.INFO: IMEI packet received {"connection_id":64956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":64956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:47:53] local.INFO: TCP Data received {"connection_id":64957,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:53] local.INFO: Processing buffer {"connection_id":64957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:53] local.INFO: IMEI packet received {"connection_id":64957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":64957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:47:58] local.INFO: TCP Data received {"connection_id":64957,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:58] local.INFO: Processing buffer {"connection_id":64957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:47:58] local.INFO: IMEI packet received {"connection_id":64957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:47:59] local.INFO: TCP Data received {"connection_id":64957,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:59] local.INFO: Processing buffer {"connection_id":64957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:47:59] local.INFO: Packet analysis {"connection_id":64957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:47:59] local.INFO: Extracted packet for processing {"connection_id":64957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:47: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-05-08 10:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":64957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:47:59] local.INFO: GPS data processed {"connection_id":64957,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:47:59] local.INFO: Acknowledgment sent {"connection_id":64957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:48:31] local.INFO: TCP Data received {"connection_id":64957,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:48:31] local.INFO: Processing buffer {"connection_id":64957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:48:31] local.INFO: Packet analysis {"connection_id":64957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:48:31] local.INFO: Extracted packet for processing {"connection_id":64957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:48:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":64957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:48:31] local.INFO: GPS data processed {"connection_id":64957,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:48:31] local.INFO: Acknowledgment sent {"connection_id":64957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:48:53] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:48:53] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:48:53] local.INFO: IMEI packet received {"connection_id":64924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":64924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:48:58] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:48:58] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:48:58] local.INFO: IMEI packet received {"connection_id":64924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":64924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:48:59] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:48:59] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:48:59] local.INFO: Packet analysis {"connection_id":64924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:48:59] local.INFO: Extracted packet for processing {"connection_id":64924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:48: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-05-08 10:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:48:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":64924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:48:59] local.INFO: GPS data processed {"connection_id":64924,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:48:59] local.INFO: Acknowledgment sent {"connection_id":64924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:49:30] local.INFO: TCP Data received {"connection_id":64924,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:49:30] local.INFO: Processing buffer {"connection_id":64924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:49:30] local.INFO: Packet analysis {"connection_id":64924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:49:30] local.INFO: Extracted packet for processing {"connection_id":64924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:49: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-05-08 10:49:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:49:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:49:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":64924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:49:30] local.INFO: GPS data processed {"connection_id":64924,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:49:30] local.INFO: Acknowledgment sent {"connection_id":64924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:49:52] local.INFO: TCP Data received {"connection_id":65762,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:49:52] local.INFO: Processing buffer {"connection_id":65762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:49:52] local.INFO: IMEI packet received {"connection_id":65762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":65762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:49:58] local.INFO: TCP Data received {"connection_id":65762,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:49:58] local.INFO: Processing buffer {"connection_id":65762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:49:58] local.INFO: IMEI packet received {"connection_id":65762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":65762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:50:00] local.INFO: TCP Data received {"connection_id":65762,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:50:00] local.INFO: Processing buffer {"connection_id":65762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:50:00] local.INFO: Packet analysis {"connection_id":65762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:50:00] local.INFO: Extracted packet for processing {"connection_id":65762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:50: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-05-08 10:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:50:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:50:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":65762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:50:00] local.INFO: GPS data processed {"connection_id":65762,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:50:00] local.INFO: Acknowledgment sent {"connection_id":65762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:50:32] local.INFO: TCP Data received {"connection_id":65762,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:50:32] local.INFO: Processing buffer {"connection_id":65762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0602a468012d34c54006aa50700000006226..."} 
[2026-05-08 10:50:32] local.INFO: Packet analysis {"connection_id":65762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:50:32] local.INFO: Extracted packet for processing {"connection_id":65762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0602"} 
[2026-05-08 10:50:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223551232001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778217297000,"timestamp_ms":1778217297000,"timestamp_seconds":1778217297,"priority":1,"record_length":96,"hex_timestamp":"0000019e0602a468"} 
[2026-05-08 10:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:50:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 10:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:50:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223551232001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223551232001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:50:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223551232001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":65762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:50:32] local.INFO: GPS data processed {"connection_id":65762,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:50:32] local.INFO: Acknowledgment sent {"connection_id":65762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:50:58] local.INFO: TCP Data received {"connection_id":64926,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:50:58] local.INFO: Processing buffer {"connection_id":64926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:50:58] local.INFO: IMEI packet received {"connection_id":64926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":64926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:51:03] local.INFO: TCP Data received {"connection_id":64926,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:03] local.INFO: Processing buffer {"connection_id":64926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:03] local.INFO: IMEI packet received {"connection_id":64926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":64926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:51:04] local.INFO: TCP Data received {"connection_id":64926,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:04] local.INFO: Processing buffer {"connection_id":64926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:04] local.INFO: Packet analysis {"connection_id":64926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:51:04] local.INFO: Extracted packet for processing {"connection_id":64926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:51:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:51:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:51:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:51:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:51:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:51:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:51:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:51:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:51:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:51:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:51:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:51:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:51:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:51:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:51:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:51:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:51:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:51:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:51:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:51:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:51:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:51:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:51:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:51:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:51:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:51:04] local.INFO: DEBUG: GPS processor result {"connection_id":64926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:51:04] local.INFO: GPS data processed {"connection_id":64926,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:51:04] local.INFO: Acknowledgment sent {"connection_id":64926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:51:35] local.INFO: TCP Data received {"connection_id":64926,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:35] local.INFO: Processing buffer {"connection_id":64926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:35] local.INFO: Packet analysis {"connection_id":64926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:51:35] local.INFO: Extracted packet for processing {"connection_id":64926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:51:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":64926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":64926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":64926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:51:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:51:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":64926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:51:35] local.INFO: GPS data processed {"connection_id":64926,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:51:35] local.INFO: Acknowledgment sent {"connection_id":64926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:51:53] local.INFO: TCP Data received {"connection_id":64928,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:53] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:53] local.INFO: IMEI packet received {"connection_id":64928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":64928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:51:58] local.INFO: TCP Data received {"connection_id":64928,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:58] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:51:58] local.INFO: IMEI packet received {"connection_id":64928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":64928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:51:59] local.INFO: TCP Data received {"connection_id":64928,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:59] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:51:59] local.INFO: Packet analysis {"connection_id":64928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:51:59] local.INFO: Extracted packet for processing {"connection_id":64928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:51: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-05-08 10:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:51:59] 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-05-08 10:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":64928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:51:59] local.INFO: GPS data processed {"connection_id":64928,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:51:59] local.INFO: Acknowledgment sent {"connection_id":64928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:52:32] local.INFO: TCP Data received {"connection_id":64928,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:52:32] local.INFO: Processing buffer {"connection_id":64928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:52:32] local.INFO: Packet analysis {"connection_id":64928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:52:32] local.INFO: Extracted packet for processing {"connection_id":64928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:52:32] 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-05-08 10: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-05-08 10:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:52:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":64928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:52:32] local.INFO: GPS data processed {"connection_id":64928,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:52:32] local.INFO: Acknowledgment sent {"connection_id":64928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:52:52] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:52:52] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:52:52] local.INFO: IMEI packet received {"connection_id":64960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":64960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:52:58] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:52:58] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:52:58] local.INFO: IMEI packet received {"connection_id":64960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":64960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:53:00] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:00] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:00] local.INFO: Packet analysis {"connection_id":64960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:53:00] local.INFO: Extracted packet for processing {"connection_id":64960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:53:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53: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-05-08 10:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:53:00] 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-05-08 10:53:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:53:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:53:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":64960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:53:00] local.INFO: GPS data processed {"connection_id":64960,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:53:00] local.INFO: Acknowledgment sent {"connection_id":64960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:53:31] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:31] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:31] local.INFO: Packet analysis {"connection_id":64960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:53:31] local.INFO: Extracted packet for processing {"connection_id":64960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:53:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10: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-05-08 10:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:53:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":64960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:53:31] local.INFO: GPS data processed {"connection_id":64960,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:53:31] local.INFO: Acknowledgment sent {"connection_id":64960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:53:41] local.INFO: TCP Data received {"connection_id":64961,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:53:41] local.INFO: Processing buffer {"connection_id":64961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:53:41] local.INFO: IMEI packet received {"connection_id":64961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":64961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:53:52] local.INFO: TCP Data received {"connection_id":64962,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:53:52] local.INFO: Processing buffer {"connection_id":64962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:53:52] local.INFO: IMEI packet received {"connection_id":64962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":64962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:53:57] local.INFO: TCP Data received {"connection_id":64962,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:53:57] local.INFO: Processing buffer {"connection_id":64962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:53:57] local.INFO: IMEI packet received {"connection_id":64962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":64962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:53:58] local.INFO: TCP Data received {"connection_id":64962,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:59] local.INFO: Processing buffer {"connection_id":64962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:53:59] local.INFO: Packet analysis {"connection_id":64962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:53:59] local.INFO: Extracted packet for processing {"connection_id":64962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:53: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-05-08 10:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:53:59] 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-05-08 10:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:53:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":64962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:53:59] local.INFO: GPS data processed {"connection_id":64962,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:53:59] local.INFO: Acknowledgment sent {"connection_id":64962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:54:31] local.INFO: TCP Data received {"connection_id":64962,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:54:31] local.INFO: Processing buffer {"connection_id":64962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:54:31] local.INFO: Packet analysis {"connection_id":64962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:54:31] local.INFO: Extracted packet for processing {"connection_id":64962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:54:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":64962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:54:31] local.INFO: GPS data processed {"connection_id":64962,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:54:31] local.INFO: Acknowledgment sent {"connection_id":64962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:54:58] local.INFO: TCP Data received {"connection_id":64964,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:54:58] local.INFO: Processing buffer {"connection_id":64964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:54:58] local.INFO: IMEI packet received {"connection_id":64964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":64964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:55:02] local.INFO: TCP Data received {"connection_id":64964,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:02] local.INFO: Processing buffer {"connection_id":64964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:02] local.INFO: IMEI packet received {"connection_id":64964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":64964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:55:04] local.INFO: TCP Data received {"connection_id":64964,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:55:04] local.INFO: Processing buffer {"connection_id":64964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:55:04] local.INFO: Packet analysis {"connection_id":64964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:55:04] local.INFO: Extracted packet for processing {"connection_id":64964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:55:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:55:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":64964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:55:04] local.INFO: GPS data processed {"connection_id":64964,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:55:04] local.INFO: Acknowledgment sent {"connection_id":64964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:55:09] local.INFO: TCP Data received {"connection_id":64964,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:55:09] local.INFO: Processing buffer {"connection_id":64964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06073c30012d34c54006aa50700000006223..."} 
[2026-05-08 10:55:09] local.INFO: Packet analysis {"connection_id":64964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:55:09] local.INFO: Extracted packet for processing {"connection_id":64964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0607"} 
[2026-05-08 10:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223628032001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778217598000,"timestamp_ms":1778217598000,"timestamp_seconds":1778217598,"priority":1,"record_length":96,"hex_timestamp":"0000019e06073c30"} 
[2026-05-08 10:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:55: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-05-08 10: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 10:55: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-05-08 10: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-05-08 10:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223628032001,"66":25201,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223628032001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:55:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:55:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223628032001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":64964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:55:09] local.INFO: GPS data processed {"connection_id":64964,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:55:09] local.INFO: Acknowledgment sent {"connection_id":64964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:55:53] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:53] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:53] local.INFO: IMEI packet received {"connection_id":65023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":65023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:55:58] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:58] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:55:58] local.INFO: IMEI packet received {"connection_id":65023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":65023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:55:59] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:55:59] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:55:59] local.INFO: Packet analysis {"connection_id":65023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:55:59] local.INFO: Extracted packet for processing {"connection_id":65023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:55: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-05-08 10:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 10:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:55:59] 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-05-08 10:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:55:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":65023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:55:59] local.INFO: GPS data processed {"connection_id":65023,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:55:59] local.INFO: Acknowledgment sent {"connection_id":65023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:56:31] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:56:31] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:56:31] local.INFO: Packet analysis {"connection_id":65023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:56:31] local.INFO: Extracted packet for processing {"connection_id":65023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 10:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:56:31] 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-05-08 10:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:56:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":65023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:56:31] local.INFO: GPS data processed {"connection_id":65023,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:56:31] local.INFO: Acknowledgment sent {"connection_id":65023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:56:52] local.INFO: TCP Data received {"connection_id":64929,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:56:52] local.INFO: Processing buffer {"connection_id":64929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:56:52] local.INFO: IMEI packet received {"connection_id":64929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":64929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:56:58] local.INFO: TCP Data received {"connection_id":64929,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:56:58] local.INFO: Processing buffer {"connection_id":64929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:56:58] local.INFO: IMEI packet received {"connection_id":64929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":64929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:56:59] local.INFO: TCP Data received {"connection_id":64929,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:56:59] local.INFO: Processing buffer {"connection_id":64929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:56:59] local.INFO: Packet analysis {"connection_id":64929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:56:59] local.INFO: Extracted packet for processing {"connection_id":64929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:56: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-05-08 10:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 10:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:56:59] 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-05-08 10:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":64929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:56:59] local.INFO: GPS data processed {"connection_id":64929,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:56:59] local.INFO: Acknowledgment sent {"connection_id":64929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:57:31] local.INFO: TCP Data received {"connection_id":64929,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:57:31] local.INFO: Processing buffer {"connection_id":64929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:57:31] local.INFO: Packet analysis {"connection_id":64929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:57:31] local.INFO: Extracted packet for processing {"connection_id":64929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 10:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:57:31] 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-05-08 10: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-05-08 10:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:57:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":64929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:57:31] local.INFO: GPS data processed {"connection_id":64929,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:57:31] local.INFO: Acknowledgment sent {"connection_id":64929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:57:52] local.INFO: TCP Data received {"connection_id":64966,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:57:52] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:57:52] local.INFO: IMEI packet received {"connection_id":64966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":64966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:57:58] local.INFO: TCP Data received {"connection_id":64966,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:57:58] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:57:58] local.INFO: IMEI packet received {"connection_id":64966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":64966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:57:59] local.INFO: TCP Data received {"connection_id":64966,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:57:59] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:57:59] local.INFO: Packet analysis {"connection_id":64966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:57:59] local.INFO: Extracted packet for processing {"connection_id":64966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:57: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-05-08 10:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 10:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:57:59] 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-05-08 10:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":64966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:57:59] local.INFO: GPS data processed {"connection_id":64966,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:57:59] local.INFO: Acknowledgment sent {"connection_id":64966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:58:31] local.INFO: TCP Data received {"connection_id":64966,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:58:31] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:58:31] local.INFO: Packet analysis {"connection_id":64966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:58:31] local.INFO: Extracted packet for processing {"connection_id":64966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 10:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 10:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:58:31] 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-05-08 10: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-05-08 10:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":64966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:58:31] local.INFO: GPS data processed {"connection_id":64966,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:58:31] local.INFO: Acknowledgment sent {"connection_id":64966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:58:58] local.INFO: TCP Data received {"connection_id":65025,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:58:58] local.INFO: Processing buffer {"connection_id":65025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:58:58] local.INFO: IMEI packet received {"connection_id":65025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":65025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:59:01] local.INFO: TCP Data received {"connection_id":65024,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:59:01] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:59:01] local.INFO: IMEI packet received {"connection_id":65024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":65024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:59:03] local.INFO: TCP Data received {"connection_id":65025,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:03] local.INFO: Processing buffer {"connection_id":65025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:03] local.INFO: IMEI packet received {"connection_id":65025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":65025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 10:59:05] local.INFO: TCP Data received {"connection_id":65025,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:59:05] local.INFO: Processing buffer {"connection_id":65025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:59:05] local.INFO: Packet analysis {"connection_id":65025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:59:05] local.INFO: Extracted packet for processing {"connection_id":65025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 10:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10:59: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-05-08 10:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 10:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 10:59:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 10:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:59:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:59:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":65025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:59:05] local.INFO: GPS data processed {"connection_id":65025,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:59:05] local.INFO: Acknowledgment sent {"connection_id":65025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:59:09] local.INFO: TCP Data received {"connection_id":65025,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:59:09] local.INFO: Processing buffer {"connection_id":65025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 10:59:09] local.INFO: Packet analysis {"connection_id":65025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:59:09] local.INFO: Extracted packet for processing {"connection_id":65025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 10: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-05-08 10:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 10:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 10:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 10: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-05-08 10:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 10:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 10: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 10:59: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-05-08 10: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-05-08 10:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 10:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 10:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 10:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 10:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 10:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 10:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 10:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 10:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 10:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 10:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 10:59:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 10:59:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 10:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 10:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 10:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 10:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":65025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 10:59:09] local.INFO: GPS data processed {"connection_id":65025,"processed":1,"errors":0,"total":1} 
[2026-05-08 10:59:09] local.INFO: Acknowledgment sent {"connection_id":65025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 10:59:41] local.INFO: TCP Data received {"connection_id":64967,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:59:41] local.INFO: Processing buffer {"connection_id":64967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 10:59:41] local.INFO: IMEI packet received {"connection_id":64967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 10:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":64967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:59:53] local.INFO: TCP Data received {"connection_id":64931,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:53] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:53] local.INFO: IMEI packet received {"connection_id":64931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 10:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":64931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 10:59:58] local.INFO: TCP Data received {"connection_id":64931,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:58] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 10:59:58] local.INFO: IMEI packet received {"connection_id":64931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 10:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":64931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:00:00] local.INFO: TCP Data received {"connection_id":64931,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 11:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 11:00:00] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 11:00:00] local.INFO: Packet analysis {"connection_id":64931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 11:00:00] local.INFO: Extracted packet for processing {"connection_id":64931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 11:00:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00: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-05-08 11:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 11:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 11:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1705,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:00:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":64931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:00:00] local.INFO: GPS data processed {"connection_id":64931,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:00:00] local.INFO: Acknowledgment sent {"connection_id":64931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:00:32] local.INFO: TCP Data received {"connection_id":64931,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 11:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 11:00:32] local.INFO: Processing buffer {"connection_id":64931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e060bd3f8012d34c54006aa50700000006227..."} 
[2026-05-08 11:00:32] local.INFO: Packet analysis {"connection_id":64931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 11:00:32] local.INFO: Extracted packet for processing {"connection_id":64931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e060b"} 
[2026-05-08 11:00:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223705088001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778217899000,"timestamp_ms":1778217899000,"timestamp_seconds":1778217899,"priority":1,"record_length":96,"hex_timestamp":"0000019e060bd3f8"} 
[2026-05-08 11:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 11:00:32] 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-05-08 11:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223705088001,"66":25191,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223705088001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:00:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223705088001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":64931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:00:32] local.INFO: GPS data processed {"connection_id":64931,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:00:32] local.INFO: Acknowledgment sent {"connection_id":64931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:00:52] local.INFO: TCP Data received {"connection_id":65764,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:00:52] local.INFO: Processing buffer {"connection_id":65764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:00:52] local.INFO: IMEI packet received {"connection_id":65764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":65764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:00:57] local.INFO: TCP Data received {"connection_id":65764,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:00:57] local.INFO: Processing buffer {"connection_id":65764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:00:57] local.INFO: IMEI packet received {"connection_id":65764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":65764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:00:58] local.INFO: TCP Data received {"connection_id":65764,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:00:58] local.INFO: Processing buffer {"connection_id":65764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:00:58] local.INFO: Packet analysis {"connection_id":65764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:00:58] local.INFO: Extracted packet for processing {"connection_id":65764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:00: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-05-08 11:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:00:58] 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-05-08 11:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:00:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":65764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:00:58] local.INFO: GPS data processed {"connection_id":65764,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:00:58] local.INFO: Acknowledgment sent {"connection_id":65764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:01:31] local.INFO: TCP Data received {"connection_id":65764,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:01:31] local.INFO: Processing buffer {"connection_id":65764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:01:31] local.INFO: Packet analysis {"connection_id":65764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:01:31] local.INFO: Extracted packet for processing {"connection_id":65764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:01:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":65764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:01:31] local.INFO: GPS data processed {"connection_id":65764,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:01:31] local.INFO: Acknowledgment sent {"connection_id":65764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:01:52] local.INFO: TCP Data received {"connection_id":65026,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:01:52] local.INFO: Processing buffer {"connection_id":65026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:01:52] local.INFO: IMEI packet received {"connection_id":65026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":65026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:01:58] local.INFO: TCP Data received {"connection_id":65026,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:01:58] local.INFO: Processing buffer {"connection_id":65026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:01:58] local.INFO: IMEI packet received {"connection_id":65026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":65026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:01:59] local.INFO: TCP Data received {"connection_id":65026,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:01:59] local.INFO: Processing buffer {"connection_id":65026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:01:59] local.INFO: Packet analysis {"connection_id":65026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:01:59] local.INFO: Extracted packet for processing {"connection_id":65026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:01: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-05-08 11:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:01:59] 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-05-08 11:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:01:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":65026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:01:59] local.INFO: GPS data processed {"connection_id":65026,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:01:59] local.INFO: Acknowledgment sent {"connection_id":65026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:02:30] local.INFO: TCP Data received {"connection_id":65026,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:02:30] local.INFO: Processing buffer {"connection_id":65026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:02:30] local.INFO: Packet analysis {"connection_id":65026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:02:30] local.INFO: Extracted packet for processing {"connection_id":65026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:02: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-05-08 11:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:02:30] 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-05-08 11:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:02:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":65026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:02:30] local.INFO: GPS data processed {"connection_id":65026,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:02:30] local.INFO: Acknowledgment sent {"connection_id":65026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:02:58] local.INFO: TCP Data received {"connection_id":65766,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:02:58] local.INFO: Processing buffer {"connection_id":65766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:02:58] local.INFO: IMEI packet received {"connection_id":65766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":65766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:03:03] local.INFO: TCP Data received {"connection_id":65766,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:03] local.INFO: Processing buffer {"connection_id":65766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:03] local.INFO: IMEI packet received {"connection_id":65766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":65766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:03:04] local.INFO: TCP Data received {"connection_id":65766,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:04] local.INFO: Processing buffer {"connection_id":65766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:04] local.INFO: Packet analysis {"connection_id":65766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:03:04] local.INFO: Extracted packet for processing {"connection_id":65766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:03: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-05-08 11:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":65766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:03:04] local.INFO: GPS data processed {"connection_id":65766,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:03:04] local.INFO: Acknowledgment sent {"connection_id":65766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:03:09] local.INFO: TCP Data received {"connection_id":65766,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:09] local.INFO: Processing buffer {"connection_id":65766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:09] local.INFO: Packet analysis {"connection_id":65766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:03:09] local.INFO: Extracted packet for processing {"connection_id":65766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 11:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 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-05-08 11: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-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:03: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-05-08 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-05-08 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-05-08 11:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:03:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":65766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:03:09] local.INFO: GPS data processed {"connection_id":65766,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:03:09] local.INFO: Acknowledgment sent {"connection_id":65766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:03:52] local.INFO: TCP Data received {"connection_id":65027,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:52] local.INFO: Processing buffer {"connection_id":65027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:52] local.INFO: IMEI packet received {"connection_id":65027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":65027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:03:58] local.INFO: TCP Data received {"connection_id":65027,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:58] local.INFO: Processing buffer {"connection_id":65027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:03:58] local.INFO: IMEI packet received {"connection_id":65027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":65027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:03:59] local.INFO: TCP Data received {"connection_id":65027,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:59] local.INFO: Processing buffer {"connection_id":65027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:03:59] local.INFO: Packet analysis {"connection_id":65027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:03:59] local.INFO: Extracted packet for processing {"connection_id":65027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:03: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-05-08 11:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:03:59] 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-05-08 11:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:03:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":65027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:03:59] local.INFO: GPS data processed {"connection_id":65027,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:03:59] local.INFO: Acknowledgment sent {"connection_id":65027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:04:31] local.INFO: TCP Data received {"connection_id":65027,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:04:31] local.INFO: Processing buffer {"connection_id":65027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:04:31] local.INFO: Packet analysis {"connection_id":65027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:04:31] local.INFO: Extracted packet for processing {"connection_id":65027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:04:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":65027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:04:31] local.INFO: GPS data processed {"connection_id":65027,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:04:31] local.INFO: Acknowledgment sent {"connection_id":65027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:04:52] local.INFO: TCP Data received {"connection_id":64969,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:04:52] local.INFO: Processing buffer {"connection_id":64969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:04:52] local.INFO: IMEI packet received {"connection_id":64969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":64969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:04:58] local.INFO: TCP Data received {"connection_id":64969,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:04:58] local.INFO: Processing buffer {"connection_id":64969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:04:58] local.INFO: IMEI packet received {"connection_id":64969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":64969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:04:59] local.INFO: TCP Data received {"connection_id":64969,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:04:59] local.INFO: Processing buffer {"connection_id":64969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:04:59] local.INFO: Packet analysis {"connection_id":64969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:04:59] local.INFO: Extracted packet for processing {"connection_id":64969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:04: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-05-08 11:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:04:59] 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-05-08 11:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:04:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":64969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:04:59] local.INFO: GPS data processed {"connection_id":64969,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:04:59] local.INFO: Acknowledgment sent {"connection_id":64969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:05:17] local.INFO: TCP Data received {"connection_id":65767,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:05:17] local.INFO: Processing buffer {"connection_id":65767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:05:17] local.INFO: IMEI packet received {"connection_id":65767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":65767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:05:32] local.INFO: TCP Data received {"connection_id":64969,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:05:32] local.INFO: Processing buffer {"connection_id":64969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06106bc0012d34c54006aa50700000006229..."} 
[2026-05-08 11:05:32] local.INFO: Packet analysis {"connection_id":64969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:05:32] local.INFO: Extracted packet for processing {"connection_id":64969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0610"} 
[2026-05-08 11:05:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223782144001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778218200000,"timestamp_ms":1778218200000,"timestamp_seconds":1778218200,"priority":1,"record_length":96,"hex_timestamp":"0000019e06106bc0"} 
[2026-05-08 11:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 11:05:32] 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-05-08 11:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223782144001,"66":25180,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223782144001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:05:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:05:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223782144001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":64969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:05:32] local.INFO: GPS data processed {"connection_id":64969,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:05:32] local.INFO: Acknowledgment sent {"connection_id":64969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:05:47] local.INFO: TCP Data received {"connection_id":64934,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:05:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:05:47] local.INFO: Processing buffer {"connection_id":64934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:05:47] local.INFO: IMEI packet received {"connection_id":64934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:05:47] local.INFO: IMEI acknowledgment sent {"connection_id":64934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:05:52] local.INFO: TCP Data received {"connection_id":65768,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:05:52] local.INFO: Processing buffer {"connection_id":65768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:05:52] local.INFO: IMEI packet received {"connection_id":65768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":65768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:05:57] local.INFO: TCP Data received {"connection_id":65768,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:05:57] local.INFO: Processing buffer {"connection_id":65768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:05:57] local.INFO: IMEI packet received {"connection_id":65768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:05:58] local.INFO: TCP Data received {"connection_id":65768,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:05:58] local.INFO: Processing buffer {"connection_id":65768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:05:58] local.INFO: Packet analysis {"connection_id":65768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:05:58] local.INFO: Extracted packet for processing {"connection_id":65768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:05: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-05-08 11:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:05:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":65768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:05:58] local.INFO: GPS data processed {"connection_id":65768,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:05:58] local.INFO: Acknowledgment sent {"connection_id":65768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:06:30] local.INFO: TCP Data received {"connection_id":65768,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:06:30] local.INFO: Processing buffer {"connection_id":65768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:06:30] local.INFO: Packet analysis {"connection_id":65768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:06:30] local.INFO: Extracted packet for processing {"connection_id":65768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:06: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-05-08 11:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:06:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":65768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:06:30] local.INFO: GPS data processed {"connection_id":65768,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:06:30] local.INFO: Acknowledgment sent {"connection_id":65768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:06:58] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:06:58] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:06:58] local.INFO: IMEI packet received {"connection_id":64936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":64936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:07:03] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:03] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:03] local.INFO: IMEI packet received {"connection_id":64936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":64936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:07:04] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:04] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:04] local.INFO: Packet analysis {"connection_id":64936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:07:04] local.INFO: Extracted packet for processing {"connection_id":64936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":64936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:07:04] local.INFO: GPS data processed {"connection_id":64936,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:07:04] local.INFO: Acknowledgment sent {"connection_id":64936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:07:09] local.INFO: TCP Data received {"connection_id":64936,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:09] local.INFO: Processing buffer {"connection_id":64936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:09] local.INFO: Packet analysis {"connection_id":64936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:07:09] local.INFO: Extracted packet for processing {"connection_id":64936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 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-05-08 11:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 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-05-08 11: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-05-08 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 11:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:07:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:07:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":64936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:07:09] local.INFO: GPS data processed {"connection_id":64936,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:07:09] local.INFO: Acknowledgment sent {"connection_id":64936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:07:53] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:53] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:53] local.INFO: IMEI packet received {"connection_id":64938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":64938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:07:57] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:57] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:07:57] local.INFO: IMEI packet received {"connection_id":64938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":64938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:07:58] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:58] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:07:58] local.INFO: Packet analysis {"connection_id":64938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:07:58] local.INFO: Extracted packet for processing {"connection_id":64938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:07: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-05-08 11:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:07:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:07:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":64938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:07:58] local.INFO: GPS data processed {"connection_id":64938,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:07:58] local.INFO: Acknowledgment sent {"connection_id":64938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:08:31] local.INFO: TCP Data received {"connection_id":64938,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:08:31] local.INFO: Processing buffer {"connection_id":64938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:08:31] local.INFO: Packet analysis {"connection_id":64938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:08:31] local.INFO: Extracted packet for processing {"connection_id":64938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:08:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":64938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:08:31] local.INFO: GPS data processed {"connection_id":64938,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:08:31] local.INFO: Acknowledgment sent {"connection_id":64938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:08:52] local.INFO: TCP Data received {"connection_id":65028,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:08:52] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:08:52] local.INFO: IMEI packet received {"connection_id":65028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":65028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:08:58] local.INFO: TCP Data received {"connection_id":65028,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:08:58] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:08:58] local.INFO: IMEI packet received {"connection_id":65028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":65028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:08:59] local.INFO: TCP Data received {"connection_id":65028,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:08:59] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:08:59] local.INFO: Packet analysis {"connection_id":65028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:08:59] local.INFO: Extracted packet for processing {"connection_id":65028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:08: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-05-08 11:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:08:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":65028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:08:59] local.INFO: GPS data processed {"connection_id":65028,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:08:59] local.INFO: Acknowledgment sent {"connection_id":65028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:09:30] local.INFO: TCP Data received {"connection_id":65028,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:09:30] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:09:30] local.INFO: Packet analysis {"connection_id":65028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:09:30] local.INFO: Extracted packet for processing {"connection_id":65028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:09: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-05-08 11:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:09:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":65028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:09:30] local.INFO: GPS data processed {"connection_id":65028,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:09:30] local.INFO: Acknowledgment sent {"connection_id":65028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:09:52] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:09:52] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:09:52] local.INFO: IMEI packet received {"connection_id":64939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":64939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:09:58] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:09:58] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:09:58] local.INFO: IMEI packet received {"connection_id":64939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":64939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:09:59] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:09:59] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:09:59] local.INFO: Packet analysis {"connection_id":64939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:09:59] local.INFO: Extracted packet for processing {"connection_id":64939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:09: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-05-08 11:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":64939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:09:59] local.INFO: GPS data processed {"connection_id":64939,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:09:59] local.INFO: Acknowledgment sent {"connection_id":64939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:10:31] local.INFO: TCP Data received {"connection_id":64939,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:10:31] local.INFO: Processing buffer {"connection_id":64939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06150388012d34c54006aa50700000006228..."} 
[2026-05-08 11:10:31] local.INFO: Packet analysis {"connection_id":64939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:10:31] local.INFO: Extracted packet for processing {"connection_id":64939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0615"} 
[2026-05-08 11:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223859200001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778218501000,"timestamp_ms":1778218501000,"timestamp_seconds":1778218501,"priority":1,"record_length":96,"hex_timestamp":"0000019e06150388"} 
[2026-05-08 11:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223859200001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223859200001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223859200001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":64939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:10:31] local.INFO: GPS data processed {"connection_id":64939,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:10:31] local.INFO: Acknowledgment sent {"connection_id":64939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:10:51] local.INFO: TCP Data received {"connection_id":65029,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:10:51] local.INFO: Processing buffer {"connection_id":65029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:10:51] local.INFO: IMEI packet received {"connection_id":65029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":65029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:10:52] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:10:52] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:10:52] local.INFO: IMEI packet received {"connection_id":64971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":64971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:10:58] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:10:58] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:10:58] local.INFO: IMEI packet received {"connection_id":64971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":64971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:10:59] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:10:59] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:10:59] local.INFO: Packet analysis {"connection_id":64971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:10:59] local.INFO: Extracted packet for processing {"connection_id":64971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:10: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-05-08 11:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:10:59] 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-05-08 11:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:10:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":64971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:10:59] local.INFO: GPS data processed {"connection_id":64971,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:10:59] local.INFO: Acknowledgment sent {"connection_id":64971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:11:31] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:11:31] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:11:31] local.INFO: Packet analysis {"connection_id":64971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:11:31] local.INFO: Extracted packet for processing {"connection_id":64971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:11:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:11:31] 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-05-08 11:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:11:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":64971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:11:31] local.INFO: GPS data processed {"connection_id":64971,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:11:31] local.INFO: Acknowledgment sent {"connection_id":64971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:11:52] local.INFO: TCP Data received {"connection_id":65030,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:11:52] local.INFO: Processing buffer {"connection_id":65030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:11:52] local.INFO: IMEI packet received {"connection_id":65030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":65030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:11:57] local.INFO: TCP Data received {"connection_id":65030,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:11:57] local.INFO: Processing buffer {"connection_id":65030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:11:57] local.INFO: IMEI packet received {"connection_id":65030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:11:58] local.INFO: TCP Data received {"connection_id":65030,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:11:58] local.INFO: Processing buffer {"connection_id":65030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:11:58] local.INFO: Packet analysis {"connection_id":65030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:11:58] local.INFO: Extracted packet for processing {"connection_id":65030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:11: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-05-08 11:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:11: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-05-08 11: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-05-08 11:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:11:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":65030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:11:58] local.INFO: GPS data processed {"connection_id":65030,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:11:58] local.INFO: Acknowledgment sent {"connection_id":65030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:12:30] local.INFO: TCP Data received {"connection_id":65030,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:12:30] local.INFO: Processing buffer {"connection_id":65030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:12:30] local.INFO: Packet analysis {"connection_id":65030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:12:30] local.INFO: Extracted packet for processing {"connection_id":65030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:12: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-05-08 11:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:12:30] 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-05-08 11:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:12:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":65030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:12:30] local.INFO: GPS data processed {"connection_id":65030,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:12:30] local.INFO: Acknowledgment sent {"connection_id":65030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:12:52] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:12:52] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:12:52] local.INFO: IMEI packet received {"connection_id":65031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":65031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:12:58] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:12:58] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:12:58] local.INFO: IMEI packet received {"connection_id":65031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":65031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:12:59] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:12:59] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:12:59] local.INFO: Packet analysis {"connection_id":65031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:12:59] local.INFO: Extracted packet for processing {"connection_id":65031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:12: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-05-08 11:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:12:59] 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-05-08 11:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":65031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:12:59] local.INFO: GPS data processed {"connection_id":65031,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:12:59] local.INFO: Acknowledgment sent {"connection_id":65031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:13:31] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:13:31] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:13:31] local.INFO: Packet analysis {"connection_id":65031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:13:31] local.INFO: Extracted packet for processing {"connection_id":65031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:13:31] 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-05-08 11: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-05-08 11:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":65031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:13:31] local.INFO: GPS data processed {"connection_id":65031,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:13:31] local.INFO: Acknowledgment sent {"connection_id":65031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:13:57] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:13:57] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:13:57] local.INFO: IMEI packet received {"connection_id":64941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":64941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:14:03] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:03] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:03] local.INFO: IMEI packet received {"connection_id":64941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":64941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:14:04] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:04] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:04] local.INFO: Packet analysis {"connection_id":64941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:14:04] local.INFO: Extracted packet for processing {"connection_id":64941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:14: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-05-08 11:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:14:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:14:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":64941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:14:04] local.INFO: GPS data processed {"connection_id":64941,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:14:04] local.INFO: Acknowledgment sent {"connection_id":64941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:14:08] local.INFO: TCP Data received {"connection_id":64941,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:08] local.INFO: Processing buffer {"connection_id":64941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:08] local.INFO: Packet analysis {"connection_id":64941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:14:08] local.INFO: Extracted packet for processing {"connection_id":64941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:14: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-05-08 11:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:14: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-05-08 11:14:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":64941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":64941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":64941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":64941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:14:08] local.INFO: GPS data processed {"connection_id":64941,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:14:08] local.INFO: Acknowledgment sent {"connection_id":64941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:14:53] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:53] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:53] local.INFO: IMEI packet received {"connection_id":64942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":64942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:14:58] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:58] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:14:58] local.INFO: IMEI packet received {"connection_id":64942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":64942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:14:59] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:59] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:14:59] local.INFO: Packet analysis {"connection_id":64942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:14:59] local.INFO: Extracted packet for processing {"connection_id":64942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:14: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-05-08 11:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:14:59] 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-05-08 11:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":64942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:14:59] local.INFO: GPS data processed {"connection_id":64942,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:14:59] local.INFO: Acknowledgment sent {"connection_id":64942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:15:30] local.INFO: TCP Data received {"connection_id":64942,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64942,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:15:30] local.INFO: Processing buffer {"connection_id":64942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06199b50012d34c54006aa50700000006223..."} 
[2026-05-08 11:15:30] local.INFO: Packet analysis {"connection_id":64942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:15:30] local.INFO: Extracted packet for processing {"connection_id":64942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0619"} 
[2026-05-08 11:15:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455223936256001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778218802000,"timestamp_ms":1778218802000,"timestamp_seconds":1778218802,"priority":1,"record_length":96,"hex_timestamp":"0000019e06199b50"} 
[2026-05-08 11:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:15: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-05-08 11:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:15:30] 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-05-08 11:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455223936256001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455223936256001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:15:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455223936256001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":64942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:15:30] local.INFO: GPS data processed {"connection_id":64942,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:15:30] local.INFO: Acknowledgment sent {"connection_id":64942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:15:53] local.INFO: TCP Data received {"connection_id":65771,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:15:53] local.INFO: Processing buffer {"connection_id":65771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:15:53] local.INFO: IMEI packet received {"connection_id":65771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":65771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:15:59] local.INFO: TCP Data received {"connection_id":65771,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:15:59] local.INFO: Processing buffer {"connection_id":65771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:15:59] local.INFO: IMEI packet received {"connection_id":65771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":65771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:16:00] local.INFO: TCP Data received {"connection_id":65771,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:00] local.INFO: Processing buffer {"connection_id":65771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:00] local.INFO: Packet analysis {"connection_id":65771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:16:00] local.INFO: Extracted packet for processing {"connection_id":65771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:16:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16: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-05-08 11:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:16:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":65771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:16:00] local.INFO: GPS data processed {"connection_id":65771,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:16:00] local.INFO: Acknowledgment sent {"connection_id":65771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:16:32] local.INFO: TCP Data received {"connection_id":65771,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:32] local.INFO: Processing buffer {"connection_id":65771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:32] local.INFO: Packet analysis {"connection_id":65771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:16:32] local.INFO: Extracted packet for processing {"connection_id":65771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:16:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:16:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":65771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:16:32] local.INFO: GPS data processed {"connection_id":65771,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:16:32] local.INFO: Acknowledgment sent {"connection_id":65771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:16:41] local.INFO: TCP Data received {"connection_id":64943,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64943,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:16:41] local.INFO: Processing buffer {"connection_id":64943,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:16:41] local.INFO: IMEI packet received {"connection_id":64943,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":64943,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:16:52] local.INFO: TCP Data received {"connection_id":64974,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:16:52] local.INFO: Processing buffer {"connection_id":64974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:16:52] local.INFO: IMEI packet received {"connection_id":64974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":64974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:16:58] local.INFO: TCP Data received {"connection_id":64974,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:16:58] local.INFO: Processing buffer {"connection_id":64974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:16:58] local.INFO: IMEI packet received {"connection_id":64974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":64974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:16:59] local.INFO: TCP Data received {"connection_id":64974,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:59] local.INFO: Processing buffer {"connection_id":64974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:16:59] local.INFO: Packet analysis {"connection_id":64974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:16:59] local.INFO: Extracted packet for processing {"connection_id":64974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:16: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-05-08 11:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":64974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:16:59] local.INFO: GPS data processed {"connection_id":64974,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:16:59] local.INFO: Acknowledgment sent {"connection_id":64974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:17:31] local.INFO: TCP Data received {"connection_id":64974,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:17:31] local.INFO: Processing buffer {"connection_id":64974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:17:31] local.INFO: Packet analysis {"connection_id":64974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:17:31] local.INFO: Extracted packet for processing {"connection_id":64974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:17:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":64974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:17:31] local.INFO: GPS data processed {"connection_id":64974,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:17:31] local.INFO: Acknowledgment sent {"connection_id":64974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:17:58] local.INFO: TCP Data received {"connection_id":65033,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:17:58] local.INFO: Processing buffer {"connection_id":65033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:17:58] local.INFO: IMEI packet received {"connection_id":65033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":65033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:18:03] local.INFO: TCP Data received {"connection_id":65033,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:03] local.INFO: Processing buffer {"connection_id":65033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:03] local.INFO: IMEI packet received {"connection_id":65033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":65033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:18:04] local.INFO: TCP Data received {"connection_id":65033,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:04] local.INFO: Processing buffer {"connection_id":65033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:04] local.INFO: Packet analysis {"connection_id":65033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:18:04] local.INFO: Extracted packet for processing {"connection_id":65033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:18:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:18:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:18:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:18:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:18:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:18:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:18:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:18:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:18:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:18:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:18:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:18:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:18:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:18:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:18:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:18:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:18:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:18:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:18:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:18:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:18:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:18:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:18:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:18:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:18:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:18:04] local.INFO: DEBUG: GPS processor result {"connection_id":65033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:18:04] local.INFO: GPS data processed {"connection_id":65033,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:18:04] local.INFO: Acknowledgment sent {"connection_id":65033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:18:08] local.INFO: TCP Data received {"connection_id":65033,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:08] local.INFO: Processing buffer {"connection_id":65033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:08] local.INFO: Packet analysis {"connection_id":65033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:18:08] local.INFO: Extracted packet for processing {"connection_id":65033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:18: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-05-08 11: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:18:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":65033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:18:08] local.INFO: GPS data processed {"connection_id":65033,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:18:08] local.INFO: Acknowledgment sent {"connection_id":65033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:18:53] local.INFO: TCP Data received {"connection_id":64944,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:53] local.INFO: Processing buffer {"connection_id":64944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:53] local.INFO: IMEI packet received {"connection_id":64944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":64944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:18:58] local.INFO: TCP Data received {"connection_id":64944,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64944,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:58] local.INFO: Processing buffer {"connection_id":64944,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:18:58] local.INFO: IMEI packet received {"connection_id":64944,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":64944,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:18:59] local.INFO: TCP Data received {"connection_id":64944,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:59] local.INFO: Processing buffer {"connection_id":64944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:18:59] local.INFO: Packet analysis {"connection_id":64944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:18:59] local.INFO: Extracted packet for processing {"connection_id":64944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:18:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:18: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-05-08 11:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:18:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:18:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":64944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:18:59] local.INFO: GPS data processed {"connection_id":64944,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:18:59] local.INFO: Acknowledgment sent {"connection_id":64944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:19:30] local.INFO: TCP Data received {"connection_id":64944,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:19:30] local.INFO: Processing buffer {"connection_id":64944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:19:30] local.INFO: Packet analysis {"connection_id":64944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:19:30] local.INFO: Extracted packet for processing {"connection_id":64944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11: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-05-08 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64944,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:19:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":64944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:19:30] local.INFO: GPS data processed {"connection_id":64944,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:19:30] local.INFO: Acknowledgment sent {"connection_id":64944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:19:53] local.INFO: TCP Data received {"connection_id":65773,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:19:53] local.INFO: Processing buffer {"connection_id":65773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:19:53] local.INFO: IMEI packet received {"connection_id":65773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":65773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:19:57] local.INFO: TCP Data received {"connection_id":65773,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:19:57] local.INFO: Processing buffer {"connection_id":65773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:19:57] local.INFO: IMEI packet received {"connection_id":65773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":65773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:19:58] local.INFO: TCP Data received {"connection_id":65773,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:19:58] local.INFO: Processing buffer {"connection_id":65773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:19:58] local.INFO: Packet analysis {"connection_id":65773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:19:58] local.INFO: Extracted packet for processing {"connection_id":65773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:19: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-05-08 11:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:19:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":65773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:19:58] local.INFO: GPS data processed {"connection_id":65773,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:19:58] local.INFO: Acknowledgment sent {"connection_id":65773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:20:30] local.INFO: TCP Data received {"connection_id":65773,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:20:30] local.INFO: Processing buffer {"connection_id":65773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e061e3318012d34c54006aa50700000006225..."} 
[2026-05-08 11:20:30] local.INFO: Packet analysis {"connection_id":65773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:20:30] local.INFO: Extracted packet for processing {"connection_id":65773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e061e"} 
[2026-05-08 11:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224013312001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219103000,"timestamp_ms":1778219103000,"timestamp_seconds":1778219103,"priority":1,"record_length":96,"hex_timestamp":"0000019e061e3318"} 
[2026-05-08 11:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:20: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-05-08 11: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224013312001,"66":25158,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224013312001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:20:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224013312001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":65773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:20:30] local.INFO: GPS data processed {"connection_id":65773,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:20:30] local.INFO: Acknowledgment sent {"connection_id":65773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:20:52] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:20:52] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:20:52] local.INFO: IMEI packet received {"connection_id":65034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":65034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:20:58] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:20:58] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:20:58] local.INFO: IMEI packet received {"connection_id":65034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":65034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:20:59] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0622cae0012d34c54006aa50700000006227..."} 
[2026-05-08 11:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0622cae0012d34c54006aa50700000006227..."} 
[2026-05-08 11:20:59] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0622cae0012d34c54006aa50700000006227..."} 
[2026-05-08 11:20:59] local.INFO: Packet analysis {"connection_id":65034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0622"} 
[2026-05-08 11:20:59] local.INFO: Extracted packet for processing {"connection_id":65034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0622"} 
[2026-05-08 11:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224090368001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:20: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-05-08 11:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219404000,"timestamp_ms":1778219404000,"timestamp_seconds":1778219404,"priority":1,"record_length":96,"hex_timestamp":"0000019e0622cae0"} 
[2026-05-08 11:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224090368001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224090368001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:20:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224090368001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":65034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:20:59] local.INFO: GPS data processed {"connection_id":65034,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:20:59] local.INFO: Acknowledgment sent {"connection_id":65034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:21:30] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0622cae0012d34c54006aa50700000006227..."} 
[2026-05-08 11:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0622cae0012d34c54006aa50700000006227..."} 
[2026-05-08 11:21:30] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0622cae0012d34c54006aa50700000006227..."} 
[2026-05-08 11:21:30] local.INFO: Packet analysis {"connection_id":65034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0622"} 
[2026-05-08 11:21:30] local.INFO: Extracted packet for processing {"connection_id":65034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0622"} 
[2026-05-08 11:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224090368001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219404000,"timestamp_ms":1778219404000,"timestamp_seconds":1778219404,"priority":1,"record_length":96,"hex_timestamp":"0000019e0622cae0"} 
[2026-05-08 11:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:21: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-05-08 11:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224090368001,"66":25212,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224090368001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224090368001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":65034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:21:30] local.INFO: GPS data processed {"connection_id":65034,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:21:30] local.INFO: Acknowledgment sent {"connection_id":65034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:21:52] local.INFO: TCP Data received {"connection_id":65775,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:21:52] local.INFO: Processing buffer {"connection_id":65775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:21:52] local.INFO: IMEI packet received {"connection_id":65775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":65775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:21:57] local.INFO: TCP Data received {"connection_id":65775,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:21:57] local.INFO: Processing buffer {"connection_id":65775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:21:57] local.INFO: IMEI packet received {"connection_id":65775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":65775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:21:57] local.INFO: TCP Data received {"connection_id":64946,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:21:57] local.INFO: Processing buffer {"connection_id":64946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:21:57] local.INFO: IMEI packet received {"connection_id":64946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":64946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:21:58] local.INFO: TCP Data received {"connection_id":65775,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0623b158012d34c54006aa50700000006227..."} 
[2026-05-08 11:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0623b158012d34c54006aa50700000006227..."} 
[2026-05-08 11:21:58] local.INFO: Processing buffer {"connection_id":65775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0623b158012d34c54006aa50700000006227..."} 
[2026-05-08 11:21:58] local.INFO: Packet analysis {"connection_id":65775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0623"} 
[2026-05-08 11:21:58] local.INFO: Extracted packet for processing {"connection_id":65775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0623"} 
[2026-05-08 11:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111825008,"longitude_deg":75.8433088,"latitude_deg":11.1825008,"altitude":0,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa5070","is_valid_coordinates":true} 
[2026-05-08 11:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224167424001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:21: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-05-08 11:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778219463000,"timestamp_ms":1778219463000,"timestamp_seconds":1778219463,"priority":1,"record_length":96,"hex_timestamp":"0000019e0623b158"} 
[2026-05-08 11:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 11:21: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-05-08 11:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224167424001,"66":24093,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224167424001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:21:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224167424001,"power":24093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":65775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:21:58] local.INFO: GPS data processed {"connection_id":65775,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:21:58] local.INFO: Acknowledgment sent {"connection_id":65775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:22:30] local.INFO: TCP Data received {"connection_id":65775,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0623b928012d34bc0006aa4fd80000014f26..."} 
[2026-05-08 11:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0623b928012d34bc0006aa4fd80000014f26..."} 
[2026-05-08 11:22:30] local.INFO: Processing buffer {"connection_id":65775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0623b928012d34bc0006aa4fd80000014f26..."} 
[2026-05-08 11:22:30] local.INFO: Packet analysis {"connection_id":65775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0623"} 
[2026-05-08 11:22:30] local.INFO: Extracted packet for processing {"connection_id":65775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0623"} 
[2026-05-08 11:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758430720,"raw_latitude":111824856,"longitude_deg":75.843072,"latitude_deg":11.1824856,"altitude":0,"angle":335,"satellites":38,"speed":0,"hex_longitude":"2d34bc00","hex_latitude":"06aa4fd8","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224182528001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197651561906176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755631616,"note":"Value kept but may cause issues"} 
[2026-05-08 11:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219465000,"timestamp_ms":1778219465000,"timestamp_seconds":1778219465,"priority":1,"record_length":96,"hex_timestamp":"0000019e0623b928"} 
[2026-05-08 11:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11: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":94,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-05-08 11:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":929,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224182528001,"66":24995,"106":206,"28":21760,"24":0,"16":290197651561906176,"45":3802515857755631616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224182528001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197651561906176,"km_value":290197651561906.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755631616,"description":"Unknown IO ID 45"} 
[2026-05-08 11:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224182528001,"power":24995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755631616}} 
[2026-05-08 11:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":65775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:22:30] local.INFO: GPS data processed {"connection_id":65775,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:22:30] local.INFO: Acknowledgment sent {"connection_id":65775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:22:47] local.INFO: TCP Data received {"connection_id":64976,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:22:47] local.INFO: Processing buffer {"connection_id":64976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:22:47] local.INFO: IMEI packet received {"connection_id":64976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":64976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:22:51] local.INFO: TCP Data received {"connection_id":65776,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:51] local.INFO: Processing buffer {"connection_id":65776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:51] local.INFO: IMEI packet received {"connection_id":65776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":65776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:22:52] local.INFO: TCP Data received {"connection_id":65776,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:52] local.INFO: Processing buffer {"connection_id":65776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:52] local.INFO: IMEI packet received {"connection_id":65776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":65776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:22:58] local.INFO: TCP Data received {"connection_id":65776,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:58] local.INFO: Processing buffer {"connection_id":65776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:22:58] local.INFO: IMEI packet received {"connection_id":65776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":65776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:22:59] local.INFO: TCP Data received {"connection_id":65776,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0623d480012d34bc0006aa50080000015c28..."} 
[2026-05-08 11:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0623d480012d34bc0006aa50080000015c28..."} 
[2026-05-08 11:22:59] local.INFO: Processing buffer {"connection_id":65776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0623d480012d34bc0006aa50080000015c28..."} 
[2026-05-08 11:22:59] local.INFO: Packet analysis {"connection_id":65776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0623"} 
[2026-05-08 11:22:59] local.INFO: Extracted packet for processing {"connection_id":65776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0623"} 
[2026-05-08 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758430720,"raw_latitude":111824904,"longitude_deg":75.843072,"latitude_deg":11.1824904,"altitude":0,"angle":348,"satellites":40,"speed":1,"hex_longitude":"2d34bc00","hex_latitude":"06aa5008","is_valid_coordinates":true} 
[2026-05-08 11:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224183040001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197655856873472,"note":"Value kept but may cause issues"} 
[2026-05-08 11:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3799912214221019136,"note":"Value kept but may cause issues"} 
[2026-05-08 11:22: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-05-08 11:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219472000,"timestamp_ms":1778219472000,"timestamp_seconds":1778219472,"priority":1,"record_length":96,"hex_timestamp":"0000019e0623d480"} 
[2026-05-08 11:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-05-08 11:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2150,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224183040001,"66":27463,"106":206,"28":21760,"24":1,"16":290197655856873472,"45":3799912214221019136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224183040001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197655856873472,"km_value":290197655856873.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3799912214221019136,"description":"Unknown IO ID 45"} 
[2026-05-08 11:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224183040001,"power":27463,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3799912214221019136}} 
[2026-05-08 11:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":65776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:22:59] local.INFO: GPS data processed {"connection_id":65776,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:22:59] local.INFO: Acknowledgment sent {"connection_id":65776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:23:30] local.INFO: TCP Data received {"connection_id":65776,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062416e8012d34bc0006aa5050000000af28..."} 
[2026-05-08 11:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062416e8012d34bc0006aa5050000000af28..."} 
[2026-05-08 11:23:30] local.INFO: Processing buffer {"connection_id":65776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062416e8012d34bc0006aa5050000000af28..."} 
[2026-05-08 11:23:30] local.INFO: Packet analysis {"connection_id":65776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0624"} 
[2026-05-08 11:23:30] local.INFO: Extracted packet for processing {"connection_id":65776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0624"} 
[2026-05-08 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":758430720,"raw_latitude":111824976,"longitude_deg":75.843072,"latitude_deg":11.1824976,"altitude":0,"angle":175,"satellites":40,"speed":1,"hex_longitude":"2d34bc00","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-05-08 11:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224184832001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197664446808064,"note":"Value kept but may cause issues"} 
[2026-05-08 11:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3799912214221031424,"note":"Value kept but may cause issues"} 
[2026-05-08 11:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219489000,"timestamp_ms":1778219489000,"timestamp_seconds":1778219489,"priority":1,"record_length":96,"hex_timestamp":"0000019e062416e8"} 
[2026-05-08 11:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 11:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224184832001,"66":27974,"106":206,"28":21760,"24":1,"16":290197664446808064,"45":3799912214221031424},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224184832001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:23:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197664446808064,"km_value":290197664446808.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3799912214221031424,"description":"Unknown IO ID 45"} 
[2026-05-08 11:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224184832001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3799912214221031424}} 
[2026-05-08 11:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":65776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:23:30] local.INFO: GPS data processed {"connection_id":65776,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:23:30] local.INFO: Acknowledgment sent {"connection_id":65776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:23:49] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:49] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:49] local.INFO: IMEI packet received {"connection_id":64947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":64947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:23:52] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:52] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:52] local.INFO: IMEI packet received {"connection_id":64947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":64947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:23:58] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:58] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:23:58] local.INFO: IMEI packet received {"connection_id":64947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":64947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:24:00] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06241ad0012d34bc0006aa50400000009c28..."} 
[2026-05-08 11:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06241ad0012d34bc0006aa50400000009c28..."} 
[2026-05-08 11:24:00] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06241ad0012d34bc0006aa50400000009c28..."} 
[2026-05-08 11:24:00] local.INFO: Packet analysis {"connection_id":64947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0624"} 
[2026-05-08 11:24:00] local.INFO: Extracted packet for processing {"connection_id":64947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0624"} 
[2026-05-08 11:24:00] local.INFO: GPS Element Parsed {"raw_longitude":758430720,"raw_latitude":111824960,"longitude_deg":75.843072,"latitude_deg":11.182496,"altitude":0,"angle":156,"satellites":40,"speed":1,"hex_longitude":"2d34bc00","hex_latitude":"06aa5040","is_valid_coordinates":true} 
[2026-05-08 11:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:24:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224189184001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:24:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197664446808064,"note":"Value kept but may cause issues"} 
[2026-05-08 11:24:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3799912214221049856,"note":"Value kept but may cause issues"} 
[2026-05-08 11:24: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-05-08 11:24:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778219490000,"timestamp_ms":1778219490000,"timestamp_seconds":1778219490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06241ad0"} 
[2026-05-08 11:24:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:24:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:24:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:24:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:24:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:24:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:24:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:24:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:24:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:24:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:24:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:24:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:24:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:24:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224189184001,"66":27974,"106":206,"28":21760,"24":1,"16":290197664446808064,"45":3799912214221049856},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:24:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:24:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:24:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224189184001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:24:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:24:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:24:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197664446808064,"km_value":290197664446808.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:24:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3799912214221049856,"description":"Unknown IO ID 45"} 
[2026-05-08 11:24:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224189184001,"power":27974,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3799912214221049856}} 
[2026-05-08 11:24:00] local.INFO: DEBUG: GPS processor result {"connection_id":64947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:24:00] local.INFO: GPS data processed {"connection_id":64947,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:24:00] local.INFO: Acknowledgment sent {"connection_id":64947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:24:31] local.INFO: TCP Data received {"connection_id":64947,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06246cd8012d34bc8006aa4fa80000009c27..."} 
[2026-05-08 11:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06246cd8012d34bc8006aa4fa80000009c27..."} 
[2026-05-08 11:24:31] local.INFO: Processing buffer {"connection_id":64947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06246cd8012d34bc8006aa4fa80000009c27..."} 
[2026-05-08 11:24:31] local.INFO: Packet analysis {"connection_id":64947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0624"} 
[2026-05-08 11:24:31] local.INFO: Extracted packet for processing {"connection_id":64947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0624"} 
[2026-05-08 11:24:31] local.INFO: GPS Element Parsed {"raw_longitude":758430848,"raw_latitude":111824808,"longitude_deg":75.8430848,"latitude_deg":11.1824808,"altitude":0,"angle":156,"satellites":39,"speed":0,"hex_longitude":"2d34bc80","hex_latitude":"06aa4fa8","is_valid_coordinates":true} 
[2026-05-08 11:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224189440001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197685921644544,"note":"Value kept but may cause issues"} 
[2026-05-08 11:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3799912214221045760,"note":"Value kept but may cause issues"} 
[2026-05-08 11:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778219511000,"timestamp_ms":1778219511000,"timestamp_seconds":1778219511,"priority":1,"record_length":96,"hex_timestamp":"0000019e06246cd8"} 
[2026-05-08 11:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:24:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 11:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224189440001,"66":27876,"106":206,"28":21760,"24":0,"16":290197685921644544,"45":3799912214221045760},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224189440001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:24:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:24:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197685921644544,"km_value":290197685921644.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3799912214221045760,"description":"Unknown IO ID 45"} 
[2026-05-08 11:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224189440001,"power":27876,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3799912214221045760}} 
[2026-05-08 11:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":64947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:24:31] local.INFO: GPS data processed {"connection_id":64947,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:24:31] local.INFO: Acknowledgment sent {"connection_id":64947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:24:52] local.INFO: TCP Data received {"connection_id":65777,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:52] local.INFO: Processing buffer {"connection_id":65777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:52] local.INFO: IMEI packet received {"connection_id":65777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":65777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:24:53] local.INFO: TCP Data received {"connection_id":65777,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:53] local.INFO: Processing buffer {"connection_id":65777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:53] local.INFO: IMEI packet received {"connection_id":65777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":65777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:24:58] local.INFO: TCP Data received {"connection_id":65777,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:58] local.INFO: Processing buffer {"connection_id":65777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:24:58] local.INFO: IMEI packet received {"connection_id":65777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":65777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:25:00] local.INFO: TCP Data received {"connection_id":65777,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0624bee0012d34bcc006aa4fc80000009c27..."} 
[2026-05-08 11:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0624bee0012d34bcc006aa4fc80000009c27..."} 
[2026-05-08 11:25:00] local.INFO: Processing buffer {"connection_id":65777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0624bee0012d34bcc006aa4fc80000009c27..."} 
[2026-05-08 11:25:00] local.INFO: Packet analysis {"connection_id":65777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0624"} 
[2026-05-08 11:25:00] local.INFO: Extracted packet for processing {"connection_id":65777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0624"} 
[2026-05-08 11:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111824840,"longitude_deg":75.8430912,"latitude_deg":11.182484,"altitude":0,"angle":156,"satellites":39,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa4fc8","is_valid_coordinates":true} 
[2026-05-08 11:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224194816001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197703101513728,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800052951709362176,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25: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-05-08 11:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778219532000,"timestamp_ms":1778219532000,"timestamp_seconds":1778219532,"priority":1,"record_length":96,"hex_timestamp":"0000019e0624bee0"} 
[2026-05-08 11:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-05-08 11:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224194816001,"66":27484,"106":206,"28":21760,"24":0,"16":290197703101513728,"45":3800052951709362176},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224194816001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197703101513728,"km_value":290197703101513.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800052951709362176,"description":"Unknown IO ID 45"} 
[2026-05-08 11:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224194816001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800052951709362176}} 
[2026-05-08 11:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":65777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:25:00] local.INFO: GPS data processed {"connection_id":65777,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:25:00] local.INFO: Acknowledgment sent {"connection_id":65777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:25:32] local.INFO: TCP Data received {"connection_id":65777,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062514d0012d34bcc006aa50180000009c26..."} 
[2026-05-08 11:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062514d0012d34bcc006aa50180000009c26..."} 
[2026-05-08 11:25:32] local.INFO: Processing buffer {"connection_id":65777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062514d0012d34bcc006aa50180000009c26..."} 
[2026-05-08 11:25:32] local.INFO: Packet analysis {"connection_id":65777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:25:32] local.INFO: Extracted packet for processing {"connection_id":65777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:25:32] local.INFO: GPS Element Parsed {"raw_longitude":758430912,"raw_latitude":111824920,"longitude_deg":75.8430912,"latitude_deg":11.182492,"altitude":0,"angle":156,"satellites":38,"speed":0,"hex_longitude":"2d34bcc0","hex_latitude":"06aa5018","is_valid_coordinates":true} 
[2026-05-08 11:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224200192001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197711691448320,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320453548032,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778219554000,"timestamp_ms":1778219554000,"timestamp_seconds":1778219554,"priority":1,"record_length":96,"hex_timestamp":"0000019e062514d0"} 
[2026-05-08 11:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 11:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224200192001,"66":27995,"106":206,"28":21760,"24":0,"16":290197711691448320,"45":3800123320453548032},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224200192001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:25:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197711691448320,"km_value":290197711691448.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320453548032,"description":"Unknown IO ID 45"} 
[2026-05-08 11:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224200192001,"power":27995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320453548032}} 
[2026-05-08 11:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":65777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:25:32] local.INFO: GPS data processed {"connection_id":65777,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:25:32] local.INFO: Acknowledgment sent {"connection_id":65777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:25:52] local.INFO: TCP Data received {"connection_id":65778,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:25:52] local.INFO: Processing buffer {"connection_id":65778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:25:52] local.INFO: IMEI packet received {"connection_id":65778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":65778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:25:58] local.INFO: TCP Data received {"connection_id":65778,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:25:58] local.INFO: Processing buffer {"connection_id":65778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:25:58] local.INFO: IMEI packet received {"connection_id":65778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":65778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:25:59] local.INFO: TCP Data received {"connection_id":65778,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062543b0012d34bd8006aa4fa80000008828..."} 
[2026-05-08 11:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062543b0012d34bd8006aa4fa80000008828..."} 
[2026-05-08 11:25:59] local.INFO: Processing buffer {"connection_id":65778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062543b0012d34bd8006aa4fa80000008828..."} 
[2026-05-08 11:25:59] local.INFO: Packet analysis {"connection_id":65778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:25:59] local.INFO: Extracted packet for processing {"connection_id":65778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758431104,"raw_latitude":111824808,"longitude_deg":75.8431104,"latitude_deg":11.1824808,"altitude":0,"angle":136,"satellites":40,"speed":0,"hex_longitude":"2d34bd80","hex_latitude":"06aa4fa8","is_valid_coordinates":true} 
[2026-05-08 11:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224205824001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197724576350208,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800123320453568512,"note":"Value kept but may cause issues"} 
[2026-05-08 11:25: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-05-08 11:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219566000,"timestamp_ms":1778219566000,"timestamp_seconds":1778219566,"priority":1,"record_length":96,"hex_timestamp":"0000019e062543b0"} 
[2026-05-08 11:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-05-08 11:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224205824001,"66":27800,"106":206,"28":21760,"24":0,"16":290197724576350208,"45":3800123320453568512},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224205824001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:25:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197724576350208,"km_value":290197724576350.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800123320453568512,"description":"Unknown IO ID 45"} 
[2026-05-08 11:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224205824001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800123320453568512}} 
[2026-05-08 11:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":65778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:25:59] local.INFO: GPS data processed {"connection_id":65778,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:25:59] local.INFO: Acknowledgment sent {"connection_id":65778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:26:31] local.INFO: TCP Data received {"connection_id":65778,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06254798012d34bdc006aa4fa80000007b28..."} 
[2026-05-08 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06254798012d34bdc006aa4fa80000007b28..."} 
[2026-05-08 11:26:31] local.INFO: Processing buffer {"connection_id":65778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06254798012d34bdc006aa4fa80000007b28..."} 
[2026-05-08 11:26:31] local.INFO: Packet analysis {"connection_id":65778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:26:31] local.INFO: Extracted packet for processing {"connection_id":65778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111824808,"longitude_deg":75.8431168,"latitude_deg":11.1824808,"altitude":0,"angle":123,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4fa8","is_valid_coordinates":true} 
[2026-05-08 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224208896001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197728871317504,"note":"Value kept but may cause issues"} 
[2026-05-08 11:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800334426686072832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778219567000,"timestamp_ms":1778219567000,"timestamp_seconds":1778219567,"priority":1,"record_length":96,"hex_timestamp":"0000019e06254798"} 
[2026-05-08 11:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:26: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-05-08 11:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-05-08 11:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224208896001,"66":27800,"106":206,"28":21760,"24":0,"16":290197728871317504,"45":3800334426686072832},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224208896001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:26:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197728871317504,"km_value":290197728871317.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800334426686072832,"description":"Unknown IO ID 45"} 
[2026-05-08 11:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224208896001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800334426686072832}} 
[2026-05-08 11:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":65778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:26:31] local.INFO: GPS data processed {"connection_id":65778,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:26:31] local.INFO: Acknowledgment sent {"connection_id":65778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:26:52] local.INFO: TCP Data received {"connection_id":64978,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:26:52] local.INFO: Processing buffer {"connection_id":64978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:26:52] local.INFO: IMEI packet received {"connection_id":64978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":64978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:26:58] local.INFO: TCP Data received {"connection_id":64978,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:26:58] local.INFO: Processing buffer {"connection_id":64978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:26:58] local.INFO: IMEI packet received {"connection_id":64978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":64978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:26:59] local.INFO: TCP Data received {"connection_id":64978,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06254f68012d34bdc006aa4fb00000006428..."} 
[2026-05-08 11:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06254f68012d34bdc006aa4fb00000006428..."} 
[2026-05-08 11:26:59] local.INFO: Processing buffer {"connection_id":64978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06254f68012d34bdc006aa4fb00000006428..."} 
[2026-05-08 11:26:59] local.INFO: Packet analysis {"connection_id":64978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:26:59] local.INFO: Extracted packet for processing {"connection_id":64978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111824816,"longitude_deg":75.8431168,"latitude_deg":11.1824816,"altitude":0,"angle":100,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa4fb0","is_valid_coordinates":true} 
[2026-05-08 11:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224209152001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197728871317504,"note":"Value kept but may cause issues"} 
[2026-05-08 11:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795430250496,"note":"Value kept but may cause issues"} 
[2026-05-08 11:26: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-05-08 11:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219569000,"timestamp_ms":1778219569000,"timestamp_seconds":1778219569,"priority":1,"record_length":96,"hex_timestamp":"0000019e06254f68"} 
[2026-05-08 11:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-05-08 11:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224209152001,"66":26908,"106":206,"28":21760,"24":0,"16":290197728871317504,"45":3800404795430250496},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224209152001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197728871317504,"km_value":290197728871317.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795430250496,"description":"Unknown IO ID 45"} 
[2026-05-08 11:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224209152001,"power":26908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795430250496}} 
[2026-05-08 11:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":64978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:26:59] local.INFO: GPS data processed {"connection_id":64978,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:26:59] local.INFO: Acknowledgment sent {"connection_id":64978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:27:31] local.INFO: TCP Data received {"connection_id":64978,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0625a170012d34bec006aa4fe00000006425..."} 
[2026-05-08 11:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0625a170012d34bec006aa4fe00000006425..."} 
[2026-05-08 11:27:31] local.INFO: Processing buffer {"connection_id":64978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0625a170012d34bec006aa4fe00000006425..."} 
[2026-05-08 11:27:31] local.INFO: Packet analysis {"connection_id":64978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:27:31] local.INFO: Extracted packet for processing {"connection_id":64978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758431424,"raw_latitude":111824864,"longitude_deg":75.8431424,"latitude_deg":11.1824864,"altitude":0,"angle":100,"satellites":37,"speed":0,"hex_longitude":"2d34bec0","hex_latitude":"06aa4fe0","is_valid_coordinates":true} 
[2026-05-08 11:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224209664001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197746051186688,"note":"Value kept but may cause issues"} 
[2026-05-08 11:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795430252544,"note":"Value kept but may cause issues"} 
[2026-05-08 11:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778219590000,"timestamp_ms":1778219590000,"timestamp_seconds":1778219590,"priority":1,"record_length":96,"hex_timestamp":"0000019e0625a170"} 
[2026-05-08 11:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:27: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-05-08 11:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 11:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224209664001,"66":27800,"106":206,"28":21760,"24":0,"16":290197746051186688,"45":3800404795430252544},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224209664001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:27:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197746051186688,"km_value":290197746051186.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795430252544,"description":"Unknown IO ID 45"} 
[2026-05-08 11:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224209664001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800404795430252544}} 
[2026-05-08 11:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":64978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:27:31] local.INFO: GPS data processed {"connection_id":64978,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:27:31] local.INFO: Acknowledgment sent {"connection_id":64978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:27:58] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:27:58] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:27:58] local.INFO: IMEI packet received {"connection_id":65038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":65038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:28:02] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:02] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:02] local.INFO: IMEI packet received {"connection_id":65038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":65038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:28:04] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0625a558012d34bec006aa4fd80000002826..."} 
[2026-05-08 11:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0625a558012d34bec006aa4fd80000002826..."} 
[2026-05-08 11:28:04] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0625a558012d34bec006aa4fd80000002826..."} 
[2026-05-08 11:28:04] local.INFO: Packet analysis {"connection_id":65038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:28:04] local.INFO: Extracted packet for processing {"connection_id":65038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:28:04] local.INFO: GPS Element Parsed {"raw_longitude":758431424,"raw_latitude":111824856,"longitude_deg":75.8431424,"latitude_deg":11.1824856,"altitude":0,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d34bec0","hex_latitude":"06aa4fd8","is_valid_coordinates":true} 
[2026-05-08 11:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:28:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224215040001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:28:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197746051186688,"note":"Value kept but may cause issues"} 
[2026-05-08 11:28:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800686270406975488,"note":"Value kept but may cause issues"} 
[2026-05-08 11:28: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-05-08 11:28:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778219591000,"timestamp_ms":1778219591000,"timestamp_seconds":1778219591,"priority":1,"record_length":96,"hex_timestamp":"0000019e0625a558"} 
[2026-05-08 11:28:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:28:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:28:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-05-08 11:28:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:28:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:28:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:28:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:28:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:28:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:28:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:28:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:28:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:28:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:28:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224215040001,"66":27908,"106":206,"28":21760,"24":0,"16":290197746051186688,"45":3800686270406975488},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:28:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:28:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:28:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224215040001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:28:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:28:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:28:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197746051186688,"km_value":290197746051186.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:28:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800686270406975488,"description":"Unknown IO ID 45"} 
[2026-05-08 11:28:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224215040001,"power":27908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800686270406975488}} 
[2026-05-08 11:28:04] local.INFO: DEBUG: GPS processor result {"connection_id":65038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:28:04] local.INFO: GPS data processed {"connection_id":65038,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:28:04] local.INFO: Acknowledgment sent {"connection_id":65038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:28:12] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0625f760012d34be4006aa4fe00000002826..."} 
[2026-05-08 11:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0625f760012d34be4006aa4fe00000002826..."} 
[2026-05-08 11:28:12] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0625f760012d34be4006aa4fe00000002826..."} 
[2026-05-08 11:28:12] local.INFO: Packet analysis {"connection_id":65038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:28:12] local.INFO: Extracted packet for processing {"connection_id":65038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0625"} 
[2026-05-08 11:28:12] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111824864,"longitude_deg":75.8431296,"latitude_deg":11.1824864,"altitude":0,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa4fe0","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224215296001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197754641121280,"note":"Value kept but may cause issues"} 
[2026-05-08 11:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800686270406973440,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1778219612000,"timestamp_ms":1778219612000,"timestamp_seconds":1778219612,"priority":1,"record_length":96,"hex_timestamp":"0000019e0625f760"} 
[2026-05-08 11:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 11:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":65038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224215296001,"66":27995,"106":206,"28":21760,"24":0,"16":290197754641121280,"45":3800686270406973440},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224215296001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:28:12] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:28:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197754641121280,"km_value":290197754641121.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800686270406973440,"description":"Unknown IO ID 45"} 
[2026-05-08 11:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224215296001,"power":27995,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800686270406973440}} 
[2026-05-08 11:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":65038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:28:12] local.INFO: GPS data processed {"connection_id":65038,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:28:12] local.INFO: Acknowledgment sent {"connection_id":65038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:28:16] local.INFO: TCP Data received {"connection_id":65037,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:28:16] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:28:16] local.INFO: IMEI packet received {"connection_id":65037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":65037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:28:43] local.INFO: TCP Data received {"connection_id":64949,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64949,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:28:43] local.INFO: Processing buffer {"connection_id":64949,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:28:43] local.INFO: IMEI packet received {"connection_id":64949,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:28:43] local.INFO: IMEI acknowledgment sent {"connection_id":64949,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:28:52] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:52] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:52] local.INFO: IMEI packet received {"connection_id":64979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":64979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:28:57] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:57] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:28:57] local.INFO: IMEI packet received {"connection_id":64979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":64979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:28:58] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06264968012d34be4006aa50380000002826..."} 
[2026-05-08 11:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06264968012d34be4006aa50380000002826..."} 
[2026-05-08 11:28:58] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06264968012d34be4006aa50380000002826..."} 
[2026-05-08 11:28:58] local.INFO: Packet analysis {"connection_id":64979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0626"} 
[2026-05-08 11:28:58] local.INFO: Extracted packet for processing {"connection_id":64979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0626"} 
[2026-05-08 11:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758431296,"raw_latitude":111824952,"longitude_deg":75.8431296,"latitude_deg":11.1824952,"altitude":0,"angle":40,"satellites":38,"speed":0,"hex_longitude":"2d34be40","hex_latitude":"06aa5038","is_valid_coordinates":true} 
[2026-05-08 11:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224220672001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197767526023168,"note":"Value kept but may cause issues"} 
[2026-05-08 11:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918620160,"note":"Value kept but may cause issues"} 
[2026-05-08 11:28: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-05-08 11:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778219633000,"timestamp_ms":1778219633000,"timestamp_seconds":1778219633,"priority":1,"record_length":96,"hex_timestamp":"0000019e06264968"} 
[2026-05-08 11:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-05-08 11:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224220672001,"66":27789,"106":206,"28":21760,"24":0,"16":290197767526023168,"45":3800545532918620160},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224220672001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:28:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197767526023168,"km_value":290197767526023.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918620160,"description":"Unknown IO ID 45"} 
[2026-05-08 11:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224220672001,"power":27789,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800545532918620160}} 
[2026-05-08 11:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":64979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:28:58] local.INFO: GPS data processed {"connection_id":64979,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:28:58] local.INFO: Acknowledgment sent {"connection_id":64979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:29:30] local.INFO: TCP Data received {"connection_id":64979,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06269b70012d34bf0006aa50380000002827..."} 
[2026-05-08 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06269b70012d34bf0006aa50380000002827..."} 
[2026-05-08 11:29:30] local.INFO: Processing buffer {"connection_id":64979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06269b70012d34bf0006aa50380000002827..."} 
[2026-05-08 11:29:30] local.INFO: Packet analysis {"connection_id":64979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0626"} 
[2026-05-08 11:29:30] local.INFO: Extracted packet for processing {"connection_id":64979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0626"} 
[2026-05-08 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111824952,"longitude_deg":75.8431488,"latitude_deg":11.1824952,"altitude":0,"angle":40,"satellites":39,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa5038","is_valid_coordinates":true} 
[2026-05-08 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224226048001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197784705892352,"note":"Value kept but may cause issues"} 
[2026-05-08 11:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800545532918642688,"note":"Value kept but may cause issues"} 
[2026-05-08 11:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219654000,"timestamp_ms":1778219654000,"timestamp_seconds":1778219654,"priority":1,"record_length":96,"hex_timestamp":"0000019e06269b70"} 
[2026-05-08 11:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:29: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-05-08 11:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-05-08 11:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224226048001,"66":27767,"106":206,"28":21760,"24":0,"16":290197784705892352,"45":3800545532918642688},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224226048001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:29:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197784705892352,"km_value":290197784705892.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800545532918642688,"description":"Unknown IO ID 45"} 
[2026-05-08 11:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224226048001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800545532918642688}} 
[2026-05-08 11:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":64979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:29:30] local.INFO: GPS data processed {"connection_id":64979,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:29:30] local.INFO: Acknowledgment sent {"connection_id":64979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:29:53] local.INFO: TCP Data received {"connection_id":64950,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:29:53] local.INFO: Processing buffer {"connection_id":64950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:29:53] local.INFO: IMEI packet received {"connection_id":64950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":64950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:29:58] local.INFO: TCP Data received {"connection_id":64950,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:29:58] local.INFO: Processing buffer {"connection_id":64950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:29:58] local.INFO: IMEI packet received {"connection_id":64950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:29:58] local.INFO: IMEI acknowledgment sent {"connection_id":64950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:29:59] local.INFO: TCP Data received {"connection_id":64950,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0626bab0012d34bf4006aa50780000005628..."} 
[2026-05-08 11:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0626bab0012d34bf4006aa50780000005628..."} 
[2026-05-08 11:29:59] local.INFO: Processing buffer {"connection_id":64950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0626bab0012d34bf4006aa50780000005628..."} 
[2026-05-08 11:29:59] local.INFO: Packet analysis {"connection_id":64950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0626"} 
[2026-05-08 11:29:59] local.INFO: Extracted packet for processing {"connection_id":64950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0626"} 
[2026-05-08 11:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758431552,"raw_latitude":111825016,"longitude_deg":75.8431552,"latitude_deg":11.1825016,"altitude":0,"angle":86,"satellites":40,"speed":0,"hex_longitude":"2d34bf40","hex_latitude":"06aa5078","is_valid_coordinates":true} 
[2026-05-08 11:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224231424001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197793295826944,"note":"Value kept but may cause issues"} 
[2026-05-08 11:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639151175680,"note":"Value kept but may cause issues"} 
[2026-05-08 11:29: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-05-08 11:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219662000,"timestamp_ms":1778219662000,"timestamp_seconds":1778219662,"priority":1,"record_length":96,"hex_timestamp":"0000019e0626bab0"} 
[2026-05-08 11:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 11:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224231424001,"66":27876,"106":206,"28":21760,"24":0,"16":290197793295826944,"45":3800756639151175680},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224231424001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197793295826944,"km_value":290197793295826.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639151175680,"description":"Unknown IO ID 45"} 
[2026-05-08 11:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224231424001,"power":27876,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800756639151175680}} 
[2026-05-08 11:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":64950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:29:59] local.INFO: GPS data processed {"connection_id":64950,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:29:59] local.INFO: Acknowledgment sent {"connection_id":64950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:30:30] local.INFO: TCP Data received {"connection_id":64950,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06270cb8012d34bfc006aa50900000004f27..."} 
[2026-05-08 11:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06270cb8012d34bfc006aa50900000004f27..."} 
[2026-05-08 11:30:30] local.INFO: Processing buffer {"connection_id":64950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06270cb8012d34bfc006aa50900000004f27..."} 
[2026-05-08 11:30:30] local.INFO: Packet analysis {"connection_id":64950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0627"} 
[2026-05-08 11:30:30] local.INFO: Extracted packet for processing {"connection_id":64950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0627"} 
[2026-05-08 11:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111825040,"longitude_deg":75.843168,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224233472001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800827007895369728,"note":"Value kept but may cause issues"} 
[2026-05-08 11:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219683000,"timestamp_ms":1778219683000,"timestamp_seconds":1778219683,"priority":1,"record_length":96,"hex_timestamp":"0000019e06270cb8"} 
[2026-05-08 11:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-05-08 11:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224233472001,"66":27713,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800827007895369728},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224233472001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:30:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800827007895369728,"description":"Unknown IO ID 45"} 
[2026-05-08 11:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224233472001,"power":27713,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800827007895369728}} 
[2026-05-08 11:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":64950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:30:30] local.INFO: GPS data processed {"connection_id":64950,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:30:30] local.INFO: Acknowledgment sent {"connection_id":64950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:30:52] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:30:52] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:30:52] local.INFO: IMEI packet received {"connection_id":64951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":64951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:30:58] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:30:58] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:30:58] local.INFO: IMEI packet received {"connection_id":64951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":64951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:30:59] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06270cb8012d34bfc006aa50900000004f27..."} 
[2026-05-08 11:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06270cb8012d34bfc006aa50900000004f27..."} 
[2026-05-08 11:30:59] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06270cb8012d34bfc006aa50900000004f27..."} 
[2026-05-08 11:30:59] local.INFO: Packet analysis {"connection_id":64951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0627"} 
[2026-05-08 11:30:59] local.INFO: Extracted packet for processing {"connection_id":64951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0627"} 
[2026-05-08 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111825040,"longitude_deg":75.843168,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11:30: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-05-08 11:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219683000,"timestamp_ms":1778219683000,"timestamp_seconds":1778219683,"priority":1,"record_length":96,"hex_timestamp":"0000019e06270cb8"} 
[2026-05-08 11:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 11:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":27713,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:30:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":27713,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":64951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:30:59] local.INFO: GPS data processed {"connection_id":64951,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:30:59] local.INFO: Acknowledgment sent {"connection_id":64951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:31:30] local.INFO: TCP Data received {"connection_id":64951,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:31:30] local.INFO: Processing buffer {"connection_id":64951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:31:30] local.INFO: Packet analysis {"connection_id":64951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:31:30] local.INFO: Extracted packet for processing {"connection_id":64951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":6,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219985000,"timestamp_ms":1778219985000,"timestamp_seconds":1778219985,"priority":1,"record_length":96,"hex_timestamp":"0000019e062ba868"} 
[2026-05-08 11:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:31: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-05-08 11:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":25908,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:31:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":64951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:31:30] local.INFO: GPS data processed {"connection_id":64951,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:31:30] local.INFO: Acknowledgment sent {"connection_id":64951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:31:52] local.INFO: TCP Data received {"connection_id":64980,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:31:52] local.INFO: Processing buffer {"connection_id":64980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:31:52] local.INFO: IMEI packet received {"connection_id":64980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":64980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:31:58] local.INFO: TCP Data received {"connection_id":64980,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:31:58] local.INFO: Processing buffer {"connection_id":64980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:31:58] local.INFO: IMEI packet received {"connection_id":64980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":64980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:31:59] local.INFO: TCP Data received {"connection_id":64980,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:31:59] local.INFO: Processing buffer {"connection_id":64980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:31:59] local.INFO: Packet analysis {"connection_id":64980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:31:59] local.INFO: Extracted packet for processing {"connection_id":64980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":6,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11:31: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-05-08 11:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219985000,"timestamp_ms":1778219985000,"timestamp_seconds":1778219985,"priority":1,"record_length":96,"hex_timestamp":"0000019e062ba868"} 
[2026-05-08 11:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":25908,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":64980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:31:59] local.INFO: GPS data processed {"connection_id":64980,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:31:59] local.INFO: Acknowledgment sent {"connection_id":64980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:32:30] local.INFO: TCP Data received {"connection_id":64980,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:32:30] local.INFO: Processing buffer {"connection_id":64980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:32:30] local.INFO: Packet analysis {"connection_id":64980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:32:30] local.INFO: Extracted packet for processing {"connection_id":64980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":6,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219985000,"timestamp_ms":1778219985000,"timestamp_seconds":1778219985,"priority":1,"record_length":96,"hex_timestamp":"0000019e062ba868"} 
[2026-05-08 11:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:32: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-05-08 11: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":25908,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:32:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":64980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:32:30] local.INFO: GPS data processed {"connection_id":64980,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:32:30] local.INFO: Acknowledgment sent {"connection_id":64980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:32:52] local.INFO: TCP Data received {"connection_id":65780,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:32:52] local.INFO: Processing buffer {"connection_id":65780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:32:52] local.INFO: IMEI packet received {"connection_id":65780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":65780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:32:58] local.INFO: TCP Data received {"connection_id":65780,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:32:58] local.INFO: Processing buffer {"connection_id":65780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:32:58] local.INFO: IMEI packet received {"connection_id":65780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":65780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:32:59] local.INFO: TCP Data received {"connection_id":65780,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:32:59] local.INFO: Processing buffer {"connection_id":65780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:32:59] local.INFO: Packet analysis {"connection_id":65780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:32:59] local.INFO: Extracted packet for processing {"connection_id":65780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":6,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11:32: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-05-08 11:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219985000,"timestamp_ms":1778219985000,"timestamp_seconds":1778219985,"priority":1,"record_length":96,"hex_timestamp":"0000019e062ba868"} 
[2026-05-08 11:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":25908,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:32:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":65780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:32:59] local.INFO: GPS data processed {"connection_id":65780,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:32:59] local.INFO: Acknowledgment sent {"connection_id":65780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:33:30] local.INFO: TCP Data received {"connection_id":65780,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:33:30] local.INFO: Processing buffer {"connection_id":65780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:33:30] local.INFO: Packet analysis {"connection_id":65780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:33:30] local.INFO: Extracted packet for processing {"connection_id":65780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:33:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":6,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778219985000,"timestamp_ms":1778219985000,"timestamp_seconds":1778219985,"priority":1,"record_length":96,"hex_timestamp":"0000019e062ba868"} 
[2026-05-08 11:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:33: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-05-08 11:33:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:33:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":25908,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:33:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:33:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":65780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:33:30] local.INFO: GPS data processed {"connection_id":65780,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:33:30] local.INFO: Acknowledgment sent {"connection_id":65780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:33:58] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:33:58] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:33:58] local.INFO: IMEI packet received {"connection_id":65044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":65044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:34:03] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:03] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:03] local.INFO: IMEI packet received {"connection_id":65044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":65044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:34:04] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:04] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:04] local.INFO: Packet analysis {"connection_id":65044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:34:04] local.INFO: Extracted packet for processing {"connection_id":65044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":6,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778219985000,"timestamp_ms":1778219985000,"timestamp_seconds":1778219985,"priority":1,"record_length":96,"hex_timestamp":"0000019e062ba868"} 
[2026-05-08 11:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":25908,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:34:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":65044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:34:04] local.INFO: GPS data processed {"connection_id":65044,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:34:04] local.INFO: Acknowledgment sent {"connection_id":65044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:34:08] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:08] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:08] local.INFO: Packet analysis {"connection_id":65044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:34:08] local.INFO: Extracted packet for processing {"connection_id":65044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":6,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778219985000,"timestamp_ms":1778219985000,"timestamp_seconds":1778219985,"priority":1,"record_length":96,"hex_timestamp":"0000019e062ba868"} 
[2026-05-08 11:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":25908,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":65044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:34:08] local.INFO: GPS data processed {"connection_id":65044,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:34:08] local.INFO: Acknowledgment sent {"connection_id":65044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:34:12] local.INFO: TCP Data received {"connection_id":65043,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:34:12] local.INFO: Processing buffer {"connection_id":65043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:34:12] local.INFO: IMEI packet received {"connection_id":65043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":65043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:34:42] local.INFO: TCP Data received {"connection_id":64952,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64952,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:34:42] local.INFO: Processing buffer {"connection_id":64952,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:34:42] local.INFO: IMEI packet received {"connection_id":64952,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":64952,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:34:53] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:53] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:53] local.INFO: IMEI packet received {"connection_id":64981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":64981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:34:58] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:58] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:34:58] local.INFO: IMEI packet received {"connection_id":64981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":64981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:34:59] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:59] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e062ba868012d34c18006aa50900006004f28..."} 
[2026-05-08 11:34:59] local.INFO: Packet analysis {"connection_id":64981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:34:59] local.INFO: Extracted packet for processing {"connection_id":64981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e062b"} 
[2026-05-08 11:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":6,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224238848001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383731200,"note":"Value kept but may cause issues"} 
[2026-05-08 11:34: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-05-08 11:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778219985000,"timestamp_ms":1778219985000,"timestamp_seconds":1778219985,"priority":1,"record_length":96,"hex_timestamp":"0000019e062ba868"} 
[2026-05-08 11:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 11:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224238848001,"66":25908,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3800967745383731200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224238848001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383731200,"description":"Unknown IO ID 45"} 
[2026-05-08 11:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224238848001,"power":25908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383731200}} 
[2026-05-08 11:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":64981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:34:59] local.INFO: GPS data processed {"connection_id":64981,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:34:59] local.INFO: Acknowledgment sent {"connection_id":64981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:35:31] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:35:31] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:35:31] local.INFO: Packet analysis {"connection_id":64981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:35:31] local.INFO: Extracted packet for processing {"connection_id":64981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:35: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-05-08 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:35:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":64981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:35:31] local.INFO: GPS data processed {"connection_id":64981,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:35:31] local.INFO: Acknowledgment sent {"connection_id":64981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:35:52] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:35:52] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:35:52] local.INFO: IMEI packet received {"connection_id":64953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":64953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:35:58] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:35:58] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:35:58] local.INFO: IMEI packet received {"connection_id":64953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:35:58] local.INFO: IMEI acknowledgment sent {"connection_id":64953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:35:59] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:35:59] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:35:59] local.INFO: Packet analysis {"connection_id":64953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:35:59] local.INFO: Extracted packet for processing {"connection_id":64953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:35: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-05-08 11:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":64953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:35:59] local.INFO: GPS data processed {"connection_id":64953,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:35:59] local.INFO: Acknowledgment sent {"connection_id":64953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:36:31] local.INFO: TCP Data received {"connection_id":64953,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:36:31] local.INFO: Processing buffer {"connection_id":64953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:36:31] local.INFO: Packet analysis {"connection_id":64953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:36:31] local.INFO: Extracted packet for processing {"connection_id":64953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:36: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-05-08 11:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:36:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":64953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:36:31] local.INFO: GPS data processed {"connection_id":64953,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:36:31] local.INFO: Acknowledgment sent {"connection_id":64953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:36:52] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:36:52] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:36:52] local.INFO: IMEI packet received {"connection_id":64982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":64982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:36:58] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:36:58] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:36:58] local.INFO: IMEI packet received {"connection_id":64982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":64982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:36:59] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:36:59] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:36:59] local.INFO: Packet analysis {"connection_id":64982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:36:59] local.INFO: Extracted packet for processing {"connection_id":64982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:36: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-05-08 11:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:36:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":64982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:36:59] local.INFO: GPS data processed {"connection_id":64982,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:36:59] local.INFO: Acknowledgment sent {"connection_id":64982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:37:31] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:37:31] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:37:31] local.INFO: Packet analysis {"connection_id":64982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:37:31] local.INFO: Extracted packet for processing {"connection_id":64982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:37: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-05-08 11:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:37:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":64982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:37:31] local.INFO: GPS data processed {"connection_id":64982,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:37:31] local.INFO: Acknowledgment sent {"connection_id":64982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:37:58] local.INFO: TCP Data received {"connection_id":64954,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:37:58] local.INFO: Processing buffer {"connection_id":64954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:37:58] local.INFO: IMEI packet received {"connection_id":64954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":64954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:38:03] local.INFO: TCP Data received {"connection_id":64954,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:03] local.INFO: Processing buffer {"connection_id":64954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:03] local.INFO: IMEI packet received {"connection_id":64954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":64954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:38:04] local.INFO: TCP Data received {"connection_id":64954,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:04] local.INFO: Processing buffer {"connection_id":64954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:04] local.INFO: Packet analysis {"connection_id":64954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:38:04] local.INFO: Extracted packet for processing {"connection_id":64954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":64954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:38:04] local.INFO: GPS data processed {"connection_id":64954,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:38:04] local.INFO: Acknowledgment sent {"connection_id":64954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:38:09] local.INFO: TCP Data received {"connection_id":64954,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:09] local.INFO: Processing buffer {"connection_id":64954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:09] local.INFO: Packet analysis {"connection_id":64954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:38:09] local.INFO: Extracted packet for processing {"connection_id":64954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":64954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":64954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":64954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:38:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":64954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:38:09] local.INFO: GPS data processed {"connection_id":64954,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:38:09] local.INFO: Acknowledgment sent {"connection_id":64954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:38:53] local.INFO: TCP Data received {"connection_id":64955,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:53] local.INFO: Processing buffer {"connection_id":64955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:53] local.INFO: IMEI packet received {"connection_id":64955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":64955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:38:58] local.INFO: TCP Data received {"connection_id":64955,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:58] local.INFO: Processing buffer {"connection_id":64955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:38:58] local.INFO: IMEI packet received {"connection_id":64955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":64955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:38:59] local.INFO: TCP Data received {"connection_id":64955,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:59] local.INFO: Processing buffer {"connection_id":64955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:38:59] local.INFO: Packet analysis {"connection_id":64955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:38:59] local.INFO: Extracted packet for processing {"connection_id":64955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:38: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-05-08 11:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:38:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":64955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:38:59] local.INFO: GPS data processed {"connection_id":64955,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:38:59] local.INFO: Acknowledgment sent {"connection_id":64955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:39:31] local.INFO: TCP Data received {"connection_id":64955,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:39:31] local.INFO: Processing buffer {"connection_id":64955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:39:31] local.INFO: Packet analysis {"connection_id":64955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:39:31] local.INFO: Extracted packet for processing {"connection_id":64955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:39: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-05-08 11:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:39:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":64955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:39:31] local.INFO: GPS data processed {"connection_id":64955,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:39:31] local.INFO: Acknowledgment sent {"connection_id":64955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:39:53] local.INFO: TCP Data received {"connection_id":65047,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:39:53] local.INFO: Processing buffer {"connection_id":65047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:39:53] local.INFO: IMEI packet received {"connection_id":65047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":65047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:39:58] local.INFO: TCP Data received {"connection_id":65047,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:39:58] local.INFO: Processing buffer {"connection_id":65047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:39:58] local.INFO: IMEI packet received {"connection_id":65047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":65047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:39:59] local.INFO: TCP Data received {"connection_id":65047,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:39:59] local.INFO: Processing buffer {"connection_id":65047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06304030012d34c18006aa50900000004f23..."} 
[2026-05-08 11:39:59] local.INFO: Packet analysis {"connection_id":65047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:39:59] local.INFO: Extracted packet for processing {"connection_id":65047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0630"} 
[2026-05-08 11:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":35,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224316160001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:39: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-05-08 11:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220286000,"timestamp_ms":1778220286000,"timestamp_seconds":1778220286,"priority":1,"record_length":96,"hex_timestamp":"0000019e06304030"} 
[2026-05-08 11:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-05-08 11:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224316160001,"66":25821,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224316160001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224316160001,"power":25821,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":65047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:39:59] local.INFO: GPS data processed {"connection_id":65047,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:39:59] local.INFO: Acknowledgment sent {"connection_id":65047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:40:11] local.INFO: TCP Data received {"connection_id":65783,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:40:11] local.INFO: Processing buffer {"connection_id":65783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:40:11] local.INFO: IMEI packet received {"connection_id":65783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":65783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:40:30] local.INFO: TCP Data received {"connection_id":65047,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:40:30] local.INFO: Processing buffer {"connection_id":65047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:40:30] local.INFO: Packet analysis {"connection_id":65047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:40:30] local.INFO: Extracted packet for processing {"connection_id":65047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:40: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-05-08 11:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:40:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":65047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:40:31] local.INFO: GPS data processed {"connection_id":65047,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:40:31] local.INFO: Acknowledgment sent {"connection_id":65047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:40:41] local.INFO: TCP Data received {"connection_id":64956,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:40:41] local.INFO: Processing buffer {"connection_id":64956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:40:41] local.INFO: IMEI packet received {"connection_id":64956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":64956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:40:52] local.INFO: TCP Data received {"connection_id":64957,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:40:52] local.INFO: Processing buffer {"connection_id":64957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:40:52] local.INFO: IMEI packet received {"connection_id":64957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":64957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:40:58] local.INFO: TCP Data received {"connection_id":64957,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:40:58] local.INFO: Processing buffer {"connection_id":64957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:40:58] local.INFO: IMEI packet received {"connection_id":64957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":64957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:40:59] local.INFO: TCP Data received {"connection_id":64957,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:40:59] local.INFO: Processing buffer {"connection_id":64957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:40:59] local.INFO: Packet analysis {"connection_id":64957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:40:59] local.INFO: Extracted packet for processing {"connection_id":64957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:40: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-05-08 11:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":64957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:40:59] local.INFO: GPS data processed {"connection_id":64957,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:40:59] local.INFO: Acknowledgment sent {"connection_id":64957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:41:31] local.INFO: TCP Data received {"connection_id":64957,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:41:31] local.INFO: Processing buffer {"connection_id":64957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:41:31] local.INFO: Packet analysis {"connection_id":64957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:41:31] local.INFO: Extracted packet for processing {"connection_id":64957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:41:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:41:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:41:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:41:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:41:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:41:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:41:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:41:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:41:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:41:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:41:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:41:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:41:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:41:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:41:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:41:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:41:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:41:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:41:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:41:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:41:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:41:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:41:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:41:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:41:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:41:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:41:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:41:31] local.INFO: DEBUG: GPS processor result {"connection_id":64957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:41:31] local.INFO: GPS data processed {"connection_id":64957,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:41:31] local.INFO: Acknowledgment sent {"connection_id":64957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:41:52] local.INFO: TCP Data received {"connection_id":64959,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:41:52] local.INFO: Processing buffer {"connection_id":64959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:41:52] local.INFO: IMEI packet received {"connection_id":64959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":64959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:41:58] local.INFO: TCP Data received {"connection_id":64959,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:41:58] local.INFO: Processing buffer {"connection_id":64959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:41:58] local.INFO: IMEI packet received {"connection_id":64959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":64959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:41:59] local.INFO: TCP Data received {"connection_id":64959,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:41:59] local.INFO: Processing buffer {"connection_id":64959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:41:59] local.INFO: Packet analysis {"connection_id":64959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:41:59] local.INFO: Extracted packet for processing {"connection_id":64959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:41: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-05-08 11:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:41:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":64959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:41:59] local.INFO: GPS data processed {"connection_id":64959,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:41:59] local.INFO: Acknowledgment sent {"connection_id":64959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:42:30] local.INFO: TCP Data received {"connection_id":64959,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:42:30] local.INFO: Processing buffer {"connection_id":64959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:42:30] local.INFO: Packet analysis {"connection_id":64959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:42:30] local.INFO: Extracted packet for processing {"connection_id":64959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:42: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-05-08 11:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:42:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":64959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:42:30] local.INFO: GPS data processed {"connection_id":64959,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:42:30] local.INFO: Acknowledgment sent {"connection_id":64959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:42:52] local.INFO: TCP Data received {"connection_id":65049,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:42:52] local.INFO: Processing buffer {"connection_id":65049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:42:52] local.INFO: IMEI packet received {"connection_id":65049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":65049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:42:58] local.INFO: TCP Data received {"connection_id":65049,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:42:58] local.INFO: Processing buffer {"connection_id":65049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:42:58] local.INFO: IMEI packet received {"connection_id":65049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":65049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:42:59] local.INFO: TCP Data received {"connection_id":65049,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:42:59] local.INFO: Processing buffer {"connection_id":65049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:42:59] local.INFO: Packet analysis {"connection_id":65049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:42:59] local.INFO: Extracted packet for processing {"connection_id":65049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:42: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-05-08 11:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:42:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:42:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":65049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:42:59] local.INFO: GPS data processed {"connection_id":65049,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:42:59] local.INFO: Acknowledgment sent {"connection_id":65049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:43:31] local.INFO: TCP Data received {"connection_id":65049,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:43:31] local.INFO: Processing buffer {"connection_id":65049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:43:31] local.INFO: Packet analysis {"connection_id":65049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:43:31] local.INFO: Extracted packet for processing {"connection_id":65049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:43:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":65049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:43:31] local.INFO: GPS data processed {"connection_id":65049,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:43:31] local.INFO: Acknowledgment sent {"connection_id":65049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:43:58] local.INFO: TCP Data received {"connection_id":65786,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:43:58] local.INFO: Processing buffer {"connection_id":65786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:43:58] local.INFO: IMEI packet received {"connection_id":65786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":65786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:44:03] local.INFO: TCP Data received {"connection_id":65786,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:03] local.INFO: Processing buffer {"connection_id":65786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:03] local.INFO: IMEI packet received {"connection_id":65786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":65786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:44:04] local.INFO: TCP Data received {"connection_id":65786,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:04] local.INFO: Processing buffer {"connection_id":65786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:04] local.INFO: Packet analysis {"connection_id":65786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:44:04] local.INFO: Extracted packet for processing {"connection_id":65786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:44:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:44:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:44:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:44:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:44:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:44:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:44:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:44:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:44:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:44:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:44:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:44:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:44:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:44:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:44:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:44:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:44:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:44:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:44:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:44:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:44:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:44:04] local.INFO: DEBUG: GPS processor result {"connection_id":65786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:44:04] local.INFO: GPS data processed {"connection_id":65786,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:44:04] local.INFO: Acknowledgment sent {"connection_id":65786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:44:08] local.INFO: TCP Data received {"connection_id":65786,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:08] local.INFO: Processing buffer {"connection_id":65786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:08] local.INFO: Packet analysis {"connection_id":65786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:44:08] local.INFO: Extracted packet for processing {"connection_id":65786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:44: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-05-08 11: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":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":65786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:44:08] local.INFO: GPS data processed {"connection_id":65786,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:44:08] local.INFO: Acknowledgment sent {"connection_id":65786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:44:53] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:53] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:53] local.INFO: IMEI packet received {"connection_id":64960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":64960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:44:58] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:58] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:44:58] local.INFO: IMEI packet received {"connection_id":64960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":64960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:44:59] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:59] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0634d7f8012d34c18006aa50900000004f26..."} 
[2026-05-08 11:44:59] local.INFO: Packet analysis {"connection_id":64960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:44:59] local.INFO: Extracted packet for processing {"connection_id":64960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0634"} 
[2026-05-08 11:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224393216001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:44: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-05-08 11:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220587000,"timestamp_ms":1778220587000,"timestamp_seconds":1778220587,"priority":1,"record_length":96,"hex_timestamp":"0000019e0634d7f8"} 
[2026-05-08 11:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-05-08 11:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2687,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224393216001,"66":25734,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224393216001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224393216001,"power":25734,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":64960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:44:59] local.INFO: GPS data processed {"connection_id":64960,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:44:59] local.INFO: Acknowledgment sent {"connection_id":64960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:45:31] local.INFO: TCP Data received {"connection_id":64960,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:45:31] local.INFO: Processing buffer {"connection_id":64960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:45:31] local.INFO: Packet analysis {"connection_id":64960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:45:31] local.INFO: Extracted packet for processing {"connection_id":64960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:45: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-05-08 11:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:45:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":64960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:45:31] local.INFO: GPS data processed {"connection_id":64960,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:45:31] local.INFO: Acknowledgment sent {"connection_id":64960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:45:52] local.INFO: TCP Data received {"connection_id":64984,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:45:52] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:45:52] local.INFO: IMEI packet received {"connection_id":64984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":64984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:45:58] local.INFO: TCP Data received {"connection_id":64984,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:45:58] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:45:58] local.INFO: IMEI packet received {"connection_id":64984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":64984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:45:59] local.INFO: TCP Data received {"connection_id":64984,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:45:59] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:45:59] local.INFO: Packet analysis {"connection_id":64984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:45:59] local.INFO: Extracted packet for processing {"connection_id":64984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:45: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-05-08 11:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":64984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:45:59] local.INFO: GPS data processed {"connection_id":64984,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:45:59] local.INFO: Acknowledgment sent {"connection_id":64984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:46:30] local.INFO: TCP Data received {"connection_id":64984,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:46:30] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:46:30] local.INFO: Packet analysis {"connection_id":64984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:46:30] local.INFO: Extracted packet for processing {"connection_id":64984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:46: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-05-08 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":64984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:46:30] local.INFO: GPS data processed {"connection_id":64984,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:46:30] local.INFO: Acknowledgment sent {"connection_id":64984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:46:52] local.INFO: TCP Data received {"connection_id":65787,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:46:52] local.INFO: Processing buffer {"connection_id":65787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:46:52] local.INFO: IMEI packet received {"connection_id":65787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":65787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:46:58] local.INFO: TCP Data received {"connection_id":65787,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:46:58] local.INFO: Processing buffer {"connection_id":65787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:46:58] local.INFO: IMEI packet received {"connection_id":65787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":65787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:46:59] local.INFO: TCP Data received {"connection_id":65787,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:46:59] local.INFO: Processing buffer {"connection_id":65787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:46:59] local.INFO: Packet analysis {"connection_id":65787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:46:59] local.INFO: Extracted packet for processing {"connection_id":65787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:46: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-05-08 11:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:46:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:46:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:46:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":65787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:46:59] local.INFO: GPS data processed {"connection_id":65787,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:46:59] local.INFO: Acknowledgment sent {"connection_id":65787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:47:00] local.INFO: TCP Data received {"connection_id":64985,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:47:00] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:47:00] local.INFO: IMEI packet received {"connection_id":64985,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":64985,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:47:30] local.INFO: TCP Data received {"connection_id":65787,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:47:30] local.INFO: Processing buffer {"connection_id":65787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:47:30] local.INFO: Packet analysis {"connection_id":65787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:47:30] local.INFO: Extracted packet for processing {"connection_id":65787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:47:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:47: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-05-08 11:47:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:47:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":65787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:47:30] local.INFO: GPS data processed {"connection_id":65787,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:47:30] local.INFO: Acknowledgment sent {"connection_id":65787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:47:52] local.INFO: TCP Data received {"connection_id":64986,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:47:52] local.INFO: Processing buffer {"connection_id":64986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:47:52] local.INFO: IMEI packet received {"connection_id":64986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":64986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:47:58] local.INFO: TCP Data received {"connection_id":64986,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:47:58] local.INFO: Processing buffer {"connection_id":64986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:47:58] local.INFO: IMEI packet received {"connection_id":64986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:47:58] local.INFO: IMEI acknowledgment sent {"connection_id":64986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:47:59] local.INFO: TCP Data received {"connection_id":64986,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:47:59] local.INFO: Processing buffer {"connection_id":64986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:47:59] local.INFO: Packet analysis {"connection_id":64986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:47:59] local.INFO: Extracted packet for processing {"connection_id":64986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:47: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-05-08 11:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:47:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":64986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:47:59] local.INFO: GPS data processed {"connection_id":64986,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:47:59] local.INFO: Acknowledgment sent {"connection_id":64986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:48:32] local.INFO: TCP Data received {"connection_id":64986,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:48:32] local.INFO: Processing buffer {"connection_id":64986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:48:32] local.INFO: Packet analysis {"connection_id":64986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:48:32] local.INFO: Extracted packet for processing {"connection_id":64986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:48:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:48: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-05-08 11:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:48:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":64986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:48:32] local.INFO: GPS data processed {"connection_id":64986,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:48:32] local.INFO: Acknowledgment sent {"connection_id":64986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:48:58] local.INFO: TCP Data received {"connection_id":64961,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:48:58] local.INFO: Processing buffer {"connection_id":64961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:48:58] local.INFO: IMEI packet received {"connection_id":64961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":64961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:49:03] local.INFO: TCP Data received {"connection_id":64961,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:03] local.INFO: Processing buffer {"connection_id":64961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:03] local.INFO: IMEI packet received {"connection_id":64961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":64961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:49:04] local.INFO: TCP Data received {"connection_id":64961,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:04] local.INFO: Processing buffer {"connection_id":64961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:04] local.INFO: Packet analysis {"connection_id":64961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:49:04] local.INFO: Extracted packet for processing {"connection_id":64961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:49:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:49:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:49:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:49:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":64961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:49:04] local.INFO: GPS data processed {"connection_id":64961,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:49:04] local.INFO: Acknowledgment sent {"connection_id":64961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:49:08] local.INFO: TCP Data received {"connection_id":64961,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:08] local.INFO: Processing buffer {"connection_id":64961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:08] local.INFO: Packet analysis {"connection_id":64961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:49:08] local.INFO: Extracted packet for processing {"connection_id":64961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:49: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-05-08 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:49:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":64961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":64961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":64961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:49:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:49:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":64961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:49:08] local.INFO: GPS data processed {"connection_id":64961,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:49:08] local.INFO: Acknowledgment sent {"connection_id":64961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:49:53] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:53] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:53] local.INFO: IMEI packet received {"connection_id":64989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":64989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:49:58] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:58] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:49:58] local.INFO: IMEI packet received {"connection_id":64989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:49:58] local.INFO: IMEI acknowledgment sent {"connection_id":64989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:49:59] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:59] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:49:59] local.INFO: Packet analysis {"connection_id":64989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:49:59] local.INFO: Extracted packet for processing {"connection_id":64989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:49:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:49: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-05-08 11:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:49:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":64989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:49:59] local.INFO: GPS data processed {"connection_id":64989,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:49:59] local.INFO: Acknowledgment sent {"connection_id":64989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:50:04] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:50:04] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06396fc0012d34c18006aa5090000a004f27..."} 
[2026-05-08 11:50:04] local.INFO: Packet analysis {"connection_id":64989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:50:04] local.INFO: Extracted packet for processing {"connection_id":64989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0639"} 
[2026-05-08 11:50:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":10,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:50:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224470272001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:50:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:50:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:50:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778220888000,"timestamp_ms":1778220888000,"timestamp_seconds":1778220888,"priority":1,"record_length":96,"hex_timestamp":"0000019e06396fc0"} 
[2026-05-08 11:50:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:50: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-05-08 11: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":100,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-05-08 11:50:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1904,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:50:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:50:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:50:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:50:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:50:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:50:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:50:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:50:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:50:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224470272001,"66":25680,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:50:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:50:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:50:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224470272001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:50:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:50:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:50:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:50:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:50:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224470272001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":64989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:50:04] local.INFO: GPS data processed {"connection_id":64989,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:50:04] local.INFO: Acknowledgment sent {"connection_id":64989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:50:36] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:50:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:50:36] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:50:36] local.INFO: Packet analysis {"connection_id":64989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:50:36] local.INFO: Extracted packet for processing {"connection_id":64989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:50:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:50:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:50:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:50:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:50:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:50:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:50:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:50:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:50:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:50:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:50:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:50:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:50:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:50:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:50:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:50:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:50:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:50:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:50:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:50:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:50:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:50:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:50:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:50:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:50:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:50:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:50:36] local.INFO: DEBUG: GPS processor result {"connection_id":64989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:50:36] local.INFO: GPS data processed {"connection_id":64989,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:50:36] local.INFO: Acknowledgment sent {"connection_id":64989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:50:52] local.INFO: TCP Data received {"connection_id":65053,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:50:52] local.INFO: Processing buffer {"connection_id":65053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:50:52] local.INFO: IMEI packet received {"connection_id":65053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":65053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:50:58] local.INFO: TCP Data received {"connection_id":65053,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:50:58] local.INFO: Processing buffer {"connection_id":65053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:50:58] local.INFO: IMEI packet received {"connection_id":65053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":65053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:50:59] local.INFO: TCP Data received {"connection_id":65053,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:50:59] local.INFO: Processing buffer {"connection_id":65053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:50:59] local.INFO: Packet analysis {"connection_id":65053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:50:59] local.INFO: Extracted packet for processing {"connection_id":65053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:50: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-05-08 11:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:50:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":65053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:50:59] local.INFO: GPS data processed {"connection_id":65053,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:50:59] local.INFO: Acknowledgment sent {"connection_id":65053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:51:31] local.INFO: TCP Data received {"connection_id":65053,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:51:31] local.INFO: Processing buffer {"connection_id":65053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:51:31] local.INFO: Packet analysis {"connection_id":65053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:51:31] local.INFO: Extracted packet for processing {"connection_id":65053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:51: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-05-08 11:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:51:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":65053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:51:31] local.INFO: GPS data processed {"connection_id":65053,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:51:31] local.INFO: Acknowledgment sent {"connection_id":65053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:51:52] local.INFO: TCP Data received {"connection_id":64963,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:51:52] local.INFO: Processing buffer {"connection_id":64963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:51:52] local.INFO: IMEI packet received {"connection_id":64963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":64963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:51:58] local.INFO: TCP Data received {"connection_id":64963,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:51:58] local.INFO: Processing buffer {"connection_id":64963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:51:58] local.INFO: IMEI packet received {"connection_id":64963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":64963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:51:59] local.INFO: TCP Data received {"connection_id":64963,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:51:59] local.INFO: Processing buffer {"connection_id":64963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:51:59] local.INFO: Packet analysis {"connection_id":64963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:51:59] local.INFO: Extracted packet for processing {"connection_id":64963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:51: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-05-08 11:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":64963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:51:59] local.INFO: GPS data processed {"connection_id":64963,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:51:59] local.INFO: Acknowledgment sent {"connection_id":64963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:52:31] local.INFO: TCP Data received {"connection_id":64963,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:52:31] local.INFO: Processing buffer {"connection_id":64963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:52:31] local.INFO: Packet analysis {"connection_id":64963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:52:31] local.INFO: Extracted packet for processing {"connection_id":64963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:52: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-05-08 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":64963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:52:31] local.INFO: GPS data processed {"connection_id":64963,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:52:31] local.INFO: Acknowledgment sent {"connection_id":64963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:52:43] local.INFO: TCP Data received {"connection_id":65788,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:52:43] local.INFO: Processing buffer {"connection_id":65788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:52:43] local.INFO: IMEI packet received {"connection_id":65788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":65788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:52:58] local.INFO: TCP Data received {"connection_id":64990,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:52:58] local.INFO: Processing buffer {"connection_id":64990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:52:58] local.INFO: IMEI packet received {"connection_id":64990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":64990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:53:03] local.INFO: TCP Data received {"connection_id":64990,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:03] local.INFO: Processing buffer {"connection_id":64990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:03] local.INFO: IMEI packet received {"connection_id":64990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":64990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:53:04] local.INFO: TCP Data received {"connection_id":64990,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:04] local.INFO: Processing buffer {"connection_id":64990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:04] local.INFO: Packet analysis {"connection_id":64990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:53:04] local.INFO: Extracted packet for processing {"connection_id":64990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:53:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:53:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:53:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:53:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:53:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:53:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:53: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-05-08 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:53:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:53:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:53:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:53:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:53:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:53:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:53:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:53:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:53:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:53:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:53:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:53:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:53:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:53:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:53:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:53:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:53:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:53:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:53:04] local.INFO: DEBUG: GPS processor result {"connection_id":64990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:53:04] local.INFO: GPS data processed {"connection_id":64990,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:53:04] local.INFO: Acknowledgment sent {"connection_id":64990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:53:10] local.INFO: TCP Data received {"connection_id":64990,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:10] local.INFO: Processing buffer {"connection_id":64990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:10] local.INFO: Packet analysis {"connection_id":64990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:53:10] local.INFO: Extracted packet for processing {"connection_id":64990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:53: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-05-08 11:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:53:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:53:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":64990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:53:10] local.INFO: GPS data processed {"connection_id":64990,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:53:10] local.INFO: Acknowledgment sent {"connection_id":64990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:53:53] local.INFO: TCP Data received {"connection_id":65789,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:53] local.INFO: Processing buffer {"connection_id":65789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:53] local.INFO: IMEI packet received {"connection_id":65789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":65789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:53:58] local.INFO: TCP Data received {"connection_id":65789,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:58] local.INFO: Processing buffer {"connection_id":65789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:53:58] local.INFO: IMEI packet received {"connection_id":65789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":65789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:53:58] local.INFO: TCP Data received {"connection_id":65789,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:59] local.INFO: Processing buffer {"connection_id":65789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:53:59] local.INFO: Packet analysis {"connection_id":65789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:53:59] local.INFO: Extracted packet for processing {"connection_id":65789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:53: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-05-08 11:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:53:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":65789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:53:59] local.INFO: GPS data processed {"connection_id":65789,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:53:59] local.INFO: Acknowledgment sent {"connection_id":65789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:54:31] local.INFO: TCP Data received {"connection_id":65789,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:54:31] local.INFO: Processing buffer {"connection_id":65789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:54:31] local.INFO: Packet analysis {"connection_id":65789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:54:31] local.INFO: Extracted packet for processing {"connection_id":65789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:54:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:54: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-05-08 11:54:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:54:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:54:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:54:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":65789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:54:31] local.INFO: GPS data processed {"connection_id":65789,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:54:31] local.INFO: Acknowledgment sent {"connection_id":65789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:54:53] local.INFO: TCP Data received {"connection_id":65055,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:54:53] local.INFO: Processing buffer {"connection_id":65055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:54:53] local.INFO: IMEI packet received {"connection_id":65055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":65055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:54:58] local.INFO: TCP Data received {"connection_id":65055,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:54:58] local.INFO: Processing buffer {"connection_id":65055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:54:58] local.INFO: IMEI packet received {"connection_id":65055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":65055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:54:59] local.INFO: TCP Data received {"connection_id":65055,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:54:59] local.INFO: Processing buffer {"connection_id":65055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e063e0788012d34c18006aa50900000004f27..."} 
[2026-05-08 11:54:59] local.INFO: Packet analysis {"connection_id":65055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:54:59] local.INFO: Extracted packet for processing {"connection_id":65055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e063e"} 
[2026-05-08 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":39,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224547328001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:54: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-05-08 11:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221189000,"timestamp_ms":1778221189000,"timestamp_seconds":1778221189,"priority":1,"record_length":96,"hex_timestamp":"0000019e063e0788"} 
[2026-05-08 11:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 11:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224547328001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224547328001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224547328001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":65055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:54:59] local.INFO: GPS data processed {"connection_id":65055,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:54:59] local.INFO: Acknowledgment sent {"connection_id":65055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:55:32] local.INFO: TCP Data received {"connection_id":65055,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:55:32] local.INFO: Processing buffer {"connection_id":65055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:55:32] local.INFO: Packet analysis {"connection_id":65055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:55:32] local.INFO: Extracted packet for processing {"connection_id":65055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:55:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:55:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:55:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":65055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:55:32] local.INFO: GPS data processed {"connection_id":65055,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:55:32] local.INFO: Acknowledgment sent {"connection_id":65055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:55:52] local.INFO: TCP Data received {"connection_id":65792,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:55:52] local.INFO: Processing buffer {"connection_id":65792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:55:52] local.INFO: IMEI packet received {"connection_id":65792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":65792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:55:58] local.INFO: TCP Data received {"connection_id":65792,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:55:58] local.INFO: Processing buffer {"connection_id":65792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:55:58] local.INFO: IMEI packet received {"connection_id":65792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":65792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:56:00] local.INFO: TCP Data received {"connection_id":65792,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:00] local.INFO: Processing buffer {"connection_id":65792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:00] local.INFO: Packet analysis {"connection_id":65792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:56:00] local.INFO: Extracted packet for processing {"connection_id":65792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56: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-05-08 11:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:56:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":65792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:56:00] local.INFO: GPS data processed {"connection_id":65792,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:56:00] local.INFO: Acknowledgment sent {"connection_id":65792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:56:33] local.INFO: TCP Data received {"connection_id":65792,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:33] local.INFO: Processing buffer {"connection_id":65792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:33] local.INFO: Packet analysis {"connection_id":65792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:56:33] local.INFO: Extracted packet for processing {"connection_id":65792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:56:33] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56: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-05-08 11:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:56: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-05-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:56:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:56:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:56:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":65792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:56:33] local.INFO: GPS data processed {"connection_id":65792,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:56:33] local.INFO: Acknowledgment sent {"connection_id":65792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:56:52] local.INFO: TCP Data received {"connection_id":64991,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:56:52] local.INFO: Processing buffer {"connection_id":64991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:56:52] local.INFO: IMEI packet received {"connection_id":64991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":64991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:56:58] local.INFO: TCP Data received {"connection_id":64991,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:56:58] local.INFO: Processing buffer {"connection_id":64991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:56:58] local.INFO: IMEI packet received {"connection_id":64991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":64991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:56:59] local.INFO: TCP Data received {"connection_id":64991,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:59] local.INFO: Processing buffer {"connection_id":64991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:56:59] local.INFO: Packet analysis {"connection_id":64991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:56:59] local.INFO: Extracted packet for processing {"connection_id":64991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:56: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-05-08 11:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":64991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:56:59] local.INFO: GPS data processed {"connection_id":64991,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:56:59] local.INFO: Acknowledgment sent {"connection_id":64991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:57:31] local.INFO: TCP Data received {"connection_id":64991,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:57:31] local.INFO: Processing buffer {"connection_id":64991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:57:31] local.INFO: Packet analysis {"connection_id":64991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:57:31] local.INFO: Extracted packet for processing {"connection_id":64991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:57:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":64991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:57:31] local.INFO: GPS data processed {"connection_id":64991,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:57:31] local.INFO: Acknowledgment sent {"connection_id":64991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:57:58] local.INFO: TCP Data received {"connection_id":64992,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:57:58] local.INFO: Processing buffer {"connection_id":64992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:57:58] local.INFO: IMEI packet received {"connection_id":64992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":64992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:58:03] local.INFO: TCP Data received {"connection_id":64992,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:03] local.INFO: Processing buffer {"connection_id":64992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:03] local.INFO: IMEI packet received {"connection_id":64992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":64992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:58:04] local.INFO: TCP Data received {"connection_id":64992,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:04] local.INFO: Processing buffer {"connection_id":64992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:04] local.INFO: Packet analysis {"connection_id":64992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:58:04] local.INFO: Extracted packet for processing {"connection_id":64992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:58:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:58:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":64992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:58:04] local.INFO: GPS data processed {"connection_id":64992,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:58:04] local.INFO: Acknowledgment sent {"connection_id":64992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:58:07] local.INFO: TCP Data received {"connection_id":65057,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:58:07] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:58:07] local.INFO: IMEI packet received {"connection_id":65057,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":65057,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:58:10] local.INFO: TCP Data received {"connection_id":64992,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:10] local.INFO: Processing buffer {"connection_id":64992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:10] local.INFO: Packet analysis {"connection_id":64992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:58:10] local.INFO: Extracted packet for processing {"connection_id":64992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:58: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-05-08 11:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:58: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-05-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":64992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":64992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":64992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:58:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:58:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":64992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:58:10] local.INFO: GPS data processed {"connection_id":64992,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:58:10] local.INFO: Acknowledgment sent {"connection_id":64992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:58:42] local.INFO: TCP Data received {"connection_id":64993,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:58:42] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 11:58:42] local.INFO: IMEI packet received {"connection_id":64993,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 11:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":64993,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:58:53] local.INFO: TCP Data received {"connection_id":64964,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:53] local.INFO: Processing buffer {"connection_id":64964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:53] local.INFO: IMEI packet received {"connection_id":64964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":64964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:58:58] local.INFO: TCP Data received {"connection_id":64964,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:58] local.INFO: Processing buffer {"connection_id":64964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:58:58] local.INFO: IMEI packet received {"connection_id":64964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":64964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:58:59] local.INFO: TCP Data received {"connection_id":64964,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:59] local.INFO: Processing buffer {"connection_id":64964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:58:59] local.INFO: Packet analysis {"connection_id":64964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:58:59] local.INFO: Extracted packet for processing {"connection_id":64964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 11:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:58: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-05-08 11:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:58:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 11:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:58:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":64964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:58:59] local.INFO: GPS data processed {"connection_id":64964,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:58:59] local.INFO: Acknowledgment sent {"connection_id":64964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:59:31] local.INFO: TCP Data received {"connection_id":64964,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:59:31] local.INFO: Processing buffer {"connection_id":64964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:59:31] local.INFO: Packet analysis {"connection_id":64964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:59:31] local.INFO: Extracted packet for processing {"connection_id":64964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:59:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11:59:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 11:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:59:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:59:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:59:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:59:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":64964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:59:31] local.INFO: GPS data processed {"connection_id":64964,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:59:31] local.INFO: Acknowledgment sent {"connection_id":64964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 11:59:52] local.INFO: TCP Data received {"connection_id":65794,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:59:52] local.INFO: Processing buffer {"connection_id":65794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:59:52] local.INFO: IMEI packet received {"connection_id":65794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 11:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":65794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 11:59:58] local.INFO: TCP Data received {"connection_id":65794,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:59:58] local.INFO: Processing buffer {"connection_id":65794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 11:59:58] local.INFO: IMEI packet received {"connection_id":65794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 11:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":65794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 11:59:59] local.INFO: TCP Data received {"connection_id":65794,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:59:59] local.INFO: Processing buffer {"connection_id":65794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 11:59:59] local.INFO: Packet analysis {"connection_id":65794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:59:59] local.INFO: Extracted packet for processing {"connection_id":65794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 11:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 11: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-05-08 11:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 11:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 11:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 11: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-05-08 11:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 11:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 11:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 11: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 11:59:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 11: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-05-08 11:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 11:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 11:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 11:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 11:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 11:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 11:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 11:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 11:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 11:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 11:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 11:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 11:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 11:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 11:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 11:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 11:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":65794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 11:59:59] local.INFO: GPS data processed {"connection_id":65794,"processed":1,"errors":0,"total":1} 
[2026-05-08 11:59:59] local.INFO: Acknowledgment sent {"connection_id":65794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:00:30] local.INFO: TCP Data received {"connection_id":65794,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 12:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 12:00:30] local.INFO: Processing buffer {"connection_id":65794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06429f50012d34c18006aa50900000004f29..."} 
[2026-05-08 12:00:30] local.INFO: Packet analysis {"connection_id":65794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 12:00:30] local.INFO: Extracted packet for processing {"connection_id":65794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0642"} 
[2026-05-08 12:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224624384001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778221490000,"timestamp_ms":1778221490000,"timestamp_seconds":1778221490,"priority":1,"record_length":96,"hex_timestamp":"0000019e06429f50"} 
[2026-05-08 12:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:00: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-05-08 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224624384001,"66":25625,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224624384001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:00:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:00:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224624384001,"power":25625,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":65794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:00:30] local.INFO: GPS data processed {"connection_id":65794,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:00:30] local.INFO: Acknowledgment sent {"connection_id":65794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:00:58] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:00:58] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:00:58] local.INFO: IMEI packet received {"connection_id":65058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":65058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:01:03] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:03] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:03] local.INFO: IMEI packet received {"connection_id":65058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":65058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:01:04] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:04] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:04] local.INFO: Packet analysis {"connection_id":65058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:01:04] local.INFO: Extracted packet for processing {"connection_id":65058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:01:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:01:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":65058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:01:04] local.INFO: GPS data processed {"connection_id":65058,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:01:04] local.INFO: Acknowledgment sent {"connection_id":65058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:01:09] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:09] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:09] local.INFO: Packet analysis {"connection_id":65058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:01:09] local.INFO: Extracted packet for processing {"connection_id":65058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12: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-05-08 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:01:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:01:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":65058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:01:09] local.INFO: GPS data processed {"connection_id":65058,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:01:09] local.INFO: Acknowledgment sent {"connection_id":65058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:01:53] local.INFO: TCP Data received {"connection_id":65796,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:53] local.INFO: Processing buffer {"connection_id":65796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:53] local.INFO: IMEI packet received {"connection_id":65796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":65796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:01:58] local.INFO: TCP Data received {"connection_id":65796,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:58] local.INFO: Processing buffer {"connection_id":65796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:01:58] local.INFO: IMEI packet received {"connection_id":65796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":65796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:01:59] local.INFO: TCP Data received {"connection_id":65796,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:59] local.INFO: Processing buffer {"connection_id":65796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:01:59] local.INFO: Packet analysis {"connection_id":65796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:01:59] local.INFO: Extracted packet for processing {"connection_id":65796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:01: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-05-08 12:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:01:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":65796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:01:59] local.INFO: GPS data processed {"connection_id":65796,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:01:59] local.INFO: Acknowledgment sent {"connection_id":65796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:02:30] local.INFO: TCP Data received {"connection_id":65796,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:02:30] local.INFO: Processing buffer {"connection_id":65796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:02:30] local.INFO: Packet analysis {"connection_id":65796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:02:30] local.INFO: Extracted packet for processing {"connection_id":65796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:02: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-05-08 12:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:02:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":65796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:02:30] local.INFO: GPS data processed {"connection_id":65796,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:02:30] local.INFO: Acknowledgment sent {"connection_id":65796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:02:53] local.INFO: TCP Data received {"connection_id":64966,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:02:53] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:02:53] local.INFO: IMEI packet received {"connection_id":64966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":64966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:02:58] local.INFO: TCP Data received {"connection_id":64966,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:02:58] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:02:58] local.INFO: IMEI packet received {"connection_id":64966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":64966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:02:59] local.INFO: TCP Data received {"connection_id":64966,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:02:59] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:02:59] local.INFO: Packet analysis {"connection_id":64966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:02:59] local.INFO: Extracted packet for processing {"connection_id":64966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:02:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:02: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-05-08 12:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:02:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:02:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:02:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":64966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:02:59] local.INFO: GPS data processed {"connection_id":64966,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:02:59] local.INFO: Acknowledgment sent {"connection_id":64966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:03:31] local.INFO: TCP Data received {"connection_id":64966,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:03:31] local.INFO: Processing buffer {"connection_id":64966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:03:31] local.INFO: Packet analysis {"connection_id":64966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:03:31] local.INFO: Extracted packet for processing {"connection_id":64966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:03:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:03:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:03:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:03:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:03:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:03:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:03:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:03:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:03:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:03:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:03:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:03:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:03:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:03:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:03:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:03:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:03:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:03:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:03:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:03:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:03:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:03:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:03:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:03:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:03:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:03:31] local.INFO: DEBUG: GPS processor result {"connection_id":64966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:03:31] local.INFO: GPS data processed {"connection_id":64966,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:03:31] local.INFO: Acknowledgment sent {"connection_id":64966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:03:52] local.INFO: TCP Data received {"connection_id":65059,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:03:52] local.INFO: Processing buffer {"connection_id":65059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:03:52] local.INFO: IMEI packet received {"connection_id":65059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":65059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:03:58] local.INFO: TCP Data received {"connection_id":65059,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:03:58] local.INFO: Processing buffer {"connection_id":65059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:03:58] local.INFO: IMEI packet received {"connection_id":65059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":65059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:03:59] local.INFO: TCP Data received {"connection_id":65059,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:00] local.INFO: Processing buffer {"connection_id":65059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:00] local.INFO: Packet analysis {"connection_id":65059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:04:00] local.INFO: Extracted packet for processing {"connection_id":65059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:04:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04: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-05-08 12:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:04:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:04:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:04:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:04:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:04:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:04:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:04:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:04:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":65059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:04:00] local.INFO: GPS data processed {"connection_id":65059,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:04:00] local.INFO: Acknowledgment sent {"connection_id":65059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:04:12] local.INFO: TCP Data received {"connection_id":65797,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:04:12] local.INFO: Processing buffer {"connection_id":65797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:04:12] local.INFO: IMEI packet received {"connection_id":65797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":65797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:04:31] local.INFO: TCP Data received {"connection_id":65059,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:31] local.INFO: Processing buffer {"connection_id":65059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:31] local.INFO: Packet analysis {"connection_id":65059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:04:31] local.INFO: Extracted packet for processing {"connection_id":65059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:04:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:04:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:04:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:04:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":65059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:04:31] local.INFO: GPS data processed {"connection_id":65059,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:04:31] local.INFO: Acknowledgment sent {"connection_id":65059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:04:41] local.INFO: TCP Data received {"connection_id":65798,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65798,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:04:41] local.INFO: Processing buffer {"connection_id":65798,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:04:41] local.INFO: IMEI packet received {"connection_id":65798,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":65798,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:04:52] local.INFO: TCP Data received {"connection_id":64967,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:04:52] local.INFO: Processing buffer {"connection_id":64967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:04:52] local.INFO: IMEI packet received {"connection_id":64967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":64967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:04:57] local.INFO: TCP Data received {"connection_id":64967,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:04:57] local.INFO: Processing buffer {"connection_id":64967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:04:57] local.INFO: IMEI packet received {"connection_id":64967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":64967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:04:58] local.INFO: TCP Data received {"connection_id":64967,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:58] local.INFO: Processing buffer {"connection_id":64967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:04:58] local.INFO: Packet analysis {"connection_id":64967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:04:58] local.INFO: Extracted packet for processing {"connection_id":64967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:04: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-05-08 12:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:04:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":64967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:04:58] local.INFO: GPS data processed {"connection_id":64967,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:04:58] local.INFO: Acknowledgment sent {"connection_id":64967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:05:31] local.INFO: TCP Data received {"connection_id":64967,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:05:31] local.INFO: Processing buffer {"connection_id":64967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06473718012d34c18006aa50900000004f29..."} 
[2026-05-08 12:05:31] local.INFO: Packet analysis {"connection_id":64967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:05:31] local.INFO: Extracted packet for processing {"connection_id":64967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0647"} 
[2026-05-08 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":41,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224701440001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778221791000,"timestamp_ms":1778221791000,"timestamp_seconds":1778221791,"priority":1,"record_length":96,"hex_timestamp":"0000019e06473718"} 
[2026-05-08 12:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:05:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 12:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:05:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224701440001,"66":25582,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224701440001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:05:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:05:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224701440001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":64967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:05:31] local.INFO: GPS data processed {"connection_id":64967,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:05:31] local.INFO: Acknowledgment sent {"connection_id":64967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:05:58] local.INFO: TCP Data received {"connection_id":65799,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:05:58] local.INFO: Processing buffer {"connection_id":65799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:05:58] local.INFO: IMEI packet received {"connection_id":65799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":65799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:06:03] local.INFO: TCP Data received {"connection_id":65799,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:03] local.INFO: Processing buffer {"connection_id":65799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:03] local.INFO: IMEI packet received {"connection_id":65799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":65799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:06:05] local.INFO: TCP Data received {"connection_id":65799,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:06:05] local.INFO: Processing buffer {"connection_id":65799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:06:05] local.INFO: Packet analysis {"connection_id":65799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:06:05] local.INFO: Extracted packet for processing {"connection_id":65799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:06:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:06:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:06:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:06: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-05-08 12:06:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:06:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:06:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:06:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:06:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:06:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:06:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:06:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:06:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:06:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:06:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:06:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:06:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:06:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:06:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:06:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:06:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:06:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:06:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:06:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:06:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:06:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:06:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:06:05] local.INFO: DEBUG: GPS processor result {"connection_id":65799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:06:05] local.INFO: GPS data processed {"connection_id":65799,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:06:05] local.INFO: Acknowledgment sent {"connection_id":65799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:06:09] local.INFO: TCP Data received {"connection_id":65799,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:06:09] local.INFO: Processing buffer {"connection_id":65799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:06:09] local.INFO: Packet analysis {"connection_id":65799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:06:09] local.INFO: Extracted packet for processing {"connection_id":65799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12: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-05-08 12: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":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:06:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:06:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":65799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:06:09] local.INFO: GPS data processed {"connection_id":65799,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:06:09] local.INFO: Acknowledgment sent {"connection_id":65799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:06:53] local.INFO: TCP Data received {"connection_id":64995,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:53] local.INFO: Processing buffer {"connection_id":64995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:53] local.INFO: IMEI packet received {"connection_id":64995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":64995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:06:58] local.INFO: TCP Data received {"connection_id":64995,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:58] local.INFO: Processing buffer {"connection_id":64995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:06:58] local.INFO: IMEI packet received {"connection_id":64995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":64995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:07:00] local.INFO: TCP Data received {"connection_id":64995,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:00] local.INFO: Processing buffer {"connection_id":64995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:00] local.INFO: Packet analysis {"connection_id":64995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:07:00] local.INFO: Extracted packet for processing {"connection_id":64995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:07:00] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:07:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07: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-05-08 12:07:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:07:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:07:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:07:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:07:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:07:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:07:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:07:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:07:00] local.INFO: Teltonika packet parsed successfully {"connection_id":64995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:07:00] local.INFO: Passing IMEI to GPS processor {"connection_id":64995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:07:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":64995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:07:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:07:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:07:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:07:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:07:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:07:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:07:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:07:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:07:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:07:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:07:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:07:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:07:00] local.INFO: DEBUG: GPS processor result {"connection_id":64995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:07:00] local.INFO: GPS data processed {"connection_id":64995,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:07:00] local.INFO: Acknowledgment sent {"connection_id":64995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:07:31] local.INFO: TCP Data received {"connection_id":64995,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:31] local.INFO: Processing buffer {"connection_id":64995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:31] local.INFO: Packet analysis {"connection_id":64995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:07:31] local.INFO: Extracted packet for processing {"connection_id":64995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:07:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:07:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:07:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:07:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:07:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":64995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:07:31] local.INFO: GPS data processed {"connection_id":64995,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:07:31] local.INFO: Acknowledgment sent {"connection_id":64995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:07:53] local.INFO: TCP Data received {"connection_id":64970,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:07:53] local.INFO: Processing buffer {"connection_id":64970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:07:53] local.INFO: IMEI packet received {"connection_id":64970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":64970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:07:58] local.INFO: TCP Data received {"connection_id":64970,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:07:58] local.INFO: Processing buffer {"connection_id":64970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:07:58] local.INFO: IMEI packet received {"connection_id":64970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:07:58] local.INFO: IMEI acknowledgment sent {"connection_id":64970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:07:59] local.INFO: TCP Data received {"connection_id":64970,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:59] local.INFO: Processing buffer {"connection_id":64970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:07:59] local.INFO: Packet analysis {"connection_id":64970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:07:59] local.INFO: Extracted packet for processing {"connection_id":64970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:07: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-05-08 12:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:07:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":64970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:07:59] local.INFO: GPS data processed {"connection_id":64970,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:07:59] local.INFO: Acknowledgment sent {"connection_id":64970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:08:30] local.INFO: TCP Data received {"connection_id":64970,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:08:30] local.INFO: Processing buffer {"connection_id":64970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:08:30] local.INFO: Packet analysis {"connection_id":64970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:08:30] local.INFO: Extracted packet for processing {"connection_id":64970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:08: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-05-08 12:08:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:08:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:08:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":64970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:08:30] local.INFO: GPS data processed {"connection_id":64970,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:08:30] local.INFO: Acknowledgment sent {"connection_id":64970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:08:52] local.INFO: TCP Data received {"connection_id":65060,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:08:52] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:08:52] local.INFO: IMEI packet received {"connection_id":65060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":65060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:08:58] local.INFO: TCP Data received {"connection_id":65060,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:08:58] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:08:58] local.INFO: IMEI packet received {"connection_id":65060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":65060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:08:59] local.INFO: TCP Data received {"connection_id":65060,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:08:59] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:08:59] local.INFO: Packet analysis {"connection_id":65060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:08:59] local.INFO: Extracted packet for processing {"connection_id":65060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:08: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-05-08 12:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:08:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":65060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:08:59] local.INFO: GPS data processed {"connection_id":65060,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:08:59] local.INFO: Acknowledgment sent {"connection_id":65060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:09:30] local.INFO: TCP Data received {"connection_id":65060,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:09:30] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:09:30] local.INFO: Packet analysis {"connection_id":65060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:09:30] local.INFO: Extracted packet for processing {"connection_id":65060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:09: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-05-08 12:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:09:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":65060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:09:30] local.INFO: GPS data processed {"connection_id":65060,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:09:30] local.INFO: Acknowledgment sent {"connection_id":65060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:09:52] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:09:52] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:09:52] local.INFO: IMEI packet received {"connection_id":64971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":64971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:09:58] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:09:58] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:09:58] local.INFO: IMEI packet received {"connection_id":64971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":64971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:09:58] local.INFO: TCP Data received {"connection_id":64998,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:09:58] local.INFO: Processing buffer {"connection_id":64998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:09:58] local.INFO: IMEI packet received {"connection_id":64998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":64998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:09:59] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:09:59] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:09:59] local.INFO: Packet analysis {"connection_id":64971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:09:59] local.INFO: Extracted packet for processing {"connection_id":64971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:09: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-05-08 12:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":64971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:09:59] local.INFO: GPS data processed {"connection_id":64971,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:09:59] local.INFO: Acknowledgment sent {"connection_id":64971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:10:31] local.INFO: TCP Data received {"connection_id":64971,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:10:31] local.INFO: Processing buffer {"connection_id":64971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e064bcee0012d34c18006aa50900000004f28..."} 
[2026-05-08 12:10:31] local.INFO: Packet analysis {"connection_id":64971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:10:31] local.INFO: Extracted packet for processing {"connection_id":64971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e064b"} 
[2026-05-08 12:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224778496001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778222092000,"timestamp_ms":1778222092000,"timestamp_seconds":1778222092,"priority":1,"record_length":96,"hex_timestamp":"0000019e064bcee0"} 
[2026-05-08 12:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 12:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224778496001,"66":25560,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224778496001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224778496001,"power":25560,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":64971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:10:31] local.INFO: GPS data processed {"connection_id":64971,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:10:31] local.INFO: Acknowledgment sent {"connection_id":64971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:10:41] local.INFO: TCP Data received {"connection_id":65061,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:10:41] local.INFO: Processing buffer {"connection_id":65061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:10:41] local.INFO: IMEI packet received {"connection_id":65061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":65061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:10:58] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:10:58] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:10:58] local.INFO: IMEI packet received {"connection_id":64972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":64972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:11:03] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:03] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:03] local.INFO: IMEI packet received {"connection_id":64972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":64972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:11:04] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:04] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:04] local.INFO: Packet analysis {"connection_id":64972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:11:04] local.INFO: Extracted packet for processing {"connection_id":64972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:11:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:11:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:11:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:11:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:11: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-05-08 12:11:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:11:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:11:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:11:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:11:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:11:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:11:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:11:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:11:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:11:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:11:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:11:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:11:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:11:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:11:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:11:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:11:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:11:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:11:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:11:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:11:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:11:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:11:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:11:04] local.INFO: DEBUG: GPS processor result {"connection_id":64972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:11:04] local.INFO: GPS data processed {"connection_id":64972,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:11:04] local.INFO: Acknowledgment sent {"connection_id":64972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:11:08] local.INFO: TCP Data received {"connection_id":64972,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:08] local.INFO: Processing buffer {"connection_id":64972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:08] local.INFO: Packet analysis {"connection_id":64972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:11:08] local.INFO: Extracted packet for processing {"connection_id":64972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:11: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-05-08 12: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":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":64972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":64972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":64972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:11:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:11:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":64972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:11:08] local.INFO: GPS data processed {"connection_id":64972,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:11:08] local.INFO: Acknowledgment sent {"connection_id":64972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:11:53] local.INFO: TCP Data received {"connection_id":64973,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:53] local.INFO: Processing buffer {"connection_id":64973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:53] local.INFO: IMEI packet received {"connection_id":64973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":64973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:11:58] local.INFO: TCP Data received {"connection_id":64973,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:58] local.INFO: Processing buffer {"connection_id":64973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:11:58] local.INFO: IMEI packet received {"connection_id":64973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":64973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:11:59] local.INFO: TCP Data received {"connection_id":64973,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:59] local.INFO: Processing buffer {"connection_id":64973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:11:59] local.INFO: Packet analysis {"connection_id":64973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:11:59] local.INFO: Extracted packet for processing {"connection_id":64973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:11: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-05-08 12:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:11:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":64973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:11:59] local.INFO: GPS data processed {"connection_id":64973,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:11:59] local.INFO: Acknowledgment sent {"connection_id":64973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:12:30] local.INFO: TCP Data received {"connection_id":64973,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:12:30] local.INFO: Processing buffer {"connection_id":64973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:12:30] local.INFO: Packet analysis {"connection_id":64973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:12:30] local.INFO: Extracted packet for processing {"connection_id":64973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:12: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-05-08 12:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:12:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":64973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:12:30] local.INFO: GPS data processed {"connection_id":64973,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:12:30] local.INFO: Acknowledgment sent {"connection_id":64973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:12:52] local.INFO: TCP Data received {"connection_id":65801,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:12:52] local.INFO: Processing buffer {"connection_id":65801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:12:52] local.INFO: IMEI packet received {"connection_id":65801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":65801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:12:58] local.INFO: TCP Data received {"connection_id":65801,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:12:58] local.INFO: Processing buffer {"connection_id":65801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:12:58] local.INFO: IMEI packet received {"connection_id":65801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":65801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:12:59] local.INFO: TCP Data received {"connection_id":65801,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:12:59] local.INFO: Processing buffer {"connection_id":65801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:12:59] local.INFO: Packet analysis {"connection_id":65801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:12:59] local.INFO: Extracted packet for processing {"connection_id":65801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:12: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-05-08 12:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":65801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:12:59] local.INFO: GPS data processed {"connection_id":65801,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:12:59] local.INFO: Acknowledgment sent {"connection_id":65801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:13:31] local.INFO: TCP Data received {"connection_id":65801,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:13:31] local.INFO: Processing buffer {"connection_id":65801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:13:31] local.INFO: Packet analysis {"connection_id":65801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:13:31] local.INFO: Extracted packet for processing {"connection_id":65801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":65801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:13:31] local.INFO: GPS data processed {"connection_id":65801,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:13:31] local.INFO: Acknowledgment sent {"connection_id":65801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:13:52] local.INFO: TCP Data received {"connection_id":65000,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:13:52] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:13:52] local.INFO: IMEI packet received {"connection_id":65000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":65000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:13:58] local.INFO: TCP Data received {"connection_id":65000,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:13:58] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:13:58] local.INFO: IMEI packet received {"connection_id":65000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":65000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:13:58] local.INFO: TCP Data received {"connection_id":65000,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:13:58] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:13:58] local.INFO: Packet analysis {"connection_id":65000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:13:58] local.INFO: Extracted packet for processing {"connection_id":65000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:13: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-05-08 12:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:13:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":65000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:13:59] local.INFO: GPS data processed {"connection_id":65000,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:13:59] local.INFO: Acknowledgment sent {"connection_id":65000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:14:30] local.INFO: TCP Data received {"connection_id":65000,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:14:30] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:14:30] local.INFO: Packet analysis {"connection_id":65000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:14:30] local.INFO: Extracted packet for processing {"connection_id":65000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:14: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-05-08 12:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:14:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":65000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:14:30] local.INFO: GPS data processed {"connection_id":65000,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:14:30] local.INFO: Acknowledgment sent {"connection_id":65000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:14:58] local.INFO: TCP Data received {"connection_id":65062,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:14:58] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:14:58] local.INFO: IMEI packet received {"connection_id":65062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":65062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:15:03] local.INFO: TCP Data received {"connection_id":65062,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:03] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:03] local.INFO: IMEI packet received {"connection_id":65062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":65062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:15:04] local.INFO: TCP Data received {"connection_id":65062,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:15:04] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:15:04] local.INFO: Packet analysis {"connection_id":65062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:15:04] local.INFO: Extracted packet for processing {"connection_id":65062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:15:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":65062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:15:04] local.INFO: GPS data processed {"connection_id":65062,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:15:04] local.INFO: Acknowledgment sent {"connection_id":65062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:15:08] local.INFO: TCP Data received {"connection_id":65062,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:15:08] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065066a8012d34c18006aa50900000004f25..."} 
[2026-05-08 12:15:08] local.INFO: Packet analysis {"connection_id":65062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:15:08] local.INFO: Extracted packet for processing {"connection_id":65062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0650"} 
[2026-05-08 12:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224855552001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778222393000,"timestamp_ms":1778222393000,"timestamp_seconds":1778222393,"priority":1,"record_length":96,"hex_timestamp":"0000019e065066a8"} 
[2026-05-08 12:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:15: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-05-08 12:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 12:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224855552001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224855552001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:15:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224855552001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":65062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:15:08] local.INFO: GPS data processed {"connection_id":65062,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:15:08] local.INFO: Acknowledgment sent {"connection_id":65062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:15:53] local.INFO: TCP Data received {"connection_id":65803,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:53] local.INFO: Processing buffer {"connection_id":65803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:53] local.INFO: IMEI packet received {"connection_id":65803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":65803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:15:58] local.INFO: TCP Data received {"connection_id":65803,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:58] local.INFO: Processing buffer {"connection_id":65803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:15:58] local.INFO: IMEI packet received {"connection_id":65803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:15:58] local.INFO: IMEI acknowledgment sent {"connection_id":65803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:15:59] local.INFO: TCP Data received {"connection_id":65803,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:15:59] local.INFO: Processing buffer {"connection_id":65803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:15:59] local.INFO: Packet analysis {"connection_id":65803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:15:59] local.INFO: Extracted packet for processing {"connection_id":65803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:15: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-05-08 12:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:15:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:15:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":65803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:15:59] local.INFO: GPS data processed {"connection_id":65803,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:15:59] local.INFO: Acknowledgment sent {"connection_id":65803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:16:01] local.INFO: TCP Data received {"connection_id":64975,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64975,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:16:01] local.INFO: Processing buffer {"connection_id":64975,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:16:01] local.INFO: IMEI packet received {"connection_id":64975,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":64975,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:16:30] local.INFO: TCP Data received {"connection_id":65803,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:16:30] local.INFO: Processing buffer {"connection_id":65803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:16:30] local.INFO: Packet analysis {"connection_id":65803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:16:30] local.INFO: Extracted packet for processing {"connection_id":65803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:16: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-05-08 12:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:16:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":65803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:16:30] local.INFO: GPS data processed {"connection_id":65803,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:16:30] local.INFO: Acknowledgment sent {"connection_id":65803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:16:41] local.INFO: TCP Data received {"connection_id":64976,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:16:41] local.INFO: Processing buffer {"connection_id":64976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:16:41] local.INFO: IMEI packet received {"connection_id":64976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":64976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:16:52] local.INFO: TCP Data received {"connection_id":64977,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:16:52] local.INFO: Processing buffer {"connection_id":64977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:16:52] local.INFO: IMEI packet received {"connection_id":64977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":64977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:16:58] local.INFO: TCP Data received {"connection_id":64977,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:16:58] local.INFO: Processing buffer {"connection_id":64977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:16:58] local.INFO: IMEI packet received {"connection_id":64977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:16:58] local.INFO: IMEI acknowledgment sent {"connection_id":64977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:16:59] local.INFO: TCP Data received {"connection_id":64977,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:16:59] local.INFO: Processing buffer {"connection_id":64977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:16:59] local.INFO: Packet analysis {"connection_id":64977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:16:59] local.INFO: Extracted packet for processing {"connection_id":64977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:16: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-05-08 12:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":64977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:16:59] local.INFO: GPS data processed {"connection_id":64977,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:16:59] local.INFO: Acknowledgment sent {"connection_id":64977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:17:31] local.INFO: TCP Data received {"connection_id":64977,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:17:31] local.INFO: Processing buffer {"connection_id":64977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:17:31] local.INFO: Packet analysis {"connection_id":64977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:17:31] local.INFO: Extracted packet for processing {"connection_id":64977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:17:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":64977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:17:31] local.INFO: GPS data processed {"connection_id":64977,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:17:31] local.INFO: Acknowledgment sent {"connection_id":64977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:17:52] local.INFO: TCP Data received {"connection_id":65063,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:17:52] local.INFO: Processing buffer {"connection_id":65063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:17:52] local.INFO: IMEI packet received {"connection_id":65063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":65063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:17:57] local.INFO: TCP Data received {"connection_id":65063,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:17:57] local.INFO: Processing buffer {"connection_id":65063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:17:57] local.INFO: IMEI packet received {"connection_id":65063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:17:58] local.INFO: TCP Data received {"connection_id":65063,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:17:58] local.INFO: Processing buffer {"connection_id":65063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:17:58] local.INFO: Packet analysis {"connection_id":65063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:17:58] local.INFO: Extracted packet for processing {"connection_id":65063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:17: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-05-08 12:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:17:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":65063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:17:58] local.INFO: GPS data processed {"connection_id":65063,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:17:58] local.INFO: Acknowledgment sent {"connection_id":65063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:18:30] local.INFO: TCP Data received {"connection_id":65063,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:18:30] local.INFO: Processing buffer {"connection_id":65063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:18:30] local.INFO: Packet analysis {"connection_id":65063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:18:30] local.INFO: Extracted packet for processing {"connection_id":65063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:18: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-05-08 12:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:18:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":65063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:18:30] local.INFO: GPS data processed {"connection_id":65063,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:18:30] local.INFO: Acknowledgment sent {"connection_id":65063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:18:58] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:18:58] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:18:58] local.INFO: IMEI packet received {"connection_id":65003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:18:58] local.INFO: IMEI acknowledgment sent {"connection_id":65003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:19:03] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:03] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:03] local.INFO: IMEI packet received {"connection_id":65003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":65003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:19:04] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:04] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:04] local.INFO: Packet analysis {"connection_id":65003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:19:04] local.INFO: Extracted packet for processing {"connection_id":65003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:19:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:19:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":65003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:19:04] local.INFO: GPS data processed {"connection_id":65003,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:19:04] local.INFO: Acknowledgment sent {"connection_id":65003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:19:35] local.INFO: TCP Data received {"connection_id":65003,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:35] local.INFO: Processing buffer {"connection_id":65003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:35] local.INFO: Packet analysis {"connection_id":65003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:19:35] local.INFO: Extracted packet for processing {"connection_id":65003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:19:35] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:19:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:19:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:19:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:19:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:19:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:19:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:19:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:19:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:19:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:19:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:19:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:19:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:19:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:19:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:19:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:19:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:19:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:19:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:19:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:19:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:19:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:19:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:19:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:19:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:19:35] local.INFO: DEBUG: GPS processor result {"connection_id":65003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:19:35] local.INFO: GPS data processed {"connection_id":65003,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:19:35] local.INFO: Acknowledgment sent {"connection_id":65003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:19:52] local.INFO: TCP Data received {"connection_id":65804,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:52] local.INFO: Processing buffer {"connection_id":65804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:52] local.INFO: IMEI packet received {"connection_id":65804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":65804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:19:58] local.INFO: TCP Data received {"connection_id":65804,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:58] local.INFO: Processing buffer {"connection_id":65804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:19:58] local.INFO: IMEI packet received {"connection_id":65804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:19:58] local.INFO: IMEI acknowledgment sent {"connection_id":65804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:19:59] local.INFO: TCP Data received {"connection_id":65804,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:59] local.INFO: Processing buffer {"connection_id":65804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:19:59] local.INFO: Packet analysis {"connection_id":65804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:19:59] local.INFO: Extracted packet for processing {"connection_id":65804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:19: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-05-08 12:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:19:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":65804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:19:59] local.INFO: GPS data processed {"connection_id":65804,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:19:59] local.INFO: Acknowledgment sent {"connection_id":65804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:20:31] local.INFO: TCP Data received {"connection_id":65804,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:20:31] local.INFO: Processing buffer {"connection_id":65804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0654fe70012d34c18006aa50900000004f28..."} 
[2026-05-08 12:20:31] local.INFO: Packet analysis {"connection_id":65804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:20:31] local.INFO: Extracted packet for processing {"connection_id":65804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0654"} 
[2026-05-08 12:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":40,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455224932608001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778222694000,"timestamp_ms":1778222694000,"timestamp_seconds":1778222694,"priority":1,"record_length":96,"hex_timestamp":"0000019e0654fe70"} 
[2026-05-08 12:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455224932608001,"66":25495,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455224932608001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:20:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455224932608001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":65804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:20:31] local.INFO: GPS data processed {"connection_id":65804,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:20:31] local.INFO: Acknowledgment sent {"connection_id":65804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:20:56] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:20:56] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:20:56] local.INFO: IMEI packet received {"connection_id":65005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":65005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:20:57] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:20:57] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:20:57] local.INFO: IMEI packet received {"connection_id":65005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":65005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:21:03] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:03] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:03] local.INFO: IMEI packet received {"connection_id":65005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":65005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:21:04] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06599638012d34c18006aa50900000004f26..."} 
[2026-05-08 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06599638012d34c18006aa50900000004f26..."} 
[2026-05-08 12:21:04] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06599638012d34c18006aa50900000004f26..."} 
[2026-05-08 12:21:04] local.INFO: Packet analysis {"connection_id":65005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0659"} 
[2026-05-08 12:21:04] local.INFO: Extracted packet for processing {"connection_id":65005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0659"} 
[2026-05-08 12:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":38,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225009664001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778222995000,"timestamp_ms":1778222995000,"timestamp_seconds":1778222995,"priority":1,"record_length":96,"hex_timestamp":"0000019e06599638"} 
[2026-05-08 12:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225009664001,"66":25473,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225009664001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:21:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225009664001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":65005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:21:04] local.INFO: GPS data processed {"connection_id":65005,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:21:04] local.INFO: Acknowledgment sent {"connection_id":65005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:21:35] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065a0f50012d34c18006aa50900000004f25..."} 
[2026-05-08 12:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065a0f50012d34c18006aa50900000004f25..."} 
[2026-05-08 12:21:35] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065a0f50012d34c18006aa50900000004f25..."} 
[2026-05-08 12:21:35] local.INFO: Packet analysis {"connection_id":65005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065a"} 
[2026-05-08 12:21:35] local.INFO: Extracted packet for processing {"connection_id":65005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065a"} 
[2026-05-08 12:21:35] local.INFO: GPS Element Parsed {"raw_longitude":758432128,"raw_latitude":111825040,"longitude_deg":75.8432128,"latitude_deg":11.182504,"altitude":0,"angle":79,"satellites":37,"speed":0,"hex_longitude":"2d34c180","hex_latitude":"06aa5090","is_valid_coordinates":true} 
[2026-05-08 12:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225086720001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197806180728832,"note":"Value kept but may cause issues"} 
[2026-05-08 12:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778223026000,"timestamp_ms":1778223026000,"timestamp_seconds":1778223026,"priority":1,"record_length":96,"hex_timestamp":"0000019e065a0f50"} 
[2026-05-08 12:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12: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-05-08 12: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-05-08 12:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225086720001,"66":25473,"106":206,"28":21760,"24":0,"16":290197806180728832,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225086720001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:21:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:21:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197806180728832,"km_value":290197806180728.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225086720001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":65005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:21:35] local.INFO: GPS data processed {"connection_id":65005,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:21:35] local.INFO: Acknowledgment sent {"connection_id":65005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:21:52] local.INFO: TCP Data received {"connection_id":65066,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:52] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:52] local.INFO: IMEI packet received {"connection_id":65066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":65066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:21:56] local.INFO: TCP Data received {"connection_id":65065,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65065,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:21:56] local.INFO: Processing buffer {"connection_id":65065,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:21:56] local.INFO: IMEI packet received {"connection_id":65065,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":65065,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:21:58] local.INFO: TCP Data received {"connection_id":65066,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:58] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:21:58] local.INFO: IMEI packet received {"connection_id":65066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":65066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:21:59] local.INFO: TCP Data received {"connection_id":65066,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065a1ef0012d34bfc006aa50f00000010626..."} 
[2026-05-08 12:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065a1ef0012d34bfc006aa50f00000010626..."} 
[2026-05-08 12:21:59] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065a1ef0012d34bfc006aa50f00000010626..."} 
[2026-05-08 12:21:59] local.INFO: Packet analysis {"connection_id":65066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065a"} 
[2026-05-08 12:21:59] local.INFO: Extracted packet for processing {"connection_id":65066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065a"} 
[2026-05-08 12:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111825136,"longitude_deg":75.843168,"latitude_deg":11.1825136,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa50f0","is_valid_coordinates":true} 
[2026-05-08 12:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225094656001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197810475696128,"note":"Value kept but may cause issues"} 
[2026-05-08 12:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801460326592974848,"note":"Value kept but may cause issues"} 
[2026-05-08 12:21: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-05-08 12:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223030000,"timestamp_ms":1778223030000,"timestamp_seconds":1778223030,"priority":1,"record_length":96,"hex_timestamp":"0000019e065a1ef0"} 
[2026-05-08 12:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 12:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 12:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225094656001,"66":24680,"106":206,"28":21760,"24":0,"16":290197810475696128,"45":3801460326592974848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225094656001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197810475696128,"km_value":290197810475696.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801460326592974848,"description":"Unknown IO ID 45"} 
[2026-05-08 12:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225094656001,"power":24680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801460326592974848}} 
[2026-05-08 12:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":65066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:21:59] local.INFO: GPS data processed {"connection_id":65066,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:21:59] local.INFO: Acknowledgment sent {"connection_id":65066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:22:30] local.INFO: TCP Data received {"connection_id":65066,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065a70f8012d34bfc006aa50800000010627..."} 
[2026-05-08 12:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065a70f8012d34bfc006aa50800000010627..."} 
[2026-05-08 12:22:30] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065a70f8012d34bfc006aa50800000010627..."} 
[2026-05-08 12:22:30] local.INFO: Packet analysis {"connection_id":65066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065a"} 
[2026-05-08 12:22:30] local.INFO: Extracted packet for processing {"connection_id":65066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065a"} 
[2026-05-08 12:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111825024,"longitude_deg":75.843168,"latitude_deg":11.1825024,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa5080","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225095680001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197831950532608,"note":"Value kept but may cause issues"} 
[2026-05-08 12:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383755776,"note":"Value kept but may cause issues"} 
[2026-05-08 12:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778223051000,"timestamp_ms":1778223051000,"timestamp_seconds":1778223051,"priority":1,"record_length":96,"hex_timestamp":"0000019e065a70f8"} 
[2026-05-08 12:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 12: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-05-08 12:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225095680001,"66":27865,"106":206,"28":21760,"24":0,"16":290197831950532608,"45":3800967745383755776},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225095680001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197831950532608,"km_value":290197831950532.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383755776,"description":"Unknown IO ID 45"} 
[2026-05-08 12:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225095680001,"power":27865,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383755776}} 
[2026-05-08 12:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":65066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:22:30] local.INFO: GPS data processed {"connection_id":65066,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:22:30] local.INFO: Acknowledgment sent {"connection_id":65066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:22:41] local.INFO: TCP Data received {"connection_id":65006,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:22:41] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:22:41] local.INFO: IMEI packet received {"connection_id":65006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":65006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:22:52] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:52] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:52] local.INFO: IMEI packet received {"connection_id":65007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":65007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:22:53] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:53] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:53] local.INFO: IMEI packet received {"connection_id":65007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":65007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:22:58] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:58] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:22:58] local.INFO: IMEI packet received {"connection_id":65007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":65007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:22:59] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065ac300012d34bf8006aa50e00000010626..."} 
[2026-05-08 12:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065ac300012d34bf8006aa50e00000010626..."} 
[2026-05-08 12:22:59] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065ac300012d34bf8006aa50e00000010626..."} 
[2026-05-08 12:22:59] local.INFO: Packet analysis {"connection_id":65007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065a"} 
[2026-05-08 12:22:59] local.INFO: Extracted packet for processing {"connection_id":65007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065a"} 
[2026-05-08 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111825120,"longitude_deg":75.8431616,"latitude_deg":11.182512,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa50e0","is_valid_coordinates":true} 
[2026-05-08 12:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225101056001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197840540467200,"note":"Value kept but may cause issues"} 
[2026-05-08 12:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383727104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:22: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-05-08 12:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223072000,"timestamp_ms":1778223072000,"timestamp_seconds":1778223072,"priority":1,"record_length":96,"hex_timestamp":"0000019e065ac300"} 
[2026-05-08 12:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 12:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-05-08 12:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225101056001,"66":27908,"106":206,"28":21760,"24":0,"16":290197840540467200,"45":3800967745383727104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225101056001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197840540467200,"km_value":290197840540467.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383727104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225101056001,"power":27908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383727104}} 
[2026-05-08 12:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":65007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:22:59] local.INFO: GPS data processed {"connection_id":65007,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:22:59] local.INFO: Acknowledgment sent {"connection_id":65007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:23:30] local.INFO: TCP Data received {"connection_id":65007,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065b1508012d34bfc006aa51580000010629..."} 
[2026-05-08 12:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065b1508012d34bfc006aa51580000010629..."} 
[2026-05-08 12:23:30] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065b1508012d34bfc006aa51580000010629..."} 
[2026-05-08 12:23:30] local.INFO: Packet analysis {"connection_id":65007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065b"} 
[2026-05-08 12:23:30] local.INFO: Extracted packet for processing {"connection_id":65007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065b"} 
[2026-05-08 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111825240,"longitude_deg":75.843168,"latitude_deg":11.182524,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa5158","is_valid_coordinates":true} 
[2026-05-08 12:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225106432001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197870605238272,"note":"Value kept but may cause issues"} 
[2026-05-08 12:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639574016,"note":"Value kept but may cause issues"} 
[2026-05-08 12:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778223093000,"timestamp_ms":1778223093000,"timestamp_seconds":1778223093,"priority":1,"record_length":96,"hex_timestamp":"0000019e065b1508"} 
[2026-05-08 12:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 12:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 12:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225106432001,"66":27039,"106":206,"28":21760,"24":0,"16":290197870605238272,"45":3800897376639574016},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225106432001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:23:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197870605238272,"km_value":290197870605238.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639574016,"description":"Unknown IO ID 45"} 
[2026-05-08 12:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225106432001,"power":27039,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639574016}} 
[2026-05-08 12:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":65007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:23:30] local.INFO: GPS data processed {"connection_id":65007,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:23:30] local.INFO: Acknowledgment sent {"connection_id":65007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:24:08] local.INFO: TCP Data received {"connection_id":65067,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:08] local.INFO: Processing buffer {"connection_id":65067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:08] local.INFO: IMEI packet received {"connection_id":65067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":65067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:24:13] local.INFO: TCP Data received {"connection_id":65067,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:13] local.INFO: Processing buffer {"connection_id":65067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:13] local.INFO: IMEI packet received {"connection_id":65067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":65067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:24:14] local.INFO: TCP Data received {"connection_id":65067,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065b6710012d34bfc006aa51580000010628..."} 
[2026-05-08 12:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065b6710012d34bfc006aa51580000010628..."} 
[2026-05-08 12:24:14] local.INFO: Processing buffer {"connection_id":65067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065b6710012d34bfc006aa51580000010628..."} 
[2026-05-08 12:24:14] local.INFO: Packet analysis {"connection_id":65067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065b"} 
[2026-05-08 12:24:14] local.INFO: Extracted packet for processing {"connection_id":65067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065b"} 
[2026-05-08 12:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111825240,"longitude_deg":75.843168,"latitude_deg":11.182524,"altitude":0,"angle":262,"satellites":40,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa5158","is_valid_coordinates":true} 
[2026-05-08 12:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225111808001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197887785107456,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383782400,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24: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-05-08 12:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1778223114000,"timestamp_ms":1778223114000,"timestamp_seconds":1778223114,"priority":1,"record_length":96,"hex_timestamp":"0000019e065b6710"} 
[2026-05-08 12:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 12:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-05-08 12:24:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":65067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":65067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":65067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225111808001,"66":27767,"106":206,"28":21760,"24":0,"16":290197887785107456,"45":3800967745383782400},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225111808001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:24:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:24:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197887785107456,"km_value":290197887785107.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383782400,"description":"Unknown IO ID 45"} 
[2026-05-08 12:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225111808001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383782400}} 
[2026-05-08 12:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":65067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:24:14] local.INFO: GPS data processed {"connection_id":65067,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:24:14] local.INFO: Acknowledgment sent {"connection_id":65067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:24:19] local.INFO: TCP Data received {"connection_id":65067,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065bb918012d34bfc006aa51880000010629..."} 
[2026-05-08 12:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065bb918012d34bfc006aa51880000010629..."} 
[2026-05-08 12:24:19] local.INFO: Processing buffer {"connection_id":65067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065bb918012d34bfc006aa51880000010629..."} 
[2026-05-08 12:24:19] local.INFO: Packet analysis {"connection_id":65067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065b"} 
[2026-05-08 12:24:19] local.INFO: Extracted packet for processing {"connection_id":65067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065b"} 
[2026-05-08 12:24:19] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111825288,"longitude_deg":75.843168,"latitude_deg":11.1825288,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa5188","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225117184001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197900670009344,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383782400,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24: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-05-08 12:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778223135000,"timestamp_ms":1778223135000,"timestamp_seconds":1778223135,"priority":1,"record_length":96,"hex_timestamp":"0000019e065bb918"} 
[2026-05-08 12:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 12: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 12:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225117184001,"66":27832,"106":206,"28":21760,"24":0,"16":290197900670009344,"45":3800967745383782400},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225117184001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:24:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:24:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197900670009344,"km_value":290197900670009.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383782400,"description":"Unknown IO ID 45"} 
[2026-05-08 12:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225117184001,"power":27832,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383782400}} 
[2026-05-08 12:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":65067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:24:19] local.INFO: GPS data processed {"connection_id":65067,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:24:19] local.INFO: Acknowledgment sent {"connection_id":65067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:24:52] local.INFO: TCP Data received {"connection_id":65010,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:52] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:52] local.INFO: IMEI packet received {"connection_id":65010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":65010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:24:58] local.INFO: TCP Data received {"connection_id":65010,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:58] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:24:58] local.INFO: IMEI packet received {"connection_id":65010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:24:58] local.INFO: IMEI acknowledgment sent {"connection_id":65010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:24:59] local.INFO: TCP Data received {"connection_id":65010,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065c0b20012d34bfc006aa51980000010629..."} 
[2026-05-08 12:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065c0b20012d34bfc006aa51980000010629..."} 
[2026-05-08 12:24:59] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065c0b20012d34bfc006aa51980000010629..."} 
[2026-05-08 12:24:59] local.INFO: Packet analysis {"connection_id":65010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:24:59] local.INFO: Extracted packet for processing {"connection_id":65010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758431680,"raw_latitude":111825304,"longitude_deg":75.843168,"latitude_deg":11.1825304,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bfc0","hex_latitude":"06aa5198","is_valid_coordinates":true} 
[2026-05-08 12:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225122560001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197917849878528,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383794688,"note":"Value kept but may cause issues"} 
[2026-05-08 12:24: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-05-08 12:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223156000,"timestamp_ms":1778223156000,"timestamp_seconds":1778223156,"priority":1,"record_length":96,"hex_timestamp":"0000019e065c0b20"} 
[2026-05-08 12:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 12:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-05-08 12:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225122560001,"66":27767,"106":206,"28":21760,"24":0,"16":290197917849878528,"45":3800967745383794688},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225122560001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:24:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197917849878528,"km_value":290197917849878.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383794688,"description":"Unknown IO ID 45"} 
[2026-05-08 12:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225122560001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383794688}} 
[2026-05-08 12:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":65010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:24:59] local.INFO: GPS data processed {"connection_id":65010,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:24:59] local.INFO: Acknowledgment sent {"connection_id":65010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:25:30] local.INFO: TCP Data received {"connection_id":65010,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065c5170012d34bf8006aa51880000010629..."} 
[2026-05-08 12:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065c5170012d34bf8006aa51880000010629..."} 
[2026-05-08 12:25:30] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065c5170012d34bf8006aa51880000010629..."} 
[2026-05-08 12:25:30] local.INFO: Packet analysis {"connection_id":65010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:25:30] local.INFO: Extracted packet for processing {"connection_id":65010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111825288,"longitude_deg":75.8431616,"latitude_deg":11.1825288,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa5188","is_valid_coordinates":true} 
[2026-05-08 12:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225127936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800967745383798784,"note":"Value kept but may cause issues"} 
[2026-05-08 12:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778223174000,"timestamp_ms":1778223174000,"timestamp_seconds":1778223174,"priority":1,"record_length":96,"hex_timestamp":"0000019e065c5170"} 
[2026-05-08 12:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:25: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-05-08 12:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 12:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225127936001,"66":27767,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800967745383798784},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225127936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:25:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800967745383798784,"description":"Unknown IO ID 45"} 
[2026-05-08 12:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225127936001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800967745383798784}} 
[2026-05-08 12:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":65010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:25:30] local.INFO: GPS data processed {"connection_id":65010,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:25:30] local.INFO: Acknowledgment sent {"connection_id":65010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:25:52] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:25:52] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:25:52] local.INFO: IMEI packet received {"connection_id":64981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":64981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:25:58] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:25:58] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:25:58] local.INFO: IMEI packet received {"connection_id":64981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:25:58] local.INFO: IMEI acknowledgment sent {"connection_id":64981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:25:59] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:25:59] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:25:59] local.INFO: Packet analysis {"connection_id":64981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:25:59] local.INFO: Extracted packet for processing {"connection_id":64981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111825272,"longitude_deg":75.8431616,"latitude_deg":11.1825272,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa5178","is_valid_coordinates":true} 
[2026-05-08 12:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225132544001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639617024,"note":"Value kept but may cause issues"} 
[2026-05-08 12:25: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-05-08 12:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223177000,"timestamp_ms":1778223177000,"timestamp_seconds":1778223177,"priority":1,"record_length":96,"hex_timestamp":"0000019e065c5d28"} 
[2026-05-08 12:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 12:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225132544001,"66":27137,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639617024},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225132544001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:25:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639617024,"description":"Unknown IO ID 45"} 
[2026-05-08 12:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225132544001,"power":27137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639617024}} 
[2026-05-08 12:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":64981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:25:59] local.INFO: GPS data processed {"connection_id":64981,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:25:59] local.INFO: Acknowledgment sent {"connection_id":64981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:26:31] local.INFO: TCP Data received {"connection_id":64981,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:26:31] local.INFO: Processing buffer {"connection_id":64981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:26:31] local.INFO: Packet analysis {"connection_id":64981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:26:31] local.INFO: Extracted packet for processing {"connection_id":64981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111825272,"longitude_deg":75.8431616,"latitude_deg":11.1825272,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa5178","is_valid_coordinates":true} 
[2026-05-08 12:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225132544001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639617024,"note":"Value kept but may cause issues"} 
[2026-05-08 12:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778223177000,"timestamp_ms":1778223177000,"timestamp_seconds":1778223177,"priority":1,"record_length":96,"hex_timestamp":"0000019e065c5d28"} 
[2026-05-08 12:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:26: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-05-08 12:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 12:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225132544001,"66":27137,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639617024},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225132544001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:26:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639617024,"description":"Unknown IO ID 45"} 
[2026-05-08 12:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225132544001,"power":27137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639617024}} 
[2026-05-08 12:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":64981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:26:31] local.INFO: GPS data processed {"connection_id":64981,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:26:31] local.INFO: Acknowledgment sent {"connection_id":64981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:26:52] local.INFO: TCP Data received {"connection_id":65806,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:26:52] local.INFO: Processing buffer {"connection_id":65806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:26:52] local.INFO: IMEI packet received {"connection_id":65806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":65806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:26:58] local.INFO: TCP Data received {"connection_id":65806,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:26:58] local.INFO: Processing buffer {"connection_id":65806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:26:58] local.INFO: IMEI packet received {"connection_id":65806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":65806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:26:59] local.INFO: TCP Data received {"connection_id":65806,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:26:59] local.INFO: Processing buffer {"connection_id":65806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:26:59] local.INFO: Packet analysis {"connection_id":65806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:26:59] local.INFO: Extracted packet for processing {"connection_id":65806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111825272,"longitude_deg":75.8431616,"latitude_deg":11.1825272,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa5178","is_valid_coordinates":true} 
[2026-05-08 12:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225132544001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639617024,"note":"Value kept but may cause issues"} 
[2026-05-08 12:26: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-05-08 12:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223177000,"timestamp_ms":1778223177000,"timestamp_seconds":1778223177,"priority":1,"record_length":96,"hex_timestamp":"0000019e065c5d28"} 
[2026-05-08 12:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 12:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225132544001,"66":27137,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639617024},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225132544001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639617024,"description":"Unknown IO ID 45"} 
[2026-05-08 12:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225132544001,"power":27137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639617024}} 
[2026-05-08 12:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":65806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:26:59] local.INFO: GPS data processed {"connection_id":65806,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:26:59] local.INFO: Acknowledgment sent {"connection_id":65806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:27:31] local.INFO: TCP Data received {"connection_id":65806,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:27:31] local.INFO: Processing buffer {"connection_id":65806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:27:31] local.INFO: Packet analysis {"connection_id":65806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:27:31] local.INFO: Extracted packet for processing {"connection_id":65806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111825272,"longitude_deg":75.8431616,"latitude_deg":11.1825272,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa5178","is_valid_coordinates":true} 
[2026-05-08 12:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225132544001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639617024,"note":"Value kept but may cause issues"} 
[2026-05-08 12:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778223177000,"timestamp_ms":1778223177000,"timestamp_seconds":1778223177,"priority":1,"record_length":96,"hex_timestamp":"0000019e065c5d28"} 
[2026-05-08 12:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:27: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-05-08 12:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 12:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225132544001,"66":27137,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639617024},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225132544001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:27:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639617024,"description":"Unknown IO ID 45"} 
[2026-05-08 12:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225132544001,"power":27137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639617024}} 
[2026-05-08 12:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":65806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:27:31] local.INFO: GPS data processed {"connection_id":65806,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:27:31] local.INFO: Acknowledgment sent {"connection_id":65806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:27:52] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:27:52] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:27:52] local.INFO: IMEI packet received {"connection_id":65068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":65068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:27:58] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:27:58] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:27:58] local.INFO: IMEI packet received {"connection_id":65068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:27:58] local.INFO: IMEI acknowledgment sent {"connection_id":65068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:27:59] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:27:59] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:27:59] local.INFO: Packet analysis {"connection_id":65068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:27:59] local.INFO: Extracted packet for processing {"connection_id":65068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111825272,"longitude_deg":75.8431616,"latitude_deg":11.1825272,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa5178","is_valid_coordinates":true} 
[2026-05-08 12:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225132544001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639617024,"note":"Value kept but may cause issues"} 
[2026-05-08 12:27: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-05-08 12:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223177000,"timestamp_ms":1778223177000,"timestamp_seconds":1778223177,"priority":1,"record_length":96,"hex_timestamp":"0000019e065c5d28"} 
[2026-05-08 12:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 12:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225132544001,"66":27137,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639617024},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225132544001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:27:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639617024,"description":"Unknown IO ID 45"} 
[2026-05-08 12:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225132544001,"power":27137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639617024}} 
[2026-05-08 12:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":65068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:27:59] local.INFO: GPS data processed {"connection_id":65068,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:27:59] local.INFO: Acknowledgment sent {"connection_id":65068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:28:01] local.INFO: TCP Data received {"connection_id":65807,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:28:01] local.INFO: Processing buffer {"connection_id":65807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:28:01] local.INFO: IMEI packet received {"connection_id":65807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":65807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:28:31] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:28:31] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e065c5d28012d34bf8006aa51780000010629..."} 
[2026-05-08 12:28:31] local.INFO: Packet analysis {"connection_id":65068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:28:31] local.INFO: Extracted packet for processing {"connection_id":65068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e065c"} 
[2026-05-08 12:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758431616,"raw_latitude":111825272,"longitude_deg":75.8431616,"latitude_deg":11.1825272,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bf80","hex_latitude":"06aa5178","is_valid_coordinates":true} 
[2026-05-08 12:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225132544001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639617024,"note":"Value kept but may cause issues"} 
[2026-05-08 12:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778223177000,"timestamp_ms":1778223177000,"timestamp_seconds":1778223177,"priority":1,"record_length":96,"hex_timestamp":"0000019e065c5d28"} 
[2026-05-08 12:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:28: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-05-08 12:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 12:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225132544001,"66":27137,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639617024},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225132544001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:28:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639617024,"description":"Unknown IO ID 45"} 
[2026-05-08 12:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225132544001,"power":27137,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639617024}} 
[2026-05-08 12:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":65068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:28:31] local.INFO: GPS data processed {"connection_id":65068,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:28:31] local.INFO: Acknowledgment sent {"connection_id":65068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:28:39] local.INFO: TCP Data received {"connection_id":65012,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:28:39] local.INFO: Processing buffer {"connection_id":65012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:28:39] local.INFO: IMEI packet received {"connection_id":65012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:28:39] local.INFO: IMEI acknowledgment sent {"connection_id":65012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:28:58] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:28:58] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:28:58] local.INFO: IMEI packet received {"connection_id":64982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":64982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:29:03] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:03] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:03] local.INFO: IMEI packet received {"connection_id":64982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":64982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:29:04] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:04] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:04] local.INFO: Packet analysis {"connection_id":64982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:29:04] local.INFO: Extracted packet for processing {"connection_id":64982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:29: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-05-08 12: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":64982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":64982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":64982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:29:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":64982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:29:04] local.INFO: GPS data processed {"connection_id":64982,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:29:04] local.INFO: Acknowledgment sent {"connection_id":64982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:29:36] local.INFO: TCP Data received {"connection_id":64982,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:36] local.INFO: Processing buffer {"connection_id":64982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:36] local.INFO: Packet analysis {"connection_id":64982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:29:36] local.INFO: Extracted packet for processing {"connection_id":64982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:29:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:29:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:29:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:29:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:29:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:29:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:29:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:29:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:29:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:29:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:29:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:29:36] local.INFO: Teltonika packet parsed successfully {"connection_id":64982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:29:36] local.INFO: Passing IMEI to GPS processor {"connection_id":64982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:29:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":64982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:29:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:29:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:29:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:29:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:29:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:29:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:29:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:29:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:29:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:29:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:29:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:29:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:29:36] local.INFO: DEBUG: GPS processor result {"connection_id":64982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:29:36] local.INFO: GPS data processed {"connection_id":64982,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:29:36] local.INFO: Acknowledgment sent {"connection_id":64982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:29:52] local.INFO: TCP Data received {"connection_id":65014,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:52] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:52] local.INFO: IMEI packet received {"connection_id":65014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":65014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:29:57] local.INFO: TCP Data received {"connection_id":65014,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:57] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:29:57] local.INFO: IMEI packet received {"connection_id":65014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":65014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:29:59] local.INFO: TCP Data received {"connection_id":65014,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:59] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:29:59] local.INFO: Packet analysis {"connection_id":65014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:29:59] local.INFO: Extracted packet for processing {"connection_id":65014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12:29: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-05-08 12:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":65014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:29:59] local.INFO: GPS data processed {"connection_id":65014,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:29:59] local.INFO: Acknowledgment sent {"connection_id":65014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:30:31] local.INFO: TCP Data received {"connection_id":65014,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:30:31] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:30:31] local.INFO: Packet analysis {"connection_id":65014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:30:31] local.INFO: Extracted packet for processing {"connection_id":65014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:30:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:30: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-05-08 12:30:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:30:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:30:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:30:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:30:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":65014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:30:31] local.INFO: GPS data processed {"connection_id":65014,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:30:31] local.INFO: Acknowledgment sent {"connection_id":65014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:30:52] local.INFO: TCP Data received {"connection_id":65015,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:30:52] local.INFO: Processing buffer {"connection_id":65015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:30:52] local.INFO: IMEI packet received {"connection_id":65015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":65015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:30:58] local.INFO: TCP Data received {"connection_id":65015,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:30:58] local.INFO: Processing buffer {"connection_id":65015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:30:58] local.INFO: IMEI packet received {"connection_id":65015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":65015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:30:59] local.INFO: TCP Data received {"connection_id":65015,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:30:59] local.INFO: Processing buffer {"connection_id":65015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:30:59] local.INFO: Packet analysis {"connection_id":65015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:30:59] local.INFO: Extracted packet for processing {"connection_id":65015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12:30: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-05-08 12:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:30:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":65015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:30:59] local.INFO: GPS data processed {"connection_id":65015,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:30:59] local.INFO: Acknowledgment sent {"connection_id":65015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:31:31] local.INFO: TCP Data received {"connection_id":65015,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:31:31] local.INFO: Processing buffer {"connection_id":65015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:31:31] local.INFO: Packet analysis {"connection_id":65015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:31:31] local.INFO: Extracted packet for processing {"connection_id":65015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:31: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-05-08 12:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:31:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":65015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:31:31] local.INFO: GPS data processed {"connection_id":65015,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:31:31] local.INFO: Acknowledgment sent {"connection_id":65015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:31:52] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:31:52] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:31:52] local.INFO: IMEI packet received {"connection_id":65016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":65016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:31:58] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:31:58] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:31:58] local.INFO: IMEI packet received {"connection_id":65016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":65016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:31:59] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:31:59] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:31:59] local.INFO: Packet analysis {"connection_id":65016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:31:59] local.INFO: Extracted packet for processing {"connection_id":65016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12:31: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-05-08 12:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":65016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:31:59] local.INFO: GPS data processed {"connection_id":65016,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:31:59] local.INFO: Acknowledgment sent {"connection_id":65016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:32:30] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:32:30] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:32:30] local.INFO: Packet analysis {"connection_id":65016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:32:30] local.INFO: Extracted packet for processing {"connection_id":65016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:32: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-05-08 12: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":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:32:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":65016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:32:31] local.INFO: GPS data processed {"connection_id":65016,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:32:31] local.INFO: Acknowledgment sent {"connection_id":65016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:32:52] local.INFO: TCP Data received {"connection_id":65809,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:32:52] local.INFO: Processing buffer {"connection_id":65809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:32:52] local.INFO: IMEI packet received {"connection_id":65809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":65809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:32:57] local.INFO: TCP Data received {"connection_id":65809,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:32:57] local.INFO: Processing buffer {"connection_id":65809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:32:57] local.INFO: IMEI packet received {"connection_id":65809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":65809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:32:58] local.INFO: TCP Data received {"connection_id":65809,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:32:58] local.INFO: Processing buffer {"connection_id":65809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:32:58] local.INFO: Packet analysis {"connection_id":65809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:32:58] local.INFO: Extracted packet for processing {"connection_id":65809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:32:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12:32: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-05-08 12:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:32:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:32:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":65809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:32:58] local.INFO: GPS data processed {"connection_id":65809,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:32:58] local.INFO: Acknowledgment sent {"connection_id":65809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:33:31] local.INFO: TCP Data received {"connection_id":65809,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:33:31] local.INFO: Processing buffer {"connection_id":65809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0660fcc0012d34bd4006aa52380000010626..."} 
[2026-05-08 12:33:31] local.INFO: Packet analysis {"connection_id":65809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:33:31] local.INFO: Extracted packet for processing {"connection_id":65809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0660"} 
[2026-05-08 12:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225133312001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800897376639612928,"note":"Value kept but may cause issues"} 
[2026-05-08 12:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778223480000,"timestamp_ms":1778223480000,"timestamp_seconds":1778223480,"priority":1,"record_length":96,"hex_timestamp":"0000019e0660fcc0"} 
[2026-05-08 12:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:33: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-05-08 12:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":1,"data_length":795,"current_offset":136} 
[2026-05-08 12:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225133312001,"66":25875,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800897376639612928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225133312001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:33:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800897376639612928,"description":"Unknown IO ID 45"} 
[2026-05-08 12:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225133312001,"power":25875,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800897376639612928}} 
[2026-05-08 12:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":65809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:33:31] local.INFO: GPS data processed {"connection_id":65809,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:33:31] local.INFO: Acknowledgment sent {"connection_id":65809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:33:52] local.INFO: TCP Data received {"connection_id":65072,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:33:52] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:33:52] local.INFO: IMEI packet received {"connection_id":65072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":65072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:33:58] local.INFO: TCP Data received {"connection_id":65072,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:33:58] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:33:58] local.INFO: IMEI packet received {"connection_id":65072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":65072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:33:58] local.INFO: TCP Data received {"connection_id":65072,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:33:58] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:33:58] local.INFO: Packet analysis {"connection_id":65072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:33:58] local.INFO: Extracted packet for processing {"connection_id":65072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:33: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-05-08 12:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:33:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":65072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:33:58] local.INFO: GPS data processed {"connection_id":65072,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:33:58] local.INFO: Acknowledgment sent {"connection_id":65072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:34:01] local.INFO: TCP Data received {"connection_id":65071,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:34:01] local.INFO: Processing buffer {"connection_id":65071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:34:01] local.INFO: IMEI packet received {"connection_id":65071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":65071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:34:30] local.INFO: TCP Data received {"connection_id":65072,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:34:30] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:34:30] local.INFO: Packet analysis {"connection_id":65072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:34:30] local.INFO: Extracted packet for processing {"connection_id":65072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:34: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-05-08 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:34:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:34:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":65072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:34:30] local.INFO: GPS data processed {"connection_id":65072,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:34:30] local.INFO: Acknowledgment sent {"connection_id":65072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:34:41] local.INFO: TCP Data received {"connection_id":64984,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64984,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:34:41] local.INFO: Processing buffer {"connection_id":64984,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:34:41] local.INFO: IMEI packet received {"connection_id":64984,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":64984,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:34:53] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:34:53] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:34:53] local.INFO: IMEI packet received {"connection_id":65073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":65073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:34:58] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:34:58] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:34:58] local.INFO: IMEI packet received {"connection_id":65073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":65073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:34:58] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:34:58] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:34:58] local.INFO: Packet analysis {"connection_id":65073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:34:58] local.INFO: Extracted packet for processing {"connection_id":65073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:34: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-05-08 12:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:34:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:34:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":65073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:34:58] local.INFO: GPS data processed {"connection_id":65073,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:34:58] local.INFO: Acknowledgment sent {"connection_id":65073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:35:30] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:35:30] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:35:30] local.INFO: Packet analysis {"connection_id":65073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:35:30] local.INFO: Extracted packet for processing {"connection_id":65073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:35: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-05-08 12:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:35:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":65073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:35:30] local.INFO: GPS data processed {"connection_id":65073,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:35:30] local.INFO: Acknowledgment sent {"connection_id":65073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:35:52] local.INFO: TCP Data received {"connection_id":65017,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:35:52] local.INFO: Processing buffer {"connection_id":65017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:35:52] local.INFO: IMEI packet received {"connection_id":65017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":65017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:35:57] local.INFO: TCP Data received {"connection_id":65017,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:35:57] local.INFO: Processing buffer {"connection_id":65017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:35:57] local.INFO: IMEI packet received {"connection_id":65017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":65017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:35:58] local.INFO: TCP Data received {"connection_id":65017,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:35:58] local.INFO: Processing buffer {"connection_id":65017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:35:58] local.INFO: Packet analysis {"connection_id":65017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:35:58] local.INFO: Extracted packet for processing {"connection_id":65017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:35:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:35: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-05-08 12:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:35:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:35:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":65017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:35:58] local.INFO: GPS data processed {"connection_id":65017,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:35:58] local.INFO: Acknowledgment sent {"connection_id":65017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:36:29] local.INFO: TCP Data received {"connection_id":65017,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:36:29] local.INFO: Processing buffer {"connection_id":65017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:36:29] local.INFO: Packet analysis {"connection_id":65017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:36:29] local.INFO: Extracted packet for processing {"connection_id":65017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:36:29] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:36:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:36:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":65017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:36:29] local.INFO: GPS data processed {"connection_id":65017,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:36:29] local.INFO: Acknowledgment sent {"connection_id":65017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:36:52] local.INFO: TCP Data received {"connection_id":65018,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:36:52] local.INFO: Processing buffer {"connection_id":65018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:36:52] local.INFO: IMEI packet received {"connection_id":65018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":65018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:36:58] local.INFO: TCP Data received {"connection_id":65018,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:36:58] local.INFO: Processing buffer {"connection_id":65018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:36:58] local.INFO: IMEI packet received {"connection_id":65018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":65018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:36:59] local.INFO: TCP Data received {"connection_id":65018,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:36:59] local.INFO: Processing buffer {"connection_id":65018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:36:59] local.INFO: Packet analysis {"connection_id":65018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:36:59] local.INFO: Extracted packet for processing {"connection_id":65018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:36: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-05-08 12:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:36:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":65018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:36:59] local.INFO: GPS data processed {"connection_id":65018,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:36:59] local.INFO: Acknowledgment sent {"connection_id":65018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:37:31] local.INFO: TCP Data received {"connection_id":65018,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:37:31] local.INFO: Processing buffer {"connection_id":65018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:37:31] local.INFO: Packet analysis {"connection_id":65018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:37:31] local.INFO: Extracted packet for processing {"connection_id":65018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:37:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:37:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:37:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:37:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:37:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:37:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:37:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:37: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-05-08 12:37:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:37:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:37:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:37:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:37:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:37:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:37:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:37:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:37:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:37:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:37:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:37:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:37:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:37:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:37:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:37:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:37:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:37:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:37:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:37:31] local.INFO: DEBUG: GPS processor result {"connection_id":65018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:37:31] local.INFO: GPS data processed {"connection_id":65018,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:37:31] local.INFO: Acknowledgment sent {"connection_id":65018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:37:52] local.INFO: TCP Data received {"connection_id":65019,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:37:52] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:37:52] local.INFO: IMEI packet received {"connection_id":65019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":65019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:37:58] local.INFO: TCP Data received {"connection_id":65019,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:37:58] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:37:58] local.INFO: IMEI packet received {"connection_id":65019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:37:58] local.INFO: IMEI acknowledgment sent {"connection_id":65019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:37:58] local.INFO: TCP Data received {"connection_id":65019,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:37:58] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:37:58] local.INFO: Packet analysis {"connection_id":65019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:37:58] local.INFO: Extracted packet for processing {"connection_id":65019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:37: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-05-08 12:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:37:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":65019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:37:58] local.INFO: GPS data processed {"connection_id":65019,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:37:58] local.INFO: Acknowledgment sent {"connection_id":65019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:38:31] local.INFO: TCP Data received {"connection_id":65019,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:38:31] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06659488012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:38:31] local.INFO: Packet analysis {"connection_id":65019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:38:31] local.INFO: Extracted packet for processing {"connection_id":65019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0665"} 
[2026-05-08 12:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225210880001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778223781000,"timestamp_ms":1778223781000,"timestamp_seconds":1778223781,"priority":1,"record_length":96,"hex_timestamp":"0000019e06659488"} 
[2026-05-08 12:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:38: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-05-08 12:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-05-08 12:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":874,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225210880001,"66":25702,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225210880001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:38:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225210880001,"power":25702,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":65019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:38:31] local.INFO: GPS data processed {"connection_id":65019,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:38:31] local.INFO: Acknowledgment sent {"connection_id":65019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:38:58] local.INFO: TCP Data received {"connection_id":65811,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:38:58] local.INFO: Processing buffer {"connection_id":65811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:38:58] local.INFO: IMEI packet received {"connection_id":65811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":65811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:39:03] local.INFO: TCP Data received {"connection_id":65811,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:03] local.INFO: Processing buffer {"connection_id":65811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:03] local.INFO: IMEI packet received {"connection_id":65811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":65811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:39:04] local.INFO: TCP Data received {"connection_id":65811,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:04] local.INFO: Processing buffer {"connection_id":65811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:04] local.INFO: Packet analysis {"connection_id":65811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:39:04] local.INFO: Extracted packet for processing {"connection_id":65811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:39:04] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:39:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:39:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:39:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:39:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:39:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:39:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:39:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:39:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:39:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:39:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:39:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:39:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:39:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:39:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:39:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:39:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:39:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:39:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:39:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:39:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:39:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:39:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:39:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:39:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:39:04] local.INFO: DEBUG: GPS processor result {"connection_id":65811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:39:04] local.INFO: GPS data processed {"connection_id":65811,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:39:04] local.INFO: Acknowledgment sent {"connection_id":65811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:39:09] local.INFO: TCP Data received {"connection_id":65811,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:09] local.INFO: Processing buffer {"connection_id":65811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:09] local.INFO: Packet analysis {"connection_id":65811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:39:09] local.INFO: Extracted packet for processing {"connection_id":65811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:39:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:39:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:39:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":65811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:39:09] local.INFO: GPS data processed {"connection_id":65811,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:39:09] local.INFO: Acknowledgment sent {"connection_id":65811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:39:52] local.INFO: TCP Data received {"connection_id":65812,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:52] local.INFO: Processing buffer {"connection_id":65812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:52] local.INFO: IMEI packet received {"connection_id":65812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":65812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:39:58] local.INFO: TCP Data received {"connection_id":65812,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:58] local.INFO: Processing buffer {"connection_id":65812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:39:58] local.INFO: IMEI packet received {"connection_id":65812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":65812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:39:59] local.INFO: TCP Data received {"connection_id":65812,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:59] local.INFO: Processing buffer {"connection_id":65812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:39:59] local.INFO: Packet analysis {"connection_id":65812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:39:59] local.INFO: Extracted packet for processing {"connection_id":65812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:39: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-05-08 12:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":65812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:39:59] local.INFO: GPS data processed {"connection_id":65812,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:39:59] local.INFO: Acknowledgment sent {"connection_id":65812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:40:06] local.INFO: TCP Data received {"connection_id":65020,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:40:06] local.INFO: Processing buffer {"connection_id":65020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:40:06] local.INFO: IMEI packet received {"connection_id":65020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":65020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:40:30] local.INFO: TCP Data received {"connection_id":65812,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:40:30] local.INFO: Processing buffer {"connection_id":65812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:40:30] local.INFO: Packet analysis {"connection_id":65812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:40:30] local.INFO: Extracted packet for processing {"connection_id":65812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:40: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-05-08 12:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:40:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":65812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:40:30] local.INFO: GPS data processed {"connection_id":65812,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:40:30] local.INFO: Acknowledgment sent {"connection_id":65812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:40:41] local.INFO: TCP Data received {"connection_id":65021,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:40:41] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:40:41] local.INFO: IMEI packet received {"connection_id":65021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":65021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:40:52] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:40:52] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:40:52] local.INFO: IMEI packet received {"connection_id":64985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":64985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:40:58] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:40:58] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:40:58] local.INFO: IMEI packet received {"connection_id":64985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":64985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:40:59] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:40:59] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:40:59] local.INFO: Packet analysis {"connection_id":64985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:40:59] local.INFO: Extracted packet for processing {"connection_id":64985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:40: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-05-08 12:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":64985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:40:59] local.INFO: GPS data processed {"connection_id":64985,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:40:59] local.INFO: Acknowledgment sent {"connection_id":64985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:41:30] local.INFO: TCP Data received {"connection_id":64985,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:41:30] local.INFO: Processing buffer {"connection_id":64985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:41:30] local.INFO: Packet analysis {"connection_id":64985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:41:30] local.INFO: Extracted packet for processing {"connection_id":64985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:41: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-05-08 12:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":64985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:41:30] local.INFO: GPS data processed {"connection_id":64985,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:41:30] local.INFO: Acknowledgment sent {"connection_id":64985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:41:52] local.INFO: TCP Data received {"connection_id":65813,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:41:52] local.INFO: Processing buffer {"connection_id":65813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:41:52] local.INFO: IMEI packet received {"connection_id":65813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":65813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:41:58] local.INFO: TCP Data received {"connection_id":65813,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:41:58] local.INFO: Processing buffer {"connection_id":65813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:41:58] local.INFO: IMEI packet received {"connection_id":65813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:41:58] local.INFO: IMEI acknowledgment sent {"connection_id":65813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:41:59] local.INFO: TCP Data received {"connection_id":65813,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:41:59] local.INFO: Processing buffer {"connection_id":65813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:41:59] local.INFO: Packet analysis {"connection_id":65813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:41:59] local.INFO: Extracted packet for processing {"connection_id":65813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:41: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-05-08 12:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:41:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":65813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:41:59] local.INFO: GPS data processed {"connection_id":65813,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:41:59] local.INFO: Acknowledgment sent {"connection_id":65813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:42:30] local.INFO: TCP Data received {"connection_id":65813,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:42:30] local.INFO: Processing buffer {"connection_id":65813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:42:30] local.INFO: Packet analysis {"connection_id":65813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:42:30] local.INFO: Extracted packet for processing {"connection_id":65813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:42: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-05-08 12:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:42:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":65813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:42:30] local.INFO: GPS data processed {"connection_id":65813,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:42:30] local.INFO: Acknowledgment sent {"connection_id":65813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:42:58] local.INFO: TCP Data received {"connection_id":65815,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:42:58] local.INFO: Processing buffer {"connection_id":65815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:42:58] local.INFO: IMEI packet received {"connection_id":65815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:42:58] local.INFO: IMEI acknowledgment sent {"connection_id":65815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:43:03] local.INFO: TCP Data received {"connection_id":65815,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:03] local.INFO: Processing buffer {"connection_id":65815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:03] local.INFO: IMEI packet received {"connection_id":65815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":65815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:43:04] local.INFO: TCP Data received {"connection_id":65815,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:43:04] local.INFO: Processing buffer {"connection_id":65815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:43:04] local.INFO: Packet analysis {"connection_id":65815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:43:04] local.INFO: Extracted packet for processing {"connection_id":65815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:43:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:43: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-05-08 12:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:43:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:43:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:43:04] local.INFO: DEBUG: GPS processor result {"connection_id":65815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:43:04] local.INFO: GPS data processed {"connection_id":65815,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:43:04] local.INFO: Acknowledgment sent {"connection_id":65815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:43:09] local.INFO: TCP Data received {"connection_id":65815,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:43:09] local.INFO: Processing buffer {"connection_id":65815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066a2c50012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:43:09] local.INFO: Packet analysis {"connection_id":65815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:43:09] local.INFO: Extracted packet for processing {"connection_id":65815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066a"} 
[2026-05-08 12:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225287936001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778224082000,"timestamp_ms":1778224082000,"timestamp_seconds":1778224082,"priority":1,"record_length":96,"hex_timestamp":"0000019e066a2c50"} 
[2026-05-08 12:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:43: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-05-08 12: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-05-08 12:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225287936001,"66":25495,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225287936001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:43:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225287936001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":65815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:43:09] local.INFO: GPS data processed {"connection_id":65815,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:43:09] local.INFO: Acknowledgment sent {"connection_id":65815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:43:52] local.INFO: TCP Data received {"connection_id":64986,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:52] local.INFO: Processing buffer {"connection_id":64986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:52] local.INFO: IMEI packet received {"connection_id":64986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":64986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:43:58] local.INFO: TCP Data received {"connection_id":64986,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:58] local.INFO: Processing buffer {"connection_id":64986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:43:58] local.INFO: IMEI packet received {"connection_id":64986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":64986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:43:59] local.INFO: TCP Data received {"connection_id":64986,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:43:59] local.INFO: Processing buffer {"connection_id":64986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:43:59] local.INFO: Packet analysis {"connection_id":64986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:43:59] local.INFO: Extracted packet for processing {"connection_id":64986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:43: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-05-08 12:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:43:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":64986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:43:59] local.INFO: GPS data processed {"connection_id":64986,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:43:59] local.INFO: Acknowledgment sent {"connection_id":64986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:44:31] local.INFO: TCP Data received {"connection_id":64986,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:44:31] local.INFO: Processing buffer {"connection_id":64986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:44:31] local.INFO: Packet analysis {"connection_id":64986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:44:31] local.INFO: Extracted packet for processing {"connection_id":64986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:44: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-05-08 12:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:44:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":64986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:44:31] local.INFO: GPS data processed {"connection_id":64986,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:44:31] local.INFO: Acknowledgment sent {"connection_id":64986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:44:52] local.INFO: TCP Data received {"connection_id":65079,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:44:52] local.INFO: Processing buffer {"connection_id":65079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:44:52] local.INFO: IMEI packet received {"connection_id":65079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":65079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:44:58] local.INFO: TCP Data received {"connection_id":65079,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:44:58] local.INFO: Processing buffer {"connection_id":65079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:44:58] local.INFO: IMEI packet received {"connection_id":65079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":65079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:44:59] local.INFO: TCP Data received {"connection_id":65079,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:44:59] local.INFO: Processing buffer {"connection_id":65079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:44:59] local.INFO: Packet analysis {"connection_id":65079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:44:59] local.INFO: Extracted packet for processing {"connection_id":65079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:44: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-05-08 12:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":65079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:44:59] local.INFO: GPS data processed {"connection_id":65079,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:44:59] local.INFO: Acknowledgment sent {"connection_id":65079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:45:31] local.INFO: TCP Data received {"connection_id":65079,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:45:31] local.INFO: Processing buffer {"connection_id":65079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:45:31] local.INFO: Packet analysis {"connection_id":65079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:45:31] local.INFO: Extracted packet for processing {"connection_id":65079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:45: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-05-08 12:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:45:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":65079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:45:31] local.INFO: GPS data processed {"connection_id":65079,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:45:31] local.INFO: Acknowledgment sent {"connection_id":65079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:45:52] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:45:52] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:45:52] local.INFO: IMEI packet received {"connection_id":65022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":65022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:45:58] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:45:58] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:45:58] local.INFO: IMEI packet received {"connection_id":65022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:45:58] local.INFO: IMEI acknowledgment sent {"connection_id":65022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:45:59] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:45:59] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:45:59] local.INFO: Packet analysis {"connection_id":65022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:45:59] local.INFO: Extracted packet for processing {"connection_id":65022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:45: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-05-08 12:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":65022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:45:59] local.INFO: GPS data processed {"connection_id":65022,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:45:59] local.INFO: Acknowledgment sent {"connection_id":65022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:46:06] local.INFO: TCP Data received {"connection_id":65080,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:46:06] local.INFO: Processing buffer {"connection_id":65080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:46:06] local.INFO: IMEI packet received {"connection_id":65080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":65080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:46:31] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:46:31] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:46:31] local.INFO: Packet analysis {"connection_id":65022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:46:31] local.INFO: Extracted packet for processing {"connection_id":65022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:46:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:46: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-05-08 12:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:46:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:46:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:46:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:46:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:46:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":65022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:46:31] local.INFO: GPS data processed {"connection_id":65022,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:46:31] local.INFO: Acknowledgment sent {"connection_id":65022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:46:46] local.INFO: TCP Data received {"connection_id":65817,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:46:46] local.INFO: Processing buffer {"connection_id":65817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:46:46] local.INFO: IMEI packet received {"connection_id":65817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:46:46] local.INFO: IMEI acknowledgment sent {"connection_id":65817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:46:58] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:46:58] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:46:58] local.INFO: IMEI packet received {"connection_id":65023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":65023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:47:03] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:03] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:03] local.INFO: IMEI packet received {"connection_id":65023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":65023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:47:05] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:05] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:05] local.INFO: Packet analysis {"connection_id":65023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:47:05] local.INFO: Extracted packet for processing {"connection_id":65023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:47: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-05-08 12:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:47:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":65023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:47:05] local.INFO: GPS data processed {"connection_id":65023,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:47:05] local.INFO: Acknowledgment sent {"connection_id":65023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:47:13] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:13] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:13] local.INFO: Packet analysis {"connection_id":65023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:47:13] local.INFO: Extracted packet for processing {"connection_id":65023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:47: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-05-08 12: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-05-08 12:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:47:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:47:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":65023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:47:13] local.INFO: GPS data processed {"connection_id":65023,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:47:13] local.INFO: Acknowledgment sent {"connection_id":65023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:47:52] local.INFO: TCP Data received {"connection_id":65024,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:52] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:52] local.INFO: IMEI packet received {"connection_id":65024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":65024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:47:57] local.INFO: TCP Data received {"connection_id":65024,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:57] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:47:57] local.INFO: IMEI packet received {"connection_id":65024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":65024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:47:58] local.INFO: TCP Data received {"connection_id":65024,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:58] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:47:58] local.INFO: Packet analysis {"connection_id":65024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:47:58] local.INFO: Extracted packet for processing {"connection_id":65024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:47:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:47:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":65024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:47:58] local.INFO: GPS data processed {"connection_id":65024,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:47:58] local.INFO: Acknowledgment sent {"connection_id":65024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:48:30] local.INFO: TCP Data received {"connection_id":65024,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:48:30] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e066ec418012d34bd4006aa52380000010626..."} 
[2026-05-08 12:48:30] local.INFO: Packet analysis {"connection_id":65024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:48:30] local.INFO: Extracted packet for processing {"connection_id":65024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e066e"} 
[2026-05-08 12:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":38,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225364992001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224383000,"timestamp_ms":1778224383000,"timestamp_seconds":1778224383,"priority":1,"record_length":96,"hex_timestamp":"0000019e066ec418"} 
[2026-05-08 12:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:48: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-05-08 12:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 12:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225364992001,"66":25680,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225364992001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:48:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:48:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225364992001,"power":25680,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":65024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:48:30] local.INFO: GPS data processed {"connection_id":65024,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:48:30] local.INFO: Acknowledgment sent {"connection_id":65024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:48:52] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:48:52] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:48:52] local.INFO: IMEI packet received {"connection_id":65081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":65081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:48:58] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:48:58] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:48:58] local.INFO: IMEI packet received {"connection_id":65081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:48:58] local.INFO: IMEI acknowledgment sent {"connection_id":65081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:49:00] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:00] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:00] local.INFO: Packet analysis {"connection_id":65081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:49:00] local.INFO: Extracted packet for processing {"connection_id":65081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:49:00] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49: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-05-08 12:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:49:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:49:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":65081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:49:00] local.INFO: GPS data processed {"connection_id":65081,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:49:00] local.INFO: Acknowledgment sent {"connection_id":65081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:49:31] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:31] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:31] local.INFO: Packet analysis {"connection_id":65081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:49:31] local.INFO: Extracted packet for processing {"connection_id":65081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:49: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-05-08 12: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:49:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":65081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:49:31] local.INFO: GPS data processed {"connection_id":65081,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:49:31] local.INFO: Acknowledgment sent {"connection_id":65081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:49:52] local.INFO: TCP Data received {"connection_id":64988,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:49:52] local.INFO: Processing buffer {"connection_id":64988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:49:52] local.INFO: IMEI packet received {"connection_id":64988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":64988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:49:57] local.INFO: TCP Data received {"connection_id":64988,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:49:57] local.INFO: Processing buffer {"connection_id":64988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:49:57] local.INFO: IMEI packet received {"connection_id":64988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":64988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:49:58] local.INFO: TCP Data received {"connection_id":64988,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:58] local.INFO: Processing buffer {"connection_id":64988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:49:58] local.INFO: Packet analysis {"connection_id":64988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:49:58] local.INFO: Extracted packet for processing {"connection_id":64988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:49: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-05-08 12:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:49:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":64988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:49:58] local.INFO: GPS data processed {"connection_id":64988,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:49:58] local.INFO: Acknowledgment sent {"connection_id":64988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:50:30] local.INFO: TCP Data received {"connection_id":64988,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:50:30] local.INFO: Processing buffer {"connection_id":64988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:50:30] local.INFO: Packet analysis {"connection_id":64988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:50:30] local.INFO: Extracted packet for processing {"connection_id":64988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:50: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-05-08 12:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":64988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:50:30] local.INFO: GPS data processed {"connection_id":64988,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:50:30] local.INFO: Acknowledgment sent {"connection_id":64988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:50:53] local.INFO: TCP Data received {"connection_id":65027,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:50:53] local.INFO: Processing buffer {"connection_id":65027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:50:53] local.INFO: IMEI packet received {"connection_id":65027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":65027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:50:58] local.INFO: TCP Data received {"connection_id":65027,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:50:58] local.INFO: Processing buffer {"connection_id":65027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:50:58] local.INFO: IMEI packet received {"connection_id":65027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:50:58] local.INFO: IMEI acknowledgment sent {"connection_id":65027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:50:59] local.INFO: TCP Data received {"connection_id":65027,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:50:59] local.INFO: Processing buffer {"connection_id":65027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:50:59] local.INFO: Packet analysis {"connection_id":65027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:50:59] local.INFO: Extracted packet for processing {"connection_id":65027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:50:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:50: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-05-08 12:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:50:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:50:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":65027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:50:59] local.INFO: GPS data processed {"connection_id":65027,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:50:59] local.INFO: Acknowledgment sent {"connection_id":65027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:51:31] local.INFO: TCP Data received {"connection_id":65027,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:51:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:51:31] local.INFO: Processing buffer {"connection_id":65027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:51:31] local.INFO: Packet analysis {"connection_id":65027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:51:31] local.INFO: Extracted packet for processing {"connection_id":65027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:51:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:51:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:51:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:51:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:51:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:51:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:51:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:51: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-05-08 12:51:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:51:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:51:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:51:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:51:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:51:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:51:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:51:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:51:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:51:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:51:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:51:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:51:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:51:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:51:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:51:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:51:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:51:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:51:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:51:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:51:31] local.INFO: DEBUG: GPS processor result {"connection_id":65027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:51:31] local.INFO: GPS data processed {"connection_id":65027,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:51:31] local.INFO: Acknowledgment sent {"connection_id":65027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:51:52] local.INFO: TCP Data received {"connection_id":65819,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:51:52] local.INFO: Processing buffer {"connection_id":65819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:51:52] local.INFO: IMEI packet received {"connection_id":65819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":65819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:51:58] local.INFO: TCP Data received {"connection_id":65819,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:51:58] local.INFO: Processing buffer {"connection_id":65819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:51:58] local.INFO: IMEI packet received {"connection_id":65819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":65819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:51:59] local.INFO: TCP Data received {"connection_id":65819,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:51:59] local.INFO: Processing buffer {"connection_id":65819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:51:59] local.INFO: Packet analysis {"connection_id":65819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:51:59] local.INFO: Extracted packet for processing {"connection_id":65819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:51: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-05-08 12:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":65819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:51:59] local.INFO: GPS data processed {"connection_id":65819,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:51:59] local.INFO: Acknowledgment sent {"connection_id":65819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:52:11] local.INFO: TCP Data received {"connection_id":65083,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:52:11] local.INFO: Processing buffer {"connection_id":65083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:52:11] local.INFO: IMEI packet received {"connection_id":65083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":65083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:52:30] local.INFO: TCP Data received {"connection_id":65819,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:52:30] local.INFO: Processing buffer {"connection_id":65819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:52:30] local.INFO: Packet analysis {"connection_id":65819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:52:30] local.INFO: Extracted packet for processing {"connection_id":65819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:52:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:52: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-05-08 12:52:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:52:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":65819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:52:30] local.INFO: GPS data processed {"connection_id":65819,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:52:30] local.INFO: Acknowledgment sent {"connection_id":65819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:52:41] local.INFO: TCP Data received {"connection_id":65028,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:52:41] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:52:41] local.INFO: IMEI packet received {"connection_id":65028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":65028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:52:52] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:52:52] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:52:52] local.INFO: IMEI packet received {"connection_id":64989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":64989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:52:57] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:52:57] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:52:57] local.INFO: IMEI packet received {"connection_id":64989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":64989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:52:59] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:52:59] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:52:59] local.INFO: Packet analysis {"connection_id":64989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:52:59] local.INFO: Extracted packet for processing {"connection_id":64989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:52: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-05-08 12:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:52:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":64989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:52:59] local.INFO: GPS data processed {"connection_id":64989,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:52:59] local.INFO: Acknowledgment sent {"connection_id":64989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:53:30] local.INFO: TCP Data received {"connection_id":64989,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:53:30] local.INFO: Processing buffer {"connection_id":64989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06735be0012d34bd4006aa52380000010627..."} 
[2026-05-08 12:53:30] local.INFO: Packet analysis {"connection_id":64989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:53:30] local.INFO: Extracted packet for processing {"connection_id":64989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0673"} 
[2026-05-08 12:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":39,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225442048001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224684000,"timestamp_ms":1778224684000,"timestamp_seconds":1778224684,"priority":1,"record_length":96,"hex_timestamp":"0000019e06735be0"} 
[2026-05-08 12:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:53: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-05-08 12:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-05-08 12:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1418,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225442048001,"66":24810,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225442048001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:53:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225442048001,"power":24810,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":64989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:53:30] local.INFO: GPS data processed {"connection_id":64989,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:53:30] local.INFO: Acknowledgment sent {"connection_id":64989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:53:52] local.INFO: TCP Data received {"connection_id":65030,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:53:52] local.INFO: Processing buffer {"connection_id":65030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:53:52] local.INFO: IMEI packet received {"connection_id":65030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":65030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:53:57] local.INFO: TCP Data received {"connection_id":65030,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:53:57] local.INFO: Processing buffer {"connection_id":65030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:53:57] local.INFO: IMEI packet received {"connection_id":65030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":65030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:53:58] local.INFO: TCP Data received {"connection_id":65030,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:53:58] local.INFO: Processing buffer {"connection_id":65030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:53:58] local.INFO: Packet analysis {"connection_id":65030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:53:58] local.INFO: Extracted packet for processing {"connection_id":65030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:53: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-05-08 12:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:53:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:53:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":65030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:53:58] local.INFO: GPS data processed {"connection_id":65030,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:53:58] local.INFO: Acknowledgment sent {"connection_id":65030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:54:30] local.INFO: TCP Data received {"connection_id":65030,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:54:30] local.INFO: Processing buffer {"connection_id":65030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:54:30] local.INFO: Packet analysis {"connection_id":65030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:54:30] local.INFO: Extracted packet for processing {"connection_id":65030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:54: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-05-08 12:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:54:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:54:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":65030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:54:30] local.INFO: GPS data processed {"connection_id":65030,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:54:30] local.INFO: Acknowledgment sent {"connection_id":65030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:54:53] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:54:53] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:54:53] local.INFO: IMEI packet received {"connection_id":65031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":65031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:54:58] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:54:58] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:54:58] local.INFO: IMEI packet received {"connection_id":65031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":65031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:54:59] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:54:59] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:54:59] local.INFO: Packet analysis {"connection_id":65031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:54:59] local.INFO: Extracted packet for processing {"connection_id":65031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:54: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-05-08 12:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":65031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:54:59] local.INFO: GPS data processed {"connection_id":65031,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:54:59] local.INFO: Acknowledgment sent {"connection_id":65031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:55:30] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:55:30] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:55:30] local.INFO: Packet analysis {"connection_id":65031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:55:30] local.INFO: Extracted packet for processing {"connection_id":65031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:55: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-05-08 12: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:55:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:55:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":65031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:55:30] local.INFO: GPS data processed {"connection_id":65031,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:55:30] local.INFO: Acknowledgment sent {"connection_id":65031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:55:52] local.INFO: TCP Data received {"connection_id":65084,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:55:52] local.INFO: Processing buffer {"connection_id":65084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:55:52] local.INFO: IMEI packet received {"connection_id":65084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":65084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:55:58] local.INFO: TCP Data received {"connection_id":65084,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:55:58] local.INFO: Processing buffer {"connection_id":65084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:55:58] local.INFO: IMEI packet received {"connection_id":65084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":65084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:55:59] local.INFO: TCP Data received {"connection_id":65084,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:55:59] local.INFO: Processing buffer {"connection_id":65084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:55:59] local.INFO: Packet analysis {"connection_id":65084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:55:59] local.INFO: Extracted packet for processing {"connection_id":65084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:55: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-05-08 12:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:55:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":65084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:55:59] local.INFO: GPS data processed {"connection_id":65084,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:55:59] local.INFO: Acknowledgment sent {"connection_id":65084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:56:31] local.INFO: TCP Data received {"connection_id":65084,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:56:31] local.INFO: Processing buffer {"connection_id":65084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:56:31] local.INFO: Packet analysis {"connection_id":65084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:56:31] local.INFO: Extracted packet for processing {"connection_id":65084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:56:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":65084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:56:31] local.INFO: GPS data processed {"connection_id":65084,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:56:31] local.INFO: Acknowledgment sent {"connection_id":65084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:56:52] local.INFO: TCP Data received {"connection_id":65821,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:56:52] local.INFO: Processing buffer {"connection_id":65821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:56:52] local.INFO: IMEI packet received {"connection_id":65821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":65821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:56:58] local.INFO: TCP Data received {"connection_id":65821,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:56:58] local.INFO: Processing buffer {"connection_id":65821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:56:58] local.INFO: IMEI packet received {"connection_id":65821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:56:58] local.INFO: IMEI acknowledgment sent {"connection_id":65821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:56:59] local.INFO: TCP Data received {"connection_id":65821,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:56:59] local.INFO: Processing buffer {"connection_id":65821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:56:59] local.INFO: Packet analysis {"connection_id":65821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:56:59] local.INFO: Extracted packet for processing {"connection_id":65821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:56: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-05-08 12:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":65821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:56:59] local.INFO: GPS data processed {"connection_id":65821,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:56:59] local.INFO: Acknowledgment sent {"connection_id":65821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:57:31] local.INFO: TCP Data received {"connection_id":65821,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:57:31] local.INFO: Processing buffer {"connection_id":65821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:57:31] local.INFO: Packet analysis {"connection_id":65821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:57:31] local.INFO: Extracted packet for processing {"connection_id":65821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:57:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:57:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":65821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:57:31] local.INFO: GPS data processed {"connection_id":65821,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:57:31] local.INFO: Acknowledgment sent {"connection_id":65821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:57:52] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:57:52] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:57:52] local.INFO: IMEI packet received {"connection_id":65034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":65034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:57:57] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:57:57] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:57:57] local.INFO: IMEI packet received {"connection_id":65034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":65034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:57:59] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:57:59] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:57:59] local.INFO: Packet analysis {"connection_id":65034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:57:59] local.INFO: Extracted packet for processing {"connection_id":65034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:57: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-05-08 12:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:57:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":65034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:57:59] local.INFO: GPS data processed {"connection_id":65034,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:57:59] local.INFO: Acknowledgment sent {"connection_id":65034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:58:01] local.INFO: TCP Data received {"connection_id":65033,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:58:01] local.INFO: Processing buffer {"connection_id":65033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:58:01] local.INFO: IMEI packet received {"connection_id":65033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":65033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:58:31] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:58:31] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0677f3a8012d34bd4006aa52380000010629..."} 
[2026-05-08 12:58:31] local.INFO: Packet analysis {"connection_id":65034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:58:31] local.INFO: Extracted packet for processing {"connection_id":65034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0677"} 
[2026-05-08 12:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":41,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225519104001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 12:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778224985000,"timestamp_ms":1778224985000,"timestamp_seconds":1778224985,"priority":1,"record_length":96,"hex_timestamp":"0000019e0677f3a8"} 
[2026-05-08 12:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 12:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225519104001,"66":25593,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225519104001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225519104001,"power":25593,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":65034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:58:31] local.INFO: GPS data processed {"connection_id":65034,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:58:31] local.INFO: Acknowledgment sent {"connection_id":65034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:58:46] local.INFO: TCP Data received {"connection_id":64992,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:58:46] local.INFO: Processing buffer {"connection_id":64992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 12:58:46] local.INFO: IMEI packet received {"connection_id":64992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 12:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":64992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:58:58] local.INFO: TCP Data received {"connection_id":65822,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:58:58] local.INFO: Processing buffer {"connection_id":65822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:58:58] local.INFO: IMEI packet received {"connection_id":65822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":65822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:59:03] local.INFO: TCP Data received {"connection_id":65822,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:03] local.INFO: Processing buffer {"connection_id":65822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:03] local.INFO: IMEI packet received {"connection_id":65822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":65822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:59:03] local.INFO: TCP Data received {"connection_id":65822,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:03] local.INFO: Processing buffer {"connection_id":65822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:03] local.INFO: Packet analysis {"connection_id":65822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 12:59:03] local.INFO: Extracted packet for processing {"connection_id":65822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 12:59:03] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12: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-05-08 12:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 12:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12: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":249,"data_length":795,"current_offset":136} 
[2026-05-08 12:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12: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-05-08 12:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:59:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":65822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:59:03] local.INFO: GPS data processed {"connection_id":65822,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:59:03] local.INFO: Acknowledgment sent {"connection_id":65822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:59:10] local.INFO: TCP Data received {"connection_id":65822,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:10] local.INFO: Processing buffer {"connection_id":65822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:10] local.INFO: Packet analysis {"connection_id":65822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 12:59:10] local.INFO: Extracted packet for processing {"connection_id":65822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 12:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12: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-05-08 12:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 12:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:59: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-05-08 12:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 12:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:59:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:59:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":65822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:59:10] local.INFO: GPS data processed {"connection_id":65822,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:59:10] local.INFO: Acknowledgment sent {"connection_id":65822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 12:59:52] local.INFO: TCP Data received {"connection_id":64993,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:52] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:52] local.INFO: IMEI packet received {"connection_id":64993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 12:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":64993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 12:59:57] local.INFO: TCP Data received {"connection_id":64993,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:57] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 12:59:57] local.INFO: IMEI packet received {"connection_id":64993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 12:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":64993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 12:59:58] local.INFO: TCP Data received {"connection_id":64993,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:58] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 12:59:58] local.INFO: Packet analysis {"connection_id":64993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 12:59:58] local.INFO: Extracted packet for processing {"connection_id":64993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 12:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 12:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 12:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 12:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 12:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 12:59: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-05-08 12:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 12:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 12:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 12:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 12:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 12:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 12:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 12:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 12:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":64993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 12:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":64993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":64993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 12:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 12:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 12:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 12:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 12:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 12:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 12:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 12:59:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 12:59:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 12:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 12:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 12:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 12:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":64993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 12:59:58] local.INFO: GPS data processed {"connection_id":64993,"processed":1,"errors":0,"total":1} 
[2026-05-08 12:59:58] local.INFO: Acknowledgment sent {"connection_id":64993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:00:30] local.INFO: TCP Data received {"connection_id":64993,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:00:30] local.INFO: Processing buffer {"connection_id":64993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:00:30] local.INFO: Packet analysis {"connection_id":64993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:00:30] local.INFO: Extracted packet for processing {"connection_id":64993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 13:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:00: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-05-08 13:00:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 13:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:00:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:00:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":64993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:00:30] local.INFO: GPS data processed {"connection_id":64993,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:00:30] local.INFO: Acknowledgment sent {"connection_id":64993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:00:52] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:00:52] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:00:52] local.INFO: IMEI packet received {"connection_id":64994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":64994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:00:58] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:00:58] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:00:58] local.INFO: IMEI packet received {"connection_id":64994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:00:58] local.INFO: IMEI acknowledgment sent {"connection_id":64994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:00:59] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:00:59] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:00:59] local.INFO: Packet analysis {"connection_id":64994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:00:59] local.INFO: Extracted packet for processing {"connection_id":64994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:00: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-05-08 13:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 13:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 13:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:00:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":64994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:00:59] local.INFO: GPS data processed {"connection_id":64994,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:00:59] local.INFO: Acknowledgment sent {"connection_id":64994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:01:32] local.INFO: TCP Data received {"connection_id":64994,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:01:32] local.INFO: Processing buffer {"connection_id":64994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:01:32] local.INFO: Packet analysis {"connection_id":64994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:01:32] local.INFO: Extracted packet for processing {"connection_id":64994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:01:32] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 13:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:01: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-05-08 13:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 13:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":64994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":64994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":64994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:01:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":64994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:01:32] local.INFO: GPS data processed {"connection_id":64994,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:01:32] local.INFO: Acknowledgment sent {"connection_id":64994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:01:52] local.INFO: TCP Data received {"connection_id":65037,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:01:52] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:01:52] local.INFO: IMEI packet received {"connection_id":65037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":65037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:01:58] local.INFO: TCP Data received {"connection_id":65037,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:01:58] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:01:58] local.INFO: IMEI packet received {"connection_id":65037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":65037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:02:00] local.INFO: TCP Data received {"connection_id":65037,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:02:00] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:02:00] local.INFO: Packet analysis {"connection_id":65037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:02:00] local.INFO: Extracted packet for processing {"connection_id":65037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:02:00] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:02: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-05-08 13:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 13:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 13:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:02:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:02:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":65037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:02:00] local.INFO: GPS data processed {"connection_id":65037,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:02:00] local.INFO: Acknowledgment sent {"connection_id":65037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:02:32] local.INFO: TCP Data received {"connection_id":65037,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:02:32] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:02:32] local.INFO: Packet analysis {"connection_id":65037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:02:32] local.INFO: Extracted packet for processing {"connection_id":65037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:02:32] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 13:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:02: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-05-08 13:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 13:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:02:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:02:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":65037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:02:32] local.INFO: GPS data processed {"connection_id":65037,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:02:32] local.INFO: Acknowledgment sent {"connection_id":65037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:02:58] local.INFO: TCP Data received {"connection_id":65823,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:02:58] local.INFO: Processing buffer {"connection_id":65823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:02:58] local.INFO: IMEI packet received {"connection_id":65823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:02:58] local.INFO: IMEI acknowledgment sent {"connection_id":65823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:03:03] local.INFO: TCP Data received {"connection_id":65823,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:03] local.INFO: Processing buffer {"connection_id":65823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:03] local.INFO: IMEI packet received {"connection_id":65823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":65823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:03:04] local.INFO: TCP Data received {"connection_id":65823,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:04] local.INFO: Processing buffer {"connection_id":65823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:04] local.INFO: Packet analysis {"connection_id":65823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:03:04] local.INFO: Extracted packet for processing {"connection_id":65823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03: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-05-08 13:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 13:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:03: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-05-08 13:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 13:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":65823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:03:04] local.INFO: GPS data processed {"connection_id":65823,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:03:04] local.INFO: Acknowledgment sent {"connection_id":65823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:03:13] local.INFO: TCP Data received {"connection_id":65823,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:13] local.INFO: Processing buffer {"connection_id":65823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e067c8b70012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:13] local.INFO: Packet analysis {"connection_id":65823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:03:13] local.INFO: Extracted packet for processing {"connection_id":65823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e067c"} 
[2026-05-08 13:03:13] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225596160001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03: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-05-08 13:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778225286000,"timestamp_ms":1778225286000,"timestamp_seconds":1778225286,"priority":1,"record_length":96,"hex_timestamp":"0000019e067c8b70"} 
[2026-05-08 13:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:03: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-05-08 13:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-05-08 13:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225596160001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225596160001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:03:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:03:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225596160001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":65823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:03:13] local.INFO: GPS data processed {"connection_id":65823,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:03:13] local.INFO: Acknowledgment sent {"connection_id":65823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:03:52] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:52] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:52] local.INFO: IMEI packet received {"connection_id":64997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":64997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:03:57] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:57] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:03:57] local.INFO: IMEI packet received {"connection_id":64997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":64997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:03:59] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:59] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:03:59] local.INFO: Packet analysis {"connection_id":64997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:03:59] local.INFO: Extracted packet for processing {"connection_id":64997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:03: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-05-08 13:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:03:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":64997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:03:59] local.INFO: GPS data processed {"connection_id":64997,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:03:59] local.INFO: Acknowledgment sent {"connection_id":64997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:04:07] local.INFO: TCP Data received {"connection_id":64996,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:07] local.INFO: Processing buffer {"connection_id":64996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:07] local.INFO: IMEI packet received {"connection_id":64996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":64996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:04:30] local.INFO: TCP Data received {"connection_id":64997,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:04:30] local.INFO: Processing buffer {"connection_id":64997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:04:30] local.INFO: Packet analysis {"connection_id":64997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:04:30] local.INFO: Extracted packet for processing {"connection_id":64997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:04:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:04:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:04:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:04:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:04:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:04: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-05-08 13:04:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:04:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:04:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:04:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:04:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:04:31] local.INFO: Teltonika packet parsed successfully {"connection_id":64997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:04:31] local.INFO: Passing IMEI to GPS processor {"connection_id":64997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:04:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":64997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:04:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:04:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:04:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:04:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:04:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:04:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:04:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:04:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:04:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:04:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:04:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:04:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:04:31] local.INFO: DEBUG: GPS processor result {"connection_id":64997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:04:31] local.INFO: GPS data processed {"connection_id":64997,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:04:31] local.INFO: Acknowledgment sent {"connection_id":64997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:04:51] local.INFO: TCP Data received {"connection_id":65087,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:51] local.INFO: Processing buffer {"connection_id":65087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:51] local.INFO: IMEI packet received {"connection_id":65087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":65087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:04:52] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:04:52] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:04:52] local.INFO: IMEI packet received {"connection_id":65038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":65038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:04:53] local.INFO: TCP Data received {"connection_id":65087,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:53] local.INFO: Processing buffer {"connection_id":65087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:04:53] local.INFO: IMEI packet received {"connection_id":65087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 13:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":65087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:04:58] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:04:58] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:04:58] local.INFO: IMEI packet received {"connection_id":65038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:04:58] local.INFO: IMEI acknowledgment sent {"connection_id":65038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:04:59] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:04:59] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:04:59] local.INFO: Packet analysis {"connection_id":65038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:04:59] local.INFO: Extracted packet for processing {"connection_id":65038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:04: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-05-08 13:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:04:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":65038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:04:59] local.INFO: GPS data processed {"connection_id":65038,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:04:59] local.INFO: Acknowledgment sent {"connection_id":65038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:05:07] local.INFO: TCP Data received {"connection_id":65039,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 13:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65039,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 13:05:07] local.INFO: Processing buffer {"connection_id":65039,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 13:05:07] local.INFO: Packet analysis {"connection_id":65039,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-05-08 13:05:07] local.INFO: Extracted packet for processing {"connection_id":65039,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-05-08 13:05:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-05-08 13:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-05-08 13:05:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-05-08 13:05:07] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-05-08 13:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-05-08 13:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-05-08 13:05:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65039,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-05-08 13:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65039,"device_imei":null,"avl_records_count":1} 
[2026-05-08 13:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65039,"device_imei":null,"avl_records_count":1} 
[2026-05-08 13:05:07] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":65039,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 13:05:07] local.INFO: GPS data processed {"connection_id":65039,"processed":0,"errors":0,"total":1} 
[2026-05-08 13:05:07] local.INFO: Acknowledgment sent {"connection_id":65039,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:05:11] local.INFO: TCP Data received {"connection_id":65088,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 13:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65088,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 13:05:11] local.INFO: Processing buffer {"connection_id":65088,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 13:05:11] local.INFO: Packet analysis {"connection_id":65088,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-05-08 13:05:11] local.INFO: Extracted packet for processing {"connection_id":65088,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-05-08 13:05:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-05-08 13:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-05-08 13:05:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-05-08 13:05:11] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-05-08 13:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-05-08 13:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-05-08 13:05:11] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":65088,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-05-08 13:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":65088,"device_imei":null,"avl_records_count":1} 
[2026-05-08 13:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":65088,"device_imei":null,"avl_records_count":1} 
[2026-05-08 13:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":65088,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 13:05:11] local.INFO: GPS data processed {"connection_id":65088,"processed":0,"errors":0,"total":1} 
[2026-05-08 13:05:11] local.INFO: Acknowledgment sent {"connection_id":65088,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:05:30] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:05:30] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:05:30] local.INFO: Packet analysis {"connection_id":65038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:05:30] local.INFO: Extracted packet for processing {"connection_id":65038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:05:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":65038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:05:30] local.INFO: GPS data processed {"connection_id":65038,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:05:30] local.INFO: Acknowledgment sent {"connection_id":65038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:05:52] local.INFO: TCP Data received {"connection_id":65090,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:05:52] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:05:52] local.INFO: IMEI packet received {"connection_id":65090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":65090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:05:57] local.INFO: TCP Data received {"connection_id":65090,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:05:57] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:05:57] local.INFO: IMEI packet received {"connection_id":65090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:05:58] local.INFO: TCP Data received {"connection_id":65090,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:05:58] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:05:58] local.INFO: Packet analysis {"connection_id":65090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:05:58] local.INFO: Extracted packet for processing {"connection_id":65090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:05: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-05-08 13:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:05:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":65090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:05:58] local.INFO: GPS data processed {"connection_id":65090,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:05:58] local.INFO: Acknowledgment sent {"connection_id":65090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:06:30] local.INFO: TCP Data received {"connection_id":65090,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:06:30] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:06:30] local.INFO: Packet analysis {"connection_id":65090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:06:30] local.INFO: Extracted packet for processing {"connection_id":65090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13: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-05-08 13: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:06:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":65090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:06:30] local.INFO: GPS data processed {"connection_id":65090,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:06:30] local.INFO: Acknowledgment sent {"connection_id":65090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:06:57] local.INFO: TCP Data received {"connection_id":65092,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:06:57] local.INFO: Processing buffer {"connection_id":65092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:06:57] local.INFO: IMEI packet received {"connection_id":65092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":65092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:07:03] local.INFO: TCP Data received {"connection_id":65092,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:03] local.INFO: Processing buffer {"connection_id":65092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:03] local.INFO: IMEI packet received {"connection_id":65092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":65092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:07:04] local.INFO: TCP Data received {"connection_id":65092,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:07:04] local.INFO: Processing buffer {"connection_id":65092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:07:04] local.INFO: Packet analysis {"connection_id":65092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:07:04] local.INFO: Extracted packet for processing {"connection_id":65092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:07: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-05-08 13: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":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":65092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:07:04] local.INFO: GPS data processed {"connection_id":65092,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:07:04] local.INFO: Acknowledgment sent {"connection_id":65092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:07:08] local.INFO: TCP Data received {"connection_id":65092,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:07:08] local.INFO: Processing buffer {"connection_id":65092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:07:08] local.INFO: Packet analysis {"connection_id":65092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:07:08] local.INFO: Extracted packet for processing {"connection_id":65092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 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-05-08 13:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 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-05-08 13:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 13:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:07:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:07:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":65092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:07:08] local.INFO: GPS data processed {"connection_id":65092,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:07:08] local.INFO: Acknowledgment sent {"connection_id":65092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:07:52] local.INFO: TCP Data received {"connection_id":65042,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:52] local.INFO: Processing buffer {"connection_id":65042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:52] local.INFO: IMEI packet received {"connection_id":65042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":65042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:07:57] local.INFO: TCP Data received {"connection_id":65042,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:57] local.INFO: Processing buffer {"connection_id":65042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:07:57] local.INFO: IMEI packet received {"connection_id":65042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":65042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:08:03] local.INFO: TCP Data received {"connection_id":65042,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:03] local.INFO: Processing buffer {"connection_id":65042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:03] local.INFO: Packet analysis {"connection_id":65042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:08:03] local.INFO: Extracted packet for processing {"connection_id":65042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:08:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":65042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:08:03] local.INFO: GPS data processed {"connection_id":65042,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:08:03] local.INFO: Acknowledgment sent {"connection_id":65042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:08:36] local.INFO: TCP Data received {"connection_id":65042,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:36] local.INFO: Processing buffer {"connection_id":65042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06812338012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:36] local.INFO: Packet analysis {"connection_id":65042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:08:36] local.INFO: Extracted packet for processing {"connection_id":65042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0681"} 
[2026-05-08 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225673216001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778225587000,"timestamp_ms":1778225587000,"timestamp_seconds":1778225587,"priority":1,"record_length":96,"hex_timestamp":"0000019e06812338"} 
[2026-05-08 13:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:08:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:08:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:08:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:08:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225673216001,"66":25582,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225673216001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:08:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:08:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225673216001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":65042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:08:36] local.INFO: GPS data processed {"connection_id":65042,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:08:36] local.INFO: Acknowledgment sent {"connection_id":65042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:08:53] local.INFO: TCP Data received {"connection_id":64999,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:08:53] local.INFO: Processing buffer {"connection_id":64999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:08:53] local.INFO: IMEI packet received {"connection_id":64999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":64999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:08:58] local.INFO: TCP Data received {"connection_id":64999,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:08:58] local.INFO: Processing buffer {"connection_id":64999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:08:58] local.INFO: IMEI packet received {"connection_id":64999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":64999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:08:59] local.INFO: TCP Data received {"connection_id":64999,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:59] local.INFO: Processing buffer {"connection_id":64999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:08:59] local.INFO: Packet analysis {"connection_id":64999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:08:59] local.INFO: Extracted packet for processing {"connection_id":64999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:08:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:08: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-05-08 13:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:08:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":64999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":64999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":64999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:08:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":64999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:08:59] local.INFO: GPS data processed {"connection_id":64999,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:08:59] local.INFO: Acknowledgment sent {"connection_id":64999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:09:30] local.INFO: TCP Data received {"connection_id":64999,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":64999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:09:30] local.INFO: Processing buffer {"connection_id":64999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:09:30] local.INFO: Packet analysis {"connection_id":64999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:09:30] local.INFO: Extracted packet for processing {"connection_id":64999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:09: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-05-08 13:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:09:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":64999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":64999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":64999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:09:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":64999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:09:30] local.INFO: GPS data processed {"connection_id":64999,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:09:30] local.INFO: Acknowledgment sent {"connection_id":64999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:09:52] local.INFO: TCP Data received {"connection_id":65093,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:09:52] local.INFO: Processing buffer {"connection_id":65093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:09:52] local.INFO: IMEI packet received {"connection_id":65093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":65093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:09:57] local.INFO: TCP Data received {"connection_id":65093,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:09:57] local.INFO: Processing buffer {"connection_id":65093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:09:57] local.INFO: IMEI packet received {"connection_id":65093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":65093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:09:59] local.INFO: TCP Data received {"connection_id":65093,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:09:59] local.INFO: Processing buffer {"connection_id":65093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:09:59] local.INFO: Packet analysis {"connection_id":65093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:09:59] local.INFO: Extracted packet for processing {"connection_id":65093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:09: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-05-08 13:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":65093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:09:59] local.INFO: GPS data processed {"connection_id":65093,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:09:59] local.INFO: Acknowledgment sent {"connection_id":65093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:10:16] local.INFO: TCP Data received {"connection_id":65043,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:10:16] local.INFO: Processing buffer {"connection_id":65043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:10:16] local.INFO: IMEI packet received {"connection_id":65043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":65043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:10:31] local.INFO: TCP Data received {"connection_id":65093,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:10:31] local.INFO: Processing buffer {"connection_id":65093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:10:31] local.INFO: Packet analysis {"connection_id":65093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:10:31] local.INFO: Extracted packet for processing {"connection_id":65093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:10: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-05-08 13:10:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":65093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:10:31] local.INFO: GPS data processed {"connection_id":65093,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:10:31] local.INFO: Acknowledgment sent {"connection_id":65093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:10:41] local.INFO: TCP Data received {"connection_id":65000,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:10:41] local.INFO: Processing buffer {"connection_id":65000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:10:41] local.INFO: IMEI packet received {"connection_id":65000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":65000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:10:58] local.INFO: TCP Data received {"connection_id":65824,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:10:58] local.INFO: Processing buffer {"connection_id":65824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:10:58] local.INFO: IMEI packet received {"connection_id":65824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":65824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:11:03] local.INFO: TCP Data received {"connection_id":65824,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:03] local.INFO: Processing buffer {"connection_id":65824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:03] local.INFO: IMEI packet received {"connection_id":65824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":65824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:11:03] local.INFO: TCP Data received {"connection_id":65824,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:03] local.INFO: Processing buffer {"connection_id":65824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:03] local.INFO: Packet analysis {"connection_id":65824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:11:03] local.INFO: Extracted packet for processing {"connection_id":65824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:11:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":65824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:11:03] local.INFO: GPS data processed {"connection_id":65824,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:11:03] local.INFO: Acknowledgment sent {"connection_id":65824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:11:08] local.INFO: TCP Data received {"connection_id":65824,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:08] local.INFO: Processing buffer {"connection_id":65824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:08] local.INFO: Packet analysis {"connection_id":65824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:11:08] local.INFO: Extracted packet for processing {"connection_id":65824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:11: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-05-08 13: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":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:11:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:11:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":65824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:11:08] local.INFO: GPS data processed {"connection_id":65824,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:11:08] local.INFO: Acknowledgment sent {"connection_id":65824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:11:13] local.INFO: TCP Data received {"connection_id":65824,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:13] local.INFO: Processing buffer {"connection_id":65824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:13] local.INFO: Packet analysis {"connection_id":65824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:11:13] local.INFO: Extracted packet for processing {"connection_id":65824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:11:13] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:11:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:11:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:11:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":65824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:11:13] local.INFO: GPS data processed {"connection_id":65824,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:11:13] local.INFO: Acknowledgment sent {"connection_id":65824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:11:52] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:52] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:52] local.INFO: IMEI packet received {"connection_id":65094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":65094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:11:57] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:58] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:11:58] local.INFO: IMEI packet received {"connection_id":65094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":65094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:11:59] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:59] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:11:59] local.INFO: Packet analysis {"connection_id":65094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:11:59] local.INFO: Extracted packet for processing {"connection_id":65094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:11:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:11: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-05-08 13:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:11:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":65094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:11:59] local.INFO: GPS data processed {"connection_id":65094,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:11:59] local.INFO: Acknowledgment sent {"connection_id":65094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:12:30] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:12:30] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:12:30] local.INFO: Packet analysis {"connection_id":65094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:12:30] local.INFO: Extracted packet for processing {"connection_id":65094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:12: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-05-08 13:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:12:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":65094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:12:30] local.INFO: GPS data processed {"connection_id":65094,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:12:30] local.INFO: Acknowledgment sent {"connection_id":65094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:12:52] local.INFO: TCP Data received {"connection_id":65827,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:12:52] local.INFO: Processing buffer {"connection_id":65827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:12:52] local.INFO: IMEI packet received {"connection_id":65827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":65827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:12:58] local.INFO: TCP Data received {"connection_id":65827,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:12:58] local.INFO: Processing buffer {"connection_id":65827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:12:58] local.INFO: IMEI packet received {"connection_id":65827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":65827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:12:59] local.INFO: TCP Data received {"connection_id":65827,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:12:59] local.INFO: Processing buffer {"connection_id":65827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:12:59] local.INFO: Packet analysis {"connection_id":65827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:12:59] local.INFO: Extracted packet for processing {"connection_id":65827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:12:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:12: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-05-08 13:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:12:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:12:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":65827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:12:59] local.INFO: GPS data processed {"connection_id":65827,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:12:59] local.INFO: Acknowledgment sent {"connection_id":65827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:13:31] local.INFO: TCP Data received {"connection_id":65827,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:13:31] local.INFO: Processing buffer {"connection_id":65827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0685bb00012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:13:31] local.INFO: Packet analysis {"connection_id":65827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:13:31] local.INFO: Extracted packet for processing {"connection_id":65827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0685"} 
[2026-05-08 13:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225750272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778225888000,"timestamp_ms":1778225888000,"timestamp_seconds":1778225888,"priority":1,"record_length":96,"hex_timestamp":"0000019e0685bb00"} 
[2026-05-08 13:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:13: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-05-08 13:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225750272001,"66":25549,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225750272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225750272001,"power":25549,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":65827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:13:31] local.INFO: GPS data processed {"connection_id":65827,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:13:31] local.INFO: Acknowledgment sent {"connection_id":65827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:13:52] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:13:52] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:13:52] local.INFO: IMEI packet received {"connection_id":65044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":65044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:13:58] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:13:58] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:13:58] local.INFO: IMEI packet received {"connection_id":65044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:13:58] local.INFO: IMEI acknowledgment sent {"connection_id":65044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:13:59] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:13:59] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:13:59] local.INFO: Packet analysis {"connection_id":65044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068a"} 
[2026-05-08 13:13:59] local.INFO: Extracted packet for processing {"connection_id":65044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068a"} 
[2026-05-08 13:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225827328001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:13: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-05-08 13:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778226189000,"timestamp_ms":1778226189000,"timestamp_seconds":1778226189,"priority":1,"record_length":96,"hex_timestamp":"0000019e068a52c8"} 
[2026-05-08 13:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-05-08 13:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225827328001,"66":25343,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225827328001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:13:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225827328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":65044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:13:59] local.INFO: GPS data processed {"connection_id":65044,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:13:59] local.INFO: Acknowledgment sent {"connection_id":65044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:14:31] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:14:31] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:14:31] local.INFO: Packet analysis {"connection_id":65044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068a"} 
[2026-05-08 13:14:31] local.INFO: Extracted packet for processing {"connection_id":65044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068a"} 
[2026-05-08 13:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225827328001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778226189000,"timestamp_ms":1778226189000,"timestamp_seconds":1778226189,"priority":1,"record_length":96,"hex_timestamp":"0000019e068a52c8"} 
[2026-05-08 13:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:14: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-05-08 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-05-08 13:14:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225827328001,"66":25343,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225827328001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:14:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225827328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":65044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:14:31] local.INFO: GPS data processed {"connection_id":65044,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:14:31] local.INFO: Acknowledgment sent {"connection_id":65044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:14:58] local.INFO: TCP Data received {"connection_id":65046,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:14:58] local.INFO: Processing buffer {"connection_id":65046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:14:58] local.INFO: IMEI packet received {"connection_id":65046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:14:58] local.INFO: IMEI acknowledgment sent {"connection_id":65046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:15:02] local.INFO: TCP Data received {"connection_id":65046,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:02] local.INFO: Processing buffer {"connection_id":65046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:02] local.INFO: IMEI packet received {"connection_id":65046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":65046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:15:04] local.INFO: TCP Data received {"connection_id":65046,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:15:04] local.INFO: Processing buffer {"connection_id":65046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:15:04] local.INFO: Packet analysis {"connection_id":65046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068a"} 
[2026-05-08 13:15:04] local.INFO: Extracted packet for processing {"connection_id":65046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068a"} 
[2026-05-08 13:15:04] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225827328001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778226189000,"timestamp_ms":1778226189000,"timestamp_seconds":1778226189,"priority":1,"record_length":96,"hex_timestamp":"0000019e068a52c8"} 
[2026-05-08 13:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":205,"data_length":795,"current_offset":136} 
[2026-05-08 13:15:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225827328001,"66":25343,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225827328001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:15:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:15:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225827328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":65046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:15:04] local.INFO: GPS data processed {"connection_id":65046,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:15:04] local.INFO: Acknowledgment sent {"connection_id":65046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:15:08] local.INFO: TCP Data received {"connection_id":65046,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:15:08] local.INFO: Processing buffer {"connection_id":65046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068a52c8012d34bd4006aa5238000001062a..."} 
[2026-05-08 13:15:08] local.INFO: Packet analysis {"connection_id":65046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068a"} 
[2026-05-08 13:15:08] local.INFO: Extracted packet for processing {"connection_id":65046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068a"} 
[2026-05-08 13:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":42,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225827328001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778226189000,"timestamp_ms":1778226189000,"timestamp_seconds":1778226189,"priority":1,"record_length":96,"hex_timestamp":"0000019e068a52c8"} 
[2026-05-08 13:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:15: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-05-08 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-05-08 13:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225827328001,"66":25343,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225827328001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:15:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:15:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225827328001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":65046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:15:08] local.INFO: GPS data processed {"connection_id":65046,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:15:08] local.INFO: Acknowledgment sent {"connection_id":65046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:15:53] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:53] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:53] local.INFO: IMEI packet received {"connection_id":65096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":65096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:15:54] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:54] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:54] local.INFO: IMEI packet received {"connection_id":65096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":65096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:15:57] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:57] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:15:57] local.INFO: IMEI packet received {"connection_id":65096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":65096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:15:58] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068bd968012d34bd4006aa5238000001062b..."} 
[2026-05-08 13:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068bd968012d34bd4006aa5238000001062b..."} 
[2026-05-08 13:15:58] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068bd968012d34bd4006aa5238000001062b..."} 
[2026-05-08 13:15:58] local.INFO: Packet analysis {"connection_id":65096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068b"} 
[2026-05-08 13:15:58] local.INFO: Extracted packet for processing {"connection_id":65096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068b"} 
[2026-05-08 13:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758431040,"raw_latitude":111825464,"longitude_deg":75.843104,"latitude_deg":11.1825464,"altitude":0,"angle":262,"satellites":43,"speed":0,"hex_longitude":"2d34bd40","hex_latitude":"06aa5238","is_valid_coordinates":true} 
[2026-05-08 13:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225904384001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197926439813120,"note":"Value kept but may cause issues"} 
[2026-05-08 13:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13:15: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-05-08 13:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778226289000,"timestamp_ms":1778226289000,"timestamp_seconds":1778226289,"priority":1,"record_length":96,"hex_timestamp":"0000019e068bd968"} 
[2026-05-08 13:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 13:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225904384001,"66":24397,"106":206,"28":21760,"24":0,"16":290197926439813120,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225904384001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:15:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197926439813120,"km_value":290197926439813.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225904384001,"power":24397,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":65096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:15:58] local.INFO: GPS data processed {"connection_id":65096,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:15:58] local.INFO: Acknowledgment sent {"connection_id":65096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:16:03] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068bf0d8012d34c0c006aa4fd0000001542b..."} 
[2026-05-08 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068bf0d8012d34c0c006aa4fd0000001542b..."} 
[2026-05-08 13:16:03] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068bf0d8012d34c0c006aa4fd0000001542b..."} 
[2026-05-08 13:16:03] local.INFO: Packet analysis {"connection_id":65096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068b"} 
[2026-05-08 13:16:03] local.INFO: Extracted packet for processing {"connection_id":65096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068b"} 
[2026-05-08 13:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111824848,"longitude_deg":75.8431936,"latitude_deg":11.1824848,"altitude":0,"angle":340,"satellites":43,"speed":0,"hex_longitude":"2d34c0c0","hex_latitude":"06aa4fd0","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225929984001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197930734780416,"note":"Value kept but may cause issues"} 
[2026-05-08 13:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800264057942063104,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778226295000,"timestamp_ms":1778226295000,"timestamp_seconds":1778226295,"priority":1,"record_length":96,"hex_timestamp":"0000019e068bf0d8"} 
[2026-05-08 13:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:16: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-05-08 13: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":95,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 13:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1366,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225929984001,"66":27767,"106":206,"28":21760,"24":0,"16":290197930734780416,"45":3800264057942063104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225929984001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197930734780416,"km_value":290197930734780.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800264057942063104,"description":"Unknown IO ID 45"} 
[2026-05-08 13:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225929984001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3800264057942063104}} 
[2026-05-08 13:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":65096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:16:03] local.INFO: GPS data processed {"connection_id":65096,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:16:03] local.INFO: Acknowledgment sent {"connection_id":65096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:16:06] local.INFO: TCP Data received {"connection_id":65095,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:16:06] local.INFO: Processing buffer {"connection_id":65095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:16:06] local.INFO: IMEI packet received {"connection_id":65095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":65095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:16:34] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068c42e0012d34c08006aa5060000001542a..."} 
[2026-05-08 13:16:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068c42e0012d34c08006aa5060000001542a..."} 
[2026-05-08 13:16:34] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068c42e0012d34c08006aa5060000001542a..."} 
[2026-05-08 13:16:34] local.INFO: Packet analysis {"connection_id":65096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:16:34] local.INFO: Extracted packet for processing {"connection_id":65096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":758431872,"raw_latitude":111824992,"longitude_deg":75.8431872,"latitude_deg":11.1824992,"altitude":0,"angle":340,"satellites":42,"speed":0,"hex_longitude":"2d34c080","hex_latitude":"06aa5060","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:16:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225931520001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:16:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197939324715008,"note":"Value kept but may cause issues"} 
[2026-05-08 13:16:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220360392704,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:16:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778226316000,"timestamp_ms":1778226316000,"timestamp_seconds":1778226316,"priority":1,"record_length":96,"hex_timestamp":"0000019e068c42e0"} 
[2026-05-08 13:16:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:16:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:16:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 13:16:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:16:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:16:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:16:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:16:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:16:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:16:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:16:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:16:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:16:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225931520001,"66":27691,"106":206,"28":21760,"24":0,"16":290197939324715008,"45":3801249220360392704},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:16:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:16:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:16:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225931520001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:16:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:16:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:16:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197939324715008,"km_value":290197939324715.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:16:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220360392704,"description":"Unknown IO ID 45"} 
[2026-05-08 13:16:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225931520001,"power":27691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801249220360392704}} 
[2026-05-08 13:16:34] local.INFO: DEBUG: GPS processor result {"connection_id":65096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:16:34] local.INFO: GPS data processed {"connection_id":65096,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:16:34] local.INFO: Acknowledgment sent {"connection_id":65096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:16:41] local.INFO: TCP Data received {"connection_id":65047,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:16:41] local.INFO: Processing buffer {"connection_id":65047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:16:41] local.INFO: IMEI packet received {"connection_id":65047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":65047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:16:52] local.INFO: TCP Data received {"connection_id":65002,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:16:52] local.INFO: Processing buffer {"connection_id":65002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:16:52] local.INFO: IMEI packet received {"connection_id":65002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":65002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:16:57] local.INFO: TCP Data received {"connection_id":65002,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:16:57] local.INFO: Processing buffer {"connection_id":65002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:16:57] local.INFO: IMEI packet received {"connection_id":65002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":65002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:16:59] local.INFO: TCP Data received {"connection_id":65002,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068c94e8012d34c0c006aa5040000001542a..."} 
[2026-05-08 13:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068c94e8012d34c0c006aa5040000001542a..."} 
[2026-05-08 13:16:59] local.INFO: Processing buffer {"connection_id":65002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068c94e8012d34c0c006aa5040000001542a..."} 
[2026-05-08 13:16:59] local.INFO: Packet analysis {"connection_id":65002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:16:59] local.INFO: Extracted packet for processing {"connection_id":65002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758431936,"raw_latitude":111824960,"longitude_deg":75.8431936,"latitude_deg":11.182496,"altitude":0,"angle":340,"satellites":42,"speed":1,"hex_longitude":"2d34c0c0","hex_latitude":"06aa5040","is_valid_coordinates":true} 
[2026-05-08 13:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225936896001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197956504584192,"note":"Value kept but may cause issues"} 
[2026-05-08 13:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801178851616251904,"note":"Value kept but may cause issues"} 
[2026-05-08 13:16: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-05-08 13:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778226337000,"timestamp_ms":1778226337000,"timestamp_seconds":1778226337,"priority":1,"record_length":96,"hex_timestamp":"0000019e068c94e8"} 
[2026-05-08 13:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 13:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225936896001,"66":27908,"106":206,"28":21760,"24":1,"16":290197956504584192,"45":3801178851616251904},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225936896001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197956504584192,"km_value":290197956504584.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801178851616251904,"description":"Unknown IO ID 45"} 
[2026-05-08 13:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225936896001,"power":27908,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801178851616251904}} 
[2026-05-08 13:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":65002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:16:59] local.INFO: GPS data processed {"connection_id":65002,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:16:59] local.INFO: Acknowledgment sent {"connection_id":65002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:17:30] local.INFO: TCP Data received {"connection_id":65002,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068c98d0012d34c10006aa50380000007c2a..."} 
[2026-05-08 13:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068c98d0012d34c10006aa50380000007c2a..."} 
[2026-05-08 13:17:30] local.INFO: Processing buffer {"connection_id":65002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068c98d0012d34c10006aa50380000007c2a..."} 
[2026-05-08 13:17:30] local.INFO: Packet analysis {"connection_id":65002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:17:30] local.INFO: Extracted packet for processing {"connection_id":65002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111824952,"longitude_deg":75.8432,"latitude_deg":11.1824952,"altitude":0,"angle":124,"satellites":42,"speed":1,"hex_longitude":"2d34c100","hex_latitude":"06aa5038","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225942272001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801249220360421376,"note":"Value kept but may cause issues"} 
[2026-05-08 13:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778226338000,"timestamp_ms":1778226338000,"timestamp_seconds":1778226338,"priority":1,"record_length":96,"hex_timestamp":"0000019e068c98d0"} 
[2026-05-08 13:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:17: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-05-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 13:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225942272001,"66":27908,"106":206,"28":21760,"24":1,"16":290197960799551488,"45":3801249220360421376},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225942272001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:17:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801249220360421376,"description":"Unknown IO ID 45"} 
[2026-05-08 13:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225942272001,"power":27908,"unknown_106":206,"unknown_28":21760,"ignition":1,"odometer":null,"unknown_45":3801249220360421376}} 
[2026-05-08 13:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":65002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:17:30] local.INFO: GPS data processed {"connection_id":65002,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:17:30] local.INFO: Acknowledgment sent {"connection_id":65002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:17:52] local.INFO: TCP Data received {"connection_id":65048,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:17:52] local.INFO: Processing buffer {"connection_id":65048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:17:52] local.INFO: IMEI packet received {"connection_id":65048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":65048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:17:57] local.INFO: TCP Data received {"connection_id":65048,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:17:57] local.INFO: Processing buffer {"connection_id":65048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:17:57] local.INFO: IMEI packet received {"connection_id":65048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:17:58] local.INFO: TCP Data received {"connection_id":65048,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:17:58] local.INFO: Processing buffer {"connection_id":65048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:17:58] local.INFO: Packet analysis {"connection_id":65048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:17:58] local.INFO: Extracted packet for processing {"connection_id":65048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111824976,"longitude_deg":75.8432,"latitude_deg":11.1824976,"altitude":0,"angle":124,"satellites":41,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-05-08 13:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225942528001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104596992,"note":"Value kept but may cause issues"} 
[2026-05-08 13:17: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-05-08 13:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778226342000,"timestamp_ms":1778226342000,"timestamp_seconds":1778226342,"priority":1,"record_length":96,"hex_timestamp":"0000019e068ca870"} 
[2026-05-08 13:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 13:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225942528001,"66":26941,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104596992},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225942528001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:17:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104596992,"description":"Unknown IO ID 45"} 
[2026-05-08 13:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225942528001,"power":26941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104596992}} 
[2026-05-08 13:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":65048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:17:58] local.INFO: GPS data processed {"connection_id":65048,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:17:58] local.INFO: Acknowledgment sent {"connection_id":65048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:18:29] local.INFO: TCP Data received {"connection_id":65048,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:18:29] local.INFO: Processing buffer {"connection_id":65048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:18:29] local.INFO: Packet analysis {"connection_id":65048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:18:29] local.INFO: Extracted packet for processing {"connection_id":65048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:18:29] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111824976,"longitude_deg":75.8432,"latitude_deg":11.1824976,"altitude":0,"angle":124,"satellites":41,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-05-08 13:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225942528001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104596992,"note":"Value kept but may cause issues"} 
[2026-05-08 13:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778226342000,"timestamp_ms":1778226342000,"timestamp_seconds":1778226342,"priority":1,"record_length":96,"hex_timestamp":"0000019e068ca870"} 
[2026-05-08 13:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 13:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225942528001,"66":26941,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104596992},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225942528001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:18:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104596992,"description":"Unknown IO ID 45"} 
[2026-05-08 13:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225942528001,"power":26941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104596992}} 
[2026-05-08 13:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":65048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:18:29] local.INFO: GPS data processed {"connection_id":65048,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:18:29] local.INFO: Acknowledgment sent {"connection_id":65048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:18:52] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:18:52] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:18:52] local.INFO: IMEI packet received {"connection_id":65005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":65005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:18:57] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:18:57] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:18:57] local.INFO: IMEI packet received {"connection_id":65005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":65005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:18:58] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:18:58] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:18:58] local.INFO: Packet analysis {"connection_id":65005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:18:58] local.INFO: Extracted packet for processing {"connection_id":65005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111824976,"longitude_deg":75.8432,"latitude_deg":11.1824976,"altitude":0,"angle":124,"satellites":41,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-05-08 13:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225942528001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104596992,"note":"Value kept but may cause issues"} 
[2026-05-08 13:18: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-05-08 13:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778226342000,"timestamp_ms":1778226342000,"timestamp_seconds":1778226342,"priority":1,"record_length":96,"hex_timestamp":"0000019e068ca870"} 
[2026-05-08 13:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 13:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225942528001,"66":26941,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104596992},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225942528001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:18:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104596992,"description":"Unknown IO ID 45"} 
[2026-05-08 13:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225942528001,"power":26941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104596992}} 
[2026-05-08 13:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":65005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:18:58] local.INFO: GPS data processed {"connection_id":65005,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:18:58] local.INFO: Acknowledgment sent {"connection_id":65005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:19:30] local.INFO: TCP Data received {"connection_id":65005,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:19:30] local.INFO: Processing buffer {"connection_id":65005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:19:30] local.INFO: Packet analysis {"connection_id":65005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:19:30] local.INFO: Extracted packet for processing {"connection_id":65005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111824976,"longitude_deg":75.8432,"latitude_deg":11.1824976,"altitude":0,"angle":124,"satellites":41,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-05-08 13:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225942528001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104596992,"note":"Value kept but may cause issues"} 
[2026-05-08 13:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778226342000,"timestamp_ms":1778226342000,"timestamp_seconds":1778226342,"priority":1,"record_length":96,"hex_timestamp":"0000019e068ca870"} 
[2026-05-08 13:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:19: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-05-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 13:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225942528001,"66":26941,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104596992},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225942528001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:19:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104596992,"description":"Unknown IO ID 45"} 
[2026-05-08 13:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225942528001,"power":26941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104596992}} 
[2026-05-08 13:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":65005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:19:30] local.INFO: GPS data processed {"connection_id":65005,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:19:30] local.INFO: Acknowledgment sent {"connection_id":65005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:19:57] local.INFO: TCP Data received {"connection_id":65049,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:19:57] local.INFO: Processing buffer {"connection_id":65049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:19:57] local.INFO: IMEI packet received {"connection_id":65049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":65049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:20:02] local.INFO: TCP Data received {"connection_id":65049,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:02] local.INFO: Processing buffer {"connection_id":65049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:02] local.INFO: IMEI packet received {"connection_id":65049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":65049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:20:04] local.INFO: TCP Data received {"connection_id":65049,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:04] local.INFO: Processing buffer {"connection_id":65049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:04] local.INFO: Packet analysis {"connection_id":65049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:20:04] local.INFO: Extracted packet for processing {"connection_id":65049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:20:04] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111824976,"longitude_deg":75.8432,"latitude_deg":11.1824976,"altitude":0,"angle":124,"satellites":41,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-05-08 13:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225942528001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104596992,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778226342000,"timestamp_ms":1778226342000,"timestamp_seconds":1778226342,"priority":1,"record_length":96,"hex_timestamp":"0000019e068ca870"} 
[2026-05-08 13:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 13:20:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225942528001,"66":26941,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104596992},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225942528001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:20:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104596992,"description":"Unknown IO ID 45"} 
[2026-05-08 13:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225942528001,"power":26941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104596992}} 
[2026-05-08 13:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":65049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:20:04] local.INFO: GPS data processed {"connection_id":65049,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:20:04] local.INFO: Acknowledgment sent {"connection_id":65049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:20:08] local.INFO: TCP Data received {"connection_id":65049,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:08] local.INFO: Processing buffer {"connection_id":65049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:08] local.INFO: Packet analysis {"connection_id":65049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:20:08] local.INFO: Extracted packet for processing {"connection_id":65049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111824976,"longitude_deg":75.8432,"latitude_deg":11.1824976,"altitude":0,"angle":124,"satellites":41,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-05-08 13:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225942528001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104596992,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778226342000,"timestamp_ms":1778226342000,"timestamp_seconds":1778226342,"priority":1,"record_length":96,"hex_timestamp":"0000019e068ca870"} 
[2026-05-08 13:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:20:08] 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-05-08 13: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 13:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225942528001,"66":26941,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104596992},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225942528001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104596992,"description":"Unknown IO ID 45"} 
[2026-05-08 13:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225942528001,"power":26941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104596992}} 
[2026-05-08 13:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":65049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:20:08] local.INFO: GPS data processed {"connection_id":65049,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:20:08] local.INFO: Acknowledgment sent {"connection_id":65049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:20:52] local.INFO: TCP Data received {"connection_id":65829,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:52] local.INFO: Processing buffer {"connection_id":65829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:52] local.INFO: IMEI packet received {"connection_id":65829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":65829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:20:57] local.INFO: TCP Data received {"connection_id":65829,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:57] local.INFO: Processing buffer {"connection_id":65829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:20:57] local.INFO: IMEI packet received {"connection_id":65829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":65829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:20:59] local.INFO: TCP Data received {"connection_id":65829,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:59] local.INFO: Processing buffer {"connection_id":65829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e068ca870012d34c10006aa50500000007c29..."} 
[2026-05-08 13:20:59] local.INFO: Packet analysis {"connection_id":65829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:20:59] local.INFO: Extracted packet for processing {"connection_id":65829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e068c"} 
[2026-05-08 13:20:59] local.INFO: GPS Element Parsed {"raw_longitude":758432000,"raw_latitude":111824976,"longitude_deg":75.8432,"latitude_deg":11.1824976,"altitude":0,"angle":124,"satellites":41,"speed":0,"hex_longitude":"2d34c100","hex_latitude":"06aa5050","is_valid_coordinates":true} 
[2026-05-08 13:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225942528001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104596992,"note":"Value kept but may cause issues"} 
[2026-05-08 13:20: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-05-08 13:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778226342000,"timestamp_ms":1778226342000,"timestamp_seconds":1778226342,"priority":1,"record_length":96,"hex_timestamp":"0000019e068ca870"} 
[2026-05-08 13:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-05-08 13:20:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:20:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225942528001,"66":26941,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104596992},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225942528001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:20:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104596992,"description":"Unknown IO ID 45"} 
[2026-05-08 13:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225942528001,"power":26941,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104596992}} 
[2026-05-08 13:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":65829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:20:59] local.INFO: GPS data processed {"connection_id":65829,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:20:59] local.INFO: Acknowledgment sent {"connection_id":65829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:21:30] local.INFO: TCP Data received {"connection_id":65829,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06914808012d34c2c006aa50480000007c27..."} 
[2026-05-08 13:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06914808012d34c2c006aa50480000007c27..."} 
[2026-05-08 13:21:30] local.INFO: Processing buffer {"connection_id":65829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06914808012d34c2c006aa50480000007c27..."} 
[2026-05-08 13:21:30] local.INFO: Packet analysis {"connection_id":65829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0691"} 
[2026-05-08 13:21:30] local.INFO: Extracted packet for processing {"connection_id":65829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0691"} 
[2026-05-08 13:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111824968,"longitude_deg":75.8432448,"latitude_deg":11.1824968,"altitude":0,"angle":124,"satellites":39,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa5048","is_valid_coordinates":true} 
[2026-05-08 13:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225943552001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104603136,"note":"Value kept but may cause issues"} 
[2026-05-08 13:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778226645000,"timestamp_ms":1778226645000,"timestamp_seconds":1778226645,"priority":1,"record_length":96,"hex_timestamp":"0000019e06914808"} 
[2026-05-08 13:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-05-08 13:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225943552001,"66":25473,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104603136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225943552001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104603136,"description":"Unknown IO ID 45"} 
[2026-05-08 13:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225943552001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104603136}} 
[2026-05-08 13:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":65829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:21:30] local.INFO: GPS data processed {"connection_id":65829,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:21:30] local.INFO: Acknowledgment sent {"connection_id":65829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:21:52] local.INFO: TCP Data received {"connection_id":65830,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:21:52] local.INFO: Processing buffer {"connection_id":65830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:21:52] local.INFO: IMEI packet received {"connection_id":65830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":65830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:21:57] local.INFO: TCP Data received {"connection_id":65830,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:21:57] local.INFO: Processing buffer {"connection_id":65830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:21:57] local.INFO: IMEI packet received {"connection_id":65830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":65830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:21:59] local.INFO: TCP Data received {"connection_id":65830,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06914808012d34c2c006aa50480000007c27..."} 
[2026-05-08 13:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06914808012d34c2c006aa50480000007c27..."} 
[2026-05-08 13:21:59] local.INFO: Processing buffer {"connection_id":65830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06914808012d34c2c006aa50480000007c27..."} 
[2026-05-08 13:21:59] local.INFO: Packet analysis {"connection_id":65830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0691"} 
[2026-05-08 13:21:59] local.INFO: Extracted packet for processing {"connection_id":65830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0691"} 
[2026-05-08 13:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111824968,"longitude_deg":75.8432448,"latitude_deg":11.1824968,"altitude":0,"angle":124,"satellites":39,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa5048","is_valid_coordinates":true} 
[2026-05-08 13:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455225943552001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801319589104603136,"note":"Value kept but may cause issues"} 
[2026-05-08 13:21: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-05-08 13:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778226645000,"timestamp_ms":1778226645000,"timestamp_seconds":1778226645,"priority":1,"record_length":96,"hex_timestamp":"0000019e06914808"} 
[2026-05-08 13:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":61,"data_length":795,"current_offset":136} 
[2026-05-08 13:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1272,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455225943552001,"66":25473,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801319589104603136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455225943552001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801319589104603136,"description":"Unknown IO ID 45"} 
[2026-05-08 13:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455225943552001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801319589104603136}} 
[2026-05-08 13:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":65830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:21:59] local.INFO: GPS data processed {"connection_id":65830,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:21:59] local.INFO: Acknowledgment sent {"connection_id":65830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:22:01] local.INFO: TCP Data received {"connection_id":65050,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:22:01] local.INFO: Processing buffer {"connection_id":65050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:22:01] local.INFO: IMEI packet received {"connection_id":65050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":65050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:22:30] local.INFO: TCP Data received {"connection_id":65830,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06921af8012d34c2c006aa50480000007c2b..."} 
[2026-05-08 13:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06921af8012d34c2c006aa50480000007c2b..."} 
[2026-05-08 13:22:30] local.INFO: Processing buffer {"connection_id":65830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06921af8012d34c2c006aa50480000007c2b..."} 
[2026-05-08 13:22:30] local.INFO: Packet analysis {"connection_id":65830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0692"} 
[2026-05-08 13:22:30] local.INFO: Extracted packet for processing {"connection_id":65830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0692"} 
[2026-05-08 13:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758432448,"raw_latitude":111824968,"longitude_deg":75.8432448,"latitude_deg":11.1824968,"altitude":0,"angle":124,"satellites":43,"speed":0,"hex_longitude":"2d34c2c0","hex_latitude":"06aa5048","is_valid_coordinates":true} 
[2026-05-08 13:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226021120001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197960799551488,"note":"Value kept but may cause issues"} 
[2026-05-08 13:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313844736,"note":"Value kept but may cause issues"} 
[2026-05-08 13:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778226699000,"timestamp_ms":1778226699000,"timestamp_seconds":1778226699,"priority":1,"record_length":96,"hex_timestamp":"0000019e06921af8"} 
[2026-05-08 13:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:22: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-05-08 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226021120001,"66":25495,"106":206,"28":21760,"24":0,"16":290197960799551488,"45":3801812170313844736},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226021120001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197960799551488,"km_value":290197960799551.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313844736,"description":"Unknown IO ID 45"} 
[2026-05-08 13:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226021120001,"power":25495,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170313844736}} 
[2026-05-08 13:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":65830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:22:30] local.INFO: GPS data processed {"connection_id":65830,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:22:30] local.INFO: Acknowledgment sent {"connection_id":65830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:22:46] local.INFO: TCP Data received {"connection_id":65099,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:22:46] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:22:46] local.INFO: IMEI packet received {"connection_id":65099,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:22:46] local.INFO: IMEI acknowledgment sent {"connection_id":65099,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:22:52] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:52] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:52] local.INFO: IMEI packet received {"connection_id":65006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":65006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:22:54] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:54] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:54] local.INFO: IMEI packet received {"connection_id":65006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":65006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:22:58] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:58] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:22:58] local.INFO: IMEI packet received {"connection_id":65006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":65006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:22:59] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06925978012d34c38006aa4eb00000005b2a..."} 
[2026-05-08 13:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06925978012d34c38006aa4eb00000005b2a..."} 
[2026-05-08 13:22:59] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06925978012d34c38006aa4eb00000005b2a..."} 
[2026-05-08 13:22:59] local.INFO: Packet analysis {"connection_id":65006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0692"} 
[2026-05-08 13:22:59] local.INFO: Extracted packet for processing {"connection_id":65006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0692"} 
[2026-05-08 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111824560,"longitude_deg":75.843264,"latitude_deg":11.182456,"altitude":0,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa4eb0","is_valid_coordinates":true} 
[2026-05-08 13:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226034944001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290197990864322560,"note":"Value kept but may cause issues"} 
[2026-05-08 13:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801812170313844736,"note":"Value kept but may cause issues"} 
[2026-05-08 13:22: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-05-08 13:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778226715000,"timestamp_ms":1778226715000,"timestamp_seconds":1778226715,"priority":1,"record_length":96,"hex_timestamp":"0000019e06925978"} 
[2026-05-08 13:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-05-08 13:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226034944001,"66":27745,"106":206,"28":21760,"24":0,"16":290197990864322560,"45":3801812170313844736},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226034944001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290197990864322560,"km_value":290197990864322.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801812170313844736,"description":"Unknown IO ID 45"} 
[2026-05-08 13:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226034944001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801812170313844736}} 
[2026-05-08 13:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":65006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:22:59] local.INFO: GPS data processed {"connection_id":65006,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:22:59] local.INFO: Acknowledgment sent {"connection_id":65006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:23:31] local.INFO: TCP Data received {"connection_id":65006,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0692ab80012d34c48006aa4ed80000005e2a..."} 
[2026-05-08 13:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0692ab80012d34c48006aa4ed80000005e2a..."} 
[2026-05-08 13:23:31] local.INFO: Processing buffer {"connection_id":65006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0692ab80012d34c48006aa4ed80000005e2a..."} 
[2026-05-08 13:23:31] local.INFO: Packet analysis {"connection_id":65006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0692"} 
[2026-05-08 13:23:31] local.INFO: Extracted packet for processing {"connection_id":65006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0692"} 
[2026-05-08 13:23:31] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111824600,"longitude_deg":75.8432896,"latitude_deg":11.18246,"altitude":0,"angle":94,"satellites":42,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4ed8","is_valid_coordinates":true} 
[2026-05-08 13:23:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:23:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226039040001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:23:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198008044191744,"note":"Value kept but may cause issues"} 
[2026-05-08 13:23:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276546273280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:23:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:23:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778226736000,"timestamp_ms":1778226736000,"timestamp_seconds":1778226736,"priority":1,"record_length":96,"hex_timestamp":"0000019e0692ab80"} 
[2026-05-08 13:23:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:23: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-05-08 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:23:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:23:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:23:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:23:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:23:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:23:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:23:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:23:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:23:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:23:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226039040001,"66":27767,"106":206,"28":21760,"24":0,"16":290198008044191744,"45":3802023276546273280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:23:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:23:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:23:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226039040001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:23:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:23:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:23:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198008044191744,"km_value":290198008044191.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:23:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276546273280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:23:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226039040001,"power":27767,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802023276546273280}} 
[2026-05-08 13:23:31] local.INFO: DEBUG: GPS processor result {"connection_id":65006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:23:31] local.INFO: GPS data processed {"connection_id":65006,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:23:31] local.INFO: Acknowledgment sent {"connection_id":65006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:23:53] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:53] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:53] local.INFO: IMEI packet received {"connection_id":65052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":65052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:23:56] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:56] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:56] local.INFO: IMEI packet received {"connection_id":65052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":65052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:23:57] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:57] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:23:57] local.INFO: IMEI packet received {"connection_id":65052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":65052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:24:01] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:01] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:01] local.INFO: IMEI packet received {"connection_id":65052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":65052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:24:02] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06938a28012d34c30006aa4cf0000000752c..."} 
[2026-05-08 13:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06938a28012d34c30006aa4cf0000000752c..."} 
[2026-05-08 13:24:02] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06938a28012d34c30006aa4cf0000000752c..."} 
[2026-05-08 13:24:02] local.INFO: Packet analysis {"connection_id":65052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:24:02] local.INFO: Extracted packet for processing {"connection_id":65052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:24:02] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111824112,"longitude_deg":75.8432512,"latitude_deg":11.1824112,"altitude":0,"angle":117,"satellites":44,"speed":3,"hex_longitude":"2d34c300","hex_latitude":"06aa4cf0","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226058496001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198068173733888,"note":"Value kept but may cause issues"} 
[2026-05-08 13:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057825792,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778226793000,"timestamp_ms":1778226793000,"timestamp_seconds":1778226793,"priority":1,"record_length":96,"hex_timestamp":"0000019e06938a28"} 
[2026-05-08 13:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:24: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-05-08 13: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-05-08 13:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226058496001,"66":26908,"106":206,"28":21760,"24":3,"16":290198068173733888,"45":3801882539057825792},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226058496001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:24:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:24:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198068173733888,"km_value":290198068173733.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057825792,"description":"Unknown IO ID 45"} 
[2026-05-08 13:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226058496001,"power":26908,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801882539057825792}} 
[2026-05-08 13:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":65052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:24:02] local.INFO: GPS data processed {"connection_id":65052,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:24:02] local.INFO: Acknowledgment sent {"connection_id":65052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:24:03] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069391f8012d34c38006aa4c70000000642b..."} 
[2026-05-08 13:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069391f8012d34c38006aa4c70000000642b..."} 
[2026-05-08 13:24:03] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069391f8012d34c38006aa4c70000000642b..."} 
[2026-05-08 13:24:03] local.INFO: Packet analysis {"connection_id":65052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:24:03] local.INFO: Extracted packet for processing {"connection_id":65052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111823984,"longitude_deg":75.843264,"latitude_deg":11.1823984,"altitude":0,"angle":100,"satellites":43,"speed":3,"hex_longitude":"2d34c380","hex_latitude":"06aa4c70","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226059008001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198076763668480,"note":"Value kept but may cause issues"} 
[2026-05-08 13:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057803264,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778226795000,"timestamp_ms":1778226795000,"timestamp_seconds":1778226795,"priority":1,"record_length":96,"hex_timestamp":"0000019e069391f8"} 
[2026-05-08 13:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:24: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-05-08 13: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-05-08 13:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226059008001,"66":27626,"106":206,"28":21760,"24":3,"16":290198076763668480,"45":3801882539057803264},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226059008001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198076763668480,"km_value":290198076763668.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057803264,"description":"Unknown IO ID 45"} 
[2026-05-08 13:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226059008001,"power":27626,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3801882539057803264}} 
[2026-05-08 13:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":65052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:24:03] local.INFO: GPS data processed {"connection_id":65052,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:24:03] local.INFO: Acknowledgment sent {"connection_id":65052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:24:35] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06939db0012d34c40006aa4c08000000522c..."} 
[2026-05-08 13:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06939db0012d34c40006aa4c08000000522c..."} 
[2026-05-08 13:24:35] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06939db0012d34c40006aa4c08000000522c..."} 
[2026-05-08 13:24:35] local.INFO: Packet analysis {"connection_id":65052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:24:35] local.INFO: Extracted packet for processing {"connection_id":65052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111823880,"longitude_deg":75.8432768,"latitude_deg":11.182388,"altitude":0,"angle":82,"satellites":44,"speed":3,"hex_longitude":"2d34c400","hex_latitude":"06aa4c08","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226059520001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198089648570368,"note":"Value kept but may cause issues"} 
[2026-05-08 13:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276546125824,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778226798000,"timestamp_ms":1778226798000,"timestamp_seconds":1778226798,"priority":1,"record_length":96,"hex_timestamp":"0000019e06939db0"} 
[2026-05-08 13:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:24: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-05-08 13: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":107,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-05-08 13:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2839,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226059520001,"66":27800,"106":206,"28":21760,"24":3,"16":290198089648570368,"45":3802023276546125824},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226059520001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:24:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198089648570368,"km_value":290198089648570.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276546125824,"description":"Unknown IO ID 45"} 
[2026-05-08 13:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226059520001,"power":27800,"unknown_106":206,"unknown_28":21760,"ignition":3,"odometer":null,"unknown_45":3802023276546125824}} 
[2026-05-08 13:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":65052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:24:35] local.INFO: GPS data processed {"connection_id":65052,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:24:35] local.INFO: Acknowledgment sent {"connection_id":65052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:24:52] local.INFO: TCP Data received {"connection_id":65102,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:52] local.INFO: Processing buffer {"connection_id":65102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:52] local.INFO: IMEI packet received {"connection_id":65102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":65102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:24:59] local.INFO: TCP Data received {"connection_id":65102,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65102,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:59] local.INFO: Processing buffer {"connection_id":65102,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:24:59] local.INFO: IMEI packet received {"connection_id":65102,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":65102,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:25:00] local.INFO: TCP Data received {"connection_id":65102,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693b138012d34c58006aa4b88000000622b..."} 
[2026-05-08 13:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693b138012d34c58006aa4b88000000622b..."} 
[2026-05-08 13:25:00] local.INFO: Processing buffer {"connection_id":65102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693b138012d34c58006aa4b88000000622b..."} 
[2026-05-08 13:25:00] local.INFO: Packet analysis {"connection_id":65102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:25:00] local.INFO: Extracted packet for processing {"connection_id":65102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:25:00] local.INFO: GPS Element Parsed {"raw_longitude":758433152,"raw_latitude":111823752,"longitude_deg":75.8433152,"latitude_deg":11.1823752,"altitude":0,"angle":98,"satellites":43,"speed":4,"hex_longitude":"2d34c580","hex_latitude":"06aa4b88","is_valid_coordinates":true} 
[2026-05-08 13:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226060288001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198106828439552,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034454528,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25: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-05-08 13:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778226803000,"timestamp_ms":1778226803000,"timestamp_seconds":1778226803,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693b138"} 
[2026-05-08 13:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-05-08 13:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226060288001,"66":27691,"106":206,"28":21760,"24":4,"16":290198106828439552,"45":3802164014034454528},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226060288001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:25:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198106828439552,"km_value":290198106828439.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034454528,"description":"Unknown IO ID 45"} 
[2026-05-08 13:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226060288001,"power":27691,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3802164014034454528}} 
[2026-05-08 13:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":65102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:25:00] local.INFO: GPS data processed {"connection_id":65102,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:25:00] local.INFO: Acknowledgment sent {"connection_id":65102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:25:32] local.INFO: TCP Data received {"connection_id":65102,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693d078012d34c6c006aa4ae00000004529..."} 
[2026-05-08 13:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693d078012d34c6c006aa4ae00000004529..."} 
[2026-05-08 13:25:32] local.INFO: Processing buffer {"connection_id":65102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693d078012d34c6c006aa4ae00000004529..."} 
[2026-05-08 13:25:32] local.INFO: Packet analysis {"connection_id":65102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:25:32] local.INFO: Extracted packet for processing {"connection_id":65102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:25:32] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823584,"longitude_deg":75.8433472,"latitude_deg":11.1823584,"altitude":0,"angle":69,"satellites":41,"speed":2,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4ae0","is_valid_coordinates":true} 
[2026-05-08 13:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226061568001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198128303276032,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802586226499487744,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778226811000,"timestamp_ms":1778226811000,"timestamp_seconds":1778226811,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693d078"} 
[2026-05-08 13:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 13:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65102,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226061568001,"66":27050,"106":206,"28":21760,"24":2,"16":290198128303276032,"45":3802586226499487744},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226061568001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:25:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198128303276032,"km_value":290198128303276.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802586226499487744,"description":"Unknown IO ID 45"} 
[2026-05-08 13:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226061568001,"power":27050,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3802586226499487744}} 
[2026-05-08 13:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":65102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:25:32] local.INFO: GPS data processed {"connection_id":65102,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:25:32] local.INFO: Acknowledgment sent {"connection_id":65102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:25:52] local.INFO: TCP Data received {"connection_id":65054,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:25:52] local.INFO: Processing buffer {"connection_id":65054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:25:52] local.INFO: IMEI packet received {"connection_id":65054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":65054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:25:57] local.INFO: TCP Data received {"connection_id":65054,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:25:57] local.INFO: Processing buffer {"connection_id":65054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:25:57] local.INFO: IMEI packet received {"connection_id":65054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":65054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:25:59] local.INFO: TCP Data received {"connection_id":65054,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693d460012d34c70006aa4ae0000000572a..."} 
[2026-05-08 13:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693d460012d34c70006aa4ae0000000572a..."} 
[2026-05-08 13:25:59] local.INFO: Processing buffer {"connection_id":65054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693d460012d34c70006aa4ae0000000572a..."} 
[2026-05-08 13:25:59] local.INFO: Packet analysis {"connection_id":65054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:25:59] local.INFO: Extracted packet for processing {"connection_id":65054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758433536,"raw_latitude":111823584,"longitude_deg":75.8433536,"latitude_deg":11.1823584,"altitude":0,"angle":87,"satellites":42,"speed":2,"hex_longitude":"2d34c700","hex_latitude":"06aa4ae0","is_valid_coordinates":true} 
[2026-05-08 13:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226063616001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198132598243328,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220333056,"note":"Value kept but may cause issues"} 
[2026-05-08 13:25: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-05-08 13:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778226812000,"timestamp_ms":1778226812000,"timestamp_seconds":1778226812,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693d460"} 
[2026-05-08 13:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-05-08 13:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226063616001,"66":27050,"106":206,"28":21760,"24":2,"16":290198132598243328,"45":3802938070220333056},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226063616001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:25:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198132598243328,"km_value":290198132598243.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220333056,"description":"Unknown IO ID 45"} 
[2026-05-08 13:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226063616001,"power":27050,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3802938070220333056}} 
[2026-05-08 13:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":65054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:25:59] local.INFO: GPS data processed {"connection_id":65054,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:25:59] local.INFO: Acknowledgment sent {"connection_id":65054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:26:31] local.INFO: TCP Data received {"connection_id":65054,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693d848012d34c74006aa4ad8000000672a..."} 
[2026-05-08 13:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693d848012d34c74006aa4ad8000000672a..."} 
[2026-05-08 13:26:31] local.INFO: Processing buffer {"connection_id":65054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693d848012d34c74006aa4ad8000000672a..."} 
[2026-05-08 13:26:31] local.INFO: Packet analysis {"connection_id":65054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:26:31] local.INFO: Extracted packet for processing {"connection_id":65054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758433600,"raw_latitude":111823576,"longitude_deg":75.84336,"latitude_deg":11.1823576,"altitude":0,"angle":103,"satellites":42,"speed":2,"hex_longitude":"2d34c740","hex_latitude":"06aa4ad8","is_valid_coordinates":true} 
[2026-05-08 13:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198136893210624,"note":"Value kept but may cause issues"} 
[2026-05-08 13:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803008438964510720,"note":"Value kept but may cause issues"} 
[2026-05-08 13:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778226813000,"timestamp_ms":1778226813000,"timestamp_seconds":1778226813,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693d848"} 
[2026-05-08 13:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13: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-05-08 13: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":105,"n8_eight_byte":170,"data_length":795,"current_offset":136} 
[2026-05-08 13:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2253,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226063872001,"66":27604,"106":206,"28":21760,"24":2,"16":290198136893210624,"45":3803008438964510720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:26:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198136893210624,"km_value":290198136893210.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803008438964510720,"description":"Unknown IO ID 45"} 
[2026-05-08 13:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226063872001,"power":27604,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3803008438964510720}} 
[2026-05-08 13:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":65054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:26:31] local.INFO: GPS data processed {"connection_id":65054,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:26:31] local.INFO: Acknowledgment sent {"connection_id":65054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:26:52] local.INFO: TCP Data received {"connection_id":65104,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:26:52] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:26:52] local.INFO: IMEI packet received {"connection_id":65104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":65104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:26:57] local.INFO: TCP Data received {"connection_id":65104,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:26:57] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:26:57] local.INFO: IMEI packet received {"connection_id":65104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":65104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:26:59] local.INFO: TCP Data received {"connection_id":65104,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693dc30012d34c78006aa4ac00000007229..."} 
[2026-05-08 13:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693dc30012d34c78006aa4ac00000007229..."} 
[2026-05-08 13:26:59] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693dc30012d34c78006aa4ac00000007229..."} 
[2026-05-08 13:26:59] local.INFO: Packet analysis {"connection_id":65104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:26:59] local.INFO: Extracted packet for processing {"connection_id":65104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:26:59] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111823552,"longitude_deg":75.8433664,"latitude_deg":11.1823552,"altitude":0,"angle":114,"satellites":41,"speed":2,"hex_longitude":"2d34c780","hex_latitude":"06aa4ac0","is_valid_coordinates":true} 
[2026-05-08 13:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226064128001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198136893210624,"note":"Value kept but may cause issues"} 
[2026-05-08 13:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803078807708686336,"note":"Value kept but may cause issues"} 
[2026-05-08 13:26: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-05-08 13:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778226814000,"timestamp_ms":1778226814000,"timestamp_seconds":1778226814,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693dc30"} 
[2026-05-08 13:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 13:26:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226064128001,"66":27604,"106":206,"28":21760,"24":2,"16":290198136893210624,"45":3803078807708686336},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226064128001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198136893210624,"km_value":290198136893210.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803078807708686336,"description":"Unknown IO ID 45"} 
[2026-05-08 13:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226064128001,"power":27604,"unknown_106":206,"unknown_28":21760,"ignition":2,"odometer":null,"unknown_45":3803078807708686336}} 
[2026-05-08 13:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":65104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:26:59] local.INFO: GPS data processed {"connection_id":65104,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:26:59] local.INFO: Acknowledgment sent {"connection_id":65104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:27:30] local.INFO: TCP Data received {"connection_id":65104,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:27:30] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:27:30] local.INFO: Packet analysis {"connection_id":65104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:27:30] local.INFO: Extracted packet for processing {"connection_id":65104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111823456,"longitude_deg":75.8433664,"latitude_deg":11.1823456,"altitude":0,"angle":118,"satellites":42,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4a60","is_valid_coordinates":true} 
[2026-05-08 13:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226064384001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452857856,"note":"Value kept but may cause issues"} 
[2026-05-08 13:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778226821000,"timestamp_ms":1778226821000,"timestamp_seconds":1778226821,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693f788"} 
[2026-05-08 13:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:27: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-05-08 13:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 13:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226064384001,"66":27745,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452857856},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226064384001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:27:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:27:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452857856,"description":"Unknown IO ID 45"} 
[2026-05-08 13:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226064384001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452857856}} 
[2026-05-08 13:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":65104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:27:30] local.INFO: GPS data processed {"connection_id":65104,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:27:30] local.INFO: Acknowledgment sent {"connection_id":65104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:27:52] local.INFO: TCP Data received {"connection_id":65831,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:27:52] local.INFO: Processing buffer {"connection_id":65831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:27:52] local.INFO: IMEI packet received {"connection_id":65831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":65831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:27:57] local.INFO: TCP Data received {"connection_id":65831,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:27:57] local.INFO: Processing buffer {"connection_id":65831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:27:57] local.INFO: IMEI packet received {"connection_id":65831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":65831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:27:58] local.INFO: TCP Data received {"connection_id":65831,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:27:58] local.INFO: Processing buffer {"connection_id":65831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:27:58] local.INFO: Packet analysis {"connection_id":65831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:27:58] local.INFO: Extracted packet for processing {"connection_id":65831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111823456,"longitude_deg":75.8433664,"latitude_deg":11.1823456,"altitude":0,"angle":118,"satellites":42,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4a60","is_valid_coordinates":true} 
[2026-05-08 13:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226064384001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452857856,"note":"Value kept but may cause issues"} 
[2026-05-08 13:27: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-05-08 13:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778226821000,"timestamp_ms":1778226821000,"timestamp_seconds":1778226821,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693f788"} 
[2026-05-08 13:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 13:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226064384001,"66":27745,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452857856},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226064384001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452857856,"description":"Unknown IO ID 45"} 
[2026-05-08 13:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226064384001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452857856}} 
[2026-05-08 13:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":65831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:27:58] local.INFO: GPS data processed {"connection_id":65831,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:27:58] local.INFO: Acknowledgment sent {"connection_id":65831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:28:12] local.INFO: TCP Data received {"connection_id":65007,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:28:12] local.INFO: Processing buffer {"connection_id":65007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:28:12] local.INFO: IMEI packet received {"connection_id":65007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":65007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:28:30] local.INFO: TCP Data received {"connection_id":65831,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:28:30] local.INFO: Processing buffer {"connection_id":65831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:28:30] local.INFO: Packet analysis {"connection_id":65831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:28:30] local.INFO: Extracted packet for processing {"connection_id":65831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111823456,"longitude_deg":75.8433664,"latitude_deg":11.1823456,"altitude":0,"angle":118,"satellites":42,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4a60","is_valid_coordinates":true} 
[2026-05-08 13:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226064384001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452857856,"note":"Value kept but may cause issues"} 
[2026-05-08 13:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778226821000,"timestamp_ms":1778226821000,"timestamp_seconds":1778226821,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693f788"} 
[2026-05-08 13:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:28: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-05-08 13:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 13:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226064384001,"66":27745,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452857856},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226064384001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452857856,"description":"Unknown IO ID 45"} 
[2026-05-08 13:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226064384001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452857856}} 
[2026-05-08 13:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":65831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:28:30] local.INFO: GPS data processed {"connection_id":65831,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:28:30] local.INFO: Acknowledgment sent {"connection_id":65831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:28:46] local.INFO: TCP Data received {"connection_id":65105,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:28:46] local.INFO: Processing buffer {"connection_id":65105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:28:46] local.INFO: IMEI packet received {"connection_id":65105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":65105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:28:58] local.INFO: TCP Data received {"connection_id":65055,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:28:58] local.INFO: Processing buffer {"connection_id":65055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:28:58] local.INFO: IMEI packet received {"connection_id":65055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":65055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:29:02] local.INFO: TCP Data received {"connection_id":65055,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:02] local.INFO: Processing buffer {"connection_id":65055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:02] local.INFO: IMEI packet received {"connection_id":65055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":65055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:29:04] local.INFO: TCP Data received {"connection_id":65055,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:29:04] local.INFO: Processing buffer {"connection_id":65055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:29:04] local.INFO: Packet analysis {"connection_id":65055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:29:04] local.INFO: Extracted packet for processing {"connection_id":65055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111823456,"longitude_deg":75.8433664,"latitude_deg":11.1823456,"altitude":0,"angle":118,"satellites":42,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4a60","is_valid_coordinates":true} 
[2026-05-08 13:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226064384001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452857856,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778226821000,"timestamp_ms":1778226821000,"timestamp_seconds":1778226821,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693f788"} 
[2026-05-08 13:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 13:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226064384001,"66":27745,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452857856},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226064384001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:29:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452857856,"description":"Unknown IO ID 45"} 
[2026-05-08 13:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226064384001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452857856}} 
[2026-05-08 13:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":65055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:29:04] local.INFO: GPS data processed {"connection_id":65055,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:29:04] local.INFO: Acknowledgment sent {"connection_id":65055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:29:09] local.INFO: TCP Data received {"connection_id":65055,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:29:09] local.INFO: Processing buffer {"connection_id":65055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0693f788012d34c78006aa4a60000000762a..."} 
[2026-05-08 13:29:09] local.INFO: Packet analysis {"connection_id":65055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:29:09] local.INFO: Extracted packet for processing {"connection_id":65055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0693"} 
[2026-05-08 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111823456,"longitude_deg":75.8433664,"latitude_deg":11.1823456,"altitude":0,"angle":118,"satellites":42,"speed":0,"hex_longitude":"2d34c780","hex_latitude":"06aa4a60","is_valid_coordinates":true} 
[2026-05-08 13:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226064384001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452857856,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778226821000,"timestamp_ms":1778226821000,"timestamp_seconds":1778226821,"priority":1,"record_length":96,"hex_timestamp":"0000019e0693f788"} 
[2026-05-08 13:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 13: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 13:29:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226064384001,"66":27745,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452857856},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226064384001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:29:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:29:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452857856,"description":"Unknown IO ID 45"} 
[2026-05-08 13:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226064384001,"power":27745,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452857856}} 
[2026-05-08 13:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":65055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:29:09] local.INFO: GPS data processed {"connection_id":65055,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:29:09] local.INFO: Acknowledgment sent {"connection_id":65055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:29:52] local.INFO: TCP Data received {"connection_id":65106,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:53] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:53] local.INFO: IMEI packet received {"connection_id":65106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:29:53] local.INFO: IMEI acknowledgment sent {"connection_id":65106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:29:59] local.INFO: TCP Data received {"connection_id":65106,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:59] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:29:59] local.INFO: IMEI packet received {"connection_id":65106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":65106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:30:00] local.INFO: TCP Data received {"connection_id":65106,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:00] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:00] local.INFO: Packet analysis {"connection_id":65106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:30:00] local.INFO: Extracted packet for processing {"connection_id":65106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:30:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30: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-05-08 13:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:30:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:30:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:30:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:30:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":65106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:30:00] local.INFO: GPS data processed {"connection_id":65106,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:30:00] local.INFO: Acknowledgment sent {"connection_id":65106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:30:32] local.INFO: TCP Data received {"connection_id":65106,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:32] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:32] local.INFO: Packet analysis {"connection_id":65106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:30:32] local.INFO: Extracted packet for processing {"connection_id":65106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:30:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:30: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-05-08 13:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:30:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":65106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:30:32] local.INFO: GPS data processed {"connection_id":65106,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:30:32] local.INFO: Acknowledgment sent {"connection_id":65106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:30:52] local.INFO: TCP Data received {"connection_id":65108,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:30:52] local.INFO: Processing buffer {"connection_id":65108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:30:52] local.INFO: IMEI packet received {"connection_id":65108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":65108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:30:57] local.INFO: TCP Data received {"connection_id":65108,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:30:57] local.INFO: Processing buffer {"connection_id":65108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:30:57] local.INFO: IMEI packet received {"connection_id":65108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":65108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:30:59] local.INFO: TCP Data received {"connection_id":65108,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:59] local.INFO: Processing buffer {"connection_id":65108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:30:59] local.INFO: Packet analysis {"connection_id":65108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:30:59] local.INFO: Extracted packet for processing {"connection_id":65108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:30: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-05-08 13:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:30:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":65108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:30:59] local.INFO: GPS data processed {"connection_id":65108,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:30:59] local.INFO: Acknowledgment sent {"connection_id":65108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:31:31] local.INFO: TCP Data received {"connection_id":65108,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:31:31] local.INFO: Processing buffer {"connection_id":65108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:31:31] local.INFO: Packet analysis {"connection_id":65108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:31:31] local.INFO: Extracted packet for processing {"connection_id":65108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:31: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-05-08 13:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:31:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:31:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":65108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:31:31] local.INFO: GPS data processed {"connection_id":65108,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:31:31] local.INFO: Acknowledgment sent {"connection_id":65108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:31:52] local.INFO: TCP Data received {"connection_id":65057,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:31:52] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:31:52] local.INFO: IMEI packet received {"connection_id":65057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":65057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:31:57] local.INFO: TCP Data received {"connection_id":65057,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:31:57] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:31:57] local.INFO: IMEI packet received {"connection_id":65057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":65057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:31:59] local.INFO: TCP Data received {"connection_id":65057,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:31:59] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:31:59] local.INFO: Packet analysis {"connection_id":65057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:31:59] local.INFO: Extracted packet for processing {"connection_id":65057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:31: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-05-08 13:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":65057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:31:59] local.INFO: GPS data processed {"connection_id":65057,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:31:59] local.INFO: Acknowledgment sent {"connection_id":65057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:32:31] local.INFO: TCP Data received {"connection_id":65057,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:32:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:32:31] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:32:31] local.INFO: Packet analysis {"connection_id":65057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:32:31] local.INFO: Extracted packet for processing {"connection_id":65057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:32:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:32:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:32:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:32:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:32:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:32:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:32:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:32: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-05-08 13:32:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:32:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:32:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:32:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:32:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:32:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:32:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:32:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:32:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:32:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:32:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:32:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:32:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:32:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:32:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:32:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:32:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:32:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:32:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:32:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:32:31] local.INFO: DEBUG: GPS processor result {"connection_id":65057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:32:31] local.INFO: GPS data processed {"connection_id":65057,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:32:31] local.INFO: Acknowledgment sent {"connection_id":65057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:32:52] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:32:52] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:32:52] local.INFO: IMEI packet received {"connection_id":65111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":65111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:32:58] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:32:58] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:32:58] local.INFO: IMEI packet received {"connection_id":65111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":65111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:32:59] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:32:59] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:32:59] local.INFO: Packet analysis {"connection_id":65111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:32:59] local.INFO: Extracted packet for processing {"connection_id":65111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:32:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:32: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-05-08 13:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:32:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":65111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:32:59] local.INFO: GPS data processed {"connection_id":65111,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:32:59] local.INFO: Acknowledgment sent {"connection_id":65111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:33:31] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:33:31] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:33:31] local.INFO: Packet analysis {"connection_id":65111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:33:31] local.INFO: Extracted packet for processing {"connection_id":65111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:33:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:33: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-05-08 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:33:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":65111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:33:31] local.INFO: GPS data processed {"connection_id":65111,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:33:31] local.INFO: Acknowledgment sent {"connection_id":65111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:33:57] local.INFO: TCP Data received {"connection_id":65008,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:33:57] local.INFO: Processing buffer {"connection_id":65008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:33:57] local.INFO: IMEI packet received {"connection_id":65008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":65008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:34:01] local.INFO: TCP Data received {"connection_id":65832,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:34:01] local.INFO: Processing buffer {"connection_id":65832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:34:01] local.INFO: IMEI packet received {"connection_id":65832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":65832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:34:02] local.INFO: TCP Data received {"connection_id":65008,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:02] local.INFO: Processing buffer {"connection_id":65008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:02] local.INFO: IMEI packet received {"connection_id":65008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":65008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:34:04] local.INFO: TCP Data received {"connection_id":65008,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:34:04] local.INFO: Processing buffer {"connection_id":65008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:34:04] local.INFO: Packet analysis {"connection_id":65008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:34:04] local.INFO: Extracted packet for processing {"connection_id":65008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:34:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:34:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:34:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":65008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:34:04] local.INFO: GPS data processed {"connection_id":65008,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:34:04] local.INFO: Acknowledgment sent {"connection_id":65008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:34:08] local.INFO: TCP Data received {"connection_id":65008,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:34:08] local.INFO: Processing buffer {"connection_id":65008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06989b08012d34c54006aa4968000d00762c..."} 
[2026-05-08 13:34:08] local.INFO: Packet analysis {"connection_id":65008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:34:08] local.INFO: Extracted packet for processing {"connection_id":65008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0698"} 
[2026-05-08 13:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226066176001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176452833280,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778227125000,"timestamp_ms":1778227125000,"timestamp_seconds":1778227125,"priority":1,"record_length":96,"hex_timestamp":"0000019e06989b08"} 
[2026-05-08 13:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 13:34:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226066176001,"66":25712,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3803149176452833280},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226066176001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:34:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:34:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176452833280,"description":"Unknown IO ID 45"} 
[2026-05-08 13:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226066176001,"power":25712,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3803149176452833280}} 
[2026-05-08 13:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":65008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:34:08] local.INFO: GPS data processed {"connection_id":65008,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:34:08] local.INFO: Acknowledgment sent {"connection_id":65008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:34:41] local.INFO: TCP Data received {"connection_id":65009,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:34:41] local.INFO: Processing buffer {"connection_id":65009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:34:41] local.INFO: IMEI packet received {"connection_id":65009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":65009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:34:53] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:53] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:53] local.INFO: IMEI packet received {"connection_id":65058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":65058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:34:57] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:57] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:34:57] local.INFO: IMEI packet received {"connection_id":65058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":65058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:34:59] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:34:59] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:34:59] local.INFO: Packet analysis {"connection_id":65058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:34:59] local.INFO: Extracted packet for processing {"connection_id":65058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:34: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-05-08 13:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 13:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":65058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:34:59] local.INFO: GPS data processed {"connection_id":65058,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:34:59] local.INFO: Acknowledgment sent {"connection_id":65058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:35:30] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:35:30] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:35:30] local.INFO: Packet analysis {"connection_id":65058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:35:30] local.INFO: Extracted packet for processing {"connection_id":65058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 13:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:35: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-05-08 13:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:35:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":65058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:35:30] local.INFO: GPS data processed {"connection_id":65058,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:35:30] local.INFO: Acknowledgment sent {"connection_id":65058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:35:52] local.INFO: TCP Data received {"connection_id":65834,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:35:52] local.INFO: Processing buffer {"connection_id":65834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:35:52] local.INFO: IMEI packet received {"connection_id":65834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":65834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:35:57] local.INFO: TCP Data received {"connection_id":65834,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:35:57] local.INFO: Processing buffer {"connection_id":65834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:35:57] local.INFO: IMEI packet received {"connection_id":65834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":65834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:36:00] local.INFO: TCP Data received {"connection_id":65834,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:00] local.INFO: Processing buffer {"connection_id":65834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:00] local.INFO: Packet analysis {"connection_id":65834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:36:00] local.INFO: Extracted packet for processing {"connection_id":65834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:36:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36: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-05-08 13:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 13:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:36:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:36:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":65834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:36:00] local.INFO: GPS data processed {"connection_id":65834,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:36:00] local.INFO: Acknowledgment sent {"connection_id":65834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:36:31] local.INFO: TCP Data received {"connection_id":65834,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:31] local.INFO: Processing buffer {"connection_id":65834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:31] local.INFO: Packet analysis {"connection_id":65834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:36:31] local.INFO: Extracted packet for processing {"connection_id":65834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 13:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:36: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-05-08 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:36:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":65834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:36:31] local.INFO: GPS data processed {"connection_id":65834,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:36:31] local.INFO: Acknowledgment sent {"connection_id":65834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:36:52] local.INFO: TCP Data received {"connection_id":65835,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:36:52] local.INFO: Processing buffer {"connection_id":65835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:36:52] local.INFO: IMEI packet received {"connection_id":65835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":65835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:36:57] local.INFO: TCP Data received {"connection_id":65835,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:36:57] local.INFO: Processing buffer {"connection_id":65835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:36:57] local.INFO: IMEI packet received {"connection_id":65835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":65835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:36:59] local.INFO: TCP Data received {"connection_id":65835,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:59] local.INFO: Processing buffer {"connection_id":65835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:36:59] local.INFO: Packet analysis {"connection_id":65835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:36:59] local.INFO: Extracted packet for processing {"connection_id":65835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:36: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-05-08 13:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 13:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:36:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:36:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":65835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:36:59] local.INFO: GPS data processed {"connection_id":65835,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:36:59] local.INFO: Acknowledgment sent {"connection_id":65835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:37:32] local.INFO: TCP Data received {"connection_id":65835,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:37:32] local.INFO: Processing buffer {"connection_id":65835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:37:32] local.INFO: Packet analysis {"connection_id":65835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:37:32] local.INFO: Extracted packet for processing {"connection_id":65835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:37:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 13:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:37: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-05-08 13:37:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:37:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:37:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:37:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":65835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:37:32] local.INFO: GPS data processed {"connection_id":65835,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:37:32] local.INFO: Acknowledgment sent {"connection_id":65835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:37:57] local.INFO: TCP Data received {"connection_id":65114,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:37:57] local.INFO: Processing buffer {"connection_id":65114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:37:57] local.INFO: IMEI packet received {"connection_id":65114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":65114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:38:03] local.INFO: TCP Data received {"connection_id":65114,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:03] local.INFO: Processing buffer {"connection_id":65114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:03] local.INFO: IMEI packet received {"connection_id":65114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":65114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:38:04] local.INFO: TCP Data received {"connection_id":65114,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:04] local.INFO: Processing buffer {"connection_id":65114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:04] local.INFO: Packet analysis {"connection_id":65114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:38:04] local.INFO: Extracted packet for processing {"connection_id":65114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 13:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":65114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:38:04] local.INFO: GPS data processed {"connection_id":65114,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:38:04] local.INFO: Acknowledgment sent {"connection_id":65114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:38:10] local.INFO: TCP Data received {"connection_id":65114,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:10] local.INFO: Processing buffer {"connection_id":65114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:10] local.INFO: Packet analysis {"connection_id":65114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:38:10] local.INFO: Extracted packet for processing {"connection_id":65114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 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-05-08 13:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 13:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 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-05-08 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-05-08 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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 13:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:38:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":65114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:38:10] local.INFO: GPS data processed {"connection_id":65114,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:38:10] local.INFO: Acknowledgment sent {"connection_id":65114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:38:52] local.INFO: TCP Data received {"connection_id":65010,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:52] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:52] local.INFO: IMEI packet received {"connection_id":65010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":65010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:38:58] local.INFO: TCP Data received {"connection_id":65010,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:58] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:38:58] local.INFO: IMEI packet received {"connection_id":65010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:38:58] local.INFO: IMEI acknowledgment sent {"connection_id":65010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:38:59] local.INFO: TCP Data received {"connection_id":65010,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:59] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e069d32d0012d34c54006aa4968000a00762c..."} 
[2026-05-08 13:38:59] local.INFO: Packet analysis {"connection_id":65010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:38:59] local.INFO: Extracted packet for processing {"connection_id":65010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e069d"} 
[2026-05-08 13:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":10,"angle":118,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226144000001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:38: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-05-08 13:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227426000,"timestamp_ms":1778227426000,"timestamp_seconds":1778227426,"priority":1,"record_length":96,"hex_timestamp":"0000019e069d32d0"} 
[2026-05-08 13:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":100,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-05-08 13:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1706,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226144000001,"66":25582,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226144000001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:38:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226144000001,"power":25582,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":65010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:38:59] local.INFO: GPS data processed {"connection_id":65010,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:38:59] local.INFO: Acknowledgment sent {"connection_id":65010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:39:31] local.INFO: TCP Data received {"connection_id":65010,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:39:31] local.INFO: Processing buffer {"connection_id":65010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:39:31] local.INFO: Packet analysis {"connection_id":65010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:39:31] local.INFO: Extracted packet for processing {"connection_id":65010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:39: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-05-08 13:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:39:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":65010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:39:31] local.INFO: GPS data processed {"connection_id":65010,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:39:31] local.INFO: Acknowledgment sent {"connection_id":65010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:39:52] local.INFO: TCP Data received {"connection_id":65061,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:39:52] local.INFO: Processing buffer {"connection_id":65061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:39:52] local.INFO: IMEI packet received {"connection_id":65061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":65061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:39:58] local.INFO: TCP Data received {"connection_id":65061,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:39:58] local.INFO: Processing buffer {"connection_id":65061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:39:58] local.INFO: IMEI packet received {"connection_id":65061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":65061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:40:00] local.INFO: TCP Data received {"connection_id":65061,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:00] local.INFO: Processing buffer {"connection_id":65061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:00] local.INFO: Packet analysis {"connection_id":65061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:40:00] local.INFO: Extracted packet for processing {"connection_id":65061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:40:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:40:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40: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-05-08 13:40:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:40:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:40:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:40:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:40:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:40:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:40:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:40:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:40:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:40:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:40:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:40:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:40:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:40:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:40:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:40:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:40:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:40:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:40:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:40:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:40:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:40:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:40:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":65061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:40:00] local.INFO: GPS data processed {"connection_id":65061,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:40:00] local.INFO: Acknowledgment sent {"connection_id":65061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:40:06] local.INFO: TCP Data received {"connection_id":65060,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:40:06] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:40:06] local.INFO: IMEI packet received {"connection_id":65060,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":65060,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:40:32] local.INFO: TCP Data received {"connection_id":65061,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:32] local.INFO: Processing buffer {"connection_id":65061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:32] local.INFO: Packet analysis {"connection_id":65061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:40:32] local.INFO: Extracted packet for processing {"connection_id":65061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:40:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:40: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-05-08 13:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:40:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:40:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:40:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":65061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:40:32] local.INFO: GPS data processed {"connection_id":65061,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:40:32] local.INFO: Acknowledgment sent {"connection_id":65061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:40:41] local.INFO: TCP Data received {"connection_id":65836,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65836,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:40:41] local.INFO: Processing buffer {"connection_id":65836,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:40:41] local.INFO: IMEI packet received {"connection_id":65836,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":65836,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:40:52] local.INFO: TCP Data received {"connection_id":65011,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:40:52] local.INFO: Processing buffer {"connection_id":65011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:40:52] local.INFO: IMEI packet received {"connection_id":65011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":65011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:40:57] local.INFO: TCP Data received {"connection_id":65011,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:40:57] local.INFO: Processing buffer {"connection_id":65011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:40:57] local.INFO: IMEI packet received {"connection_id":65011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":65011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:40:59] local.INFO: TCP Data received {"connection_id":65011,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:59] local.INFO: Processing buffer {"connection_id":65011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:40:59] local.INFO: Packet analysis {"connection_id":65011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:40:59] local.INFO: Extracted packet for processing {"connection_id":65011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:40: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-05-08 13:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":65011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:40:59] local.INFO: GPS data processed {"connection_id":65011,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:40:59] local.INFO: Acknowledgment sent {"connection_id":65011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:41:32] local.INFO: TCP Data received {"connection_id":65011,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:41:32] local.INFO: Processing buffer {"connection_id":65011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:41:32] local.INFO: Packet analysis {"connection_id":65011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:41:32] local.INFO: Extracted packet for processing {"connection_id":65011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:41:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:41: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-05-08 13:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:41:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:41:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":65011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:41:32] local.INFO: GPS data processed {"connection_id":65011,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:41:32] local.INFO: Acknowledgment sent {"connection_id":65011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:41:52] local.INFO: TCP Data received {"connection_id":65837,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:41:52] local.INFO: Processing buffer {"connection_id":65837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:41:52] local.INFO: IMEI packet received {"connection_id":65837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":65837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:41:57] local.INFO: TCP Data received {"connection_id":65837,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:41:57] local.INFO: Processing buffer {"connection_id":65837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:41:57] local.INFO: IMEI packet received {"connection_id":65837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":65837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:41:59] local.INFO: TCP Data received {"connection_id":65837,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:41:59] local.INFO: Processing buffer {"connection_id":65837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:41:59] local.INFO: Packet analysis {"connection_id":65837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:41:59] local.INFO: Extracted packet for processing {"connection_id":65837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:41:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:41: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-05-08 13:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:41:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:41:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":65837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:41:59] local.INFO: GPS data processed {"connection_id":65837,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:41:59] local.INFO: Acknowledgment sent {"connection_id":65837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:42:31] local.INFO: TCP Data received {"connection_id":65837,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:42:31] local.INFO: Processing buffer {"connection_id":65837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:42:31] local.INFO: Packet analysis {"connection_id":65837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:42:31] local.INFO: Extracted packet for processing {"connection_id":65837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:42: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-05-08 13:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:42:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":65837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:42:31] local.INFO: GPS data processed {"connection_id":65837,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:42:31] local.INFO: Acknowledgment sent {"connection_id":65837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:42:57] local.INFO: TCP Data received {"connection_id":65062,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:42:57] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:42:57] local.INFO: IMEI packet received {"connection_id":65062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":65062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:43:02] local.INFO: TCP Data received {"connection_id":65062,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:02] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:02] local.INFO: IMEI packet received {"connection_id":65062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":65062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:43:03] local.INFO: TCP Data received {"connection_id":65062,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:03] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:03] local.INFO: Packet analysis {"connection_id":65062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:43:03] local.INFO: Extracted packet for processing {"connection_id":65062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:43:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:43:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:43:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:43:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":65062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:43:03] local.INFO: GPS data processed {"connection_id":65062,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:43:03] local.INFO: Acknowledgment sent {"connection_id":65062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:43:09] local.INFO: TCP Data received {"connection_id":65062,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:09] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:09] local.INFO: Packet analysis {"connection_id":65062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:43:09] local.INFO: Extracted packet for processing {"connection_id":65062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:43: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-05-08 13: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":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:43:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:43:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":65062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:43:09] local.INFO: GPS data processed {"connection_id":65062,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:43:09] local.INFO: Acknowledgment sent {"connection_id":65062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:43:53] local.INFO: TCP Data received {"connection_id":65063,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:53] local.INFO: Processing buffer {"connection_id":65063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:53] local.INFO: IMEI packet received {"connection_id":65063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":65063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:43:57] local.INFO: TCP Data received {"connection_id":65063,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:57] local.INFO: Processing buffer {"connection_id":65063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:43:57] local.INFO: IMEI packet received {"connection_id":65063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":65063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:43:59] local.INFO: TCP Data received {"connection_id":65063,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:59] local.INFO: Processing buffer {"connection_id":65063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a1ca98012d34c54006aa4968000c00762b..."} 
[2026-05-08 13:43:59] local.INFO: Packet analysis {"connection_id":65063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:43:59] local.INFO: Extracted packet for processing {"connection_id":65063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a1"} 
[2026-05-08 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":12,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226221056001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:43: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-05-08 13:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778227727000,"timestamp_ms":1778227727000,"timestamp_seconds":1778227727,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a1ca98"} 
[2026-05-08 13:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-05-08 13:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226221056001,"66":25473,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226221056001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:43:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226221056001,"power":25473,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":65063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:43:59] local.INFO: GPS data processed {"connection_id":65063,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:43:59] local.INFO: Acknowledgment sent {"connection_id":65063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:44:31] local.INFO: TCP Data received {"connection_id":65063,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:44:31] local.INFO: Processing buffer {"connection_id":65063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:44:31] local.INFO: Packet analysis {"connection_id":65063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:44:31] local.INFO: Extracted packet for processing {"connection_id":65063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:44:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":65063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:44:31] local.INFO: GPS data processed {"connection_id":65063,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:44:31] local.INFO: Acknowledgment sent {"connection_id":65063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:44:52] local.INFO: TCP Data received {"connection_id":65841,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:44:52] local.INFO: Processing buffer {"connection_id":65841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:44:52] local.INFO: IMEI packet received {"connection_id":65841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":65841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:44:57] local.INFO: TCP Data received {"connection_id":65841,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:44:57] local.INFO: Processing buffer {"connection_id":65841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:44:57] local.INFO: IMEI packet received {"connection_id":65841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":65841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:45:00] local.INFO: TCP Data received {"connection_id":65841,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:00] local.INFO: Processing buffer {"connection_id":65841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:00] local.INFO: Packet analysis {"connection_id":65841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:45:00] local.INFO: Extracted packet for processing {"connection_id":65841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:45:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45: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-05-08 13:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:45:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":65841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:45:00] local.INFO: GPS data processed {"connection_id":65841,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:45:00] local.INFO: Acknowledgment sent {"connection_id":65841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:45:31] local.INFO: TCP Data received {"connection_id":65841,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:32] local.INFO: Processing buffer {"connection_id":65841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:32] local.INFO: Packet analysis {"connection_id":65841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:45:32] local.INFO: Extracted packet for processing {"connection_id":65841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:45:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":65841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:45:32] local.INFO: GPS data processed {"connection_id":65841,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:45:32] local.INFO: Acknowledgment sent {"connection_id":65841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:45:52] local.INFO: TCP Data received {"connection_id":65013,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:45:52] local.INFO: Processing buffer {"connection_id":65013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:45:52] local.INFO: IMEI packet received {"connection_id":65013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":65013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:45:57] local.INFO: TCP Data received {"connection_id":65013,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:45:57] local.INFO: Processing buffer {"connection_id":65013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:45:57] local.INFO: IMEI packet received {"connection_id":65013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":65013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:45:58] local.INFO: TCP Data received {"connection_id":65013,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:58] local.INFO: Processing buffer {"connection_id":65013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:45:58] local.INFO: Packet analysis {"connection_id":65013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:45:58] local.INFO: Extracted packet for processing {"connection_id":65013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:45:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:45: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-05-08 13:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:45:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":65013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:45:58] local.INFO: GPS data processed {"connection_id":65013,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:45:58] local.INFO: Acknowledgment sent {"connection_id":65013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:46:11] local.INFO: TCP Data received {"connection_id":65115,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:46:11] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:46:11] local.INFO: IMEI packet received {"connection_id":65115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":65115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:46:30] local.INFO: TCP Data received {"connection_id":65013,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:46:30] local.INFO: Processing buffer {"connection_id":65013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:46:30] local.INFO: Packet analysis {"connection_id":65013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:46:30] local.INFO: Extracted packet for processing {"connection_id":65013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:46:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:46:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":65013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:46:30] local.INFO: GPS data processed {"connection_id":65013,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:46:30] local.INFO: Acknowledgment sent {"connection_id":65013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:46:41] local.INFO: TCP Data received {"connection_id":65064,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:46:41] local.INFO: Processing buffer {"connection_id":65064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:46:41] local.INFO: IMEI packet received {"connection_id":65064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":65064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:46:58] local.INFO: TCP Data received {"connection_id":65116,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:46:58] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:46:58] local.INFO: IMEI packet received {"connection_id":65116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:46:58] local.INFO: IMEI acknowledgment sent {"connection_id":65116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:47:02] local.INFO: TCP Data received {"connection_id":65116,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:02] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:02] local.INFO: IMEI packet received {"connection_id":65116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":65116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:47:05] local.INFO: TCP Data received {"connection_id":65116,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:05] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:05] local.INFO: Packet analysis {"connection_id":65116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:47:05] local.INFO: Extracted packet for processing {"connection_id":65116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:47: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-05-08 13:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:47: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-05-08 13:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:47:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":65116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:47:05] local.INFO: GPS data processed {"connection_id":65116,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:47:05] local.INFO: Acknowledgment sent {"connection_id":65116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:47:08] local.INFO: TCP Data received {"connection_id":65116,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:08] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:08] local.INFO: Packet analysis {"connection_id":65116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:47:08] local.INFO: Extracted packet for processing {"connection_id":65116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:47: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-05-08 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:47: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-05-08 13: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-05-08 13:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:47:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:47:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":65116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:47:08] local.INFO: GPS data processed {"connection_id":65116,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:47:08] local.INFO: Acknowledgment sent {"connection_id":65116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:47:52] local.INFO: TCP Data received {"connection_id":65842,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:52] local.INFO: Processing buffer {"connection_id":65842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:52] local.INFO: IMEI packet received {"connection_id":65842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":65842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:47:57] local.INFO: TCP Data received {"connection_id":65842,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:57] local.INFO: Processing buffer {"connection_id":65842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:47:57] local.INFO: IMEI packet received {"connection_id":65842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":65842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:47:58] local.INFO: TCP Data received {"connection_id":65842,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:58] local.INFO: Processing buffer {"connection_id":65842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:47:58] local.INFO: Packet analysis {"connection_id":65842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:47:58] local.INFO: Extracted packet for processing {"connection_id":65842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:47:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:47:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":65842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:47:58] local.INFO: GPS data processed {"connection_id":65842,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:47:58] local.INFO: Acknowledgment sent {"connection_id":65842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:48:30] local.INFO: TCP Data received {"connection_id":65842,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:48:30] local.INFO: Processing buffer {"connection_id":65842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:48:30] local.INFO: Packet analysis {"connection_id":65842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:48:30] local.INFO: Extracted packet for processing {"connection_id":65842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:48:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:48:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:48:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":65842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:48:30] local.INFO: GPS data processed {"connection_id":65842,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:48:30] local.INFO: Acknowledgment sent {"connection_id":65842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:48:52] local.INFO: TCP Data received {"connection_id":65066,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:48:52] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:48:52] local.INFO: IMEI packet received {"connection_id":65066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":65066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:48:57] local.INFO: TCP Data received {"connection_id":65066,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:48:57] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:48:57] local.INFO: IMEI packet received {"connection_id":65066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":65066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:48:59] local.INFO: TCP Data received {"connection_id":65066,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:48:59] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06a66260012d34c54006aa4968000b007629..."} 
[2026-05-08 13:48:59] local.INFO: Packet analysis {"connection_id":65066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:48:59] local.INFO: Extracted packet for processing {"connection_id":65066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06a6"} 
[2026-05-08 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":11,"angle":118,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226298112001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:48: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-05-08 13:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778228028000,"timestamp_ms":1778228028000,"timestamp_seconds":1778228028,"priority":1,"record_length":96,"hex_timestamp":"0000019e06a66260"} 
[2026-05-08 13:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:48:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 13:48:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:48:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226298112001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226298112001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:48:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226298112001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":65066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:48:59] local.INFO: GPS data processed {"connection_id":65066,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:48:59] local.INFO: Acknowledgment sent {"connection_id":65066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:49:31] local.INFO: TCP Data received {"connection_id":65066,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:49:31] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:49:31] local.INFO: Packet analysis {"connection_id":65066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:49:31] local.INFO: Extracted packet for processing {"connection_id":65066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:49:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:49:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:49:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":65066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:49:31] local.INFO: GPS data processed {"connection_id":65066,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:49:31] local.INFO: Acknowledgment sent {"connection_id":65066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:49:52] local.INFO: TCP Data received {"connection_id":65844,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:49:52] local.INFO: Processing buffer {"connection_id":65844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:49:52] local.INFO: IMEI packet received {"connection_id":65844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":65844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:49:57] local.INFO: TCP Data received {"connection_id":65844,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:49:57] local.INFO: Processing buffer {"connection_id":65844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:49:57] local.INFO: IMEI packet received {"connection_id":65844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":65844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:49:58] local.INFO: TCP Data received {"connection_id":65844,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:49:58] local.INFO: Processing buffer {"connection_id":65844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:49:58] local.INFO: Packet analysis {"connection_id":65844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:49:58] local.INFO: Extracted packet for processing {"connection_id":65844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:49: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-05-08 13:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:49:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":65844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:49:59] local.INFO: GPS data processed {"connection_id":65844,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:49:59] local.INFO: Acknowledgment sent {"connection_id":65844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:50:30] local.INFO: TCP Data received {"connection_id":65844,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:50:30] local.INFO: Processing buffer {"connection_id":65844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:50:30] local.INFO: Packet analysis {"connection_id":65844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:50:30] local.INFO: Extracted packet for processing {"connection_id":65844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:50: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-05-08 13:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":65844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:50:30] local.INFO: GPS data processed {"connection_id":65844,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:50:30] local.INFO: Acknowledgment sent {"connection_id":65844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:50:57] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:50:57] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:50:57] local.INFO: IMEI packet received {"connection_id":65068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":65068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:51:02] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:02] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:02] local.INFO: IMEI packet received {"connection_id":65068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":65068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:51:03] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:51:03] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:51:03] local.INFO: Packet analysis {"connection_id":65068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:51:03] local.INFO: Extracted packet for processing {"connection_id":65068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:51: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-05-08 13: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-05-08 13:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:51:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":65068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:51:03] local.INFO: GPS data processed {"connection_id":65068,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:51:03] local.INFO: Acknowledgment sent {"connection_id":65068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:51:08] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:51:08] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:51:08] local.INFO: Packet analysis {"connection_id":65068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:51:08] local.INFO: Extracted packet for processing {"connection_id":65068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:51: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-05-08 13:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:51: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-05-08 13:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:51:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:51:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":65068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:51:08] local.INFO: GPS data processed {"connection_id":65068,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:51:08] local.INFO: Acknowledgment sent {"connection_id":65068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:51:52] local.INFO: TCP Data received {"connection_id":65014,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:52] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:52] local.INFO: IMEI packet received {"connection_id":65014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":65014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:51:58] local.INFO: TCP Data received {"connection_id":65014,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:58] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:51:58] local.INFO: IMEI packet received {"connection_id":65014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":65014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:52:00] local.INFO: TCP Data received {"connection_id":65014,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:00] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:00] local.INFO: Packet analysis {"connection_id":65014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:52:00] local.INFO: Extracted packet for processing {"connection_id":65014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:52:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52: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-05-08 13:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:52:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:52:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":65014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:52:00] local.INFO: GPS data processed {"connection_id":65014,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:52:00] local.INFO: Acknowledgment sent {"connection_id":65014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:52:06] local.INFO: TCP Data received {"connection_id":65118,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:52:06] local.INFO: Processing buffer {"connection_id":65118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:52:06] local.INFO: IMEI packet received {"connection_id":65118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":65118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:52:32] local.INFO: TCP Data received {"connection_id":65014,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:32] local.INFO: Processing buffer {"connection_id":65014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:32] local.INFO: Packet analysis {"connection_id":65014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:52:32] local.INFO: Extracted packet for processing {"connection_id":65014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:52:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:52: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-05-08 13: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-05-08 13:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:52:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":65014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:52:32] local.INFO: GPS data processed {"connection_id":65014,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:52:32] local.INFO: Acknowledgment sent {"connection_id":65014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:52:46] local.INFO: TCP Data received {"connection_id":65119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:52:46] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:52:46] local.INFO: IMEI packet received {"connection_id":65119,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":65119,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:52:52] local.INFO: TCP Data received {"connection_id":65120,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:52:52] local.INFO: Processing buffer {"connection_id":65120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:52:52] local.INFO: IMEI packet received {"connection_id":65120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":65120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:52:57] local.INFO: TCP Data received {"connection_id":65120,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:52:57] local.INFO: Processing buffer {"connection_id":65120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:52:57] local.INFO: IMEI packet received {"connection_id":65120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":65120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:52:59] local.INFO: TCP Data received {"connection_id":65120,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:59] local.INFO: Processing buffer {"connection_id":65120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:52:59] local.INFO: Packet analysis {"connection_id":65120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:52:59] local.INFO: Extracted packet for processing {"connection_id":65120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:52: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-05-08 13:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:52:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":65120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:52:59] local.INFO: GPS data processed {"connection_id":65120,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:52:59] local.INFO: Acknowledgment sent {"connection_id":65120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:53:23] local.INFO: TCP Data received {"connection_id":65069,"ip":"216.226.76.30","data_length":204,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-05-08 13:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65069,"packet_length":204,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-05-08 13:53:23] local.INFO: Processing buffer {"connection_id":65069,"buffer_length":204,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-05-08 13:53:23] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":65069,"buffer_length":204,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-05-08 13:53:31] local.INFO: TCP Data received {"connection_id":65120,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:53:31] local.INFO: Processing buffer {"connection_id":65120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:53:31] local.INFO: Packet analysis {"connection_id":65120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:53:31] local.INFO: Extracted packet for processing {"connection_id":65120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 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-05-08 13:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:53:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 13:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:53:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:53:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":65120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:53:31] local.INFO: GPS data processed {"connection_id":65120,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:53:31] local.INFO: Acknowledgment sent {"connection_id":65120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:53:52] local.INFO: TCP Data received {"connection_id":65121,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:53:52] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:53:52] local.INFO: IMEI packet received {"connection_id":65121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":65121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:53:57] local.INFO: TCP Data received {"connection_id":65121,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:53:57] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:53:57] local.INFO: IMEI packet received {"connection_id":65121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":65121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:53:59] local.INFO: TCP Data received {"connection_id":65121,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:53:59] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06aafa28012d34c54006aa4968000d00762b..."} 
[2026-05-08 13:53:59] local.INFO: Packet analysis {"connection_id":65121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:53:59] local.INFO: Extracted packet for processing {"connection_id":65121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06aa"} 
[2026-05-08 13:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":13,"angle":118,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226375168001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:53: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-05-08 13:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778228329000,"timestamp_ms":1778228329000,"timestamp_seconds":1778228329,"priority":1,"record_length":96,"hex_timestamp":"0000019e06aafa28"} 
[2026-05-08 13:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 13:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226375168001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226375168001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:53:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226375168001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":65121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:53:59] local.INFO: GPS data processed {"connection_id":65121,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:53:59] local.INFO: Acknowledgment sent {"connection_id":65121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:54:30] local.INFO: TCP Data received {"connection_id":65121,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:54:30] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:54:30] local.INFO: Packet analysis {"connection_id":65121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:54:30] local.INFO: Extracted packet for processing {"connection_id":65121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 13:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:54:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:54:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":65121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:54:30] local.INFO: GPS data processed {"connection_id":65121,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:54:30] local.INFO: Acknowledgment sent {"connection_id":65121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:54:57] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:54:57] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:54:57] local.INFO: IMEI packet received {"connection_id":65016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":65016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:55:02] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:02] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:02] local.INFO: IMEI packet received {"connection_id":65016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":65016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:55:04] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:55:04] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:55:04] local.INFO: Packet analysis {"connection_id":65016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:55:04] local.INFO: Extracted packet for processing {"connection_id":65016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:55:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 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-05-08 13:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 13:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 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-05-08 13:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:55: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-05-08 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-05-08 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-05-08 13:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:55:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:55:04] local.INFO: DEBUG: GPS processor result {"connection_id":65016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:55:04] local.INFO: GPS data processed {"connection_id":65016,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:55:04] local.INFO: Acknowledgment sent {"connection_id":65016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:55:08] local.INFO: TCP Data received {"connection_id":65016,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:55:08] local.INFO: Processing buffer {"connection_id":65016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:55:08] local.INFO: Packet analysis {"connection_id":65016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:55:08] local.INFO: Extracted packet for processing {"connection_id":65016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 13:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:55: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-05-08 13: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-05-08 13: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-05-08 13: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-05-08 13:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:55:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:55:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":65016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:55:08] local.INFO: GPS data processed {"connection_id":65016,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:55:08] local.INFO: Acknowledgment sent {"connection_id":65016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:55:52] local.INFO: TCP Data received {"connection_id":65845,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:52] local.INFO: Processing buffer {"connection_id":65845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:52] local.INFO: IMEI packet received {"connection_id":65845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":65845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:55:57] local.INFO: TCP Data received {"connection_id":65845,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:57] local.INFO: Processing buffer {"connection_id":65845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:55:57] local.INFO: IMEI packet received {"connection_id":65845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":65845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:56:00] local.INFO: TCP Data received {"connection_id":65845,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:00] local.INFO: Processing buffer {"connection_id":65845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:00] local.INFO: Packet analysis {"connection_id":65845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:56:00] local.INFO: Extracted packet for processing {"connection_id":65845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:56:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56: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-05-08 13:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 13:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:56: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-05-08 13:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:56:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":65845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:56:00] local.INFO: GPS data processed {"connection_id":65845,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:56:00] local.INFO: Acknowledgment sent {"connection_id":65845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:56:31] local.INFO: TCP Data received {"connection_id":65845,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:31] local.INFO: Processing buffer {"connection_id":65845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:31] local.INFO: Packet analysis {"connection_id":65845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:56:31] local.INFO: Extracted packet for processing {"connection_id":65845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 13:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:56:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":65845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:56:31] local.INFO: GPS data processed {"connection_id":65845,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:56:31] local.INFO: Acknowledgment sent {"connection_id":65845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:56:52] local.INFO: TCP Data received {"connection_id":65123,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:56:52] local.INFO: Processing buffer {"connection_id":65123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:56:52] local.INFO: IMEI packet received {"connection_id":65123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":65123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:56:57] local.INFO: TCP Data received {"connection_id":65123,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:56:57] local.INFO: Processing buffer {"connection_id":65123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:56:57] local.INFO: IMEI packet received {"connection_id":65123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":65123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:56:59] local.INFO: TCP Data received {"connection_id":65123,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:59] local.INFO: Processing buffer {"connection_id":65123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:56:59] local.INFO: Packet analysis {"connection_id":65123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:56:59] local.INFO: Extracted packet for processing {"connection_id":65123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:56: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-05-08 13:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 13:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:56: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-05-08 13:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":65123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:56:59] local.INFO: GPS data processed {"connection_id":65123,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:56:59] local.INFO: Acknowledgment sent {"connection_id":65123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:57:31] local.INFO: TCP Data received {"connection_id":65123,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:57:31] local.INFO: Processing buffer {"connection_id":65123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:57:31] local.INFO: Packet analysis {"connection_id":65123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:57:31] local.INFO: Extracted packet for processing {"connection_id":65123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 13:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:57:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:57:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:57:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:57:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":65123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:57:31] local.INFO: GPS data processed {"connection_id":65123,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:57:31] local.INFO: Acknowledgment sent {"connection_id":65123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:57:52] local.INFO: TCP Data received {"connection_id":65070,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:57:52] local.INFO: Processing buffer {"connection_id":65070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:57:52] local.INFO: IMEI packet received {"connection_id":65070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":65070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:57:57] local.INFO: TCP Data received {"connection_id":65070,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:57:57] local.INFO: Processing buffer {"connection_id":65070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:57:57] local.INFO: IMEI packet received {"connection_id":65070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":65070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:57:59] local.INFO: TCP Data received {"connection_id":65070,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:57:59] local.INFO: Processing buffer {"connection_id":65070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:57:59] local.INFO: Packet analysis {"connection_id":65070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:57:59] local.INFO: Extracted packet for processing {"connection_id":65070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:57: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-05-08 13:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 13:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:57: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-05-08 13: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-05-08 13:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":65070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:57:59] local.INFO: GPS data processed {"connection_id":65070,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:57:59] local.INFO: Acknowledgment sent {"connection_id":65070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:58:16] local.INFO: TCP Data received {"connection_id":65846,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:58:16] local.INFO: Processing buffer {"connection_id":65846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:58:16] local.INFO: IMEI packet received {"connection_id":65846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":65846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:58:31] local.INFO: TCP Data received {"connection_id":65070,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:58:31] local.INFO: Processing buffer {"connection_id":65070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06af91f0012d34c54006aa49680011007627..."} 
[2026-05-08 13:58:31] local.INFO: Packet analysis {"connection_id":65070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:58:31] local.INFO: Extracted packet for processing {"connection_id":65070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06af"} 
[2026-05-08 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823208,"longitude_deg":75.8433088,"latitude_deg":11.1823208,"altitude":17,"angle":118,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4968","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226452224001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778228630000,"timestamp_ms":1778228630000,"timestamp_seconds":1778228630,"priority":1,"record_length":96,"hex_timestamp":"0000019e06af91f0"} 
[2026-05-08 13:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 13: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-05-08 13:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226452224001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226452224001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226452224001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":65070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:58:31] local.INFO: GPS data processed {"connection_id":65070,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:58:31] local.INFO: Acknowledgment sent {"connection_id":65070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:58:41] local.INFO: TCP Data received {"connection_id":65071,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:58:41] local.INFO: Processing buffer {"connection_id":65071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 13:58:41] local.INFO: IMEI packet received {"connection_id":65071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 13:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":65071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:58:52] local.INFO: TCP Data received {"connection_id":65019,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:58:52] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:58:52] local.INFO: IMEI packet received {"connection_id":65019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":65019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:58:58] local.INFO: TCP Data received {"connection_id":65019,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:58:58] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:58:58] local.INFO: IMEI packet received {"connection_id":65019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:58:58] local.INFO: IMEI acknowledgment sent {"connection_id":65019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:58:59] local.INFO: TCP Data received {"connection_id":65019,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:58:59] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:58:59] local.INFO: Packet analysis {"connection_id":65019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 13:58:59] local.INFO: Extracted packet for processing {"connection_id":65019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 13:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:58: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-05-08 13:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 13:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:58: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-05-08 13:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:58:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":65019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:58:59] local.INFO: GPS data processed {"connection_id":65019,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:58:59] local.INFO: Acknowledgment sent {"connection_id":65019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:59:32] local.INFO: TCP Data received {"connection_id":65019,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:59:32] local.INFO: Processing buffer {"connection_id":65019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:59:32] local.INFO: Packet analysis {"connection_id":65019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 13:59:32] local.INFO: Extracted packet for processing {"connection_id":65019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 13:59:32] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 13:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 13:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 13:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 13:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:59: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-05-08 13:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 13:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:59:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":65019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:59:32] local.INFO: GPS data processed {"connection_id":65019,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:59:32] local.INFO: Acknowledgment sent {"connection_id":65019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 13:59:52] local.INFO: TCP Data received {"connection_id":65021,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:59:52] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:59:52] local.INFO: IMEI packet received {"connection_id":65021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 13:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":65021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 13:59:57] local.INFO: TCP Data received {"connection_id":65021,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:59:57] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 13:59:57] local.INFO: IMEI packet received {"connection_id":65021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 13:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":65021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 13:59:59] local.INFO: TCP Data received {"connection_id":65021,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:59:59] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 13:59:59] local.INFO: Packet analysis {"connection_id":65021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 13:59:59] local.INFO: Extracted packet for processing {"connection_id":65021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 13:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 13: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-05-08 13:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 13:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 13:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 13: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-05-08 13:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 13:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 13:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 13: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":233,"data_length":795,"current_offset":136} 
[2026-05-08 13:59: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-05-08 13: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-05-08 13:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 13:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 13:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 13:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 13:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 13:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 13:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 13:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 13:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 13:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 13:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 13:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 13:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 13:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 13:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 13:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 13:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":65021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 13:59:59] local.INFO: GPS data processed {"connection_id":65021,"processed":1,"errors":0,"total":1} 
[2026-05-08 13:59:59] local.INFO: Acknowledgment sent {"connection_id":65021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:00:31] local.INFO: TCP Data received {"connection_id":65021,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:00:31] local.INFO: Processing buffer {"connection_id":65021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:00:31] local.INFO: Packet analysis {"connection_id":65021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:00:31] local.INFO: Extracted packet for processing {"connection_id":65021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 14:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 14:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 14:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 14:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 14:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":65021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:00:31] local.INFO: GPS data processed {"connection_id":65021,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:00:31] local.INFO: Acknowledgment sent {"connection_id":65021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:00:52] local.INFO: TCP Data received {"connection_id":65124,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:00:52] local.INFO: Processing buffer {"connection_id":65124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:00:52] local.INFO: IMEI packet received {"connection_id":65124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":65124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:00:57] local.INFO: TCP Data received {"connection_id":65124,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:00:57] local.INFO: Processing buffer {"connection_id":65124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:00:57] local.INFO: IMEI packet received {"connection_id":65124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":65124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:00:58] local.INFO: TCP Data received {"connection_id":65124,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:00:58] local.INFO: Processing buffer {"connection_id":65124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:00:58] local.INFO: Packet analysis {"connection_id":65124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:00:58] local.INFO: Extracted packet for processing {"connection_id":65124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 14:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 14:00: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-05-08 14:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 14:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 14:00: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-05-08 14:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:00:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 14:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 14:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":65124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:00:58] local.INFO: GPS data processed {"connection_id":65124,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:00:58] local.INFO: Acknowledgment sent {"connection_id":65124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:01:30] local.INFO: TCP Data received {"connection_id":65124,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:01:30] local.INFO: Processing buffer {"connection_id":65124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:01:30] local.INFO: Packet analysis {"connection_id":65124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:01:30] local.INFO: Extracted packet for processing {"connection_id":65124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 14:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 14:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 14:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 14:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:01:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 14:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 14:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":65124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:01:30] local.INFO: GPS data processed {"connection_id":65124,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:01:30] local.INFO: Acknowledgment sent {"connection_id":65124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:01:52] local.INFO: TCP Data received {"connection_id":65849,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:01:52] local.INFO: Processing buffer {"connection_id":65849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:01:52] local.INFO: IMEI packet received {"connection_id":65849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":65849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:01:57] local.INFO: TCP Data received {"connection_id":65849,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:01:57] local.INFO: Processing buffer {"connection_id":65849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:01:57] local.INFO: IMEI packet received {"connection_id":65849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":65849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:01:59] local.INFO: TCP Data received {"connection_id":65849,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:01:59] local.INFO: Processing buffer {"connection_id":65849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:01:59] local.INFO: Packet analysis {"connection_id":65849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:01:59] local.INFO: Extracted packet for processing {"connection_id":65849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 14:01: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-05-08 14:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 14:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14: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-05-08 14: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-05-08 14:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:01:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 14:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 14:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":65849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:01:59] local.INFO: GPS data processed {"connection_id":65849,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:01:59] local.INFO: Acknowledgment sent {"connection_id":65849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:02:30] local.INFO: TCP Data received {"connection_id":65849,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:02:30] local.INFO: Processing buffer {"connection_id":65849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:02:30] local.INFO: Packet analysis {"connection_id":65849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:02:30] local.INFO: Extracted packet for processing {"connection_id":65849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 14:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 14:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 14:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 14:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:02:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 14:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 14:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":65849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:02:30] local.INFO: GPS data processed {"connection_id":65849,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:02:30] local.INFO: Acknowledgment sent {"connection_id":65849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:02:52] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:02:52] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:02:52] local.INFO: IMEI packet received {"connection_id":65125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":65125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:02:57] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:02:57] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:02:57] local.INFO: IMEI packet received {"connection_id":65125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":65125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:02:58] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:02:58] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:02:58] local.INFO: Packet analysis {"connection_id":65125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:02:58] local.INFO: Extracted packet for processing {"connection_id":65125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 14:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 14:02: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-05-08 14:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 14:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 14:02: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-05-08 14:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:02:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:02:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 14:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 14:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":65125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:02:58] local.INFO: GPS data processed {"connection_id":65125,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:02:58] local.INFO: Acknowledgment sent {"connection_id":65125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:03:30] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:03:30] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b41e00012d34c6c006aa4a78000a000021..."} 
[2026-05-08 14:03:30] local.INFO: Packet analysis {"connection_id":65125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:03:30] local.INFO: Extracted packet for processing {"connection_id":65125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b4"} 
[2026-05-08 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111823480,"longitude_deg":75.8433472,"latitude_deg":11.182348,"altitude":10,"angle":0,"satellites":33,"speed":0,"hex_longitude":"2d34c6c0","hex_latitude":"06aa4a78","is_valid_coordinates":true} 
[2026-05-08 14:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226529280001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755170816,"note":"Value kept but may cause issues"} 
[2026-05-08 14:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778228928000,"timestamp_ms":1778228928000,"timestamp_seconds":1778228928,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b41e00"} 
[2026-05-08 14:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 14:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226529280001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755170816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226529280001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:03:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:03:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755170816,"description":"Unknown IO ID 45"} 
[2026-05-08 14:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226529280001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755170816}} 
[2026-05-08 14:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":65125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:03:30] local.INFO: GPS data processed {"connection_id":65125,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:03:30] local.INFO: Acknowledgment sent {"connection_id":65125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:03:57] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:03:57] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:03:57] local.INFO: IMEI packet received {"connection_id":65022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":65022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:04:02] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:02] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:02] local.INFO: IMEI packet received {"connection_id":65022,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":65022,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:04:03] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:03] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:03] local.INFO: Packet analysis {"connection_id":65022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:04:03] local.INFO: Extracted packet for processing {"connection_id":65022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 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-05-08 14:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14: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-05-08 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-05-08 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-05-08 14:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":65022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:04:03] local.INFO: GPS data processed {"connection_id":65022,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:04:03] local.INFO: Acknowledgment sent {"connection_id":65022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:04:08] local.INFO: TCP Data received {"connection_id":65022,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:08] local.INFO: Processing buffer {"connection_id":65022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:08] local.INFO: Packet analysis {"connection_id":65022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:04:08] local.INFO: Extracted packet for processing {"connection_id":65022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 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-05-08 14:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:04: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-05-08 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-05-08 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-05-08 14:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65022,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:04:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":65022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:04:08] local.INFO: GPS data processed {"connection_id":65022,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:04:08] local.INFO: Acknowledgment sent {"connection_id":65022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:04:11] local.INFO: TCP Data received {"connection_id":65126,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:04:11] local.INFO: Processing buffer {"connection_id":65126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:04:11] local.INFO: IMEI packet received {"connection_id":65126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":65126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:04:46] local.INFO: TCP Data received {"connection_id":65851,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:04:46] local.INFO: Processing buffer {"connection_id":65851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:04:46] local.INFO: IMEI packet received {"connection_id":65851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":65851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:04:53] local.INFO: TCP Data received {"connection_id":65072,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:53] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:53] local.INFO: IMEI packet received {"connection_id":65072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":65072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:04:57] local.INFO: TCP Data received {"connection_id":65072,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:57] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:04:57] local.INFO: IMEI packet received {"connection_id":65072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":65072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:04:59] local.INFO: TCP Data received {"connection_id":65072,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:59] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:04:59] local.INFO: Packet analysis {"connection_id":65072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:04:59] local.INFO: Extracted packet for processing {"connection_id":65072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:04:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 14:04: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-05-08 14:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 14:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:04: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-05-08 14:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:04:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":65072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:04:59] local.INFO: GPS data processed {"connection_id":65072,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:04:59] local.INFO: Acknowledgment sent {"connection_id":65072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:05:30] local.INFO: TCP Data received {"connection_id":65072,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:05:30] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:05:30] local.INFO: Packet analysis {"connection_id":65072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:05:30] local.INFO: Extracted packet for processing {"connection_id":65072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 14:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 14:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:05:30] 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-05-08 14:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:05:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":65072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:05:30] local.INFO: GPS data processed {"connection_id":65072,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:05:30] local.INFO: Acknowledgment sent {"connection_id":65072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:05:52] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:05:52] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:05:52] local.INFO: IMEI packet received {"connection_id":65073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":65073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:05:57] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:05:57] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:05:57] local.INFO: IMEI packet received {"connection_id":65073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:06:04] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:04] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:04] local.INFO: Packet analysis {"connection_id":65073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:06:04] local.INFO: Extracted packet for processing {"connection_id":65073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:06:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:06:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:06:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:06:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 14:06: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-05-08 14:06:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 14:06:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:06:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:06:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:06: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-05-08 14:06:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:06:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:06:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:06:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:06:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:06:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:06:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:06:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:06:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:06:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:06:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:06:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:06:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:06:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:06:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:06:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:06:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:06:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:06:04] local.INFO: DEBUG: GPS processor result {"connection_id":65073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:06:04] local.INFO: GPS data processed {"connection_id":65073,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:06:04] local.INFO: Acknowledgment sent {"connection_id":65073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:06:35] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:35] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:35] local.INFO: Packet analysis {"connection_id":65073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:06:35] local.INFO: Extracted packet for processing {"connection_id":65073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:06:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:06:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:06:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:06:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 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-05-08 14:06:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:06: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-05-08 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-05-08 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-05-08 14:06:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:06:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:06:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:06:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:06:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:06:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:06:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:06:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:06:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:06:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:06:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:06:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:06:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:06:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:06:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:06:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:06:35] local.INFO: DEBUG: GPS processor result {"connection_id":65073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:06:35] local.INFO: GPS data processed {"connection_id":65073,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:06:35] local.INFO: Acknowledgment sent {"connection_id":65073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:06:52] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:06:52] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:06:52] local.INFO: IMEI packet received {"connection_id":65127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":65127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:06:57] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:06:57] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:06:57] local.INFO: IMEI packet received {"connection_id":65127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":65127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:06:59] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:59] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:06:59] local.INFO: Packet analysis {"connection_id":65127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:06:59] local.INFO: Extracted packet for processing {"connection_id":65127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 14:06: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-05-08 14:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 14:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:06: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-05-08 14:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:06:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":65127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:06:59] local.INFO: GPS data processed {"connection_id":65127,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:06:59] local.INFO: Acknowledgment sent {"connection_id":65127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:07:30] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:07:30] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:07:30] local.INFO: Packet analysis {"connection_id":65127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:07:30] local.INFO: Extracted packet for processing {"connection_id":65127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 14:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 14:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:07:30] 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-05-08 14:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:07:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:07:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":65127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:07:30] local.INFO: GPS data processed {"connection_id":65127,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:07:30] local.INFO: Acknowledgment sent {"connection_id":65127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:07:52] local.INFO: TCP Data received {"connection_id":65076,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:07:52] local.INFO: Processing buffer {"connection_id":65076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:07:52] local.INFO: IMEI packet received {"connection_id":65076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":65076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:07:57] local.INFO: TCP Data received {"connection_id":65076,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:07:57] local.INFO: Processing buffer {"connection_id":65076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:07:57] local.INFO: IMEI packet received {"connection_id":65076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":65076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:07:59] local.INFO: TCP Data received {"connection_id":65076,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:07:59] local.INFO: Processing buffer {"connection_id":65076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:07:59] local.INFO: Packet analysis {"connection_id":65076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:07:59] local.INFO: Extracted packet for processing {"connection_id":65076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 14:07: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-05-08 14:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 14:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:07: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-05-08 14:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:07:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":65076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:07:59] local.INFO: GPS data processed {"connection_id":65076,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:07:59] local.INFO: Acknowledgment sent {"connection_id":65076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:08:30] local.INFO: TCP Data received {"connection_id":65076,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:08:30] local.INFO: Processing buffer {"connection_id":65076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06b886e8012d34c54006aa4a98000e00002b..."} 
[2026-05-08 14:08:30] local.INFO: Packet analysis {"connection_id":65076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:08:30] local.INFO: Extracted packet for processing {"connection_id":65076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06b8"} 
[2026-05-08 14:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226605568001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070220306432,"note":"Value kept but may cause issues"} 
[2026-05-08 14:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778229217000,"timestamp_ms":1778229217000,"timestamp_seconds":1778229217,"priority":1,"record_length":96,"hex_timestamp":"0000019e06b886e8"} 
[2026-05-08 14:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 14:08:30] 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-05-08 14: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-05-08 14:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226605568001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802938070220306432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226605568001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:08:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070220306432,"description":"Unknown IO ID 45"} 
[2026-05-08 14:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226605568001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802938070220306432}} 
[2026-05-08 14:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":65076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:08:30] local.INFO: GPS data processed {"connection_id":65076,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:08:30] local.INFO: Acknowledgment sent {"connection_id":65076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:08:57] local.INFO: TCP Data received {"connection_id":65129,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:08:57] local.INFO: Processing buffer {"connection_id":65129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:08:57] local.INFO: IMEI packet received {"connection_id":65129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":65129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:09:00] local.INFO: TCP Data received {"connection_id":65130,"ip":"216.226.76.30","data_length":241,"data_hex":"16030100ec010000e80303c0d09c3238625ccace215afca6ce1f9cf6345b4a0d..."} 
[2026-05-08 14:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65130,"packet_length":241,"packet_hex":"16030100ec010000e80303c0d09c3238625ccace215afca6ce1f9cf6345b4a0d..."} 
[2026-05-08 14:09:00] local.INFO: Processing buffer {"connection_id":65130,"buffer_length":241,"buffer_hex":"16030100ec010000e80303c0d09c3238625ccace215afca6ce1f9cf6345b4a0d..."} 
[2026-05-08 14:09:00] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":65130,"buffer_length":241,"first_bytes_hex":"16030100ec010000e80303c0d09c3238"} 
[2026-05-08 14:09:02] local.INFO: TCP Data received {"connection_id":65129,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:02] local.INFO: Processing buffer {"connection_id":65129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:02] local.INFO: IMEI packet received {"connection_id":65129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":65129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:09:03] local.INFO: TCP Data received {"connection_id":65129,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:03] local.INFO: Processing buffer {"connection_id":65129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:03] local.INFO: Packet analysis {"connection_id":65129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:09:03] local.INFO: Extracted packet for processing {"connection_id":65129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 14:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:09: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-05-08 14:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:09:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:09:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":65129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:09:03] local.INFO: GPS data processed {"connection_id":65129,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:09:03] local.INFO: Acknowledgment sent {"connection_id":65129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:09:07] local.INFO: TCP Data received {"connection_id":65129,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:07] local.INFO: Processing buffer {"connection_id":65129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:07] local.INFO: Packet analysis {"connection_id":65129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:09:07] local.INFO: Extracted packet for processing {"connection_id":65129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 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-05-08 14:09:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:09: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-05-08 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-05-08 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-05-08 14:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:09:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:09:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":65129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:09:08] local.INFO: GPS data processed {"connection_id":65129,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:09:08] local.INFO: Acknowledgment sent {"connection_id":65129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:09:52] local.INFO: TCP Data received {"connection_id":65131,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:52] local.INFO: Processing buffer {"connection_id":65131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:52] local.INFO: IMEI packet received {"connection_id":65131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":65131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:09:57] local.INFO: TCP Data received {"connection_id":65131,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:57] local.INFO: Processing buffer {"connection_id":65131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:09:57] local.INFO: IMEI packet received {"connection_id":65131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":65131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:09:58] local.INFO: TCP Data received {"connection_id":65131,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:58] local.INFO: Processing buffer {"connection_id":65131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:09:58] local.INFO: Packet analysis {"connection_id":65131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:09:58] local.INFO: Extracted packet for processing {"connection_id":65131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:09: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-05-08 14:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 14:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:09:58] 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-05-08 14:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:09:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":65131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:09:58] local.INFO: GPS data processed {"connection_id":65131,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:09:58] local.INFO: Acknowledgment sent {"connection_id":65131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:10:16] local.INFO: TCP Data received {"connection_id":65077,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:10:16] local.INFO: Processing buffer {"connection_id":65077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:10:16] local.INFO: IMEI packet received {"connection_id":65077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":65077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:10:30] local.INFO: TCP Data received {"connection_id":65131,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65131,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:10:30] local.INFO: Processing buffer {"connection_id":65131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:10:30] local.INFO: Packet analysis {"connection_id":65131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:10:30] local.INFO: Extracted packet for processing {"connection_id":65131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:10:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 14:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:10:30] 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-05-08 14:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:10:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":65131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:10:30] local.INFO: GPS data processed {"connection_id":65131,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:10:30] local.INFO: Acknowledgment sent {"connection_id":65131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:10:41] local.INFO: TCP Data received {"connection_id":65078,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65078,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:10:41] local.INFO: Processing buffer {"connection_id":65078,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:10:41] local.INFO: IMEI packet received {"connection_id":65078,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":65078,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:10:52] local.INFO: TCP Data received {"connection_id":65132,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:10:52] local.INFO: Processing buffer {"connection_id":65132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:10:52] local.INFO: IMEI packet received {"connection_id":65132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":65132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:10:57] local.INFO: TCP Data received {"connection_id":65132,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:10:57] local.INFO: Processing buffer {"connection_id":65132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:10:57] local.INFO: IMEI packet received {"connection_id":65132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":65132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:10:59] local.INFO: TCP Data received {"connection_id":65132,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:10:59] local.INFO: Processing buffer {"connection_id":65132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:10:59] local.INFO: Packet analysis {"connection_id":65132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:10:59] local.INFO: Extracted packet for processing {"connection_id":65132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:10: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-05-08 14:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 14:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:10: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-05-08 14:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:10:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":65132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:10:59] local.INFO: GPS data processed {"connection_id":65132,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:10:59] local.INFO: Acknowledgment sent {"connection_id":65132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:11:31] local.INFO: TCP Data received {"connection_id":65132,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:11:31] local.INFO: Processing buffer {"connection_id":65132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:11:31] local.INFO: Packet analysis {"connection_id":65132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:11:31] local.INFO: Extracted packet for processing {"connection_id":65132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 14:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:11: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-05-08 14:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:11:31] 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-05-08 14:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:11:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":65132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:11:31] local.INFO: GPS data processed {"connection_id":65132,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:11:31] local.INFO: Acknowledgment sent {"connection_id":65132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:11:52] local.INFO: TCP Data received {"connection_id":65854,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:11:52] local.INFO: Processing buffer {"connection_id":65854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:11:52] local.INFO: IMEI packet received {"connection_id":65854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":65854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:11:57] local.INFO: TCP Data received {"connection_id":65854,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:11:57] local.INFO: Processing buffer {"connection_id":65854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:11:57] local.INFO: IMEI packet received {"connection_id":65854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:11:58] local.INFO: TCP Data received {"connection_id":65854,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:11:58] local.INFO: Processing buffer {"connection_id":65854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:11:58] local.INFO: Packet analysis {"connection_id":65854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:11:58] local.INFO: Extracted packet for processing {"connection_id":65854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:11: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-05-08 14:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 14:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:11:58] 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-05-08 14: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-05-08 14:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:11:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":65854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:11:58] local.INFO: GPS data processed {"connection_id":65854,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:11:58] local.INFO: Acknowledgment sent {"connection_id":65854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:12:30] local.INFO: TCP Data received {"connection_id":65854,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:12:30] local.INFO: Processing buffer {"connection_id":65854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:12:30] local.INFO: Packet analysis {"connection_id":65854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:12:30] local.INFO: Extracted packet for processing {"connection_id":65854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 14:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:12:30] 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-05-08 14:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:12:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":65854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:12:30] local.INFO: GPS data processed {"connection_id":65854,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:12:30] local.INFO: Acknowledgment sent {"connection_id":65854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:12:57] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:12:57] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:12:57] local.INFO: IMEI packet received {"connection_id":65023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":65023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:13:02] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:02] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:02] local.INFO: IMEI packet received {"connection_id":65023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":65023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:13:03] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:13:03] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:13:03] local.INFO: Packet analysis {"connection_id":65023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:13:03] local.INFO: Extracted packet for processing {"connection_id":65023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 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-05-08 14:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 14: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-05-08 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-05-08 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-05-08 14:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:13:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":65023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:13:03] local.INFO: GPS data processed {"connection_id":65023,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:13:03] local.INFO: Acknowledgment sent {"connection_id":65023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:13:09] local.INFO: TCP Data received {"connection_id":65023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:13:09] local.INFO: Processing buffer {"connection_id":65023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06bcd090012d34c54006aa4a98000e00002c..."} 
[2026-05-08 14:13:09] local.INFO: Packet analysis {"connection_id":65023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:13:09] local.INFO: Extracted packet for processing {"connection_id":65023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06bc"} 
[2026-05-08 14:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226679552001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778229498000,"timestamp_ms":1778229498000,"timestamp_seconds":1778229498,"priority":1,"record_length":96,"hex_timestamp":"0000019e06bcd090"} 
[2026-05-08 14:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":135,"data_length":795,"current_offset":136} 
[2026-05-08 14:13: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-05-08 14: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-05-08 14:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226679552001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226679552001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:13:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:13:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226679552001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":65023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:13:09] local.INFO: GPS data processed {"connection_id":65023,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:13:09] local.INFO: Acknowledgment sent {"connection_id":65023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:13:52] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:52] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:52] local.INFO: IMEI packet received {"connection_id":65133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":65133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:13:53] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:53] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:53] local.INFO: IMEI packet received {"connection_id":65133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":65133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:13:57] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:57] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:13:57] local.INFO: IMEI packet received {"connection_id":65133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":65133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:13:59] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:13:59] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:13:59] local.INFO: Packet analysis {"connection_id":65133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:13:59] local.INFO: Extracted packet for processing {"connection_id":65133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:13: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-05-08 14:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:13:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:13:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":65133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:13:59] local.INFO: GPS data processed {"connection_id":65133,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:13:59] local.INFO: Acknowledgment sent {"connection_id":65133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:14:04] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:04] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:04] local.INFO: Packet analysis {"connection_id":65133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:14:04] local.INFO: Extracted packet for processing {"connection_id":65133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:14:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:14:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:14:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:14:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:14: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-05-08 14:14:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:14:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:14:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:14:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:14:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:14:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:14:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:14:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:14:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:14:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:14:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:14:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:14:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:14:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:14:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:14:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:14:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:14:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:14:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:14:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:14:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:14:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:14:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:14:04] local.INFO: DEBUG: GPS processor result {"connection_id":65133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:14:04] local.INFO: GPS data processed {"connection_id":65133,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:14:04] local.INFO: Acknowledgment sent {"connection_id":65133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:14:35] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:35] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:35] local.INFO: Packet analysis {"connection_id":65133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:14:35] local.INFO: Extracted packet for processing {"connection_id":65133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:14:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:14:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:14:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:14:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":65133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:14:35] local.INFO: GPS data processed {"connection_id":65133,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:14:35] local.INFO: Acknowledgment sent {"connection_id":65133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:14:52] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:14:52] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:14:52] local.INFO: IMEI packet received {"connection_id":65081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":65081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:14:57] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:14:57] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:14:57] local.INFO: IMEI packet received {"connection_id":65081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":65081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:14:59] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:59] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:14:59] local.INFO: Packet analysis {"connection_id":65081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:14:59] local.INFO: Extracted packet for processing {"connection_id":65081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:14: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-05-08 14:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:14:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":65081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:14:59] local.INFO: GPS data processed {"connection_id":65081,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:14:59] local.INFO: Acknowledgment sent {"connection_id":65081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:15:30] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:15:30] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:15:30] local.INFO: Packet analysis {"connection_id":65081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:15:30] local.INFO: Extracted packet for processing {"connection_id":65081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:15:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:15:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":65081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:15:30] local.INFO: GPS data processed {"connection_id":65081,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:15:30] local.INFO: Acknowledgment sent {"connection_id":65081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:15:52] local.INFO: TCP Data received {"connection_id":65024,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:15:52] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:15:52] local.INFO: IMEI packet received {"connection_id":65024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":65024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:15:57] local.INFO: TCP Data received {"connection_id":65024,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:15:57] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:15:57] local.INFO: IMEI packet received {"connection_id":65024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":65024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:15:58] local.INFO: TCP Data received {"connection_id":65024,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:15:58] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:15:58] local.INFO: Packet analysis {"connection_id":65024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:15:58] local.INFO: Extracted packet for processing {"connection_id":65024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:15: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-05-08 14:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:15:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":65024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:15:58] local.INFO: GPS data processed {"connection_id":65024,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:15:58] local.INFO: Acknowledgment sent {"connection_id":65024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:16:01] local.INFO: TCP Data received {"connection_id":65134,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:16:01] local.INFO: Processing buffer {"connection_id":65134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:16:01] local.INFO: IMEI packet received {"connection_id":65134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":65134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:16:32] local.INFO: TCP Data received {"connection_id":65024,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:16:32] local.INFO: Processing buffer {"connection_id":65024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:16:32] local.INFO: Packet analysis {"connection_id":65024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:16:32] local.INFO: Extracted packet for processing {"connection_id":65024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:16:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:16:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:16:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:16:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:16:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:16:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:16:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:16:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:16:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:16:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:16:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:16:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:16:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:16:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:16:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:16:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:16:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:16:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:16:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:16:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:16:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:16:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:16:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:16:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:16:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:16:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:16:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:16:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:16:32] local.INFO: DEBUG: GPS processor result {"connection_id":65024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:16:32] local.INFO: GPS data processed {"connection_id":65024,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:16:32] local.INFO: Acknowledgment sent {"connection_id":65024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:16:41] local.INFO: TCP Data received {"connection_id":65856,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65856,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:16:41] local.INFO: Processing buffer {"connection_id":65856,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:16:41] local.INFO: IMEI packet received {"connection_id":65856,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":65856,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:16:52] local.INFO: TCP Data received {"connection_id":65135,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:16:52] local.INFO: Processing buffer {"connection_id":65135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:16:52] local.INFO: IMEI packet received {"connection_id":65135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":65135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:16:57] local.INFO: TCP Data received {"connection_id":65135,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:16:57] local.INFO: Processing buffer {"connection_id":65135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:16:57] local.INFO: IMEI packet received {"connection_id":65135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":65135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:16:58] local.INFO: TCP Data received {"connection_id":65135,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:16:58] local.INFO: Processing buffer {"connection_id":65135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:16:58] local.INFO: Packet analysis {"connection_id":65135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:16:58] local.INFO: Extracted packet for processing {"connection_id":65135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:16: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-05-08 14:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:16:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:16:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":65135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:16:58] local.INFO: GPS data processed {"connection_id":65135,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:16:58] local.INFO: Acknowledgment sent {"connection_id":65135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:17:30] local.INFO: TCP Data received {"connection_id":65135,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:17:30] local.INFO: Processing buffer {"connection_id":65135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:17:30] local.INFO: Packet analysis {"connection_id":65135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:17:30] local.INFO: Extracted packet for processing {"connection_id":65135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:17:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":65135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:17:30] local.INFO: GPS data processed {"connection_id":65135,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:17:30] local.INFO: Acknowledgment sent {"connection_id":65135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:17:57] local.INFO: TCP Data received {"connection_id":65083,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:17:57] local.INFO: Processing buffer {"connection_id":65083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:17:57] local.INFO: IMEI packet received {"connection_id":65083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:18:02] local.INFO: TCP Data received {"connection_id":65083,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:02] local.INFO: Processing buffer {"connection_id":65083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:02] local.INFO: IMEI packet received {"connection_id":65083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":65083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:18:03] local.INFO: TCP Data received {"connection_id":65083,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:18:03] local.INFO: Processing buffer {"connection_id":65083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:18:03] local.INFO: Packet analysis {"connection_id":65083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:18:03] local.INFO: Extracted packet for processing {"connection_id":65083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 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-05-08 14:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:18:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 14:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:18:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:18:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":65083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:18:03] local.INFO: GPS data processed {"connection_id":65083,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:18:03] local.INFO: Acknowledgment sent {"connection_id":65083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:18:08] local.INFO: TCP Data received {"connection_id":65083,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:18:08] local.INFO: Processing buffer {"connection_id":65083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c158b8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:18:08] local.INFO: Packet analysis {"connection_id":65083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:18:08] local.INFO: Extracted packet for processing {"connection_id":65083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c1"} 
[2026-05-08 14:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226751488001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778229795000,"timestamp_ms":1778229795000,"timestamp_seconds":1778229795,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c158b8"} 
[2026-05-08 14:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14: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-05-08 14: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 14:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226751488001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226751488001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:18:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226751488001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":65083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:18:08] local.INFO: GPS data processed {"connection_id":65083,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:18:08] local.INFO: Acknowledgment sent {"connection_id":65083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:18:52] local.INFO: TCP Data received {"connection_id":65085,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:52] local.INFO: Processing buffer {"connection_id":65085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:52] local.INFO: IMEI packet received {"connection_id":65085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":65085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:18:54] local.INFO: TCP Data received {"connection_id":65085,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:54] local.INFO: Processing buffer {"connection_id":65085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:18:54] local.INFO: IMEI packet received {"connection_id":65085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:18:54] local.INFO: IMEI acknowledgment sent {"connection_id":65085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:18:55] local.INFO: TCP Data received {"connection_id":65085,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:18:55] local.INFO: Processing buffer {"connection_id":65085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:18:55] local.INFO: Packet analysis {"connection_id":65085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:18:55] local.INFO: Extracted packet for processing {"connection_id":65085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:18:55] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:18: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-05-08 14:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":65085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":65085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":65085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:18:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":65085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:18:55] local.INFO: GPS data processed {"connection_id":65085,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:18:55] local.INFO: Acknowledgment sent {"connection_id":65085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:19:28] local.INFO: TCP Data received {"connection_id":65085,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:19:28] local.INFO: Processing buffer {"connection_id":65085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:19:28] local.INFO: Packet analysis {"connection_id":65085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:19:28] local.INFO: Extracted packet for processing {"connection_id":65085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:19:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":65085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":65085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":65085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:19:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":65085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:19:28] local.INFO: GPS data processed {"connection_id":65085,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:19:28] local.INFO: Acknowledgment sent {"connection_id":65085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:19:52] local.INFO: TCP Data received {"connection_id":65025,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:19:52] local.INFO: Processing buffer {"connection_id":65025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:19:52] local.INFO: IMEI packet received {"connection_id":65025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":65025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:19:57] local.INFO: TCP Data received {"connection_id":65025,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:19:57] local.INFO: Processing buffer {"connection_id":65025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:19:57] local.INFO: IMEI packet received {"connection_id":65025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":65025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:19:59] local.INFO: TCP Data received {"connection_id":65025,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:19:59] local.INFO: Processing buffer {"connection_id":65025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:19:59] local.INFO: Packet analysis {"connection_id":65025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:19:59] local.INFO: Extracted packet for processing {"connection_id":65025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:19:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:19: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-05-08 14:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:19:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":65025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:19:59] local.INFO: GPS data processed {"connection_id":65025,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:19:59] local.INFO: Acknowledgment sent {"connection_id":65025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:20:31] local.INFO: TCP Data received {"connection_id":65025,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:20:31] local.INFO: Processing buffer {"connection_id":65025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:20:31] local.INFO: Packet analysis {"connection_id":65025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:20:31] local.INFO: Extracted packet for processing {"connection_id":65025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:20:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":65025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:20:31] local.INFO: GPS data processed {"connection_id":65025,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:20:31] local.INFO: Acknowledgment sent {"connection_id":65025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:20:57] local.INFO: TCP Data received {"connection_id":65136,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:20:57] local.INFO: Processing buffer {"connection_id":65136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:20:57] local.INFO: IMEI packet received {"connection_id":65136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":65136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:21:02] local.INFO: TCP Data received {"connection_id":65136,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:02] local.INFO: Processing buffer {"connection_id":65136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:02] local.INFO: IMEI packet received {"connection_id":65136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":65136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:21:04] local.INFO: TCP Data received {"connection_id":65136,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:04] local.INFO: Processing buffer {"connection_id":65136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:04] local.INFO: Packet analysis {"connection_id":65136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:21:04] local.INFO: Extracted packet for processing {"connection_id":65136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:21:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:21:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:21:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:21:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":65136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:21:04] local.INFO: GPS data processed {"connection_id":65136,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:21:04] local.INFO: Acknowledgment sent {"connection_id":65136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:21:08] local.INFO: TCP Data received {"connection_id":65136,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:08] local.INFO: Processing buffer {"connection_id":65136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:08] local.INFO: Packet analysis {"connection_id":65136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:21:08] local.INFO: Extracted packet for processing {"connection_id":65136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:21: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-05-08 14: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:21:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":65136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:21:08] local.INFO: GPS data processed {"connection_id":65136,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:21:08] local.INFO: Acknowledgment sent {"connection_id":65136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:21:52] local.INFO: TCP Data received {"connection_id":65858,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:52] local.INFO: Processing buffer {"connection_id":65858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:52] local.INFO: IMEI packet received {"connection_id":65858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":65858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:21:57] local.INFO: TCP Data received {"connection_id":65858,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:57] local.INFO: Processing buffer {"connection_id":65858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:21:57] local.INFO: IMEI packet received {"connection_id":65858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":65858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:21:59] local.INFO: TCP Data received {"connection_id":65858,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:59] local.INFO: Processing buffer {"connection_id":65858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:21:59] local.INFO: Packet analysis {"connection_id":65858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:21:59] local.INFO: Extracted packet for processing {"connection_id":65858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:21: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-05-08 14:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":65858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:21:59] local.INFO: GPS data processed {"connection_id":65858,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:21:59] local.INFO: Acknowledgment sent {"connection_id":65858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:22:11] local.INFO: TCP Data received {"connection_id":65088,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:22:11] local.INFO: Processing buffer {"connection_id":65088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:22:11] local.INFO: IMEI packet received {"connection_id":65088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":65088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:22:31] local.INFO: TCP Data received {"connection_id":65858,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:22:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:22:31] local.INFO: Processing buffer {"connection_id":65858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:22:31] local.INFO: Packet analysis {"connection_id":65858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:22:31] local.INFO: Extracted packet for processing {"connection_id":65858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:22:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:22:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:22:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:22:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:22:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:22:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:22:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:22:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:22:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:22:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:22:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:22:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:22:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:22:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:22:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:22:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:22:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:22:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:22:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:22:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:22:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:22:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:22:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:22:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:22:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:22:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:22:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:22:31] local.INFO: DEBUG: GPS processor result {"connection_id":65858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:22:31] local.INFO: GPS data processed {"connection_id":65858,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:22:31] local.INFO: Acknowledgment sent {"connection_id":65858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:22:41] local.INFO: TCP Data received {"connection_id":65137,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:22:41] local.INFO: Processing buffer {"connection_id":65137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:22:41] local.INFO: IMEI packet received {"connection_id":65137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":65137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:22:52] local.INFO: TCP Data received {"connection_id":65138,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:22:52] local.INFO: Processing buffer {"connection_id":65138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:22:52] local.INFO: IMEI packet received {"connection_id":65138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":65138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:22:57] local.INFO: TCP Data received {"connection_id":65138,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:22:57] local.INFO: Processing buffer {"connection_id":65138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:22:57] local.INFO: IMEI packet received {"connection_id":65138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":65138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:22:59] local.INFO: TCP Data received {"connection_id":65138,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:22:59] local.INFO: Processing buffer {"connection_id":65138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:22:59] local.INFO: Packet analysis {"connection_id":65138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:22:59] local.INFO: Extracted packet for processing {"connection_id":65138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:22:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:22: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-05-08 14:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:22:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":65138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:22:59] local.INFO: GPS data processed {"connection_id":65138,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:22:59] local.INFO: Acknowledgment sent {"connection_id":65138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:23:30] local.INFO: TCP Data received {"connection_id":65138,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:23:30] local.INFO: Processing buffer {"connection_id":65138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06c5f080012d34c54006aa4a98000800002b..."} 
[2026-05-08 14:23:30] local.INFO: Packet analysis {"connection_id":65138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:23:30] local.INFO: Extracted packet for processing {"connection_id":65138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06c5"} 
[2026-05-08 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226827520001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778230096000,"timestamp_ms":1778230096000,"timestamp_seconds":1778230096,"priority":1,"record_length":96,"hex_timestamp":"0000019e06c5f080"} 
[2026-05-08 14:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226827520001,"66":25071,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226827520001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:23:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226827520001,"power":25071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":65138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:23:30] local.INFO: GPS data processed {"connection_id":65138,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:23:30] local.INFO: Acknowledgment sent {"connection_id":65138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:23:52] local.INFO: TCP Data received {"connection_id":65860,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:52] local.INFO: Processing buffer {"connection_id":65860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:52] local.INFO: IMEI packet received {"connection_id":65860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":65860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:23:55] local.INFO: TCP Data received {"connection_id":65860,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:55] local.INFO: Processing buffer {"connection_id":65860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:55] local.INFO: IMEI packet received {"connection_id":65860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":65860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:23:57] local.INFO: TCP Data received {"connection_id":65860,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65860,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:57] local.INFO: Processing buffer {"connection_id":65860,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:23:57] local.INFO: IMEI packet received {"connection_id":65860,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":65860,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:23:58] local.INFO: TCP Data received {"connection_id":65860,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:23:58] local.INFO: Processing buffer {"connection_id":65860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:23:58] local.INFO: Packet analysis {"connection_id":65860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:23:58] local.INFO: Extracted packet for processing {"connection_id":65860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:23: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-05-08 14:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 14:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:23:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":65860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:23:58] local.INFO: GPS data processed {"connection_id":65860,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:23:58] local.INFO: Acknowledgment sent {"connection_id":65860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:24:03] local.INFO: TCP Data received {"connection_id":65860,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:03] local.INFO: Processing buffer {"connection_id":65860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:03] local.INFO: Packet analysis {"connection_id":65860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:24:03] local.INFO: Extracted packet for processing {"connection_id":65860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 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-05-08 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 14:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":65860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:24:03] local.INFO: GPS data processed {"connection_id":65860,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:24:03] local.INFO: Acknowledgment sent {"connection_id":65860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:24:35] local.INFO: TCP Data received {"connection_id":65860,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:35] local.INFO: Processing buffer {"connection_id":65860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:35] local.INFO: Packet analysis {"connection_id":65860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:24:35] local.INFO: Extracted packet for processing {"connection_id":65860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:24:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 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-05-08 14:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:24:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 14:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65860,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:24:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:24:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":65860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:24:35] local.INFO: GPS data processed {"connection_id":65860,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:24:35] local.INFO: Acknowledgment sent {"connection_id":65860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:24:52] local.INFO: TCP Data received {"connection_id":65139,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:24:52] local.INFO: Processing buffer {"connection_id":65139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:24:52] local.INFO: IMEI packet received {"connection_id":65139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":65139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:24:57] local.INFO: TCP Data received {"connection_id":65139,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:24:57] local.INFO: Processing buffer {"connection_id":65139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:24:57] local.INFO: IMEI packet received {"connection_id":65139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":65139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:24:58] local.INFO: TCP Data received {"connection_id":65139,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:58] local.INFO: Processing buffer {"connection_id":65139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:24:58] local.INFO: Packet analysis {"connection_id":65139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:24:58] local.INFO: Extracted packet for processing {"connection_id":65139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:24: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-05-08 14:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 14:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:24:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":65139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:24:58] local.INFO: GPS data processed {"connection_id":65139,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:24:58] local.INFO: Acknowledgment sent {"connection_id":65139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:25:30] local.INFO: TCP Data received {"connection_id":65139,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:25:30] local.INFO: Processing buffer {"connection_id":65139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:25:30] local.INFO: Packet analysis {"connection_id":65139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:25:30] local.INFO: Extracted packet for processing {"connection_id":65139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 14:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:25:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":65139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:25:30] local.INFO: GPS data processed {"connection_id":65139,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:25:30] local.INFO: Acknowledgment sent {"connection_id":65139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:25:57] local.INFO: TCP Data received {"connection_id":65140,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:25:57] local.INFO: Processing buffer {"connection_id":65140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:25:57] local.INFO: IMEI packet received {"connection_id":65140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":65140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:26:02] local.INFO: TCP Data received {"connection_id":65140,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:02] local.INFO: Processing buffer {"connection_id":65140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:02] local.INFO: IMEI packet received {"connection_id":65140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":65140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:26:03] local.INFO: TCP Data received {"connection_id":65140,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:26:03] local.INFO: Processing buffer {"connection_id":65140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:26:03] local.INFO: Packet analysis {"connection_id":65140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:26:03] local.INFO: Extracted packet for processing {"connection_id":65140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 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-05-08 14:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 14:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:26:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":65140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:26:03] local.INFO: GPS data processed {"connection_id":65140,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:26:03] local.INFO: Acknowledgment sent {"connection_id":65140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:26:08] local.INFO: TCP Data received {"connection_id":65140,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:26:08] local.INFO: Processing buffer {"connection_id":65140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:26:08] local.INFO: Packet analysis {"connection_id":65140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:26:08] local.INFO: Extracted packet for processing {"connection_id":65140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 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-05-08 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-05-08 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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 14:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:26:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:26:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":65140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:26:08] local.INFO: GPS data processed {"connection_id":65140,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:26:08] local.INFO: Acknowledgment sent {"connection_id":65140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:26:52] local.INFO: TCP Data received {"connection_id":65028,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:52] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:52] local.INFO: IMEI packet received {"connection_id":65028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":65028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:26:57] local.INFO: TCP Data received {"connection_id":65028,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:57] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:26:57] local.INFO: IMEI packet received {"connection_id":65028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":65028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:27:00] local.INFO: TCP Data received {"connection_id":65028,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:00] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:00] local.INFO: Packet analysis {"connection_id":65028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:27:00] local.INFO: Extracted packet for processing {"connection_id":65028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:27:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27: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-05-08 14:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 14:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:27:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:27:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":65028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:27:00] local.INFO: GPS data processed {"connection_id":65028,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:27:00] local.INFO: Acknowledgment sent {"connection_id":65028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:27:31] local.INFO: TCP Data received {"connection_id":65028,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:31] local.INFO: Processing buffer {"connection_id":65028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:31] local.INFO: Packet analysis {"connection_id":65028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:27:31] local.INFO: Extracted packet for processing {"connection_id":65028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 14:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:27:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:27:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:27:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":65028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:27:31] local.INFO: GPS data processed {"connection_id":65028,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:27:31] local.INFO: Acknowledgment sent {"connection_id":65028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:27:53] local.INFO: TCP Data received {"connection_id":65029,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:27:53] local.INFO: Processing buffer {"connection_id":65029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:27:53] local.INFO: IMEI packet received {"connection_id":65029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":65029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:27:57] local.INFO: TCP Data received {"connection_id":65029,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:27:57] local.INFO: Processing buffer {"connection_id":65029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:27:57] local.INFO: IMEI packet received {"connection_id":65029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":65029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:27:59] local.INFO: TCP Data received {"connection_id":65029,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:59] local.INFO: Processing buffer {"connection_id":65029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:27:59] local.INFO: Packet analysis {"connection_id":65029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:27:59] local.INFO: Extracted packet for processing {"connection_id":65029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:27: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-05-08 14:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 14:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:27:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":65029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:27:59] local.INFO: GPS data processed {"connection_id":65029,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:27:59] local.INFO: Acknowledgment sent {"connection_id":65029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:28:11] local.INFO: TCP Data received {"connection_id":65090,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:28:11] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:28:11] local.INFO: IMEI packet received {"connection_id":65090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":65090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:28:30] local.INFO: TCP Data received {"connection_id":65029,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:28:30] local.INFO: Processing buffer {"connection_id":65029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ca8848012d34c54006aa4a98000600002e..."} 
[2026-05-08 14:28:30] local.INFO: Packet analysis {"connection_id":65029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:28:30] local.INFO: Extracted packet for processing {"connection_id":65029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ca"} 
[2026-05-08 14:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226904576001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778230397000,"timestamp_ms":1778230397000,"timestamp_seconds":1778230397,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ca8848"} 
[2026-05-08 14:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-05-08 14:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2834,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226904576001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226904576001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226904576001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":65029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:28:30] local.INFO: GPS data processed {"connection_id":65029,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:28:30] local.INFO: Acknowledgment sent {"connection_id":65029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:28:41] local.INFO: TCP Data received {"connection_id":65861,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:28:41] local.INFO: Processing buffer {"connection_id":65861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:28:41] local.INFO: IMEI packet received {"connection_id":65861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:28:41] local.INFO: IMEI acknowledgment sent {"connection_id":65861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:28:52] local.INFO: TCP Data received {"connection_id":65091,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:28:52] local.INFO: Processing buffer {"connection_id":65091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:28:52] local.INFO: IMEI packet received {"connection_id":65091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":65091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:28:56] local.INFO: TCP Data received {"connection_id":65091,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:28:56] local.INFO: Processing buffer {"connection_id":65091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:28:56] local.INFO: IMEI packet received {"connection_id":65091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":65091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:28:57] local.INFO: TCP Data received {"connection_id":65091,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:28:57] local.INFO: Processing buffer {"connection_id":65091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:28:57] local.INFO: Packet analysis {"connection_id":65091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:28:57] local.INFO: Extracted packet for processing {"connection_id":65091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:28:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:28:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:28:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":65091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:28:57] local.INFO: GPS data processed {"connection_id":65091,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:28:57] local.INFO: Acknowledgment sent {"connection_id":65091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:29:28] local.INFO: TCP Data received {"connection_id":65091,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:29:28] local.INFO: Processing buffer {"connection_id":65091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:29:28] local.INFO: Packet analysis {"connection_id":65091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:29:28] local.INFO: Extracted packet for processing {"connection_id":65091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:29:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":65091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":65091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":65091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:29:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":65091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:29:28] local.INFO: GPS data processed {"connection_id":65091,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:29:28] local.INFO: Acknowledgment sent {"connection_id":65091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:29:57] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:29:57] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:29:57] local.INFO: IMEI packet received {"connection_id":65142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":65142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:30:02] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:02] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:02] local.INFO: IMEI packet received {"connection_id":65142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":65142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:30:03] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:03] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:03] local.INFO: Packet analysis {"connection_id":65142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:30:03] local.INFO: Extracted packet for processing {"connection_id":65142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 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-05-08 14:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 14:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:30:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:30:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":65142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:30:03] local.INFO: GPS data processed {"connection_id":65142,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:30:03] local.INFO: Acknowledgment sent {"connection_id":65142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:30:08] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:08] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:08] local.INFO: Packet analysis {"connection_id":65142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:30:08] local.INFO: Extracted packet for processing {"connection_id":65142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:30: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-05-08 14: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:30:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:30:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":65142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:30:08] local.INFO: GPS data processed {"connection_id":65142,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:30:08] local.INFO: Acknowledgment sent {"connection_id":65142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:30:52] local.INFO: TCP Data received {"connection_id":65093,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:52] local.INFO: Processing buffer {"connection_id":65093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:52] local.INFO: IMEI packet received {"connection_id":65093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":65093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:30:57] local.INFO: TCP Data received {"connection_id":65093,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:57] local.INFO: Processing buffer {"connection_id":65093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:30:57] local.INFO: IMEI packet received {"connection_id":65093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":65093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:30:58] local.INFO: TCP Data received {"connection_id":65093,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:58] local.INFO: Processing buffer {"connection_id":65093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:30:58] local.INFO: Packet analysis {"connection_id":65093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:30:58] local.INFO: Extracted packet for processing {"connection_id":65093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:30: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-05-08 14:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:30:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:30:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":65093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:30:58] local.INFO: GPS data processed {"connection_id":65093,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:30:58] local.INFO: Acknowledgment sent {"connection_id":65093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:31:29] local.INFO: TCP Data received {"connection_id":65093,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:31:29] local.INFO: Processing buffer {"connection_id":65093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:31:29] local.INFO: Packet analysis {"connection_id":65093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:31:29] local.INFO: Extracted packet for processing {"connection_id":65093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:31:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:31:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:31:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":65093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:31:29] local.INFO: GPS data processed {"connection_id":65093,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:31:29] local.INFO: Acknowledgment sent {"connection_id":65093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:31:53] local.INFO: TCP Data received {"connection_id":65863,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:31:53] local.INFO: Processing buffer {"connection_id":65863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:31:53] local.INFO: IMEI packet received {"connection_id":65863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:31:53] local.INFO: IMEI acknowledgment sent {"connection_id":65863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:31:57] local.INFO: TCP Data received {"connection_id":65863,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:31:57] local.INFO: Processing buffer {"connection_id":65863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:31:57] local.INFO: IMEI packet received {"connection_id":65863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":65863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:31:59] local.INFO: TCP Data received {"connection_id":65863,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:31:59] local.INFO: Processing buffer {"connection_id":65863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:31:59] local.INFO: Packet analysis {"connection_id":65863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:31:59] local.INFO: Extracted packet for processing {"connection_id":65863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:31:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:31: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-05-08 14:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":65863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:31:59] local.INFO: GPS data processed {"connection_id":65863,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:31:59] local.INFO: Acknowledgment sent {"connection_id":65863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:32:30] local.INFO: TCP Data received {"connection_id":65863,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:32:30] local.INFO: Processing buffer {"connection_id":65863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:32:30] local.INFO: Packet analysis {"connection_id":65863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:32:30] local.INFO: Extracted packet for processing {"connection_id":65863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:32:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:32:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:32:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":65863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:32:30] local.INFO: GPS data processed {"connection_id":65863,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:32:30] local.INFO: Acknowledgment sent {"connection_id":65863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:32:52] local.INFO: TCP Data received {"connection_id":65145,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:32:52] local.INFO: Processing buffer {"connection_id":65145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:32:52] local.INFO: IMEI packet received {"connection_id":65145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":65145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:32:57] local.INFO: TCP Data received {"connection_id":65145,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:32:57] local.INFO: Processing buffer {"connection_id":65145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:32:57] local.INFO: IMEI packet received {"connection_id":65145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":65145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:32:58] local.INFO: TCP Data received {"connection_id":65145,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:32:58] local.INFO: Processing buffer {"connection_id":65145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:32:58] local.INFO: Packet analysis {"connection_id":65145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:32:58] local.INFO: Extracted packet for processing {"connection_id":65145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:32:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:32: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-05-08 14:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:32:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:32:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":65145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:32:58] local.INFO: GPS data processed {"connection_id":65145,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:32:58] local.INFO: Acknowledgment sent {"connection_id":65145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:33:29] local.INFO: TCP Data received {"connection_id":65145,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:33:29] local.INFO: Processing buffer {"connection_id":65145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06cf2010012d34c54006aa4a98000700002e..."} 
[2026-05-08 14:33:29] local.INFO: Packet analysis {"connection_id":65145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:33:29] local.INFO: Extracted packet for processing {"connection_id":65145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06cf"} 
[2026-05-08 14:33:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455226981632001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:33:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778230698000,"timestamp_ms":1778230698000,"timestamp_seconds":1778230698,"priority":1,"record_length":96,"hex_timestamp":"0000019e06cf2010"} 
[2026-05-08 14:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:33:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:33:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:33:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455226981632001,"66":24897,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455226981632001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:33:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:33:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455226981632001,"power":24897,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":65145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:33:29] local.INFO: GPS data processed {"connection_id":65145,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:33:29] local.INFO: Acknowledgment sent {"connection_id":65145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:33:52] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:33:52] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:33:52] local.INFO: IMEI packet received {"connection_id":65031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":65031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:33:57] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:33:57] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:33:57] local.INFO: IMEI packet received {"connection_id":65031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":65031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:33:58] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:33:58] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:33:58] local.INFO: Packet analysis {"connection_id":65031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:33:58] local.INFO: Extracted packet for processing {"connection_id":65031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:33: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-05-08 14:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:33:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":65031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:33:58] local.INFO: GPS data processed {"connection_id":65031,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:33:58] local.INFO: Acknowledgment sent {"connection_id":65031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:34:13] local.INFO: TCP Data received {"connection_id":65864,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:34:13] local.INFO: Processing buffer {"connection_id":65864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:34:13] local.INFO: IMEI packet received {"connection_id":65864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":65864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:34:29] local.INFO: TCP Data received {"connection_id":65031,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:34:29] local.INFO: Processing buffer {"connection_id":65031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:34:29] local.INFO: Packet analysis {"connection_id":65031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:34:29] local.INFO: Extracted packet for processing {"connection_id":65031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:34:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:34:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:34:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":65031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:34:29] local.INFO: GPS data processed {"connection_id":65031,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:34:29] local.INFO: Acknowledgment sent {"connection_id":65031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:34:41] local.INFO: TCP Data received {"connection_id":65146,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:34:41] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:34:41] local.INFO: IMEI packet received {"connection_id":65146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":65146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:34:52] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:34:52] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:34:52] local.INFO: IMEI packet received {"connection_id":65094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":65094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:34:57] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:34:57] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:34:57] local.INFO: IMEI packet received {"connection_id":65094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":65094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:34:58] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:34:58] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:34:58] local.INFO: Packet analysis {"connection_id":65094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:34:58] local.INFO: Extracted packet for processing {"connection_id":65094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:34: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-05-08 14:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:34:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:34:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":65094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:34:58] local.INFO: GPS data processed {"connection_id":65094,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:34:58] local.INFO: Acknowledgment sent {"connection_id":65094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:35:30] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:35:30] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:35:30] local.INFO: Packet analysis {"connection_id":65094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:35:30] local.INFO: Extracted packet for processing {"connection_id":65094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:35:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":65094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:35:30] local.INFO: GPS data processed {"connection_id":65094,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:35:30] local.INFO: Acknowledgment sent {"connection_id":65094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:35:53] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:35:53] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:35:53] local.INFO: IMEI packet received {"connection_id":65034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":65034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:35:57] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:35:57] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:35:57] local.INFO: IMEI packet received {"connection_id":65034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":65034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:35:59] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:35:59] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:35:59] local.INFO: Packet analysis {"connection_id":65034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:35:59] local.INFO: Extracted packet for processing {"connection_id":65034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:35: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-05-08 14:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":65034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:35:59] local.INFO: GPS data processed {"connection_id":65034,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:35:59] local.INFO: Acknowledgment sent {"connection_id":65034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:36:30] local.INFO: TCP Data received {"connection_id":65034,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:36:30] local.INFO: Processing buffer {"connection_id":65034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:36:30] local.INFO: Packet analysis {"connection_id":65034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:36:30] local.INFO: Extracted packet for processing {"connection_id":65034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:36:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":65034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:36:30] local.INFO: GPS data processed {"connection_id":65034,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:36:30] local.INFO: Acknowledgment sent {"connection_id":65034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:36:52] local.INFO: TCP Data received {"connection_id":65095,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:36:52] local.INFO: Processing buffer {"connection_id":65095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:36:52] local.INFO: IMEI packet received {"connection_id":65095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":65095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:36:58] local.INFO: TCP Data received {"connection_id":65095,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:36:58] local.INFO: Processing buffer {"connection_id":65095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:36:58] local.INFO: IMEI packet received {"connection_id":65095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:36:58] local.INFO: IMEI acknowledgment sent {"connection_id":65095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:36:59] local.INFO: TCP Data received {"connection_id":65095,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:36:59] local.INFO: Processing buffer {"connection_id":65095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:36:59] local.INFO: Packet analysis {"connection_id":65095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:36:59] local.INFO: Extracted packet for processing {"connection_id":65095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:36:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:36: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-05-08 14:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:36:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:36:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:36:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":65095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:36:59] local.INFO: GPS data processed {"connection_id":65095,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:36:59] local.INFO: Acknowledgment sent {"connection_id":65095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:37:30] local.INFO: TCP Data received {"connection_id":65095,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:37:30] local.INFO: Processing buffer {"connection_id":65095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:37:30] local.INFO: Packet analysis {"connection_id":65095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:37:30] local.INFO: Extracted packet for processing {"connection_id":65095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:37:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":65095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:37:30] local.INFO: GPS data processed {"connection_id":65095,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:37:30] local.INFO: Acknowledgment sent {"connection_id":65095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:37:52] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:37:52] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:37:52] local.INFO: IMEI packet received {"connection_id":65147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":65147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:37:57] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:37:57] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:37:57] local.INFO: IMEI packet received {"connection_id":65147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":65147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:37:59] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:37:59] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:37:59] local.INFO: Packet analysis {"connection_id":65147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:37:59] local.INFO: Extracted packet for processing {"connection_id":65147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:37:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:37: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-05-08 14:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:37:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":65147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:37:59] local.INFO: GPS data processed {"connection_id":65147,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:37:59] local.INFO: Acknowledgment sent {"connection_id":65147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:38:30] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:38:30] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:38:30] local.INFO: Packet analysis {"connection_id":65147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:38:30] local.INFO: Extracted packet for processing {"connection_id":65147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:38:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":65147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:38:30] local.INFO: GPS data processed {"connection_id":65147,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:38:30] local.INFO: Acknowledgment sent {"connection_id":65147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:38:52] local.INFO: TCP Data received {"connection_id":65149,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:38:52] local.INFO: Processing buffer {"connection_id":65149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:38:52] local.INFO: IMEI packet received {"connection_id":65149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":65149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:38:57] local.INFO: TCP Data received {"connection_id":65149,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:38:57] local.INFO: Processing buffer {"connection_id":65149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:38:57] local.INFO: IMEI packet received {"connection_id":65149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":65149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:38:58] local.INFO: TCP Data received {"connection_id":65149,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:38:58] local.INFO: Processing buffer {"connection_id":65149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d3b7d8012d34c54006aa4a98000700002c..."} 
[2026-05-08 14:38:58] local.INFO: Packet analysis {"connection_id":65149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:38:58] local.INFO: Extracted packet for processing {"connection_id":65149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d3"} 
[2026-05-08 14:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227058688001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:38: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-05-08 14:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778230999000,"timestamp_ms":1778230999000,"timestamp_seconds":1778230999,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d3b7d8"} 
[2026-05-08 14:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-05-08 14:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1268,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227058688001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227058688001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:38:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:38:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227058688001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":65149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:38:58] local.INFO: GPS data processed {"connection_id":65149,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:38:58] local.INFO: Acknowledgment sent {"connection_id":65149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:39:28] local.INFO: TCP Data received {"connection_id":65149,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:39:28] local.INFO: Processing buffer {"connection_id":65149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:39:28] local.INFO: Packet analysis {"connection_id":65149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:39:28] local.INFO: Extracted packet for processing {"connection_id":65149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":65149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":65149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":65149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:39:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":65149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:39:28] local.INFO: GPS data processed {"connection_id":65149,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:39:28] local.INFO: Acknowledgment sent {"connection_id":65149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:39:53] local.INFO: TCP Data received {"connection_id":65036,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:39:53] local.INFO: Processing buffer {"connection_id":65036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:39:53] local.INFO: IMEI packet received {"connection_id":65036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":65036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:39:57] local.INFO: TCP Data received {"connection_id":65036,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65036,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:39:57] local.INFO: Processing buffer {"connection_id":65036,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:39:57] local.INFO: IMEI packet received {"connection_id":65036,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":65036,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:39:59] local.INFO: TCP Data received {"connection_id":65036,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:39:59] local.INFO: Processing buffer {"connection_id":65036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:39:59] local.INFO: Packet analysis {"connection_id":65036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:39:59] local.INFO: Extracted packet for processing {"connection_id":65036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:39: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-05-08 14:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":65036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:39:59] local.INFO: GPS data processed {"connection_id":65036,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:39:59] local.INFO: Acknowledgment sent {"connection_id":65036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:40:01] local.INFO: TCP Data received {"connection_id":65865,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65865,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:40:01] local.INFO: Processing buffer {"connection_id":65865,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:40:01] local.INFO: IMEI packet received {"connection_id":65865,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":65865,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:40:31] local.INFO: TCP Data received {"connection_id":65036,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:40:31] local.INFO: Processing buffer {"connection_id":65036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:40:31] local.INFO: Packet analysis {"connection_id":65036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:40:31] local.INFO: Extracted packet for processing {"connection_id":65036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:40:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:40: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-05-08 14:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65036,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:40:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":65036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:40:31] local.INFO: GPS data processed {"connection_id":65036,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:40:31] local.INFO: Acknowledgment sent {"connection_id":65036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:40:41] local.INFO: TCP Data received {"connection_id":65866,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:40:41] local.INFO: Processing buffer {"connection_id":65866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:40:41] local.INFO: IMEI packet received {"connection_id":65866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":65866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:40:52] local.INFO: TCP Data received {"connection_id":65037,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:40:52] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:40:52] local.INFO: IMEI packet received {"connection_id":65037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":65037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:40:57] local.INFO: TCP Data received {"connection_id":65037,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:40:57] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:40:57] local.INFO: IMEI packet received {"connection_id":65037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":65037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:40:59] local.INFO: TCP Data received {"connection_id":65037,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:40:59] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:40:59] local.INFO: Packet analysis {"connection_id":65037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:40:59] local.INFO: Extracted packet for processing {"connection_id":65037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:40: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-05-08 14:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:40:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":65037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:40:59] local.INFO: GPS data processed {"connection_id":65037,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:40:59] local.INFO: Acknowledgment sent {"connection_id":65037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:41:32] local.INFO: TCP Data received {"connection_id":65037,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:41:32] local.INFO: Processing buffer {"connection_id":65037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:41:32] local.INFO: Packet analysis {"connection_id":65037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:41:32] local.INFO: Extracted packet for processing {"connection_id":65037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:41:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:41:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:41:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:41:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:41:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:41:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:41:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:41:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:41:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:41:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:41:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:41:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:41:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:41:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:41:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:41:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:41:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:41:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:41:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:41:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:41:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:41:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:41:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:41:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:41:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:41:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:41:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:41:32] local.INFO: DEBUG: GPS processor result {"connection_id":65037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:41:32] local.INFO: GPS data processed {"connection_id":65037,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:41:32] local.INFO: Acknowledgment sent {"connection_id":65037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:41:52] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:41:52] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:41:52] local.INFO: IMEI packet received {"connection_id":65038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":65038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:41:57] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:41:57] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:41:57] local.INFO: IMEI packet received {"connection_id":65038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":65038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:41:58] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:41:58] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:41:58] local.INFO: Packet analysis {"connection_id":65038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:41:58] local.INFO: Extracted packet for processing {"connection_id":65038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:41: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-05-08 14:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:41:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:41:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":65038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:41:58] local.INFO: GPS data processed {"connection_id":65038,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:41:58] local.INFO: Acknowledgment sent {"connection_id":65038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:42:30] local.INFO: TCP Data received {"connection_id":65038,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:42:30] local.INFO: Processing buffer {"connection_id":65038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:42:30] local.INFO: Packet analysis {"connection_id":65038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:42:30] local.INFO: Extracted packet for processing {"connection_id":65038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:42:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":65038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:42:30] local.INFO: GPS data processed {"connection_id":65038,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:42:30] local.INFO: Acknowledgment sent {"connection_id":65038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:42:52] local.INFO: TCP Data received {"connection_id":65151,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:42:52] local.INFO: Processing buffer {"connection_id":65151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:42:52] local.INFO: IMEI packet received {"connection_id":65151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":65151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:42:57] local.INFO: TCP Data received {"connection_id":65151,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:42:57] local.INFO: Processing buffer {"connection_id":65151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:42:57] local.INFO: IMEI packet received {"connection_id":65151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":65151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:42:58] local.INFO: TCP Data received {"connection_id":65151,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:42:58] local.INFO: Processing buffer {"connection_id":65151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:42:58] local.INFO: Packet analysis {"connection_id":65151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:42:58] local.INFO: Extracted packet for processing {"connection_id":65151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:42: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-05-08 14:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:42:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:42:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":65151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:42:58] local.INFO: GPS data processed {"connection_id":65151,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:42:58] local.INFO: Acknowledgment sent {"connection_id":65151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:43:29] local.INFO: TCP Data received {"connection_id":65151,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:43:29] local.INFO: Processing buffer {"connection_id":65151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06d84fa0012d34c54006aa4a98000600002b..."} 
[2026-05-08 14:43:29] local.INFO: Packet analysis {"connection_id":65151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:43:29] local.INFO: Extracted packet for processing {"connection_id":65151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06d8"} 
[2026-05-08 14:43:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227135744001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778231300000,"timestamp_ms":1778231300000,"timestamp_seconds":1778231300,"priority":1,"record_length":96,"hex_timestamp":"0000019e06d84fa0"} 
[2026-05-08 14:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 14:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227135744001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227135744001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:43:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:43:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227135744001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":65151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:43:29] local.INFO: GPS data processed {"connection_id":65151,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:43:29] local.INFO: Acknowledgment sent {"connection_id":65151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:43:57] local.INFO: TCP Data received {"connection_id":65868,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:43:57] local.INFO: Processing buffer {"connection_id":65868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:43:57] local.INFO: IMEI packet received {"connection_id":65868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":65868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:43:59] local.INFO: TCP Data received {"connection_id":65868,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:43:59] local.INFO: Processing buffer {"connection_id":65868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:43:59] local.INFO: IMEI packet received {"connection_id":65868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:43:59] local.INFO: IMEI acknowledgment sent {"connection_id":65868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:44:00] local.INFO: TCP Data received {"connection_id":65868,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:00] local.INFO: Processing buffer {"connection_id":65868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:00] local.INFO: Packet analysis {"connection_id":65868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:44:00] local.INFO: Extracted packet for processing {"connection_id":65868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:44:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44: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-05-08 14:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:44:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:44:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:44:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2537,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:44:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:44:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:44:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":65868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:44:00] local.INFO: GPS data processed {"connection_id":65868,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:44:00] local.INFO: Acknowledgment sent {"connection_id":65868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:44:03] local.INFO: TCP Data received {"connection_id":65868,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:03] local.INFO: Processing buffer {"connection_id":65868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:03] local.INFO: Packet analysis {"connection_id":65868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:44:03] local.INFO: Extracted packet for processing {"connection_id":65868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:44:03] 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-05-08 14: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-05-08 14:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":65868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:44:03] local.INFO: GPS data processed {"connection_id":65868,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:44:03] local.INFO: Acknowledgment sent {"connection_id":65868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:44:35] local.INFO: TCP Data received {"connection_id":65868,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:35] local.INFO: Processing buffer {"connection_id":65868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:35] local.INFO: Packet analysis {"connection_id":65868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:44:35] local.INFO: Extracted packet for processing {"connection_id":65868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:44:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:44:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:44:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 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-05-08 14:44:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:44: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-05-08 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-05-08 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-05-08 14:44:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:44:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:44:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:44:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:44:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:44:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:44:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:44:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:44:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:44:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:44:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:44:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:44:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:44:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:44:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:44:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:44:35] local.INFO: DEBUG: GPS processor result {"connection_id":65868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:44:35] local.INFO: GPS data processed {"connection_id":65868,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:44:35] local.INFO: Acknowledgment sent {"connection_id":65868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:44:52] local.INFO: TCP Data received {"connection_id":65040,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:44:52] local.INFO: Processing buffer {"connection_id":65040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:44:52] local.INFO: IMEI packet received {"connection_id":65040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":65040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:44:57] local.INFO: TCP Data received {"connection_id":65040,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:44:57] local.INFO: Processing buffer {"connection_id":65040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:44:57] local.INFO: IMEI packet received {"connection_id":65040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":65040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:44:59] local.INFO: TCP Data received {"connection_id":65040,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:59] local.INFO: Processing buffer {"connection_id":65040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:44:59] local.INFO: Packet analysis {"connection_id":65040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:44:59] local.INFO: Extracted packet for processing {"connection_id":65040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:44: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-05-08 14:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:44:59] 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-05-08 14:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":65040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:44:59] local.INFO: GPS data processed {"connection_id":65040,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:44:59] local.INFO: Acknowledgment sent {"connection_id":65040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:45:30] local.INFO: TCP Data received {"connection_id":65040,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:45:30] local.INFO: Processing buffer {"connection_id":65040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:45:30] local.INFO: Packet analysis {"connection_id":65040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:45:30] local.INFO: Extracted packet for processing {"connection_id":65040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:45:30] 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-05-08 14:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:45:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":65040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:45:30] local.INFO: GPS data processed {"connection_id":65040,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:45:30] local.INFO: Acknowledgment sent {"connection_id":65040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:45:52] local.INFO: TCP Data received {"connection_id":65098,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:45:52] local.INFO: Processing buffer {"connection_id":65098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:45:52] local.INFO: IMEI packet received {"connection_id":65098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":65098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:45:56] local.INFO: TCP Data received {"connection_id":65152,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:45:56] local.INFO: Processing buffer {"connection_id":65152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:45:56] local.INFO: IMEI packet received {"connection_id":65152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":65152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:45:57] local.INFO: TCP Data received {"connection_id":65098,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:45:57] local.INFO: Processing buffer {"connection_id":65098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:45:57] local.INFO: IMEI packet received {"connection_id":65098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":65098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:45:59] local.INFO: TCP Data received {"connection_id":65098,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:45:59] local.INFO: Processing buffer {"connection_id":65098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:45:59] local.INFO: Packet analysis {"connection_id":65098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:45:59] local.INFO: Extracted packet for processing {"connection_id":65098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:45: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-05-08 14:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:45:59] 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-05-08 14: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-05-08 14:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:45:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":65098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:45:59] local.INFO: GPS data processed {"connection_id":65098,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:45:59] local.INFO: Acknowledgment sent {"connection_id":65098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:46:30] local.INFO: TCP Data received {"connection_id":65098,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:46:30] local.INFO: Processing buffer {"connection_id":65098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:46:30] local.INFO: Packet analysis {"connection_id":65098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:46:30] local.INFO: Extracted packet for processing {"connection_id":65098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:46:30] 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-05-08 14: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-05-08 14:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":65098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:46:30] local.INFO: GPS data processed {"connection_id":65098,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:46:30] local.INFO: Acknowledgment sent {"connection_id":65098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:46:41] local.INFO: TCP Data received {"connection_id":65153,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:46:41] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:46:41] local.INFO: IMEI packet received {"connection_id":65153,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":65153,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:46:52] local.INFO: TCP Data received {"connection_id":65154,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:46:52] local.INFO: Processing buffer {"connection_id":65154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:46:52] local.INFO: IMEI packet received {"connection_id":65154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":65154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:46:57] local.INFO: TCP Data received {"connection_id":65154,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:46:57] local.INFO: Processing buffer {"connection_id":65154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:46:57] local.INFO: IMEI packet received {"connection_id":65154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":65154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:46:58] local.INFO: TCP Data received {"connection_id":65154,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:46:58] local.INFO: Processing buffer {"connection_id":65154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:46:58] local.INFO: Packet analysis {"connection_id":65154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:46:58] local.INFO: Extracted packet for processing {"connection_id":65154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:46:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:46: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-05-08 14:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:46:58] 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-05-08 14: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-05-08 14:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:46:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":65154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:46:58] local.INFO: GPS data processed {"connection_id":65154,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:46:58] local.INFO: Acknowledgment sent {"connection_id":65154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:47:30] local.INFO: TCP Data received {"connection_id":65154,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:47:30] local.INFO: Processing buffer {"connection_id":65154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:47:30] local.INFO: Packet analysis {"connection_id":65154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:47:30] local.INFO: Extracted packet for processing {"connection_id":65154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:47:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:47:30] 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-05-08 14: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-05-08 14:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:47:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":65154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:47:30] local.INFO: GPS data processed {"connection_id":65154,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:47:30] local.INFO: Acknowledgment sent {"connection_id":65154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:47:57] local.INFO: TCP Data received {"connection_id":65156,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:47:57] local.INFO: Processing buffer {"connection_id":65156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:47:57] local.INFO: IMEI packet received {"connection_id":65156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":65156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:48:02] local.INFO: TCP Data received {"connection_id":65156,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:02] local.INFO: Processing buffer {"connection_id":65156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:02] local.INFO: IMEI packet received {"connection_id":65156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":65156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:48:03] local.INFO: TCP Data received {"connection_id":65156,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:03] local.INFO: Processing buffer {"connection_id":65156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:03] local.INFO: Packet analysis {"connection_id":65156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:48:03] local.INFO: Extracted packet for processing {"connection_id":65156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 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-05-08 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:48:03] 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-05-08 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-05-08 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-05-08 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:48:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:48:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":65156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:48:03] local.INFO: GPS data processed {"connection_id":65156,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:48:03] local.INFO: Acknowledgment sent {"connection_id":65156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:48:08] local.INFO: TCP Data received {"connection_id":65156,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:08] local.INFO: Processing buffer {"connection_id":65156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:08] local.INFO: Packet analysis {"connection_id":65156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:48:08] local.INFO: Extracted packet for processing {"connection_id":65156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:48: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-05-08 14:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:48:08] 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-05-08 14:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:48:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":65156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:48:08] local.INFO: GPS data processed {"connection_id":65156,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:48:08] local.INFO: Acknowledgment sent {"connection_id":65156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:48:52] local.INFO: TCP Data received {"connection_id":65041,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:52] local.INFO: Processing buffer {"connection_id":65041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:52] local.INFO: IMEI packet received {"connection_id":65041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":65041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:48:57] local.INFO: TCP Data received {"connection_id":65041,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:57] local.INFO: Processing buffer {"connection_id":65041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:48:57] local.INFO: IMEI packet received {"connection_id":65041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":65041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:48:58] local.INFO: TCP Data received {"connection_id":65041,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:58] local.INFO: Processing buffer {"connection_id":65041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06dce768012d34c54006aa4a98000900002d..."} 
[2026-05-08 14:48:58] local.INFO: Packet analysis {"connection_id":65041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:48:58] local.INFO: Extracted packet for processing {"connection_id":65041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06dc"} 
[2026-05-08 14:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227212800001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:48: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-05-08 14:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778231601000,"timestamp_ms":1778231601000,"timestamp_seconds":1778231601,"priority":1,"record_length":96,"hex_timestamp":"0000019e06dce768"} 
[2026-05-08 14:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 14:48:58] 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-05-08 14:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227212800001,"66":25006,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227212800001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:48:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:48:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227212800001,"power":25006,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":65041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:48:58] local.INFO: GPS data processed {"connection_id":65041,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:48:58] local.INFO: Acknowledgment sent {"connection_id":65041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:49:30] local.INFO: TCP Data received {"connection_id":65041,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:49:30] local.INFO: Processing buffer {"connection_id":65041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:49:30] local.INFO: Packet analysis {"connection_id":65041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:49:30] local.INFO: Extracted packet for processing {"connection_id":65041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:49:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:49:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:49:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:49:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:49:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":65041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:49:30] local.INFO: GPS data processed {"connection_id":65041,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:49:30] local.INFO: Acknowledgment sent {"connection_id":65041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:49:52] local.INFO: TCP Data received {"connection_id":65870,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:49:52] local.INFO: Processing buffer {"connection_id":65870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:49:52] local.INFO: IMEI packet received {"connection_id":65870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":65870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:49:57] local.INFO: TCP Data received {"connection_id":65870,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:49:57] local.INFO: Processing buffer {"connection_id":65870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:49:57] local.INFO: IMEI packet received {"connection_id":65870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":65870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:49:58] local.INFO: TCP Data received {"connection_id":65870,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:49:58] local.INFO: Processing buffer {"connection_id":65870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:49:58] local.INFO: Packet analysis {"connection_id":65870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:49:58] local.INFO: Extracted packet for processing {"connection_id":65870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:49: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-05-08 14:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:49:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":65870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:49:58] local.INFO: GPS data processed {"connection_id":65870,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:49:58] local.INFO: Acknowledgment sent {"connection_id":65870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:50:30] local.INFO: TCP Data received {"connection_id":65870,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:50:30] local.INFO: Processing buffer {"connection_id":65870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:50:30] local.INFO: Packet analysis {"connection_id":65870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:50:30] local.INFO: Extracted packet for processing {"connection_id":65870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":65870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:50:30] local.INFO: GPS data processed {"connection_id":65870,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:50:30] local.INFO: Acknowledgment sent {"connection_id":65870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:50:52] local.INFO: TCP Data received {"connection_id":65158,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:50:52] local.INFO: Processing buffer {"connection_id":65158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:50:52] local.INFO: IMEI packet received {"connection_id":65158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":65158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:50:57] local.INFO: TCP Data received {"connection_id":65158,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:50:57] local.INFO: Processing buffer {"connection_id":65158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:50:57] local.INFO: IMEI packet received {"connection_id":65158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":65158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:50:58] local.INFO: TCP Data received {"connection_id":65158,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:50:58] local.INFO: Processing buffer {"connection_id":65158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:50:58] local.INFO: Packet analysis {"connection_id":65158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:50:58] local.INFO: Extracted packet for processing {"connection_id":65158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:50: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-05-08 14:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:50:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":65158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:50:58] local.INFO: GPS data processed {"connection_id":65158,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:50:58] local.INFO: Acknowledgment sent {"connection_id":65158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:51:30] local.INFO: TCP Data received {"connection_id":65158,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:51:30] local.INFO: Processing buffer {"connection_id":65158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:51:30] local.INFO: Packet analysis {"connection_id":65158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:51:30] local.INFO: Extracted packet for processing {"connection_id":65158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:51:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":65158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:51:30] local.INFO: GPS data processed {"connection_id":65158,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:51:30] local.INFO: Acknowledgment sent {"connection_id":65158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:51:53] local.INFO: TCP Data received {"connection_id":65872,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:51:53] local.INFO: Processing buffer {"connection_id":65872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:51:53] local.INFO: IMEI packet received {"connection_id":65872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":65872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:51:57] local.INFO: TCP Data received {"connection_id":65872,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:51:57] local.INFO: Processing buffer {"connection_id":65872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:51:57] local.INFO: IMEI packet received {"connection_id":65872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":65872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:51:58] local.INFO: TCP Data received {"connection_id":65872,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:51:58] local.INFO: Processing buffer {"connection_id":65872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:51:58] local.INFO: Packet analysis {"connection_id":65872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:51:58] local.INFO: Extracted packet for processing {"connection_id":65872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14: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-05-08 14:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:51:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":65872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:51:58] local.INFO: GPS data processed {"connection_id":65872,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:51:58] local.INFO: Acknowledgment sent {"connection_id":65872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:52:06] local.INFO: TCP Data received {"connection_id":65871,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:52:06] local.INFO: Processing buffer {"connection_id":65871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:52:06] local.INFO: IMEI packet received {"connection_id":65871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":65871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:52:30] local.INFO: TCP Data received {"connection_id":65872,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:52:30] local.INFO: Processing buffer {"connection_id":65872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:52:30] local.INFO: Packet analysis {"connection_id":65872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:52:30] local.INFO: Extracted packet for processing {"connection_id":65872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:52:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:52:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:52:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:52:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:52:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":65872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:52:30] local.INFO: GPS data processed {"connection_id":65872,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:52:30] local.INFO: Acknowledgment sent {"connection_id":65872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:52:41] local.INFO: TCP Data received {"connection_id":65873,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:52:41] local.INFO: Processing buffer {"connection_id":65873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:52:41] local.INFO: IMEI packet received {"connection_id":65873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":65873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:52:52] local.INFO: TCP Data received {"connection_id":65874,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:52:52] local.INFO: Processing buffer {"connection_id":65874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:52:52] local.INFO: IMEI packet received {"connection_id":65874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":65874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:52:57] local.INFO: TCP Data received {"connection_id":65874,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:52:57] local.INFO: Processing buffer {"connection_id":65874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:52:57] local.INFO: IMEI packet received {"connection_id":65874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":65874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:52:59] local.INFO: TCP Data received {"connection_id":65874,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:52:59] local.INFO: Processing buffer {"connection_id":65874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:52:59] local.INFO: Packet analysis {"connection_id":65874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:52:59] local.INFO: Extracted packet for processing {"connection_id":65874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:52:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:52: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-05-08 14:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:52:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:52:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:52:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":65874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:52:59] local.INFO: GPS data processed {"connection_id":65874,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:52:59] local.INFO: Acknowledgment sent {"connection_id":65874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:53:30] local.INFO: TCP Data received {"connection_id":65874,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:53:30] local.INFO: Processing buffer {"connection_id":65874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:53:30] local.INFO: Packet analysis {"connection_id":65874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:53:30] local.INFO: Extracted packet for processing {"connection_id":65874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:53:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":65874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:53:30] local.INFO: GPS data processed {"connection_id":65874,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:53:30] local.INFO: Acknowledgment sent {"connection_id":65874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:53:52] local.INFO: TCP Data received {"connection_id":65876,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:53:52] local.INFO: Processing buffer {"connection_id":65876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:53:52] local.INFO: IMEI packet received {"connection_id":65876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":65876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:53:57] local.INFO: TCP Data received {"connection_id":65876,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:53:57] local.INFO: Processing buffer {"connection_id":65876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:53:57] local.INFO: IMEI packet received {"connection_id":65876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":65876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:53:58] local.INFO: TCP Data received {"connection_id":65876,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:53:58] local.INFO: Processing buffer {"connection_id":65876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e17f30012d34c54006aa4a98000c00002b..."} 
[2026-05-08 14:53:58] local.INFO: Packet analysis {"connection_id":65876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:53:58] local.INFO: Extracted packet for processing {"connection_id":65876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e1"} 
[2026-05-08 14:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227289856001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:53: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-05-08 14:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778231902000,"timestamp_ms":1778231902000,"timestamp_seconds":1778231902,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e17f30"} 
[2026-05-08 14:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 14:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2249,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227289856001,"66":23984,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227289856001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:53:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:53:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227289856001,"power":23984,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":65876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:53:58] local.INFO: GPS data processed {"connection_id":65876,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:53:58] local.INFO: Acknowledgment sent {"connection_id":65876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:54:30] local.INFO: TCP Data received {"connection_id":65876,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:54:30] local.INFO: Processing buffer {"connection_id":65876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:54:30] local.INFO: Packet analysis {"connection_id":65876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:54:30] local.INFO: Extracted packet for processing {"connection_id":65876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:54:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:54:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":65876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:54:30] local.INFO: GPS data processed {"connection_id":65876,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:54:30] local.INFO: Acknowledgment sent {"connection_id":65876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:54:52] local.INFO: TCP Data received {"connection_id":65099,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:54:52] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:54:52] local.INFO: IMEI packet received {"connection_id":65099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":65099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:54:57] local.INFO: TCP Data received {"connection_id":65099,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:54:57] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:54:57] local.INFO: IMEI packet received {"connection_id":65099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":65099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:54:59] local.INFO: TCP Data received {"connection_id":65099,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:54:59] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:54:59] local.INFO: Packet analysis {"connection_id":65099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:54:59] local.INFO: Extracted packet for processing {"connection_id":65099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:54: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-05-08 14:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:54:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":65099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:54:59] local.INFO: GPS data processed {"connection_id":65099,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:54:59] local.INFO: Acknowledgment sent {"connection_id":65099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:55:30] local.INFO: TCP Data received {"connection_id":65099,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:55:30] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:55:30] local.INFO: Packet analysis {"connection_id":65099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:55:30] local.INFO: Extracted packet for processing {"connection_id":65099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:55:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:55:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":65099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:55:30] local.INFO: GPS data processed {"connection_id":65099,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:55:30] local.INFO: Acknowledgment sent {"connection_id":65099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:55:52] local.INFO: TCP Data received {"connection_id":65100,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:55:52] local.INFO: Processing buffer {"connection_id":65100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:55:52] local.INFO: IMEI packet received {"connection_id":65100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":65100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:55:58] local.INFO: TCP Data received {"connection_id":65100,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:55:58] local.INFO: Processing buffer {"connection_id":65100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:55:58] local.INFO: IMEI packet received {"connection_id":65100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:55:58] local.INFO: IMEI acknowledgment sent {"connection_id":65100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:55:59] local.INFO: TCP Data received {"connection_id":65100,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:55:59] local.INFO: Processing buffer {"connection_id":65100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:55:59] local.INFO: Packet analysis {"connection_id":65100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:55:59] local.INFO: Extracted packet for processing {"connection_id":65100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:55:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:55: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-05-08 14:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:55:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":65100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:55:59] local.INFO: GPS data processed {"connection_id":65100,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:55:59] local.INFO: Acknowledgment sent {"connection_id":65100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:56:31] local.INFO: TCP Data received {"connection_id":65100,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:56:31] local.INFO: Processing buffer {"connection_id":65100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:56:31] local.INFO: Packet analysis {"connection_id":65100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:56:31] local.INFO: Extracted packet for processing {"connection_id":65100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:56:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:56:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:56:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:56:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":65100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:56:31] local.INFO: GPS data processed {"connection_id":65100,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:56:31] local.INFO: Acknowledgment sent {"connection_id":65100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:56:52] local.INFO: TCP Data received {"connection_id":65043,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:56:52] local.INFO: Processing buffer {"connection_id":65043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:56:52] local.INFO: IMEI packet received {"connection_id":65043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":65043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:56:57] local.INFO: TCP Data received {"connection_id":65043,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:56:57] local.INFO: Processing buffer {"connection_id":65043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:56:57] local.INFO: IMEI packet received {"connection_id":65043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":65043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:56:58] local.INFO: TCP Data received {"connection_id":65043,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:56:58] local.INFO: Processing buffer {"connection_id":65043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:56:58] local.INFO: Packet analysis {"connection_id":65043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:56:58] local.INFO: Extracted packet for processing {"connection_id":65043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:56: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-05-08 14:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:56:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":65043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:56:58] local.INFO: GPS data processed {"connection_id":65043,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:56:58] local.INFO: Acknowledgment sent {"connection_id":65043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:57:29] local.INFO: TCP Data received {"connection_id":65043,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:57:29] local.INFO: Processing buffer {"connection_id":65043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:57:29] local.INFO: Packet analysis {"connection_id":65043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:57:29] local.INFO: Extracted packet for processing {"connection_id":65043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:57:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:57:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:57:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:57:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:57:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":65043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:57:29] local.INFO: GPS data processed {"connection_id":65043,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:57:29] local.INFO: Acknowledgment sent {"connection_id":65043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:57:52] local.INFO: TCP Data received {"connection_id":65877,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:57:52] local.INFO: Processing buffer {"connection_id":65877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:57:52] local.INFO: IMEI packet received {"connection_id":65877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":65877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:57:57] local.INFO: TCP Data received {"connection_id":65877,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:57:57] local.INFO: Processing buffer {"connection_id":65877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:57:57] local.INFO: IMEI packet received {"connection_id":65877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":65877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:57:59] local.INFO: TCP Data received {"connection_id":65877,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:57:59] local.INFO: Processing buffer {"connection_id":65877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:57:59] local.INFO: Packet analysis {"connection_id":65877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:57:59] local.INFO: Extracted packet for processing {"connection_id":65877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14: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-05-08 14:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:57: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-05-08 14:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14: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":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14: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-05-08 14:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":65877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:57:59] local.INFO: GPS data processed {"connection_id":65877,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:57:59] local.INFO: Acknowledgment sent {"connection_id":65877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:58:12] local.INFO: TCP Data received {"connection_id":65160,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:58:12] local.INFO: Processing buffer {"connection_id":65160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:58:12] local.INFO: IMEI packet received {"connection_id":65160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":65160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:58:30] local.INFO: TCP Data received {"connection_id":65877,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:58:30] local.INFO: Processing buffer {"connection_id":65877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:58:30] local.INFO: Packet analysis {"connection_id":65877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:58:30] local.INFO: Extracted packet for processing {"connection_id":65877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:58:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:58:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":65877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:58:30] local.INFO: GPS data processed {"connection_id":65877,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:58:30] local.INFO: Acknowledgment sent {"connection_id":65877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:58:45] local.INFO: TCP Data received {"connection_id":65161,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65161,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:58:45] local.INFO: Processing buffer {"connection_id":65161,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 14:58:45] local.INFO: IMEI packet received {"connection_id":65161,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 14:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":65161,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:58:52] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:58:52] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:58:52] local.INFO: IMEI packet received {"connection_id":65044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":65044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:58:57] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:58:57] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:58:57] local.INFO: IMEI packet received {"connection_id":65044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":65044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:58:58] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:58:58] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06e616f8012d34c54006aa4a98000900002a..."} 
[2026-05-08 14:58:58] local.INFO: Packet analysis {"connection_id":65044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:58:58] local.INFO: Extracted packet for processing {"connection_id":65044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06e6"} 
[2026-05-08 14:58:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227366912001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:58: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-05-08 14:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778232203000,"timestamp_ms":1778232203000,"timestamp_seconds":1778232203,"priority":1,"record_length":96,"hex_timestamp":"0000019e06e616f8"} 
[2026-05-08 14:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":176,"data_length":795,"current_offset":136} 
[2026-05-08 14:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2247,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227366912001,"66":24038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227366912001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:58:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:58:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227366912001,"power":24038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":65044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:58:58] local.INFO: GPS data processed {"connection_id":65044,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:58:58] local.INFO: Acknowledgment sent {"connection_id":65044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:59:29] local.INFO: TCP Data received {"connection_id":65044,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 14:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 14:59:29] local.INFO: Processing buffer {"connection_id":65044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 14:59:29] local.INFO: Packet analysis {"connection_id":65044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 14:59:29] local.INFO: Extracted packet for processing {"connection_id":65044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 14:59:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 14:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 14:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 14:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:59:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:59:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":65044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:59:29] local.INFO: GPS data processed {"connection_id":65044,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:59:29] local.INFO: Acknowledgment sent {"connection_id":65044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 14:59:53] local.INFO: TCP Data received {"connection_id":65162,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:59:53] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:59:53] local.INFO: IMEI packet received {"connection_id":65162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 14:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":65162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 14:59:57] local.INFO: TCP Data received {"connection_id":65162,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:59:57] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 14:59:57] local.INFO: IMEI packet received {"connection_id":65162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 14:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":65162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 14:59:58] local.INFO: TCP Data received {"connection_id":65162,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 14:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 14:59:58] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 14:59:58] local.INFO: Packet analysis {"connection_id":65162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 14:59:58] local.INFO: Extracted packet for processing {"connection_id":65162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 14:59:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 14:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 14:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 14:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 14:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 14:59: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-05-08 14:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 14:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 14:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 14:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 14:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 14:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 14:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 14:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 14:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 14:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 14:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 14:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 14:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 14:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 14:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 14:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 14:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 14:59:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 14:59:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 14:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 14:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 14:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 14:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":65162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 14:59:58] local.INFO: GPS data processed {"connection_id":65162,"processed":1,"errors":0,"total":1} 
[2026-05-08 14:59:58] local.INFO: Acknowledgment sent {"connection_id":65162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:00:31] local.INFO: TCP Data received {"connection_id":65162,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:00:31] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:00:31] local.INFO: Packet analysis {"connection_id":65162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:00:31] local.INFO: Extracted packet for processing {"connection_id":65162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 15:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 15:00:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":65162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:00:31] local.INFO: GPS data processed {"connection_id":65162,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:00:31] local.INFO: Acknowledgment sent {"connection_id":65162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:00:52] local.INFO: TCP Data received {"connection_id":65879,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:00:52] local.INFO: Processing buffer {"connection_id":65879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:00:52] local.INFO: IMEI packet received {"connection_id":65879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":65879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:00:57] local.INFO: TCP Data received {"connection_id":65879,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:00:57] local.INFO: Processing buffer {"connection_id":65879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:00:57] local.INFO: IMEI packet received {"connection_id":65879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":65879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:00:59] local.INFO: TCP Data received {"connection_id":65879,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:00:59] local.INFO: Processing buffer {"connection_id":65879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:00:59] local.INFO: Packet analysis {"connection_id":65879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:00:59] local.INFO: Extracted packet for processing {"connection_id":65879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:00:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:00: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-05-08 15:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 15:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 15:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:00:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":65879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:00:59] local.INFO: GPS data processed {"connection_id":65879,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:00:59] local.INFO: Acknowledgment sent {"connection_id":65879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:01:30] local.INFO: TCP Data received {"connection_id":65879,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:01:30] local.INFO: Processing buffer {"connection_id":65879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:01:30] local.INFO: Packet analysis {"connection_id":65879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:01:30] local.INFO: Extracted packet for processing {"connection_id":65879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 15:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 15:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:01:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":65879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:01:30] local.INFO: GPS data processed {"connection_id":65879,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:01:30] local.INFO: Acknowledgment sent {"connection_id":65879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:01:52] local.INFO: TCP Data received {"connection_id":65164,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:01:52] local.INFO: Processing buffer {"connection_id":65164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:01:52] local.INFO: IMEI packet received {"connection_id":65164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":65164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:01:57] local.INFO: TCP Data received {"connection_id":65164,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:01:57] local.INFO: Processing buffer {"connection_id":65164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:01:57] local.INFO: IMEI packet received {"connection_id":65164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":65164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:01:59] local.INFO: TCP Data received {"connection_id":65164,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:01:59] local.INFO: Processing buffer {"connection_id":65164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:01:59] local.INFO: Packet analysis {"connection_id":65164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:01:59] local.INFO: Extracted packet for processing {"connection_id":65164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:01:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:01: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-05-08 15:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 15:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 15:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:01:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":65164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:01:59] local.INFO: GPS data processed {"connection_id":65164,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:01:59] local.INFO: Acknowledgment sent {"connection_id":65164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:02:31] local.INFO: TCP Data received {"connection_id":65164,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:02:31] local.INFO: Processing buffer {"connection_id":65164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:02:31] local.INFO: Packet analysis {"connection_id":65164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:02:31] local.INFO: Extracted packet for processing {"connection_id":65164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 15:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 15:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:02:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":65164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:02:31] local.INFO: GPS data processed {"connection_id":65164,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:02:31] local.INFO: Acknowledgment sent {"connection_id":65164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:02:57] local.INFO: TCP Data received {"connection_id":65045,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:02:57] local.INFO: Processing buffer {"connection_id":65045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:02:57] local.INFO: IMEI packet received {"connection_id":65045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":65045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:03:02] local.INFO: TCP Data received {"connection_id":65045,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:02] local.INFO: Processing buffer {"connection_id":65045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:02] local.INFO: IMEI packet received {"connection_id":65045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":65045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:03:04] local.INFO: TCP Data received {"connection_id":65045,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:04] local.INFO: Processing buffer {"connection_id":65045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:04] local.INFO: Packet analysis {"connection_id":65045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:03:04] local.INFO: Extracted packet for processing {"connection_id":65045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:03: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-05-08 15:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 15:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:03:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 15:03:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:03:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":65045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:03:04] local.INFO: GPS data processed {"connection_id":65045,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:03:04] local.INFO: Acknowledgment sent {"connection_id":65045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:03:08] local.INFO: TCP Data received {"connection_id":65045,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:08] local.INFO: Processing buffer {"connection_id":65045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:08] local.INFO: Packet analysis {"connection_id":65045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:03:08] local.INFO: Extracted packet for processing {"connection_id":65045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 15:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 15:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 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-05-08 15:03: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-05-08 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":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 15:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 15:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:03:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":65045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:03:08] local.INFO: GPS data processed {"connection_id":65045,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:03:08] local.INFO: Acknowledgment sent {"connection_id":65045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:03:52] local.INFO: TCP Data received {"connection_id":65105,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:52] local.INFO: Processing buffer {"connection_id":65105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:52] local.INFO: IMEI packet received {"connection_id":65105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":65105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:03:57] local.INFO: TCP Data received {"connection_id":65105,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:57] local.INFO: Processing buffer {"connection_id":65105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:03:57] local.INFO: IMEI packet received {"connection_id":65105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":65105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:03:58] local.INFO: TCP Data received {"connection_id":65105,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:59] local.INFO: Processing buffer {"connection_id":65105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06eaaec0012d34c54006aa4a98000a000029..."} 
[2026-05-08 15:03:59] local.INFO: Packet analysis {"connection_id":65105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:03:59] local.INFO: Extracted packet for processing {"connection_id":65105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ea"} 
[2026-05-08 15:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227443968001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:03: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-05-08 15:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778232504000,"timestamp_ms":1778232504000,"timestamp_seconds":1778232504,"priority":1,"record_length":96,"hex_timestamp":"0000019e06eaaec0"} 
[2026-05-08 15:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-05-08 15:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227443968001,"66":25038,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227443968001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:03:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227443968001,"power":25038,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":65105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:03:59] local.INFO: GPS data processed {"connection_id":65105,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:03:59] local.INFO: Acknowledgment sent {"connection_id":65105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:04:12] local.INFO: TCP Data received {"connection_id":65104,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:04:12] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:04:12] local.INFO: IMEI packet received {"connection_id":65104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":65104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:04:30] local.INFO: TCP Data received {"connection_id":65105,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:04:30] local.INFO: Processing buffer {"connection_id":65105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:04:30] local.INFO: Packet analysis {"connection_id":65105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:04:30] local.INFO: Extracted packet for processing {"connection_id":65105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:04:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:04:30] 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-05-08 15: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-05-08 15:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:04:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:04:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":65105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:04:30] local.INFO: GPS data processed {"connection_id":65105,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:04:30] local.INFO: Acknowledgment sent {"connection_id":65105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:04:46] local.INFO: TCP Data received {"connection_id":65046,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65046,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:04:46] local.INFO: Processing buffer {"connection_id":65046,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:04:46] local.INFO: IMEI packet received {"connection_id":65046,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":65046,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:04:52] local.INFO: TCP Data received {"connection_id":65880,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:04:52] local.INFO: Processing buffer {"connection_id":65880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:04:52] local.INFO: IMEI packet received {"connection_id":65880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":65880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:04:57] local.INFO: TCP Data received {"connection_id":65880,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:04:57] local.INFO: Processing buffer {"connection_id":65880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:04:57] local.INFO: IMEI packet received {"connection_id":65880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":65880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:04:58] local.INFO: TCP Data received {"connection_id":65880,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:04:58] local.INFO: Processing buffer {"connection_id":65880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:04:58] local.INFO: Packet analysis {"connection_id":65880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:04:58] local.INFO: Extracted packet for processing {"connection_id":65880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:04: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-05-08 15:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:04:58] 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-05-08 15:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:04:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":65880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:04:58] local.INFO: GPS data processed {"connection_id":65880,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:04:58] local.INFO: Acknowledgment sent {"connection_id":65880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:05:30] local.INFO: TCP Data received {"connection_id":65880,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:05:30] local.INFO: Processing buffer {"connection_id":65880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:05:30] local.INFO: Packet analysis {"connection_id":65880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:05:30] local.INFO: Extracted packet for processing {"connection_id":65880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:05:30] 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-05-08 15:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:05:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":65880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:05:30] local.INFO: GPS data processed {"connection_id":65880,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:05:30] local.INFO: Acknowledgment sent {"connection_id":65880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:05:52] local.INFO: TCP Data received {"connection_id":65048,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:05:52] local.INFO: Processing buffer {"connection_id":65048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:05:52] local.INFO: IMEI packet received {"connection_id":65048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":65048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:05:57] local.INFO: TCP Data received {"connection_id":65048,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:05:57] local.INFO: Processing buffer {"connection_id":65048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:05:57] local.INFO: IMEI packet received {"connection_id":65048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:05:58] local.INFO: TCP Data received {"connection_id":65048,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:05:58] local.INFO: Processing buffer {"connection_id":65048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:05:58] local.INFO: Packet analysis {"connection_id":65048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:05:58] local.INFO: Extracted packet for processing {"connection_id":65048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:05: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-05-08 15:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:05:58] 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-05-08 15:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:05:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":65048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:05:58] local.INFO: GPS data processed {"connection_id":65048,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:05:58] local.INFO: Acknowledgment sent {"connection_id":65048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:06:30] local.INFO: TCP Data received {"connection_id":65048,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:06:30] local.INFO: Processing buffer {"connection_id":65048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:06:30] local.INFO: Packet analysis {"connection_id":65048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:06:30] local.INFO: Extracted packet for processing {"connection_id":65048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:06:30] 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-05-08 15: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-05-08 15:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:06:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":65048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:06:30] local.INFO: GPS data processed {"connection_id":65048,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:06:30] local.INFO: Acknowledgment sent {"connection_id":65048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:06:52] local.INFO: TCP Data received {"connection_id":65165,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:06:52] local.INFO: Processing buffer {"connection_id":65165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:06:52] local.INFO: IMEI packet received {"connection_id":65165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":65165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:06:57] local.INFO: TCP Data received {"connection_id":65165,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:06:57] local.INFO: Processing buffer {"connection_id":65165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:06:57] local.INFO: IMEI packet received {"connection_id":65165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":65165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:06:59] local.INFO: TCP Data received {"connection_id":65165,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:06:59] local.INFO: Processing buffer {"connection_id":65165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:06:59] local.INFO: Packet analysis {"connection_id":65165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:06:59] local.INFO: Extracted packet for processing {"connection_id":65165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:06:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:06: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-05-08 15:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:06:59] 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-05-08 15:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:06:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":65165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:06:59] local.INFO: GPS data processed {"connection_id":65165,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:06:59] local.INFO: Acknowledgment sent {"connection_id":65165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:07:30] local.INFO: TCP Data received {"connection_id":65165,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:07:30] local.INFO: Processing buffer {"connection_id":65165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:07:30] local.INFO: Packet analysis {"connection_id":65165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:07:30] local.INFO: Extracted packet for processing {"connection_id":65165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:07:30] 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-05-08 15:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:07:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:07:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":65165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:07:30] local.INFO: GPS data processed {"connection_id":65165,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:07:30] local.INFO: Acknowledgment sent {"connection_id":65165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:07:57] local.INFO: TCP Data received {"connection_id":65051,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:07:57] local.INFO: Processing buffer {"connection_id":65051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:07:57] local.INFO: IMEI packet received {"connection_id":65051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":65051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:08:02] local.INFO: TCP Data received {"connection_id":65051,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:02] local.INFO: Processing buffer {"connection_id":65051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:02] local.INFO: IMEI packet received {"connection_id":65051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":65051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:08:03] local.INFO: TCP Data received {"connection_id":65051,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:03] local.INFO: Processing buffer {"connection_id":65051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:03] local.INFO: Packet analysis {"connection_id":65051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:08:03] local.INFO: Extracted packet for processing {"connection_id":65051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:08:03] 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-05-08 15: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-05-08 15:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:08:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":65051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:08:03] local.INFO: GPS data processed {"connection_id":65051,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:08:03] local.INFO: Acknowledgment sent {"connection_id":65051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:08:08] local.INFO: TCP Data received {"connection_id":65051,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:08] local.INFO: Processing buffer {"connection_id":65051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:08] local.INFO: Packet analysis {"connection_id":65051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:08:08] local.INFO: Extracted packet for processing {"connection_id":65051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 15:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 15:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 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-05-08 15:08: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-05-08 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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:08:08] 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-05-08 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-05-08 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-05-08 15:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:08:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":65051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:08:08] local.INFO: GPS data processed {"connection_id":65051,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:08:08] local.INFO: Acknowledgment sent {"connection_id":65051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:08:52] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:52] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:52] local.INFO: IMEI packet received {"connection_id":65052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":65052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:08:57] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:57] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:08:57] local.INFO: IMEI packet received {"connection_id":65052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":65052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:08:58] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:58] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06ef4688012d34c54006aa4a98000b00002c..."} 
[2026-05-08 15:08:58] local.INFO: Packet analysis {"connection_id":65052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:08:58] local.INFO: Extracted packet for processing {"connection_id":65052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06ef"} 
[2026-05-08 15:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227521024001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:08: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-05-08 15:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778232805000,"timestamp_ms":1778232805000,"timestamp_seconds":1778232805,"priority":1,"record_length":96,"hex_timestamp":"0000019e06ef4688"} 
[2026-05-08 15:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":97,"n8_eight_byte":206,"data_length":795,"current_offset":136} 
[2026-05-08 15:08:58] 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-05-08 15: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-05-08 15:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227521024001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227521024001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:08:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:08:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227521024001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":65052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:08:58] local.INFO: GPS data processed {"connection_id":65052,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:08:58] local.INFO: Acknowledgment sent {"connection_id":65052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:09:29] local.INFO: TCP Data received {"connection_id":65052,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65052,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:09:29] local.INFO: Processing buffer {"connection_id":65052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:09:29] local.INFO: Packet analysis {"connection_id":65052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:09:29] local.INFO: Extracted packet for processing {"connection_id":65052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:09:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:09:29] 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-05-08 15:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:09:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:09:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":65052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:09:29] local.INFO: GPS data processed {"connection_id":65052,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:09:29] local.INFO: Acknowledgment sent {"connection_id":65052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:09:52] local.INFO: TCP Data received {"connection_id":65166,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:09:52] local.INFO: Processing buffer {"connection_id":65166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:09:52] local.INFO: IMEI packet received {"connection_id":65166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":65166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:09:57] local.INFO: TCP Data received {"connection_id":65166,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:09:57] local.INFO: Processing buffer {"connection_id":65166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:09:57] local.INFO: IMEI packet received {"connection_id":65166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":65166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:09:59] local.INFO: TCP Data received {"connection_id":65166,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:09:59] local.INFO: Processing buffer {"connection_id":65166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:09:59] local.INFO: Packet analysis {"connection_id":65166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:09:59] local.INFO: Extracted packet for processing {"connection_id":65166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:09:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:09: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-05-08 15:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:09:59] 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-05-08 15:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:09:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":65166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:09:59] local.INFO: GPS data processed {"connection_id":65166,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:09:59] local.INFO: Acknowledgment sent {"connection_id":65166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:10:31] local.INFO: TCP Data received {"connection_id":65166,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:10:31] local.INFO: Processing buffer {"connection_id":65166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:10:31] local.INFO: Packet analysis {"connection_id":65166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:10:31] local.INFO: Extracted packet for processing {"connection_id":65166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:10:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:10:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:10:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":65166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:10:31] local.INFO: GPS data processed {"connection_id":65166,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:10:31] local.INFO: Acknowledgment sent {"connection_id":65166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:10:41] local.INFO: TCP Data received {"connection_id":65883,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:10:41] local.INFO: Processing buffer {"connection_id":65883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:10:41] local.INFO: IMEI packet received {"connection_id":65883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":65883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:10:52] local.INFO: TCP Data received {"connection_id":65053,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:10:52] local.INFO: Processing buffer {"connection_id":65053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:10:52] local.INFO: IMEI packet received {"connection_id":65053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":65053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:10:57] local.INFO: TCP Data received {"connection_id":65053,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:10:57] local.INFO: Processing buffer {"connection_id":65053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:10:57] local.INFO: IMEI packet received {"connection_id":65053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":65053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:10:59] local.INFO: TCP Data received {"connection_id":65053,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:10:59] local.INFO: Processing buffer {"connection_id":65053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:10:59] local.INFO: Packet analysis {"connection_id":65053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:10:59] local.INFO: Extracted packet for processing {"connection_id":65053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:10:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:10: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-05-08 15:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:10:59] 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-05-08 15:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:10:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":65053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:10:59] local.INFO: GPS data processed {"connection_id":65053,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:10:59] local.INFO: Acknowledgment sent {"connection_id":65053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:11:31] local.INFO: TCP Data received {"connection_id":65053,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:11:31] local.INFO: Processing buffer {"connection_id":65053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:11:31] local.INFO: Packet analysis {"connection_id":65053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:11:31] local.INFO: Extracted packet for processing {"connection_id":65053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:11:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:11:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:11:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:11:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:11:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:11:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:11:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:11: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-05-08 15:11:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:11:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:11:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:11:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:11:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:11:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:11:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:11:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:11:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:11:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:11:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:11:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:11:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:11:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:11:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:11:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:11:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:11:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:11:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:11:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:11:31] local.INFO: DEBUG: GPS processor result {"connection_id":65053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:11:31] local.INFO: GPS data processed {"connection_id":65053,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:11:31] local.INFO: Acknowledgment sent {"connection_id":65053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:11:57] local.INFO: TCP Data received {"connection_id":65167,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:11:57] local.INFO: Processing buffer {"connection_id":65167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:11:57] local.INFO: IMEI packet received {"connection_id":65167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:12:02] local.INFO: TCP Data received {"connection_id":65167,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:02] local.INFO: Processing buffer {"connection_id":65167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:02] local.INFO: IMEI packet received {"connection_id":65167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":65167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:12:03] local.INFO: TCP Data received {"connection_id":65167,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:03] local.INFO: Processing buffer {"connection_id":65167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:03] local.INFO: Packet analysis {"connection_id":65167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:12:03] local.INFO: Extracted packet for processing {"connection_id":65167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 15:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 15:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 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-05-08 15:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:12:03] 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-05-08 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-05-08 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-05-08 15:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:12:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":65167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:12:03] local.INFO: GPS data processed {"connection_id":65167,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:12:03] local.INFO: Acknowledgment sent {"connection_id":65167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:12:08] local.INFO: TCP Data received {"connection_id":65167,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:08] local.INFO: Processing buffer {"connection_id":65167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:08] local.INFO: Packet analysis {"connection_id":65167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:12:08] local.INFO: Extracted packet for processing {"connection_id":65167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:12: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-05-08 15:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:12: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-05-08 15:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:12:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":65167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:12:08] local.INFO: GPS data processed {"connection_id":65167,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:12:08] local.INFO: Acknowledgment sent {"connection_id":65167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:12:52] local.INFO: TCP Data received {"connection_id":65054,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:52] local.INFO: Processing buffer {"connection_id":65054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:52] local.INFO: IMEI packet received {"connection_id":65054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":65054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:12:57] local.INFO: TCP Data received {"connection_id":65054,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:57] local.INFO: Processing buffer {"connection_id":65054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:12:57] local.INFO: IMEI packet received {"connection_id":65054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":65054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:12:58] local.INFO: TCP Data received {"connection_id":65054,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:58] local.INFO: Processing buffer {"connection_id":65054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:12:58] local.INFO: Packet analysis {"connection_id":65054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:12:58] local.INFO: Extracted packet for processing {"connection_id":65054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:12: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-05-08 15:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:12:58] 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-05-08 15:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:12:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:12:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":65054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:12:58] local.INFO: GPS data processed {"connection_id":65054,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:12:58] local.INFO: Acknowledgment sent {"connection_id":65054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:13:32] local.INFO: TCP Data received {"connection_id":65054,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:13:32] local.INFO: Processing buffer {"connection_id":65054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:13:32] local.INFO: Packet analysis {"connection_id":65054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:13:32] local.INFO: Extracted packet for processing {"connection_id":65054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:13:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:13:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:13:32] 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-05-08 15:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:13:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:13:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":65054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:13:32] local.INFO: GPS data processed {"connection_id":65054,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:13:32] local.INFO: Acknowledgment sent {"connection_id":65054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:13:53] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:13:53] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:13:53] local.INFO: IMEI packet received {"connection_id":65168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":65168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:13:57] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:13:57] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:13:57] local.INFO: IMEI packet received {"connection_id":65168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":65168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:13:58] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:13:58] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f3de50012d34c54006aa4a980008000029..."} 
[2026-05-08 15:13:58] local.INFO: Packet analysis {"connection_id":65168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:13:58] local.INFO: Extracted packet for processing {"connection_id":65168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f3"} 
[2026-05-08 15:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227598080001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:13: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-05-08 15:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778233106000,"timestamp_ms":1778233106000,"timestamp_seconds":1778233106,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f3de50"} 
[2026-05-08 15:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:13:58] 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-05-08 15:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227598080001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227598080001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:13:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227598080001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":65168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:13:58] local.INFO: GPS data processed {"connection_id":65168,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:13:58] local.INFO: Acknowledgment sent {"connection_id":65168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:14:30] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:14:30] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:14:30] local.INFO: Packet analysis {"connection_id":65168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:14:30] local.INFO: Extracted packet for processing {"connection_id":65168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:14:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:14:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":65168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:14:30] local.INFO: GPS data processed {"connection_id":65168,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:14:30] local.INFO: Acknowledgment sent {"connection_id":65168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:14:52] local.INFO: TCP Data received {"connection_id":65887,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:14:52] local.INFO: Processing buffer {"connection_id":65887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:14:52] local.INFO: IMEI packet received {"connection_id":65887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":65887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:14:57] local.INFO: TCP Data received {"connection_id":65887,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:14:57] local.INFO: Processing buffer {"connection_id":65887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:14:57] local.INFO: IMEI packet received {"connection_id":65887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":65887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:14:58] local.INFO: TCP Data received {"connection_id":65887,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:14:58] local.INFO: Processing buffer {"connection_id":65887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:14:58] local.INFO: Packet analysis {"connection_id":65887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:14:58] local.INFO: Extracted packet for processing {"connection_id":65887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:14: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-05-08 15:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:14:58] 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-05-08 15:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:14:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:14:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":65887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:14:58] local.INFO: GPS data processed {"connection_id":65887,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:14:58] local.INFO: Acknowledgment sent {"connection_id":65887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:15:30] local.INFO: TCP Data received {"connection_id":65887,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:15:30] local.INFO: Processing buffer {"connection_id":65887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:15:30] local.INFO: Packet analysis {"connection_id":65887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:15:30] local.INFO: Extracted packet for processing {"connection_id":65887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:15:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":65887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:15:30] local.INFO: GPS data processed {"connection_id":65887,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:15:30] local.INFO: Acknowledgment sent {"connection_id":65887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:15:56] local.INFO: TCP Data received {"connection_id":65056,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:15:56] local.INFO: Processing buffer {"connection_id":65056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:15:56] local.INFO: IMEI packet received {"connection_id":65056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":65056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:15:57] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:15:57] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:15:57] local.INFO: IMEI packet received {"connection_id":65169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":65169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:16:02] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:02] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:02] local.INFO: IMEI packet received {"connection_id":65169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":65169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:16:03] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:03] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:03] local.INFO: Packet analysis {"connection_id":65169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:16:03] local.INFO: Extracted packet for processing {"connection_id":65169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 15:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 15:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 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-05-08 15:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:16:03] 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-05-08 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-05-08 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-05-08 15:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":65169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:16:03] local.INFO: GPS data processed {"connection_id":65169,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:16:03] local.INFO: Acknowledgment sent {"connection_id":65169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:16:08] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:08] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:08] local.INFO: Packet analysis {"connection_id":65169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:16:08] local.INFO: Extracted packet for processing {"connection_id":65169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:16: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-05-08 15:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:16: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-05-08 15: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-05-08 15:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:16:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":65169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:16:08] local.INFO: GPS data processed {"connection_id":65169,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:16:08] local.INFO: Acknowledgment sent {"connection_id":65169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:16:13] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:13] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:13] local.INFO: Packet analysis {"connection_id":65169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:16:13] local.INFO: Extracted packet for processing {"connection_id":65169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:16:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16: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-05-08 15:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:16: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-05-08 15:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:16:13] 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-05-08 15:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:16:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:16:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":65169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:16:13] local.INFO: GPS data processed {"connection_id":65169,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:16:13] local.INFO: Acknowledgment sent {"connection_id":65169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:16:41] local.INFO: TCP Data received {"connection_id":65106,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:16:41] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:16:41] local.INFO: IMEI packet received {"connection_id":65106,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":65106,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:16:52] local.INFO: TCP Data received {"connection_id":65107,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:52] local.INFO: Processing buffer {"connection_id":65107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:52] local.INFO: IMEI packet received {"connection_id":65107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":65107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:16:57] local.INFO: TCP Data received {"connection_id":65107,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:57] local.INFO: Processing buffer {"connection_id":65107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:16:57] local.INFO: IMEI packet received {"connection_id":65107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":65107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:16:59] local.INFO: TCP Data received {"connection_id":65107,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:59] local.INFO: Processing buffer {"connection_id":65107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:16:59] local.INFO: Packet analysis {"connection_id":65107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:16:59] local.INFO: Extracted packet for processing {"connection_id":65107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:16: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-05-08 15:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:16:59] 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-05-08 15:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":65107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:16:59] local.INFO: GPS data processed {"connection_id":65107,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:16:59] local.INFO: Acknowledgment sent {"connection_id":65107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:17:31] local.INFO: TCP Data received {"connection_id":65107,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:17:31] local.INFO: Processing buffer {"connection_id":65107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:17:31] local.INFO: Packet analysis {"connection_id":65107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:17:31] local.INFO: Extracted packet for processing {"connection_id":65107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:17: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-05-08 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:17:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":65107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":121999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:17:31] local.INFO: GPS data processed {"connection_id":65107,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:17:31] local.INFO: Acknowledgment sent {"connection_id":65107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:17:53] local.INFO: TCP Data received {"connection_id":65057,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:17:53] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:17:53] local.INFO: IMEI packet received {"connection_id":65057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":65057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:17:57] local.INFO: TCP Data received {"connection_id":65057,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:17:57] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:17:57] local.INFO: IMEI packet received {"connection_id":65057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:17:59] local.INFO: TCP Data received {"connection_id":65057,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:17:59] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:17:59] local.INFO: Packet analysis {"connection_id":65057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:17:59] local.INFO: Extracted packet for processing {"connection_id":65057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:17:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:17: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-05-08 15:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:17:59] 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-05-08 15:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:17:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":65057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:17:59] local.INFO: GPS data processed {"connection_id":65057,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:17:59] local.INFO: Acknowledgment sent {"connection_id":65057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:18:32] local.INFO: TCP Data received {"connection_id":65057,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:18:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:18:32] local.INFO: Processing buffer {"connection_id":65057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:18:32] local.INFO: Packet analysis {"connection_id":65057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:18:32] local.INFO: Extracted packet for processing {"connection_id":65057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:18:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:18:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:18:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:18:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:18:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:18:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:18:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:18:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:18:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:18:32] 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-05-08 15:18:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:18:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:18:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:18:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:18:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:18:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:18:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:18:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:18:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:18:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:18:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:18:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:18:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:18:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:18:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:18:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:18:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:18:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":65057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:18:32] local.INFO: GPS data processed {"connection_id":65057,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:18:32] local.INFO: Acknowledgment sent {"connection_id":65057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:18:52] local.INFO: TCP Data received {"connection_id":65889,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:18:52] local.INFO: Processing buffer {"connection_id":65889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:18:52] local.INFO: IMEI packet received {"connection_id":65889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":65889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:18:57] local.INFO: TCP Data received {"connection_id":65889,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:18:57] local.INFO: Processing buffer {"connection_id":65889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:18:57] local.INFO: IMEI packet received {"connection_id":65889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":65889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:18:58] local.INFO: TCP Data received {"connection_id":65889,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:18:58] local.INFO: Processing buffer {"connection_id":65889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06f87618012d34c54006aa4a98000800002d..."} 
[2026-05-08 15:18:58] local.INFO: Packet analysis {"connection_id":65889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:18:58] local.INFO: Extracted packet for processing {"connection_id":65889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06f8"} 
[2026-05-08 15:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227675136001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:18: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-05-08 15:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778233407000,"timestamp_ms":1778233407000,"timestamp_seconds":1778233407,"priority":1,"record_length":96,"hex_timestamp":"0000019e06f87618"} 
[2026-05-08 15:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:18:58] 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-05-08 15: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-05-08 15:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227675136001,"66":25125,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227675136001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:18:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227675136001,"power":25125,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":65889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:18:58] local.INFO: GPS data processed {"connection_id":65889,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:18:58] local.INFO: Acknowledgment sent {"connection_id":65889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:19:30] local.INFO: TCP Data received {"connection_id":65889,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:19:30] local.INFO: Processing buffer {"connection_id":65889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:19:30] local.INFO: Packet analysis {"connection_id":65889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:19:30] local.INFO: Extracted packet for processing {"connection_id":65889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:19:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":65889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:19:30] local.INFO: GPS data processed {"connection_id":65889,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:19:30] local.INFO: Acknowledgment sent {"connection_id":65889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:19:52] local.INFO: TCP Data received {"connection_id":65110,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:19:52] local.INFO: Processing buffer {"connection_id":65110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:19:52] local.INFO: IMEI packet received {"connection_id":65110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":65110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:19:57] local.INFO: TCP Data received {"connection_id":65110,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:19:57] local.INFO: Processing buffer {"connection_id":65110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:19:57] local.INFO: IMEI packet received {"connection_id":65110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":65110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:19:58] local.INFO: TCP Data received {"connection_id":65110,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:19:58] local.INFO: Processing buffer {"connection_id":65110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:19:58] local.INFO: Packet analysis {"connection_id":65110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:19:58] local.INFO: Extracted packet for processing {"connection_id":65110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:19: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-05-08 15:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:19:58] 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-05-08 15:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:19:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":65110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:19:58] local.INFO: GPS data processed {"connection_id":65110,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:19:58] local.INFO: Acknowledgment sent {"connection_id":65110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:20:30] local.INFO: TCP Data received {"connection_id":65110,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:20:30] local.INFO: Processing buffer {"connection_id":65110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:20:30] local.INFO: Packet analysis {"connection_id":65110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:20:30] local.INFO: Extracted packet for processing {"connection_id":65110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:20:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:20:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:20:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":65110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:20:30] local.INFO: GPS data processed {"connection_id":65110,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:20:30] local.INFO: Acknowledgment sent {"connection_id":65110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:20:52] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:20:52] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:20:52] local.INFO: IMEI packet received {"connection_id":65058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":65058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:20:57] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:20:57] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:20:57] local.INFO: IMEI packet received {"connection_id":65058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":65058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:20:58] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:20:58] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:20:58] local.INFO: Packet analysis {"connection_id":65058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:20:58] local.INFO: Extracted packet for processing {"connection_id":65058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:20:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:20: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-05-08 15:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:20:58] 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-05-08 15:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:20:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":65058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:20:58] local.INFO: GPS data processed {"connection_id":65058,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:20:58] local.INFO: Acknowledgment sent {"connection_id":65058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:21:30] local.INFO: TCP Data received {"connection_id":65058,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:21:30] local.INFO: Processing buffer {"connection_id":65058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:21:30] local.INFO: Packet analysis {"connection_id":65058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:21:30] local.INFO: Extracted packet for processing {"connection_id":65058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":65058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:21:30] local.INFO: GPS data processed {"connection_id":65058,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:21:30] local.INFO: Acknowledgment sent {"connection_id":65058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:21:52] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:21:52] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:21:52] local.INFO: IMEI packet received {"connection_id":65111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":65111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:21:57] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:21:57] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:21:57] local.INFO: IMEI packet received {"connection_id":65111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":65111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:21:59] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:21:59] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:21:59] local.INFO: Packet analysis {"connection_id":65111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:21:59] local.INFO: Extracted packet for processing {"connection_id":65111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:21: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-05-08 15:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:21:59] 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-05-08 15:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":65111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:21:59] local.INFO: GPS data processed {"connection_id":65111,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:21:59] local.INFO: Acknowledgment sent {"connection_id":65111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:22:11] local.INFO: TCP Data received {"connection_id":65890,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:22:11] local.INFO: Processing buffer {"connection_id":65890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:22:11] local.INFO: IMEI packet received {"connection_id":65890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":65890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:22:30] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:22:30] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:22:30] local.INFO: Packet analysis {"connection_id":65111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:22:30] local.INFO: Extracted packet for processing {"connection_id":65111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":65111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:22:30] local.INFO: GPS data processed {"connection_id":65111,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:22:30] local.INFO: Acknowledgment sent {"connection_id":65111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:22:41] local.INFO: TCP Data received {"connection_id":65172,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:22:41] local.INFO: Processing buffer {"connection_id":65172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:22:41] local.INFO: IMEI packet received {"connection_id":65172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":65172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:22:52] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:22:52] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:22:52] local.INFO: IMEI packet received {"connection_id":65173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":65173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:22:57] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:22:57] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:22:57] local.INFO: IMEI packet received {"connection_id":65173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":65173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:22:58] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:22:58] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:22:58] local.INFO: Packet analysis {"connection_id":65173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:22:58] local.INFO: Extracted packet for processing {"connection_id":65173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:22:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:22: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-05-08 15:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:22:58] 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-05-08 15:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:22:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:22:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":65173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:22:58] local.INFO: GPS data processed {"connection_id":65173,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:22:58] local.INFO: Acknowledgment sent {"connection_id":65173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:23:29] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:23:29] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:23:29] local.INFO: Packet analysis {"connection_id":65173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:23:29] local.INFO: Extracted packet for processing {"connection_id":65173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:23:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:23:29] 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-05-08 15:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:23:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":65173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:23:29] local.INFO: GPS data processed {"connection_id":65173,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:23:29] local.INFO: Acknowledgment sent {"connection_id":65173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:23:52] local.INFO: TCP Data received {"connection_id":65891,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:23:52] local.INFO: Processing buffer {"connection_id":65891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:23:52] local.INFO: IMEI packet received {"connection_id":65891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":65891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:23:57] local.INFO: TCP Data received {"connection_id":65891,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:23:57] local.INFO: Processing buffer {"connection_id":65891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:23:57] local.INFO: IMEI packet received {"connection_id":65891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":65891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:23:58] local.INFO: TCP Data received {"connection_id":65891,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:23:58] local.INFO: Processing buffer {"connection_id":65891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e06fd0de0012d34c54006aa4a98000e00002c..."} 
[2026-05-08 15:23:58] local.INFO: Packet analysis {"connection_id":65891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:23:58] local.INFO: Extracted packet for processing {"connection_id":65891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e06fd"} 
[2026-05-08 15:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227752192001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:23: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-05-08 15:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778233708000,"timestamp_ms":1778233708000,"timestamp_seconds":1778233708,"priority":1,"record_length":96,"hex_timestamp":"0000019e06fd0de0"} 
[2026-05-08 15:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-05-08 15:23:58] 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-05-08 15:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227752192001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227752192001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:23:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227752192001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":65891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:23:58] local.INFO: GPS data processed {"connection_id":65891,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:23:58] local.INFO: Acknowledgment sent {"connection_id":65891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:24:30] local.INFO: TCP Data received {"connection_id":65891,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:24:30] local.INFO: Processing buffer {"connection_id":65891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:24:30] local.INFO: Packet analysis {"connection_id":65891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:24:30] local.INFO: Extracted packet for processing {"connection_id":65891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:24:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:24:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:24:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:24:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":65891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:24:30] local.INFO: GPS data processed {"connection_id":65891,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:24:30] local.INFO: Acknowledgment sent {"connection_id":65891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:24:52] local.INFO: TCP Data received {"connection_id":65174,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:24:52] local.INFO: Processing buffer {"connection_id":65174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:24:52] local.INFO: IMEI packet received {"connection_id":65174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":65174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:24:57] local.INFO: TCP Data received {"connection_id":65174,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:24:57] local.INFO: Processing buffer {"connection_id":65174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:24:57] local.INFO: IMEI packet received {"connection_id":65174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":65174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:24:58] local.INFO: TCP Data received {"connection_id":65174,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:24:58] local.INFO: Processing buffer {"connection_id":65174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:24:58] local.INFO: Packet analysis {"connection_id":65174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:24:58] local.INFO: Extracted packet for processing {"connection_id":65174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:24: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-05-08 15:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:24:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":65174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:24:58] local.INFO: GPS data processed {"connection_id":65174,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:24:58] local.INFO: Acknowledgment sent {"connection_id":65174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:25:30] local.INFO: TCP Data received {"connection_id":65174,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:25:30] local.INFO: Processing buffer {"connection_id":65174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:25:30] local.INFO: Packet analysis {"connection_id":65174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:25:30] local.INFO: Extracted packet for processing {"connection_id":65174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:25:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":65174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:25:30] local.INFO: GPS data processed {"connection_id":65174,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:25:30] local.INFO: Acknowledgment sent {"connection_id":65174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:25:52] local.INFO: TCP Data received {"connection_id":65114,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:25:52] local.INFO: Processing buffer {"connection_id":65114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:25:52] local.INFO: IMEI packet received {"connection_id":65114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":65114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:25:57] local.INFO: TCP Data received {"connection_id":65114,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:25:57] local.INFO: Processing buffer {"connection_id":65114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:25:57] local.INFO: IMEI packet received {"connection_id":65114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":65114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:25:59] local.INFO: TCP Data received {"connection_id":65114,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:25:59] local.INFO: Processing buffer {"connection_id":65114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:25:59] local.INFO: Packet analysis {"connection_id":65114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:25:59] local.INFO: Extracted packet for processing {"connection_id":65114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:25:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:25: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-05-08 15:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:25:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:25:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:25:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:25:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":65114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:25:59] local.INFO: GPS data processed {"connection_id":65114,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:25:59] local.INFO: Acknowledgment sent {"connection_id":65114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:26:30] local.INFO: TCP Data received {"connection_id":65114,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:26:30] local.INFO: Processing buffer {"connection_id":65114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:26:30] local.INFO: Packet analysis {"connection_id":65114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:26:30] local.INFO: Extracted packet for processing {"connection_id":65114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:26:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":65114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:26:30] local.INFO: GPS data processed {"connection_id":65114,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:26:30] local.INFO: Acknowledgment sent {"connection_id":65114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:26:52] local.INFO: TCP Data received {"connection_id":65115,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:26:52] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:26:52] local.INFO: IMEI packet received {"connection_id":65115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":65115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:26:57] local.INFO: TCP Data received {"connection_id":65115,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:26:57] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:26:57] local.INFO: IMEI packet received {"connection_id":65115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":65115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:26:58] local.INFO: TCP Data received {"connection_id":65115,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:26:58] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:26:58] local.INFO: Packet analysis {"connection_id":65115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:26:58] local.INFO: Extracted packet for processing {"connection_id":65115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:26:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:26: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-05-08 15:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:26:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":65115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:26:58] local.INFO: GPS data processed {"connection_id":65115,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:26:58] local.INFO: Acknowledgment sent {"connection_id":65115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:27:30] local.INFO: TCP Data received {"connection_id":65115,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:27:30] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:27:30] local.INFO: Packet analysis {"connection_id":65115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:27:30] local.INFO: Extracted packet for processing {"connection_id":65115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:27:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:27:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:27:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":65115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:27:30] local.INFO: GPS data processed {"connection_id":65115,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:27:30] local.INFO: Acknowledgment sent {"connection_id":65115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:27:52] local.INFO: TCP Data received {"connection_id":65116,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:27:52] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:27:52] local.INFO: IMEI packet received {"connection_id":65116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":65116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:27:57] local.INFO: TCP Data received {"connection_id":65116,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:27:57] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:27:57] local.INFO: IMEI packet received {"connection_id":65116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":65116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:27:58] local.INFO: TCP Data received {"connection_id":65116,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:27:58] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:27:58] local.INFO: Packet analysis {"connection_id":65116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:27:58] local.INFO: Extracted packet for processing {"connection_id":65116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:27: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-05-08 15:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":65116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:27:58] local.INFO: GPS data processed {"connection_id":65116,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:27:58] local.INFO: Acknowledgment sent {"connection_id":65116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:28:11] local.INFO: TCP Data received {"connection_id":65176,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:28:11] local.INFO: Processing buffer {"connection_id":65176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:28:11] local.INFO: IMEI packet received {"connection_id":65176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":65176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:28:30] local.INFO: TCP Data received {"connection_id":65116,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:28:30] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:28:30] local.INFO: Packet analysis {"connection_id":65116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:28:30] local.INFO: Extracted packet for processing {"connection_id":65116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":65116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:28:30] local.INFO: GPS data processed {"connection_id":65116,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:28:30] local.INFO: Acknowledgment sent {"connection_id":65116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:28:46] local.INFO: TCP Data received {"connection_id":65177,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:28:46] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:28:46] local.INFO: IMEI packet received {"connection_id":65177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":65177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:28:57] local.INFO: TCP Data received {"connection_id":65117,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:28:57] local.INFO: Processing buffer {"connection_id":65117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:28:57] local.INFO: IMEI packet received {"connection_id":65117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":65117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:29:02] local.INFO: TCP Data received {"connection_id":65117,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:02] local.INFO: Processing buffer {"connection_id":65117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:02] local.INFO: IMEI packet received {"connection_id":65117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":65117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:29:03] local.INFO: TCP Data received {"connection_id":65117,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:29:03] local.INFO: Processing buffer {"connection_id":65117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:29:03] local.INFO: Packet analysis {"connection_id":65117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:29:03] local.INFO: Extracted packet for processing {"connection_id":65117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 15:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:29:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:29:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":65117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:29:03] local.INFO: GPS data processed {"connection_id":65117,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:29:03] local.INFO: Acknowledgment sent {"connection_id":65117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:29:08] local.INFO: TCP Data received {"connection_id":65117,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:29:08] local.INFO: Processing buffer {"connection_id":65117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0701a5a8012d34c54006aa4a98001000002c..."} 
[2026-05-08 15:29:08] local.INFO: Packet analysis {"connection_id":65117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:29:08] local.INFO: Extracted packet for processing {"connection_id":65117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0701"} 
[2026-05-08 15:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 15:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227829248001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 15:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778234009000,"timestamp_ms":1778234009000,"timestamp_seconds":1778234009,"priority":1,"record_length":96,"hex_timestamp":"0000019e0701a5a8"} 
[2026-05-08 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-05-08 15:29: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-05-08 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 15:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 15:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227829248001,"66":24538,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227829248001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227829248001,"power":24538,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":65117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:29:08] local.INFO: GPS data processed {"connection_id":65117,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:29:08] local.INFO: Acknowledgment sent {"connection_id":65117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:29:52] local.INFO: TCP Data received {"connection_id":65060,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:52] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:52] local.INFO: IMEI packet received {"connection_id":65060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":65060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:29:57] local.INFO: TCP Data received {"connection_id":65060,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:57] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:29:57] local.INFO: IMEI packet received {"connection_id":65060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":65060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:29:58] local.INFO: TCP Data received {"connection_id":65060,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:29:58] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:29:58] local.INFO: Packet analysis {"connection_id":65060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:29:58] local.INFO: Extracted packet for processing {"connection_id":65060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:29: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-05-08 15:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 15:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:29:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:29:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":65060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:29:58] local.INFO: GPS data processed {"connection_id":65060,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:29:58] local.INFO: Acknowledgment sent {"connection_id":65060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:30:30] local.INFO: TCP Data received {"connection_id":65060,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:30:30] local.INFO: Processing buffer {"connection_id":65060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:30:30] local.INFO: Packet analysis {"connection_id":65060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:30:30] local.INFO: Extracted packet for processing {"connection_id":65060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 15:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:30:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":65060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:30:30] local.INFO: GPS data processed {"connection_id":65060,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:30:30] local.INFO: Acknowledgment sent {"connection_id":65060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:30:52] local.INFO: TCP Data received {"connection_id":65119,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:30:52] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:30:52] local.INFO: IMEI packet received {"connection_id":65119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":65119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:30:57] local.INFO: TCP Data received {"connection_id":65119,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:30:57] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:30:57] local.INFO: IMEI packet received {"connection_id":65119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":65119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:30:58] local.INFO: TCP Data received {"connection_id":65119,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:30:58] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:30:58] local.INFO: Packet analysis {"connection_id":65119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:30:58] local.INFO: Extracted packet for processing {"connection_id":65119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:30: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-05-08 15:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 15:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:30:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:30:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":65119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:30:58] local.INFO: GPS data processed {"connection_id":65119,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:30:58] local.INFO: Acknowledgment sent {"connection_id":65119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:31:30] local.INFO: TCP Data received {"connection_id":65119,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:31:30] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:31:30] local.INFO: Packet analysis {"connection_id":65119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:31:30] local.INFO: Extracted packet for processing {"connection_id":65119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 15:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:31:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":65119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:31:30] local.INFO: GPS data processed {"connection_id":65119,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:31:30] local.INFO: Acknowledgment sent {"connection_id":65119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:31:52] local.INFO: TCP Data received {"connection_id":65893,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:31:52] local.INFO: Processing buffer {"connection_id":65893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:31:52] local.INFO: IMEI packet received {"connection_id":65893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":65893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:31:57] local.INFO: TCP Data received {"connection_id":65893,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:31:57] local.INFO: Processing buffer {"connection_id":65893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:31:57] local.INFO: IMEI packet received {"connection_id":65893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":65893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:31:58] local.INFO: TCP Data received {"connection_id":65893,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:31:58] local.INFO: Processing buffer {"connection_id":65893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:31:58] local.INFO: Packet analysis {"connection_id":65893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:31:58] local.INFO: Extracted packet for processing {"connection_id":65893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:31: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-05-08 15:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 15:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:31:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:31:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":65893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:31:58] local.INFO: GPS data processed {"connection_id":65893,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:31:58] local.INFO: Acknowledgment sent {"connection_id":65893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:32:30] local.INFO: TCP Data received {"connection_id":65893,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:32:30] local.INFO: Processing buffer {"connection_id":65893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:32:30] local.INFO: Packet analysis {"connection_id":65893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:32:30] local.INFO: Extracted packet for processing {"connection_id":65893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 15:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:32:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":65893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:32:30] local.INFO: GPS data processed {"connection_id":65893,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:32:30] local.INFO: Acknowledgment sent {"connection_id":65893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:32:57] local.INFO: TCP Data received {"connection_id":65120,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:32:57] local.INFO: Processing buffer {"connection_id":65120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:32:57] local.INFO: IMEI packet received {"connection_id":65120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":65120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:33:02] local.INFO: TCP Data received {"connection_id":65120,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:02] local.INFO: Processing buffer {"connection_id":65120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:02] local.INFO: IMEI packet received {"connection_id":65120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":65120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:33:04] local.INFO: TCP Data received {"connection_id":65120,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:04] local.INFO: Processing buffer {"connection_id":65120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:04] local.INFO: Packet analysis {"connection_id":65120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:33:04] local.INFO: Extracted packet for processing {"connection_id":65120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 15:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:33:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:33:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":65120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:33:04] local.INFO: GPS data processed {"connection_id":65120,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:33:04] local.INFO: Acknowledgment sent {"connection_id":65120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:33:08] local.INFO: TCP Data received {"connection_id":65120,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:08] local.INFO: Processing buffer {"connection_id":65120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:08] local.INFO: Packet analysis {"connection_id":65120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:33:08] local.INFO: Extracted packet for processing {"connection_id":65120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 15:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 15:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 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-05-08 15:33: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-05-08 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":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:33:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 15:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":65120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:33:09] local.INFO: GPS data processed {"connection_id":65120,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:33:09] local.INFO: Acknowledgment sent {"connection_id":65120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:33:52] local.INFO: TCP Data received {"connection_id":65179,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:52] local.INFO: Processing buffer {"connection_id":65179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:52] local.INFO: IMEI packet received {"connection_id":65179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":65179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:33:57] local.INFO: TCP Data received {"connection_id":65179,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:57] local.INFO: Processing buffer {"connection_id":65179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:33:57] local.INFO: IMEI packet received {"connection_id":65179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":65179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:33:58] local.INFO: TCP Data received {"connection_id":65179,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:58] local.INFO: Processing buffer {"connection_id":65179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07063d70012d34c54006aa4a98001500002b..."} 
[2026-05-08 15:33:58] local.INFO: Packet analysis {"connection_id":65179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:33:58] local.INFO: Extracted packet for processing {"connection_id":65179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0706"} 
[2026-05-08 15:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:33: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-05-08 15:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234310000,"timestamp_ms":1778234310000,"timestamp_seconds":1778234310,"priority":1,"record_length":96,"hex_timestamp":"0000019e07063d70"} 
[2026-05-08 15:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-05-08 15:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2635,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227906304001,"66":25147,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:33:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227906304001,"power":25147,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":65179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:33:58] local.INFO: GPS data processed {"connection_id":65179,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:33:58] local.INFO: Acknowledgment sent {"connection_id":65179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:34:16] local.INFO: TCP Data received {"connection_id":65062,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65062,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:34:16] local.INFO: Processing buffer {"connection_id":65062,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:34:16] local.INFO: IMEI packet received {"connection_id":65062,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":65062,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:34:29] local.INFO: TCP Data received {"connection_id":65179,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:34:29] local.INFO: Processing buffer {"connection_id":65179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:34:29] local.INFO: Packet analysis {"connection_id":65179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:34:29] local.INFO: Extracted packet for processing {"connection_id":65179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:34:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:34:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:34:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":65179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:34:29] local.INFO: GPS data processed {"connection_id":65179,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:34:29] local.INFO: Acknowledgment sent {"connection_id":65179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:34:41] local.INFO: TCP Data received {"connection_id":65121,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:34:41] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:34:41] local.INFO: IMEI packet received {"connection_id":65121,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":65121,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:34:52] local.INFO: TCP Data received {"connection_id":65180,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:34:52] local.INFO: Processing buffer {"connection_id":65180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:34:52] local.INFO: IMEI packet received {"connection_id":65180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":65180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:34:57] local.INFO: TCP Data received {"connection_id":65180,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:34:57] local.INFO: Processing buffer {"connection_id":65180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:34:57] local.INFO: IMEI packet received {"connection_id":65180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":65180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:34:58] local.INFO: TCP Data received {"connection_id":65180,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:34:58] local.INFO: Processing buffer {"connection_id":65180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:34:58] local.INFO: Packet analysis {"connection_id":65180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:34:58] local.INFO: Extracted packet for processing {"connection_id":65180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:34: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-05-08 15:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:34:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:34:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":65180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:34:58] local.INFO: GPS data processed {"connection_id":65180,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:34:58] local.INFO: Acknowledgment sent {"connection_id":65180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:35:30] local.INFO: TCP Data received {"connection_id":65180,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:35:30] local.INFO: Processing buffer {"connection_id":65180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:35:30] local.INFO: Packet analysis {"connection_id":65180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:35:30] local.INFO: Extracted packet for processing {"connection_id":65180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:35:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":65180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:35:30] local.INFO: GPS data processed {"connection_id":65180,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:35:30] local.INFO: Acknowledgment sent {"connection_id":65180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:35:52] local.INFO: TCP Data received {"connection_id":65122,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:35:52] local.INFO: Processing buffer {"connection_id":65122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:35:52] local.INFO: IMEI packet received {"connection_id":65122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":65122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:35:57] local.INFO: TCP Data received {"connection_id":65122,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:35:57] local.INFO: Processing buffer {"connection_id":65122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:35:57] local.INFO: IMEI packet received {"connection_id":65122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":65122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:35:59] local.INFO: TCP Data received {"connection_id":65122,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:35:59] local.INFO: Processing buffer {"connection_id":65122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:35:59] local.INFO: Packet analysis {"connection_id":65122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:35:59] local.INFO: Extracted packet for processing {"connection_id":65122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:35: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-05-08 15:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":65122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:35:59] local.INFO: GPS data processed {"connection_id":65122,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:35:59] local.INFO: Acknowledgment sent {"connection_id":65122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:36:31] local.INFO: TCP Data received {"connection_id":65122,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:36:31] local.INFO: Processing buffer {"connection_id":65122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:36:31] local.INFO: Packet analysis {"connection_id":65122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:36:31] local.INFO: Extracted packet for processing {"connection_id":65122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:36:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:36:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:36:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:36:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:36:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:36:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:36:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:36:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:36:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:36:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:36:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:36:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:36:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:36:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:36:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:36:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:36:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:36:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:36:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:36:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:36:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:36:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:36:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:36:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:36:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:36:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:36:31] local.INFO: DEBUG: GPS processor result {"connection_id":65122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:36:31] local.INFO: GPS data processed {"connection_id":65122,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:36:31] local.INFO: Acknowledgment sent {"connection_id":65122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:36:57] local.INFO: TCP Data received {"connection_id":65124,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:36:57] local.INFO: Processing buffer {"connection_id":65124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:36:57] local.INFO: IMEI packet received {"connection_id":65124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":65124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:37:02] local.INFO: TCP Data received {"connection_id":65124,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:02] local.INFO: Processing buffer {"connection_id":65124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:02] local.INFO: IMEI packet received {"connection_id":65124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":65124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:37:03] local.INFO: TCP Data received {"connection_id":65124,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:03] local.INFO: Processing buffer {"connection_id":65124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:03] local.INFO: Packet analysis {"connection_id":65124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:37:03] local.INFO: Extracted packet for processing {"connection_id":65124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:37:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":65124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:37:03] local.INFO: GPS data processed {"connection_id":65124,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:37:03] local.INFO: Acknowledgment sent {"connection_id":65124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:37:08] local.INFO: TCP Data received {"connection_id":65124,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:08] local.INFO: Processing buffer {"connection_id":65124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:08] local.INFO: Packet analysis {"connection_id":65124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:37:08] local.INFO: Extracted packet for processing {"connection_id":65124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 15:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 15:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 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-05-08 15:37: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-05-08 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 15:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:37:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":65124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:37:08] local.INFO: GPS data processed {"connection_id":65124,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:37:08] local.INFO: Acknowledgment sent {"connection_id":65124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:37:52] local.INFO: TCP Data received {"connection_id":65181,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:52] local.INFO: Processing buffer {"connection_id":65181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:52] local.INFO: IMEI packet received {"connection_id":65181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":65181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:37:57] local.INFO: TCP Data received {"connection_id":65181,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:57] local.INFO: Processing buffer {"connection_id":65181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:37:57] local.INFO: IMEI packet received {"connection_id":65181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":65181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:37:58] local.INFO: TCP Data received {"connection_id":65181,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:58] local.INFO: Processing buffer {"connection_id":65181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:37:58] local.INFO: Packet analysis {"connection_id":65181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:37:58] local.INFO: Extracted packet for processing {"connection_id":65181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:37: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-05-08 15:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:37:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":65181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:37:58] local.INFO: GPS data processed {"connection_id":65181,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:37:58] local.INFO: Acknowledgment sent {"connection_id":65181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:38:30] local.INFO: TCP Data received {"connection_id":65181,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:38:30] local.INFO: Processing buffer {"connection_id":65181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:38:30] local.INFO: Packet analysis {"connection_id":65181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:38:30] local.INFO: Extracted packet for processing {"connection_id":65181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:38:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:38:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:38:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:38:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:38:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":65181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:38:30] local.INFO: GPS data processed {"connection_id":65181,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:38:30] local.INFO: Acknowledgment sent {"connection_id":65181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:38:52] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:38:52] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:38:52] local.INFO: IMEI packet received {"connection_id":65125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":65125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:38:57] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:38:57] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:38:57] local.INFO: IMEI packet received {"connection_id":65125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":65125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:38:58] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:38:58] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070ad538012d34c54006aa4a98000b00002b..."} 
[2026-05-08 15:38:58] local.INFO: Packet analysis {"connection_id":65125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:38:58] local.INFO: Extracted packet for processing {"connection_id":65125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070a"} 
[2026-05-08 15:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455227983360001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:38: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-05-08 15:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234611000,"timestamp_ms":1778234611000,"timestamp_seconds":1778234611,"priority":1,"record_length":96,"hex_timestamp":"0000019e070ad538"} 
[2026-05-08 15:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-05-08 15:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455227983360001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455227983360001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:38:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:38:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455227983360001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":65125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:38:58] local.INFO: GPS data processed {"connection_id":65125,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:38:58] local.INFO: Acknowledgment sent {"connection_id":65125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:39:30] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:39:30] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:39:30] local.INFO: Packet analysis {"connection_id":65125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:39:30] local.INFO: Extracted packet for processing {"connection_id":65125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:39:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:39:30] 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-05-08 15:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:39:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:39:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":65125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:39:30] local.INFO: GPS data processed {"connection_id":65125,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:39:30] local.INFO: Acknowledgment sent {"connection_id":65125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:39:57] local.INFO: TCP Data received {"connection_id":65064,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:39:57] local.INFO: Processing buffer {"connection_id":65064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:39:57] local.INFO: IMEI packet received {"connection_id":65064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":65064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:40:02] local.INFO: TCP Data received {"connection_id":65064,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:02] local.INFO: Processing buffer {"connection_id":65064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:02] local.INFO: IMEI packet received {"connection_id":65064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":65064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:40:03] local.INFO: TCP Data received {"connection_id":65064,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:03] local.INFO: Processing buffer {"connection_id":65064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:03] local.INFO: Packet analysis {"connection_id":65064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:40:03] local.INFO: Extracted packet for processing {"connection_id":65064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:40:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:40: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-05-08 15:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:40:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:40:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":65064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:40:03] local.INFO: GPS data processed {"connection_id":65064,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:40:03] local.INFO: Acknowledgment sent {"connection_id":65064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:40:08] local.INFO: TCP Data received {"connection_id":65064,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:08] local.INFO: Processing buffer {"connection_id":65064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:08] local.INFO: Packet analysis {"connection_id":65064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:40:08] local.INFO: Extracted packet for processing {"connection_id":65064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15: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-05-08 15:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:40: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-05-08 15:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:40:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:40:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":65064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:40:08] local.INFO: GPS data processed {"connection_id":65064,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:40:08] local.INFO: Acknowledgment sent {"connection_id":65064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:40:11] local.INFO: TCP Data received {"connection_id":65183,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65183,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:40:11] local.INFO: Processing buffer {"connection_id":65183,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:40:11] local.INFO: IMEI packet received {"connection_id":65183,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":65183,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:40:42] local.INFO: TCP Data received {"connection_id":65126,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:40:42] local.INFO: Processing buffer {"connection_id":65126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:40:42] local.INFO: IMEI packet received {"connection_id":65126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:40:42] local.INFO: IMEI acknowledgment sent {"connection_id":65126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:40:52] local.INFO: TCP Data received {"connection_id":65895,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:52] local.INFO: Processing buffer {"connection_id":65895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:52] local.INFO: IMEI packet received {"connection_id":65895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":65895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:40:57] local.INFO: TCP Data received {"connection_id":65895,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:57] local.INFO: Processing buffer {"connection_id":65895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:40:57] local.INFO: IMEI packet received {"connection_id":65895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":65895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:40:58] local.INFO: TCP Data received {"connection_id":65895,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:58] local.INFO: Processing buffer {"connection_id":65895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:40:58] local.INFO: Packet analysis {"connection_id":65895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:40:58] local.INFO: Extracted packet for processing {"connection_id":65895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:40: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-05-08 15:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:40: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-05-08 15:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:40:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":65895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:40:59] local.INFO: GPS data processed {"connection_id":65895,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:40:59] local.INFO: Acknowledgment sent {"connection_id":65895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:41:30] local.INFO: TCP Data received {"connection_id":65895,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:41:30] local.INFO: Processing buffer {"connection_id":65895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:41:30] local.INFO: Packet analysis {"connection_id":65895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:41:30] local.INFO: Extracted packet for processing {"connection_id":65895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:41:30] 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-05-08 15:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":65895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:41:30] local.INFO: GPS data processed {"connection_id":65895,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:41:30] local.INFO: Acknowledgment sent {"connection_id":65895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:41:52] local.INFO: TCP Data received {"connection_id":65184,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:41:52] local.INFO: Processing buffer {"connection_id":65184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:41:52] local.INFO: IMEI packet received {"connection_id":65184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":65184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:41:57] local.INFO: TCP Data received {"connection_id":65184,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:41:57] local.INFO: Processing buffer {"connection_id":65184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:41:57] local.INFO: IMEI packet received {"connection_id":65184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":65184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:41:58] local.INFO: TCP Data received {"connection_id":65184,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:41:58] local.INFO: Processing buffer {"connection_id":65184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:41:58] local.INFO: Packet analysis {"connection_id":65184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:41:58] local.INFO: Extracted packet for processing {"connection_id":65184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:41: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-05-08 15:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:41: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-05-08 15: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-05-08 15:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:41:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:41:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":65184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:41:58] local.INFO: GPS data processed {"connection_id":65184,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:41:58] local.INFO: Acknowledgment sent {"connection_id":65184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:42:30] local.INFO: TCP Data received {"connection_id":65184,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:42:30] local.INFO: Processing buffer {"connection_id":65184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:42:30] local.INFO: Packet analysis {"connection_id":65184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:42:30] local.INFO: Extracted packet for processing {"connection_id":65184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:42:30] 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-05-08 15:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:42:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":65184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:42:30] local.INFO: GPS data processed {"connection_id":65184,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:42:30] local.INFO: Acknowledgment sent {"connection_id":65184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:42:52] local.INFO: TCP Data received {"connection_id":65186,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:42:52] local.INFO: Processing buffer {"connection_id":65186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:42:52] local.INFO: IMEI packet received {"connection_id":65186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":65186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:42:57] local.INFO: TCP Data received {"connection_id":65186,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:42:57] local.INFO: Processing buffer {"connection_id":65186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:42:57] local.INFO: IMEI packet received {"connection_id":65186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":65186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:42:59] local.INFO: TCP Data received {"connection_id":65186,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:42:59] local.INFO: Processing buffer {"connection_id":65186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:42:59] local.INFO: Packet analysis {"connection_id":65186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:42:59] local.INFO: Extracted packet for processing {"connection_id":65186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:42:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:42: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-05-08 15:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:42: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-05-08 15: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-05-08 15:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:42:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":65186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:42:59] local.INFO: GPS data processed {"connection_id":65186,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:42:59] local.INFO: Acknowledgment sent {"connection_id":65186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:43:31] local.INFO: TCP Data received {"connection_id":65186,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:43:31] local.INFO: Processing buffer {"connection_id":65186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:43:31] local.INFO: Packet analysis {"connection_id":65186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:43:31] local.INFO: Extracted packet for processing {"connection_id":65186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:43:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:43:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:43:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:43:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:43:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:43:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:43:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:43:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:43:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:43:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:43:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:43:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:43:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:43:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:43:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:43:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:43:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:43:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:43:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:43:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:43:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:43:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:43:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:43:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:43:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:43:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:43:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:43:31] local.INFO: DEBUG: GPS processor result {"connection_id":65186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:43:31] local.INFO: GPS data processed {"connection_id":65186,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:43:31] local.INFO: Acknowledgment sent {"connection_id":65186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:43:52] local.INFO: TCP Data received {"connection_id":65897,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:43:52] local.INFO: Processing buffer {"connection_id":65897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:43:52] local.INFO: IMEI packet received {"connection_id":65897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":65897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:43:57] local.INFO: TCP Data received {"connection_id":65897,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:43:57] local.INFO: Processing buffer {"connection_id":65897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:43:57] local.INFO: IMEI packet received {"connection_id":65897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":65897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:43:58] local.INFO: TCP Data received {"connection_id":65897,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:43:58] local.INFO: Processing buffer {"connection_id":65897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e070f6d00012d34c54006aa4a980015000029..."} 
[2026-05-08 15:43:58] local.INFO: Packet analysis {"connection_id":65897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:43:58] local.INFO: Extracted packet for processing {"connection_id":65897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e070f"} 
[2026-05-08 15:43:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":21,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228060416001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778234912000,"timestamp_ms":1778234912000,"timestamp_seconds":1778234912,"priority":1,"record_length":96,"hex_timestamp":"0000019e070f6d00"} 
[2026-05-08 15:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:43: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-05-08 15: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-05-08 15:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228060416001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228060416001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:43:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:43:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228060416001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":65897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:43:58] local.INFO: GPS data processed {"connection_id":65897,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:43:58] local.INFO: Acknowledgment sent {"connection_id":65897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:44:30] local.INFO: TCP Data received {"connection_id":65897,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:44:30] local.INFO: Processing buffer {"connection_id":65897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:44:30] local.INFO: Packet analysis {"connection_id":65897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:44:30] local.INFO: Extracted packet for processing {"connection_id":65897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:44:30] 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-05-08 15:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:44:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:44:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":65897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:44:30] local.INFO: GPS data processed {"connection_id":65897,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:44:30] local.INFO: Acknowledgment sent {"connection_id":65897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:44:52] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:44:52] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:44:52] local.INFO: IMEI packet received {"connection_id":65127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":65127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:44:57] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:44:57] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:44:57] local.INFO: IMEI packet received {"connection_id":65127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":65127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:44:59] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:44:59] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:44:59] local.INFO: Packet analysis {"connection_id":65127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:44:59] local.INFO: Extracted packet for processing {"connection_id":65127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:44:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:44: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-05-08 15:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:44: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-05-08 15:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:44:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":65127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:44:59] local.INFO: GPS data processed {"connection_id":65127,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:44:59] local.INFO: Acknowledgment sent {"connection_id":65127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:45:31] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:45:31] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:45:31] local.INFO: Packet analysis {"connection_id":65127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:45:31] local.INFO: Extracted packet for processing {"connection_id":65127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:45:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:45: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-05-08 15:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:45:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:45:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":65127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:45:31] local.INFO: GPS data processed {"connection_id":65127,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:45:31] local.INFO: Acknowledgment sent {"connection_id":65127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:45:52] local.INFO: TCP Data received {"connection_id":65128,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:45:52] local.INFO: Processing buffer {"connection_id":65128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:45:52] local.INFO: IMEI packet received {"connection_id":65128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":65128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:45:57] local.INFO: TCP Data received {"connection_id":65128,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:45:57] local.INFO: Processing buffer {"connection_id":65128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:45:57] local.INFO: IMEI packet received {"connection_id":65128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":65128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:45:58] local.INFO: TCP Data received {"connection_id":65128,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:45:58] local.INFO: Processing buffer {"connection_id":65128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:45:58] local.INFO: Packet analysis {"connection_id":65128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:45:58] local.INFO: Extracted packet for processing {"connection_id":65128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:45:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:45: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-05-08 15:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:45: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-05-08 15: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-05-08 15:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:45:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":65128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:45:58] local.INFO: GPS data processed {"connection_id":65128,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:45:58] local.INFO: Acknowledgment sent {"connection_id":65128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:46:11] local.INFO: TCP Data received {"connection_id":65066,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:46:11] local.INFO: Processing buffer {"connection_id":65066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:46:11] local.INFO: IMEI packet received {"connection_id":65066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":65066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:46:30] local.INFO: TCP Data received {"connection_id":65128,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:46:30] local.INFO: Processing buffer {"connection_id":65128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:46:30] local.INFO: Packet analysis {"connection_id":65128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:46:30] local.INFO: Extracted packet for processing {"connection_id":65128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:46:30] 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-05-08 15: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-05-08 15:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":65128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:46:30] local.INFO: GPS data processed {"connection_id":65128,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:46:30] local.INFO: Acknowledgment sent {"connection_id":65128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:46:41] local.INFO: TCP Data received {"connection_id":65898,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:46:41] local.INFO: Processing buffer {"connection_id":65898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:46:41] local.INFO: IMEI packet received {"connection_id":65898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":65898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:46:52] local.INFO: TCP Data received {"connection_id":65067,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:46:52] local.INFO: Processing buffer {"connection_id":65067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:46:52] local.INFO: IMEI packet received {"connection_id":65067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":65067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:46:57] local.INFO: TCP Data received {"connection_id":65067,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:46:57] local.INFO: Processing buffer {"connection_id":65067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:46:57] local.INFO: IMEI packet received {"connection_id":65067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":65067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:46:58] local.INFO: TCP Data received {"connection_id":65067,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:46:58] local.INFO: Processing buffer {"connection_id":65067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:46:58] local.INFO: Packet analysis {"connection_id":65067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:46:58] local.INFO: Extracted packet for processing {"connection_id":65067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:46: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-05-08 15:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:46: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-05-08 15: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-05-08 15:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:46:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":65067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:46:58] local.INFO: GPS data processed {"connection_id":65067,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:46:58] local.INFO: Acknowledgment sent {"connection_id":65067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:47:30] local.INFO: TCP Data received {"connection_id":65067,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:47:30] local.INFO: Processing buffer {"connection_id":65067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:47:30] local.INFO: Packet analysis {"connection_id":65067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:47:30] local.INFO: Extracted packet for processing {"connection_id":65067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:47:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:47:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:47:30] 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-05-08 15: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-05-08 15:47:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:47:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":65067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:47:30] local.INFO: GPS data processed {"connection_id":65067,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:47:30] local.INFO: Acknowledgment sent {"connection_id":65067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:47:57] local.INFO: TCP Data received {"connection_id":65900,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:47:57] local.INFO: Processing buffer {"connection_id":65900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:47:57] local.INFO: IMEI packet received {"connection_id":65900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":65900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:48:02] local.INFO: TCP Data received {"connection_id":65900,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:02] local.INFO: Processing buffer {"connection_id":65900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:02] local.INFO: IMEI packet received {"connection_id":65900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":65900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:48:04] local.INFO: TCP Data received {"connection_id":65900,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:04] local.INFO: Processing buffer {"connection_id":65900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:04] local.INFO: Packet analysis {"connection_id":65900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:48:04] local.INFO: Extracted packet for processing {"connection_id":65900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:48:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 15:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 15:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 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-05-08 15:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:48: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-05-08 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-05-08 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-05-08 15:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:48:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:48:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:48:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":65900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:48:04] local.INFO: GPS data processed {"connection_id":65900,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:48:04] local.INFO: Acknowledgment sent {"connection_id":65900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:48:08] local.INFO: TCP Data received {"connection_id":65900,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:08] local.INFO: Processing buffer {"connection_id":65900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:08] local.INFO: Packet analysis {"connection_id":65900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:48:08] local.INFO: Extracted packet for processing {"connection_id":65900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15: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-05-08 15: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:48: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-05-08 15: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-05-08 15:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:48:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:48:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":65900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:48:08] local.INFO: GPS data processed {"connection_id":65900,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:48:08] local.INFO: Acknowledgment sent {"connection_id":65900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:48:52] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:52] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:52] local.INFO: IMEI packet received {"connection_id":65068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":65068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:48:57] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:57] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:48:57] local.INFO: IMEI packet received {"connection_id":65068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":65068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:48:58] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:58] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071404c8012d34c54006aa4a980014000029..."} 
[2026-05-08 15:48:58] local.INFO: Packet analysis {"connection_id":65068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:48:58] local.INFO: Extracted packet for processing {"connection_id":65068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0714"} 
[2026-05-08 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228137472001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:48: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-05-08 15:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778235213000,"timestamp_ms":1778235213000,"timestamp_seconds":1778235213,"priority":1,"record_length":96,"hex_timestamp":"0000019e071404c8"} 
[2026-05-08 15:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 15:48: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-05-08 15:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228137472001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228137472001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228137472001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":65068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:48:58] local.INFO: GPS data processed {"connection_id":65068,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:48:58] local.INFO: Acknowledgment sent {"connection_id":65068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:49:29] local.INFO: TCP Data received {"connection_id":65068,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:49:29] local.INFO: Processing buffer {"connection_id":65068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:49:29] local.INFO: Packet analysis {"connection_id":65068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:49:29] local.INFO: Extracted packet for processing {"connection_id":65068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:49:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":65068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:49:29] local.INFO: GPS data processed {"connection_id":65068,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:49:29] local.INFO: Acknowledgment sent {"connection_id":65068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:49:52] local.INFO: TCP Data received {"connection_id":65190,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:49:52] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:49:52] local.INFO: IMEI packet received {"connection_id":65190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":65190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:49:57] local.INFO: TCP Data received {"connection_id":65190,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:49:57] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:49:57] local.INFO: IMEI packet received {"connection_id":65190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":65190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:49:58] local.INFO: TCP Data received {"connection_id":65190,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:49:58] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:49:58] local.INFO: Packet analysis {"connection_id":65190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:49:58] local.INFO: Extracted packet for processing {"connection_id":65190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:49: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-05-08 15:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:49: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-05-08 15:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:49:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":65190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:49:58] local.INFO: GPS data processed {"connection_id":65190,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:49:58] local.INFO: Acknowledgment sent {"connection_id":65190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:50:30] local.INFO: TCP Data received {"connection_id":65190,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:50:30] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:50:30] local.INFO: Packet analysis {"connection_id":65190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:50:30] local.INFO: Extracted packet for processing {"connection_id":65190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":65190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:50:30] local.INFO: GPS data processed {"connection_id":65190,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:50:30] local.INFO: Acknowledgment sent {"connection_id":65190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:50:57] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:50:57] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:50:57] local.INFO: IMEI packet received {"connection_id":65191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":65191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:50:58] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:50:58] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:50:58] local.INFO: Packet analysis {"connection_id":65191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:50:58] local.INFO: Extracted packet for processing {"connection_id":65191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:50: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-05-08 15:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:50: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-05-08 15:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:50:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":65191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:50:58] local.INFO: GPS data processed {"connection_id":65191,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:50:58] local.INFO: Acknowledgment sent {"connection_id":65191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:51:30] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:51:30] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:51:30] local.INFO: Packet analysis {"connection_id":65191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:51:30] local.INFO: Extracted packet for processing {"connection_id":65191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:51:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":65191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:51:30] local.INFO: GPS data processed {"connection_id":65191,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:51:30] local.INFO: Acknowledgment sent {"connection_id":65191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:51:52] local.INFO: TCP Data received {"connection_id":65903,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:51:52] local.INFO: Processing buffer {"connection_id":65903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:51:52] local.INFO: IMEI packet received {"connection_id":65903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":65903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:51:57] local.INFO: TCP Data received {"connection_id":65903,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:51:57] local.INFO: Processing buffer {"connection_id":65903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:51:57] local.INFO: IMEI packet received {"connection_id":65903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":65903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:51:59] local.INFO: TCP Data received {"connection_id":65903,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:51:59] local.INFO: Processing buffer {"connection_id":65903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:51:59] local.INFO: Packet analysis {"connection_id":65903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:51:59] local.INFO: Extracted packet for processing {"connection_id":65903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:51: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-05-08 15:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:51: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-05-08 15:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":65903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:51:59] local.INFO: GPS data processed {"connection_id":65903,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:51:59] local.INFO: Acknowledgment sent {"connection_id":65903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:52:03] local.INFO: TCP Data received {"connection_id":65903,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:03] local.INFO: Processing buffer {"connection_id":65903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:03] local.INFO: Packet analysis {"connection_id":65903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:52:03] local.INFO: Extracted packet for processing {"connection_id":65903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:52:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15: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-05-08 15: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-05-08 15:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:52:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:52:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":65903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:52:03] local.INFO: GPS data processed {"connection_id":65903,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:52:03] local.INFO: Acknowledgment sent {"connection_id":65903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:52:10] local.INFO: TCP Data received {"connection_id":65902,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:52:10] local.INFO: Processing buffer {"connection_id":65902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:52:10] local.INFO: IMEI packet received {"connection_id":65902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":65902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:52:35] local.INFO: TCP Data received {"connection_id":65903,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:35] local.INFO: Processing buffer {"connection_id":65903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:35] local.INFO: Packet analysis {"connection_id":65903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:52:35] local.INFO: Extracted packet for processing {"connection_id":65903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:52:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:52: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-05-08 15: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-05-08 15: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-05-08 15: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-05-08 15:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:52:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:52:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":65903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:52:35] local.INFO: GPS data processed {"connection_id":65903,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:52:35] local.INFO: Acknowledgment sent {"connection_id":65903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:52:37] local.INFO: TCP Data received {"connection_id":65130,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65130,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:52:37] local.INFO: Processing buffer {"connection_id":65130,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:52:37] local.INFO: IMEI packet received {"connection_id":65130,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:52:37] local.INFO: IMEI acknowledgment sent {"connection_id":65130,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:52:52] local.INFO: TCP Data received {"connection_id":65192,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:52:52] local.INFO: Processing buffer {"connection_id":65192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:52:52] local.INFO: IMEI packet received {"connection_id":65192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":65192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:52:57] local.INFO: TCP Data received {"connection_id":65192,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:52:57] local.INFO: Processing buffer {"connection_id":65192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:52:57] local.INFO: IMEI packet received {"connection_id":65192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":65192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:52:58] local.INFO: TCP Data received {"connection_id":65192,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:58] local.INFO: Processing buffer {"connection_id":65192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:52:58] local.INFO: Packet analysis {"connection_id":65192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:52:58] local.INFO: Extracted packet for processing {"connection_id":65192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:52: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-05-08 15:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:52: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-05-08 15:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:52:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":65192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:52:58] local.INFO: GPS data processed {"connection_id":65192,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:52:58] local.INFO: Acknowledgment sent {"connection_id":65192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:53:30] local.INFO: TCP Data received {"connection_id":65192,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:53:30] local.INFO: Processing buffer {"connection_id":65192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:53:30] local.INFO: Packet analysis {"connection_id":65192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:53:30] local.INFO: Extracted packet for processing {"connection_id":65192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:53:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":65192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:53:30] local.INFO: GPS data processed {"connection_id":65192,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:53:30] local.INFO: Acknowledgment sent {"connection_id":65192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:53:52] local.INFO: TCP Data received {"connection_id":65069,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:53:52] local.INFO: Processing buffer {"connection_id":65069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:53:52] local.INFO: IMEI packet received {"connection_id":65069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":65069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:53:57] local.INFO: TCP Data received {"connection_id":65069,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:53:57] local.INFO: Processing buffer {"connection_id":65069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:53:57] local.INFO: IMEI packet received {"connection_id":65069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":65069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:53:58] local.INFO: TCP Data received {"connection_id":65069,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:53:58] local.INFO: Processing buffer {"connection_id":65069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07189c90012d34c54006aa4a980019000029..."} 
[2026-05-08 15:53:58] local.INFO: Packet analysis {"connection_id":65069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:53:58] local.INFO: Extracted packet for processing {"connection_id":65069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0718"} 
[2026-05-08 15:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":25,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228214528001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:53: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-05-08 15:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778235514000,"timestamp_ms":1778235514000,"timestamp_seconds":1778235514,"priority":1,"record_length":96,"hex_timestamp":"0000019e07189c90"} 
[2026-05-08 15:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:53: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-05-08 15:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228214528001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228214528001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:53:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:53:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228214528001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":65069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:53:58] local.INFO: GPS data processed {"connection_id":65069,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:53:58] local.INFO: Acknowledgment sent {"connection_id":65069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:54:30] local.INFO: TCP Data received {"connection_id":65069,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:54:30] local.INFO: Processing buffer {"connection_id":65069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:54:30] local.INFO: Packet analysis {"connection_id":65069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:54:30] local.INFO: Extracted packet for processing {"connection_id":65069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:54:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:54:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:54:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:54:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:54:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:54:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:54:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:54:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:54:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":65069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:54:30] local.INFO: GPS data processed {"connection_id":65069,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:54:30] local.INFO: Acknowledgment sent {"connection_id":65069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:54:52] local.INFO: TCP Data received {"connection_id":65195,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:54:52] local.INFO: Processing buffer {"connection_id":65195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:54:52] local.INFO: IMEI packet received {"connection_id":65195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":65195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:54:57] local.INFO: TCP Data received {"connection_id":65195,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:54:57] local.INFO: Processing buffer {"connection_id":65195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:54:57] local.INFO: IMEI packet received {"connection_id":65195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":65195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:54:59] local.INFO: TCP Data received {"connection_id":65195,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:54:59] local.INFO: Processing buffer {"connection_id":65195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:54:59] local.INFO: Packet analysis {"connection_id":65195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:54:59] local.INFO: Extracted packet for processing {"connection_id":65195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:54: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-05-08 15:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:54: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-05-08 15:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":65195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:54:59] local.INFO: GPS data processed {"connection_id":65195,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:54:59] local.INFO: Acknowledgment sent {"connection_id":65195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:55:30] local.INFO: TCP Data received {"connection_id":65195,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:55:30] local.INFO: Processing buffer {"connection_id":65195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:55:30] local.INFO: Packet analysis {"connection_id":65195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:55:30] local.INFO: Extracted packet for processing {"connection_id":65195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:55:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:55:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":65195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:55:30] local.INFO: GPS data processed {"connection_id":65195,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:55:30] local.INFO: Acknowledgment sent {"connection_id":65195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:55:57] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:55:57] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:55:57] local.INFO: IMEI packet received {"connection_id":65133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":65133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:56:02] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:02] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:02] local.INFO: IMEI packet received {"connection_id":65133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":65133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:56:04] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:04] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:04] local.INFO: Packet analysis {"connection_id":65133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:56:04] local.INFO: Extracted packet for processing {"connection_id":65133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:56:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:56: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-05-08 15: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-05-08 15:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:56:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":65133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:56:04] local.INFO: GPS data processed {"connection_id":65133,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:56:04] local.INFO: Acknowledgment sent {"connection_id":65133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:56:08] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:08] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:08] local.INFO: Packet analysis {"connection_id":65133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:56:08] local.INFO: Extracted packet for processing {"connection_id":65133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15: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-05-08 15:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:56: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-05-08 15: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":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:56: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-05-08 15: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-05-08 15:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:56:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:56:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":65133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:56:08] local.INFO: GPS data processed {"connection_id":65133,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:56:08] local.INFO: Acknowledgment sent {"connection_id":65133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:56:52] local.INFO: TCP Data received {"connection_id":65071,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:52] local.INFO: Processing buffer {"connection_id":65071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:52] local.INFO: IMEI packet received {"connection_id":65071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":65071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:56:57] local.INFO: TCP Data received {"connection_id":65071,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:57] local.INFO: Processing buffer {"connection_id":65071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:56:57] local.INFO: IMEI packet received {"connection_id":65071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":65071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:56:58] local.INFO: TCP Data received {"connection_id":65071,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:58] local.INFO: Processing buffer {"connection_id":65071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:56:58] local.INFO: Packet analysis {"connection_id":65071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:56:58] local.INFO: Extracted packet for processing {"connection_id":65071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:56: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-05-08 15:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:56: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-05-08 15:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:56:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":65071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:56:58] local.INFO: GPS data processed {"connection_id":65071,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:56:58] local.INFO: Acknowledgment sent {"connection_id":65071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:57:30] local.INFO: TCP Data received {"connection_id":65071,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:57:30] local.INFO: Processing buffer {"connection_id":65071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:57:30] local.INFO: Packet analysis {"connection_id":65071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:57:30] local.INFO: Extracted packet for processing {"connection_id":65071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15: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-05-08 15:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:57:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":65071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:57:30] local.INFO: GPS data processed {"connection_id":65071,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:57:30] local.INFO: Acknowledgment sent {"connection_id":65071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:57:46] local.INFO: TCP Data received {"connection_id":65072,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65072,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:57:46] local.INFO: Processing buffer {"connection_id":65072,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 15:57:46] local.INFO: IMEI packet received {"connection_id":65072,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 15:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":65072,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:57:52] local.INFO: TCP Data received {"connection_id":65134,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:57:52] local.INFO: Processing buffer {"connection_id":65134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:57:52] local.INFO: IMEI packet received {"connection_id":65134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":65134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:57:57] local.INFO: TCP Data received {"connection_id":65134,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:57:57] local.INFO: Processing buffer {"connection_id":65134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:57:57] local.INFO: IMEI packet received {"connection_id":65134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":65134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:57:59] local.INFO: TCP Data received {"connection_id":65134,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:57:59] local.INFO: Processing buffer {"connection_id":65134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:57:59] local.INFO: Packet analysis {"connection_id":65134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:57:59] local.INFO: Extracted packet for processing {"connection_id":65134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15: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-05-08 15:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:57: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-05-08 15:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:57: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-05-08 15: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-05-08 15:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":65134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:57:59] local.INFO: GPS data processed {"connection_id":65134,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:57:59] local.INFO: Acknowledgment sent {"connection_id":65134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:58:31] local.INFO: TCP Data received {"connection_id":65134,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:58:31] local.INFO: Processing buffer {"connection_id":65134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:58:31] local.INFO: Packet analysis {"connection_id":65134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:58:31] local.INFO: Extracted packet for processing {"connection_id":65134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:58:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:58:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:58:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":65134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:58:31] local.INFO: GPS data processed {"connection_id":65134,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:58:31] local.INFO: Acknowledgment sent {"connection_id":65134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:58:52] local.INFO: TCP Data received {"connection_id":65196,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:58:52] local.INFO: Processing buffer {"connection_id":65196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:58:52] local.INFO: IMEI packet received {"connection_id":65196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":65196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 15:58:57] local.INFO: TCP Data received {"connection_id":65196,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:58:57] local.INFO: Processing buffer {"connection_id":65196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:58:57] local.INFO: IMEI packet received {"connection_id":65196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 15:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":65196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 15:58:59] local.INFO: TCP Data received {"connection_id":65196,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:58:59] local.INFO: Processing buffer {"connection_id":65196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e071d3458012d34c54006aa4a980014000028..."} 
[2026-05-08 15:58:59] local.INFO: Packet analysis {"connection_id":65196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:58:59] local.INFO: Extracted packet for processing {"connection_id":65196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e071d"} 
[2026-05-08 15:58:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228291584001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:58: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-05-08 15:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778235815000,"timestamp_ms":1778235815000,"timestamp_seconds":1778235815,"priority":1,"record_length":96,"hex_timestamp":"0000019e071d3458"} 
[2026-05-08 15:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 15:58: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-05-08 15:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228291584001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228291584001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:58:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228291584001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":65196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:58:59] local.INFO: GPS data processed {"connection_id":65196,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:58:59] local.INFO: Acknowledgment sent {"connection_id":65196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:59:30] local.INFO: TCP Data received {"connection_id":65196,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 15:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 15:59:30] local.INFO: Processing buffer {"connection_id":65196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 15:59:30] local.INFO: Packet analysis {"connection_id":65196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 15:59:30] local.INFO: Extracted packet for processing {"connection_id":65196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 15:59:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 15:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 15:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 15:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 15:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 15:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 15:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 15:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 15:59:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 15:59:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 15:59:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 15:59:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 15:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 15:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 15:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 15:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 15:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 15:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 15:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 15:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 15:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 15:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 15:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 15:59:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 15:59:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 15:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 15:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 15:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 15:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":65196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 15:59:30] local.INFO: GPS data processed {"connection_id":65196,"processed":1,"errors":0,"total":1} 
[2026-05-08 15:59:30] local.INFO: Acknowledgment sent {"connection_id":65196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 15:59:57] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:59:57] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 15:59:57] local.INFO: IMEI packet received {"connection_id":65073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 15:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":65073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:00:02] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:02] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:02] local.INFO: IMEI packet received {"connection_id":65073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":65073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:00:04] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:04] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:04] local.INFO: Packet analysis {"connection_id":65073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:00:04] local.INFO: Extracted packet for processing {"connection_id":65073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:00:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 16:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 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-05-08 16:00:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:00: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-05-08 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-05-08 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-05-08 16:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:00:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":65073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:00:04] local.INFO: GPS data processed {"connection_id":65073,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:00:04] local.INFO: Acknowledgment sent {"connection_id":65073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:00:08] local.INFO: TCP Data received {"connection_id":65073,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:08] local.INFO: Processing buffer {"connection_id":65073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:08] local.INFO: Packet analysis {"connection_id":65073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:00:08] local.INFO: Extracted packet for processing {"connection_id":65073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 16:00:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:00: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-05-08 16: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":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:00: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-05-08 16: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-05-08 16:00:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":65073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:00:08] local.INFO: GPS data processed {"connection_id":65073,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:00:08] local.INFO: Acknowledgment sent {"connection_id":65073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:00:52] local.INFO: TCP Data received {"connection_id":65198,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:52] local.INFO: Processing buffer {"connection_id":65198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:52] local.INFO: IMEI packet received {"connection_id":65198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":65198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:00:57] local.INFO: TCP Data received {"connection_id":65198,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:57] local.INFO: Processing buffer {"connection_id":65198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:00:57] local.INFO: IMEI packet received {"connection_id":65198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":65198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:00:58] local.INFO: TCP Data received {"connection_id":65198,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:58] local.INFO: Processing buffer {"connection_id":65198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:00:58] local.INFO: Packet analysis {"connection_id":65198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:00:58] local.INFO: Extracted packet for processing {"connection_id":65198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:00: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-05-08 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:00:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":65198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:00:58] local.INFO: GPS data processed {"connection_id":65198,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:00:58] local.INFO: Acknowledgment sent {"connection_id":65198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:01:31] local.INFO: TCP Data received {"connection_id":65198,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:01:31] local.INFO: Processing buffer {"connection_id":65198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:01:31] local.INFO: Packet analysis {"connection_id":65198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:01:31] local.INFO: Extracted packet for processing {"connection_id":65198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:01:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:01:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:01:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:01:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:01:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 16:01:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:01:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:01:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:01:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:01:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:01:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:01:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:01:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:01:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:01:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:01:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:01:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:01:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:01:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:01:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:01:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:01:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:01:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:01:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:01:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:01:31] local.INFO: DEBUG: GPS processor result {"connection_id":65198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:01:31] local.INFO: GPS data processed {"connection_id":65198,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:01:31] local.INFO: Acknowledgment sent {"connection_id":65198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:01:52] local.INFO: TCP Data received {"connection_id":65199,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:01:52] local.INFO: Processing buffer {"connection_id":65199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:01:52] local.INFO: IMEI packet received {"connection_id":65199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":65199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:01:57] local.INFO: TCP Data received {"connection_id":65199,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:01:57] local.INFO: Processing buffer {"connection_id":65199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:01:57] local.INFO: IMEI packet received {"connection_id":65199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":65199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:01:58] local.INFO: TCP Data received {"connection_id":65199,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:01:58] local.INFO: Processing buffer {"connection_id":65199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:01:58] local.INFO: Packet analysis {"connection_id":65199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:01:58] local.INFO: Extracted packet for processing {"connection_id":65199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:01:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:01: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-05-08 16:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 16:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:01:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:01:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":65199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:01:58] local.INFO: GPS data processed {"connection_id":65199,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:01:58] local.INFO: Acknowledgment sent {"connection_id":65199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:02:31] local.INFO: TCP Data received {"connection_id":65199,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:02:31] local.INFO: Processing buffer {"connection_id":65199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:02:31] local.INFO: Packet analysis {"connection_id":65199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:02:31] local.INFO: Extracted packet for processing {"connection_id":65199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 16:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:02:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:02:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:02:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":65199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:02:31] local.INFO: GPS data processed {"connection_id":65199,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:02:31] local.INFO: Acknowledgment sent {"connection_id":65199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:02:52] local.INFO: TCP Data received {"connection_id":65136,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:02:52] local.INFO: Processing buffer {"connection_id":65136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:02:52] local.INFO: IMEI packet received {"connection_id":65136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":65136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:02:57] local.INFO: TCP Data received {"connection_id":65136,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:02:57] local.INFO: Processing buffer {"connection_id":65136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:02:57] local.INFO: IMEI packet received {"connection_id":65136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":65136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:02:58] local.INFO: TCP Data received {"connection_id":65136,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:02:58] local.INFO: Processing buffer {"connection_id":65136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:02:58] local.INFO: Packet analysis {"connection_id":65136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:02:58] local.INFO: Extracted packet for processing {"connection_id":65136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:02: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-05-08 16:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 16:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:02:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:02:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":65136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:02:58] local.INFO: GPS data processed {"connection_id":65136,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:02:58] local.INFO: Acknowledgment sent {"connection_id":65136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:03:00] local.INFO: TCP Data received {"connection_id":65074,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:03:00] local.INFO: Processing buffer {"connection_id":65074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:03:00] local.INFO: IMEI packet received {"connection_id":65074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":65074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:03:30] local.INFO: TCP Data received {"connection_id":65136,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:03:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:03:30] local.INFO: Processing buffer {"connection_id":65136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:03:30] local.INFO: Packet analysis {"connection_id":65136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:03:30] local.INFO: Extracted packet for processing {"connection_id":65136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:03:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:03:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:03:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:03:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:03:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 16:03:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:03:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:03:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:03:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:03:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:03:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:03:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:03:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:03:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:03:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:03:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:03:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:03:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:03:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:03:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:03:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:03:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:03:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:03:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:03:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:03:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:03:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:03:30] local.INFO: DEBUG: GPS processor result {"connection_id":65136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:03:30] local.INFO: GPS data processed {"connection_id":65136,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:03:30] local.INFO: Acknowledgment sent {"connection_id":65136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:03:39] local.INFO: TCP Data received {"connection_id":65200,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:03:39] local.INFO: Processing buffer {"connection_id":65200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:03:39] local.INFO: IMEI packet received {"connection_id":65200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":65200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:03:52] local.INFO: TCP Data received {"connection_id":65201,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:03:52] local.INFO: Processing buffer {"connection_id":65201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:03:52] local.INFO: IMEI packet received {"connection_id":65201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":65201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:03:57] local.INFO: TCP Data received {"connection_id":65201,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:03:57] local.INFO: Processing buffer {"connection_id":65201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:03:57] local.INFO: IMEI packet received {"connection_id":65201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":65201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:03:58] local.INFO: TCP Data received {"connection_id":65201,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:03:58] local.INFO: Processing buffer {"connection_id":65201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0721cc20012d34c54006aa4a98000c000026..."} 
[2026-05-08 16:03:58] local.INFO: Packet analysis {"connection_id":65201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:03:58] local.INFO: Extracted packet for processing {"connection_id":65201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0721"} 
[2026-05-08 16:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228368640001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:03: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-05-08 16:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236116000,"timestamp_ms":1778236116000,"timestamp_seconds":1778236116,"priority":1,"record_length":96,"hex_timestamp":"0000019e0721cc20"} 
[2026-05-08 16:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228368640001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228368640001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:03:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228368640001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":65201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:03:58] local.INFO: GPS data processed {"connection_id":65201,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:03:58] local.INFO: Acknowledgment sent {"connection_id":65201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:04:30] local.INFO: TCP Data received {"connection_id":65201,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:04:30] local.INFO: Processing buffer {"connection_id":65201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:04:30] local.INFO: Packet analysis {"connection_id":65201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:04:30] local.INFO: Extracted packet for processing {"connection_id":65201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:04:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:04:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:04:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":65201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:04:30] local.INFO: GPS data processed {"connection_id":65201,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:04:30] local.INFO: Acknowledgment sent {"connection_id":65201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:04:52] local.INFO: TCP Data received {"connection_id":65908,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:04:52] local.INFO: Processing buffer {"connection_id":65908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:04:52] local.INFO: IMEI packet received {"connection_id":65908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":65908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:04:57] local.INFO: TCP Data received {"connection_id":65908,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:04:57] local.INFO: Processing buffer {"connection_id":65908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:04:57] local.INFO: IMEI packet received {"connection_id":65908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":65908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:04:58] local.INFO: TCP Data received {"connection_id":65908,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:04:58] local.INFO: Processing buffer {"connection_id":65908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:04:58] local.INFO: Packet analysis {"connection_id":65908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:04:58] local.INFO: Extracted packet for processing {"connection_id":65908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:04: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-05-08 16:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:04:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":65908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:04:59] local.INFO: GPS data processed {"connection_id":65908,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:04:59] local.INFO: Acknowledgment sent {"connection_id":65908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:05:30] local.INFO: TCP Data received {"connection_id":65908,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:05:30] local.INFO: Processing buffer {"connection_id":65908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:05:30] local.INFO: Packet analysis {"connection_id":65908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:05:30] local.INFO: Extracted packet for processing {"connection_id":65908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:05:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":65908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:05:30] local.INFO: GPS data processed {"connection_id":65908,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:05:30] local.INFO: Acknowledgment sent {"connection_id":65908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:05:53] local.INFO: TCP Data received {"connection_id":65075,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:05:53] local.INFO: Processing buffer {"connection_id":65075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:05:53] local.INFO: IMEI packet received {"connection_id":65075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":65075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:05:57] local.INFO: TCP Data received {"connection_id":65075,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:05:57] local.INFO: Processing buffer {"connection_id":65075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:05:57] local.INFO: IMEI packet received {"connection_id":65075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:05:58] local.INFO: TCP Data received {"connection_id":65075,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:05:58] local.INFO: Processing buffer {"connection_id":65075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:05:58] local.INFO: Packet analysis {"connection_id":65075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:05:58] local.INFO: Extracted packet for processing {"connection_id":65075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:05: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-05-08 16:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:05:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":65075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:05:58] local.INFO: GPS data processed {"connection_id":65075,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:05:58] local.INFO: Acknowledgment sent {"connection_id":65075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:06:30] local.INFO: TCP Data received {"connection_id":65075,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:06:30] local.INFO: Processing buffer {"connection_id":65075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:06:30] local.INFO: Packet analysis {"connection_id":65075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:06:30] local.INFO: Extracted packet for processing {"connection_id":65075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:06:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":65075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:06:30] local.INFO: GPS data processed {"connection_id":65075,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:06:30] local.INFO: Acknowledgment sent {"connection_id":65075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:06:52] local.INFO: TCP Data received {"connection_id":65202,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:06:52] local.INFO: Processing buffer {"connection_id":65202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:06:52] local.INFO: IMEI packet received {"connection_id":65202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":65202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:06:57] local.INFO: TCP Data received {"connection_id":65202,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:06:57] local.INFO: Processing buffer {"connection_id":65202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:06:57] local.INFO: IMEI packet received {"connection_id":65202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":65202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:06:58] local.INFO: TCP Data received {"connection_id":65202,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:06:58] local.INFO: Processing buffer {"connection_id":65202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:06:58] local.INFO: Packet analysis {"connection_id":65202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:06:58] local.INFO: Extracted packet for processing {"connection_id":65202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:06: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-05-08 16:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:06:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:06:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":65202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:06:58] local.INFO: GPS data processed {"connection_id":65202,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:06:58] local.INFO: Acknowledgment sent {"connection_id":65202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:07:30] local.INFO: TCP Data received {"connection_id":65202,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:07:30] local.INFO: Processing buffer {"connection_id":65202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:07:30] local.INFO: Packet analysis {"connection_id":65202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:07:30] local.INFO: Extracted packet for processing {"connection_id":65202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:07:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:07:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":65202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:07:30] local.INFO: GPS data processed {"connection_id":65202,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:07:30] local.INFO: Acknowledgment sent {"connection_id":65202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:07:52] local.INFO: TCP Data received {"connection_id":65203,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:07:52] local.INFO: Processing buffer {"connection_id":65203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:07:52] local.INFO: IMEI packet received {"connection_id":65203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":65203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:07:57] local.INFO: TCP Data received {"connection_id":65203,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:07:57] local.INFO: Processing buffer {"connection_id":65203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:07:57] local.INFO: IMEI packet received {"connection_id":65203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":65203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:07:58] local.INFO: TCP Data received {"connection_id":65203,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:07:58] local.INFO: Processing buffer {"connection_id":65203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:07:58] local.INFO: Packet analysis {"connection_id":65203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:07:58] local.INFO: Extracted packet for processing {"connection_id":65203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:07: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-05-08 16:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:07:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:07:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":65203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:07:58] local.INFO: GPS data processed {"connection_id":65203,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:07:58] local.INFO: Acknowledgment sent {"connection_id":65203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:08:30] local.INFO: TCP Data received {"connection_id":65203,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:08:30] local.INFO: Processing buffer {"connection_id":65203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:08:30] local.INFO: Packet analysis {"connection_id":65203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:08:30] local.INFO: Extracted packet for processing {"connection_id":65203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:08:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":65203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:08:30] local.INFO: GPS data processed {"connection_id":65203,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:08:30] local.INFO: Acknowledgment sent {"connection_id":65203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:08:52] local.INFO: TCP Data received {"connection_id":65140,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:08:52] local.INFO: Processing buffer {"connection_id":65140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:08:52] local.INFO: IMEI packet received {"connection_id":65140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":65140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:08:57] local.INFO: TCP Data received {"connection_id":65140,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:08:57] local.INFO: Processing buffer {"connection_id":65140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:08:57] local.INFO: IMEI packet received {"connection_id":65140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":65140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:08:58] local.INFO: TCP Data received {"connection_id":65140,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:08:58] local.INFO: Processing buffer {"connection_id":65140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072663e8012d34c54006aa4a98000a000028..."} 
[2026-05-08 16:08:58] local.INFO: Packet analysis {"connection_id":65140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:08:58] local.INFO: Extracted packet for processing {"connection_id":65140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0726"} 
[2026-05-08 16:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228445696001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:08: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-05-08 16:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236417000,"timestamp_ms":1778236417000,"timestamp_seconds":1778236417,"priority":1,"record_length":96,"hex_timestamp":"0000019e072663e8"} 
[2026-05-08 16:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228445696001,"66":25375,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228445696001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:08:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:08:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228445696001,"power":25375,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":65140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:08:58] local.INFO: GPS data processed {"connection_id":65140,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:08:58] local.INFO: Acknowledgment sent {"connection_id":65140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:09:01] local.INFO: TCP Data received {"connection_id":65076,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65076,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:09:01] local.INFO: Processing buffer {"connection_id":65076,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:09:01] local.INFO: IMEI packet received {"connection_id":65076,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":65076,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:09:30] local.INFO: TCP Data received {"connection_id":65140,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:09:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:09:30] local.INFO: Processing buffer {"connection_id":65140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:09:30] local.INFO: Packet analysis {"connection_id":65140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:09:30] local.INFO: Extracted packet for processing {"connection_id":65140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:09:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:09:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:09:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:09:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:09:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:09:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:09:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:09:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:09: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-05-08 16:09:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:09:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:09:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:09:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:09:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:09:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:09:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:09:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:09:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:09:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:09:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:09:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:09:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:09:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:09:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:09:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:09:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:09:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:09:30] local.INFO: DEBUG: GPS processor result {"connection_id":65140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:09:30] local.INFO: GPS data processed {"connection_id":65140,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:09:30] local.INFO: Acknowledgment sent {"connection_id":65140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:09:41] local.INFO: TCP Data received {"connection_id":65204,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:09:41] local.INFO: Processing buffer {"connection_id":65204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:09:41] local.INFO: IMEI packet received {"connection_id":65204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":65204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:09:52] local.INFO: TCP Data received {"connection_id":65077,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:09:52] local.INFO: Processing buffer {"connection_id":65077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:09:52] local.INFO: IMEI packet received {"connection_id":65077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":65077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:09:57] local.INFO: TCP Data received {"connection_id":65077,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:09:57] local.INFO: Processing buffer {"connection_id":65077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:09:57] local.INFO: IMEI packet received {"connection_id":65077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":65077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:09:58] local.INFO: TCP Data received {"connection_id":65077,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:09:58] local.INFO: Processing buffer {"connection_id":65077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:09:58] local.INFO: Packet analysis {"connection_id":65077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:09:58] local.INFO: Extracted packet for processing {"connection_id":65077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:09: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-05-08 16:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:09:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":65077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:09:58] local.INFO: GPS data processed {"connection_id":65077,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:09:58] local.INFO: Acknowledgment sent {"connection_id":65077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:10:06] local.INFO: TCP Data received {"connection_id":65204,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:10:06] local.INFO: Processing buffer {"connection_id":65204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:10:06] local.INFO: IMEI packet received {"connection_id":65204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 16:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":65204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:10:07] local.INFO: TCP Data received {"connection_id":65204,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:10:07] local.INFO: Processing buffer {"connection_id":65204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:10:07] local.INFO: IMEI packet received {"connection_id":65204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 16:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":65204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:10:30] local.INFO: TCP Data received {"connection_id":65077,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:10:30] local.INFO: Processing buffer {"connection_id":65077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:10:30] local.INFO: Packet analysis {"connection_id":65077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:10:30] local.INFO: Extracted packet for processing {"connection_id":65077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:10:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:10: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-05-08 16:10:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:10:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":65077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:10:30] local.INFO: GPS data processed {"connection_id":65077,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:10:30] local.INFO: Acknowledgment sent {"connection_id":65077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:10:52] local.INFO: TCP Data received {"connection_id":65141,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:10:52] local.INFO: Processing buffer {"connection_id":65141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:10:52] local.INFO: IMEI packet received {"connection_id":65141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":65141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:10:57] local.INFO: TCP Data received {"connection_id":65141,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:10:57] local.INFO: Processing buffer {"connection_id":65141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:10:57] local.INFO: IMEI packet received {"connection_id":65141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":65141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:10:58] local.INFO: TCP Data received {"connection_id":65141,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:10:58] local.INFO: Processing buffer {"connection_id":65141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:10:58] local.INFO: Packet analysis {"connection_id":65141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:10:58] local.INFO: Extracted packet for processing {"connection_id":65141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:10: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-05-08 16:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:10:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:10:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":65141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:10:58] local.INFO: GPS data processed {"connection_id":65141,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:10:58] local.INFO: Acknowledgment sent {"connection_id":65141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:11:30] local.INFO: TCP Data received {"connection_id":65141,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:11:30] local.INFO: Processing buffer {"connection_id":65141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:11:30] local.INFO: Packet analysis {"connection_id":65141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:11:30] local.INFO: Extracted packet for processing {"connection_id":65141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:11:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:11: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-05-08 16:11:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:11:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:11:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:11:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":65141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:11:30] local.INFO: GPS data processed {"connection_id":65141,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:11:30] local.INFO: Acknowledgment sent {"connection_id":65141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:11:52] local.INFO: TCP Data received {"connection_id":65206,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:11:52] local.INFO: Processing buffer {"connection_id":65206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:11:52] local.INFO: IMEI packet received {"connection_id":65206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":65206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:11:57] local.INFO: TCP Data received {"connection_id":65206,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:11:57] local.INFO: Processing buffer {"connection_id":65206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:11:57] local.INFO: IMEI packet received {"connection_id":65206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:11:58] local.INFO: TCP Data received {"connection_id":65206,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:11:58] local.INFO: Processing buffer {"connection_id":65206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:11:58] local.INFO: Packet analysis {"connection_id":65206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:11:58] local.INFO: Extracted packet for processing {"connection_id":65206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:11: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-05-08 16:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:11:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":65206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:11:58] local.INFO: GPS data processed {"connection_id":65206,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:11:58] local.INFO: Acknowledgment sent {"connection_id":65206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:12:30] local.INFO: TCP Data received {"connection_id":65206,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:12:30] local.INFO: Processing buffer {"connection_id":65206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:12:30] local.INFO: Packet analysis {"connection_id":65206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:12:30] local.INFO: Extracted packet for processing {"connection_id":65206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:12: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-05-08 16:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:12:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":65206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:12:30] local.INFO: GPS data processed {"connection_id":65206,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:12:30] local.INFO: Acknowledgment sent {"connection_id":65206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:12:52] local.INFO: TCP Data received {"connection_id":65080,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:12:52] local.INFO: Processing buffer {"connection_id":65080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:12:52] local.INFO: IMEI packet received {"connection_id":65080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":65080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:12:57] local.INFO: TCP Data received {"connection_id":65080,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65080,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:12:57] local.INFO: Processing buffer {"connection_id":65080,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:12:57] local.INFO: IMEI packet received {"connection_id":65080,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":65080,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:12:58] local.INFO: TCP Data received {"connection_id":65080,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:12:58] local.INFO: Processing buffer {"connection_id":65080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:12:58] local.INFO: Packet analysis {"connection_id":65080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:12:58] local.INFO: Extracted packet for processing {"connection_id":65080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:12: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-05-08 16:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:12:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:12:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":65080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:12:58] local.INFO: GPS data processed {"connection_id":65080,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:12:58] local.INFO: Acknowledgment sent {"connection_id":65080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:13:30] local.INFO: TCP Data received {"connection_id":65080,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:13:30] local.INFO: Processing buffer {"connection_id":65080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:13:30] local.INFO: Packet analysis {"connection_id":65080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:13:30] local.INFO: Extracted packet for processing {"connection_id":65080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:13:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:13: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-05-08 16:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65080,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:13:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:13:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":65080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:13:30] local.INFO: GPS data processed {"connection_id":65080,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:13:30] local.INFO: Acknowledgment sent {"connection_id":65080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:13:57] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:13:57] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:13:57] local.INFO: IMEI packet received {"connection_id":65142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":65142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:14:02] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:02] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:02] local.INFO: IMEI packet received {"connection_id":65142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":65142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:14:03] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:14:03] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:14:03] local.INFO: Packet analysis {"connection_id":65142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:14:03] local.INFO: Extracted packet for processing {"connection_id":65142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:14: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-05-08 16:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:14:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:14:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:14:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":65142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:14:03] local.INFO: GPS data processed {"connection_id":65142,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:14:03] local.INFO: Acknowledgment sent {"connection_id":65142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:14:08] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:14:08] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072afbb0012d34c54006aa4a980005000024..."} 
[2026-05-08 16:14:08] local.INFO: Packet analysis {"connection_id":65142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:14:08] local.INFO: Extracted packet for processing {"connection_id":65142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072a"} 
[2026-05-08 16:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":5,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228522752001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778236718000,"timestamp_ms":1778236718000,"timestamp_seconds":1778236718,"priority":1,"record_length":96,"hex_timestamp":"0000019e072afbb0"} 
[2026-05-08 16:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":31,"data_length":795,"current_offset":136} 
[2026-05-08 16:14: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-05-08 16: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-05-08 16:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228522752001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228522752001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:14:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:14:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228522752001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":65142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:14:08] local.INFO: GPS data processed {"connection_id":65142,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:14:08] local.INFO: Acknowledgment sent {"connection_id":65142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:14:52] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:52] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:52] local.INFO: IMEI packet received {"connection_id":65081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":65081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:14:57] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:57] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:14:57] local.INFO: IMEI packet received {"connection_id":65081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":65081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:14:59] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:14:59] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:14:59] local.INFO: Packet analysis {"connection_id":65081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:14:59] local.INFO: Extracted packet for processing {"connection_id":65081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:14:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228599808001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:14: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-05-08 16:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778237019000,"timestamp_ms":1778237019000,"timestamp_seconds":1778237019,"priority":1,"record_length":96,"hex_timestamp":"0000019e072f9378"} 
[2026-05-08 16:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:14:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:14: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-05-08 16:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228599808001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228599808001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:14:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228599808001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":65081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:14:59] local.INFO: GPS data processed {"connection_id":65081,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:14:59] local.INFO: Acknowledgment sent {"connection_id":65081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:15:31] local.INFO: TCP Data received {"connection_id":65081,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:15:31] local.INFO: Processing buffer {"connection_id":65081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:15:31] local.INFO: Packet analysis {"connection_id":65081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:15:31] local.INFO: Extracted packet for processing {"connection_id":65081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:15:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228599808001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:15:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:15:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:15:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:15:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778237019000,"timestamp_ms":1778237019000,"timestamp_seconds":1778237019,"priority":1,"record_length":96,"hex_timestamp":"0000019e072f9378"} 
[2026-05-08 16:15:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:15:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:15:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:15:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:15:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:15:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:15:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:15:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:15:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:15:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:15:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:15:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:15:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:15:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228599808001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:15:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:15:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:15:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228599808001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:15:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:15:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:15:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:15:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:15:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228599808001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:15:31] local.INFO: DEBUG: GPS processor result {"connection_id":65081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:15:31] local.INFO: GPS data processed {"connection_id":65081,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:15:31] local.INFO: Acknowledgment sent {"connection_id":65081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:15:46] local.INFO: TCP Data received {"connection_id":65909,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:15:46] local.INFO: Processing buffer {"connection_id":65909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:15:46] local.INFO: IMEI packet received {"connection_id":65909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:15:46] local.INFO: IMEI acknowledgment sent {"connection_id":65909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:15:52] local.INFO: TCP Data received {"connection_id":65082,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:15:52] local.INFO: Processing buffer {"connection_id":65082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:15:52] local.INFO: IMEI packet received {"connection_id":65082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":65082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:15:57] local.INFO: TCP Data received {"connection_id":65082,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:15:57] local.INFO: Processing buffer {"connection_id":65082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:15:57] local.INFO: IMEI packet received {"connection_id":65082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":65082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:15:59] local.INFO: TCP Data received {"connection_id":65082,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:15:59] local.INFO: Processing buffer {"connection_id":65082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:15:59] local.INFO: Packet analysis {"connection_id":65082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:15:59] local.INFO: Extracted packet for processing {"connection_id":65082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:15:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228599808001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:15: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-05-08 16:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778237019000,"timestamp_ms":1778237019000,"timestamp_seconds":1778237019,"priority":1,"record_length":96,"hex_timestamp":"0000019e072f9378"} 
[2026-05-08 16:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:15:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:15: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-05-08 16:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228599808001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228599808001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:15:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228599808001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":65082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:15:59] local.INFO: GPS data processed {"connection_id":65082,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:15:59] local.INFO: Acknowledgment sent {"connection_id":65082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:16:30] local.INFO: TCP Data received {"connection_id":65082,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:16:30] local.INFO: Processing buffer {"connection_id":65082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:16:30] local.INFO: Packet analysis {"connection_id":65082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:16:30] local.INFO: Extracted packet for processing {"connection_id":65082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228599808001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237019000,"timestamp_ms":1778237019000,"timestamp_seconds":1778237019,"priority":1,"record_length":96,"hex_timestamp":"0000019e072f9378"} 
[2026-05-08 16:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228599808001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228599808001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:16:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228599808001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":65082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:16:30] local.INFO: GPS data processed {"connection_id":65082,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:16:30] local.INFO: Acknowledgment sent {"connection_id":65082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:16:52] local.INFO: TCP Data received {"connection_id":65144,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:16:52] local.INFO: Processing buffer {"connection_id":65144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:16:52] local.INFO: IMEI packet received {"connection_id":65144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":65144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:16:57] local.INFO: TCP Data received {"connection_id":65144,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:16:57] local.INFO: Processing buffer {"connection_id":65144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:16:57] local.INFO: IMEI packet received {"connection_id":65144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":65144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:16:59] local.INFO: TCP Data received {"connection_id":65144,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:16:59] local.INFO: Processing buffer {"connection_id":65144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:16:59] local.INFO: Packet analysis {"connection_id":65144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:16:59] local.INFO: Extracted packet for processing {"connection_id":65144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228599808001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:16: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-05-08 16:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778237019000,"timestamp_ms":1778237019000,"timestamp_seconds":1778237019,"priority":1,"record_length":96,"hex_timestamp":"0000019e072f9378"} 
[2026-05-08 16:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:16: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-05-08 16:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228599808001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228599808001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228599808001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":65144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:16:59] local.INFO: GPS data processed {"connection_id":65144,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:16:59] local.INFO: Acknowledgment sent {"connection_id":65144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:17:30] local.INFO: TCP Data received {"connection_id":65144,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:17:30] local.INFO: Processing buffer {"connection_id":65144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:17:30] local.INFO: Packet analysis {"connection_id":65144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:17:30] local.INFO: Extracted packet for processing {"connection_id":65144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228599808001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237019000,"timestamp_ms":1778237019000,"timestamp_seconds":1778237019,"priority":1,"record_length":96,"hex_timestamp":"0000019e072f9378"} 
[2026-05-08 16:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228599808001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228599808001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:17:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228599808001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":65144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:17:30] local.INFO: GPS data processed {"connection_id":65144,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:17:30] local.INFO: Acknowledgment sent {"connection_id":65144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:17:57] local.INFO: TCP Data received {"connection_id":65083,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:17:57] local.INFO: Processing buffer {"connection_id":65083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:17:57] local.INFO: IMEI packet received {"connection_id":65083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:18:02] local.INFO: TCP Data received {"connection_id":65083,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:02] local.INFO: Processing buffer {"connection_id":65083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:02] local.INFO: IMEI packet received {"connection_id":65083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":65083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:18:08] local.INFO: TCP Data received {"connection_id":65083,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:18:08] local.INFO: Processing buffer {"connection_id":65083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:18:08] local.INFO: Packet analysis {"connection_id":65083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:18:08] local.INFO: Extracted packet for processing {"connection_id":65083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228599808001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778237019000,"timestamp_ms":1778237019000,"timestamp_seconds":1778237019,"priority":1,"record_length":96,"hex_timestamp":"0000019e072f9378"} 
[2026-05-08 16:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16: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-05-08 16: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":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:18: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-05-08 16: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-05-08 16:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228599808001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228599808001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:18:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:18:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228599808001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":65083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:18:08] local.INFO: GPS data processed {"connection_id":65083,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:18:08] local.INFO: Acknowledgment sent {"connection_id":65083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:18:52] local.INFO: TCP Data received {"connection_id":65912,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:52] local.INFO: Processing buffer {"connection_id":65912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:52] local.INFO: IMEI packet received {"connection_id":65912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":65912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:18:57] local.INFO: TCP Data received {"connection_id":65912,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:57] local.INFO: Processing buffer {"connection_id":65912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:18:57] local.INFO: IMEI packet received {"connection_id":65912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":65912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:18:58] local.INFO: TCP Data received {"connection_id":65912,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:18:58] local.INFO: Processing buffer {"connection_id":65912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e072f9378012d34c54006aa4a98000f000027..."} 
[2026-05-08 16:18:58] local.INFO: Packet analysis {"connection_id":65912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:18:58] local.INFO: Extracted packet for processing {"connection_id":65912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e072f"} 
[2026-05-08 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228599808001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:18: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-05-08 16:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237019000,"timestamp_ms":1778237019000,"timestamp_seconds":1778237019,"priority":1,"record_length":96,"hex_timestamp":"0000019e072f9378"} 
[2026-05-08 16:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228599808001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228599808001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:18:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228599808001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":65912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:18:58] local.INFO: GPS data processed {"connection_id":65912,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:18:58] local.INFO: Acknowledgment sent {"connection_id":65912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:19:30] local.INFO: TCP Data received {"connection_id":65912,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:19:30] local.INFO: Processing buffer {"connection_id":65912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:19:30] local.INFO: Packet analysis {"connection_id":65912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:19:30] local.INFO: Extracted packet for processing {"connection_id":65912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:19:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":65912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:19:30] local.INFO: GPS data processed {"connection_id":65912,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:19:30] local.INFO: Acknowledgment sent {"connection_id":65912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:19:52] local.INFO: TCP Data received {"connection_id":65146,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:19:52] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:19:52] local.INFO: IMEI packet received {"connection_id":65146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":65146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:19:57] local.INFO: TCP Data received {"connection_id":65146,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:19:57] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:19:57] local.INFO: IMEI packet received {"connection_id":65146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":65146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:19:58] local.INFO: TCP Data received {"connection_id":65146,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:19:58] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:19:58] local.INFO: Packet analysis {"connection_id":65146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:19:58] local.INFO: Extracted packet for processing {"connection_id":65146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:19: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-05-08 16:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:19:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":65146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:19:58] local.INFO: GPS data processed {"connection_id":65146,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:19:58] local.INFO: Acknowledgment sent {"connection_id":65146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:20:30] local.INFO: TCP Data received {"connection_id":65146,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:20:30] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:20:30] local.INFO: Packet analysis {"connection_id":65146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:20:30] local.INFO: Extracted packet for processing {"connection_id":65146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:20:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:20:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:20:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:20:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:20:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:20:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:20:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:20:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:20:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:20:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:20:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:20:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:20:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:20:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:20:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:20:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:20:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:20:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:20:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:20:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":65146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:20:30] local.INFO: GPS data processed {"connection_id":65146,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:20:30] local.INFO: Acknowledgment sent {"connection_id":65146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:20:57] local.INFO: TCP Data received {"connection_id":65084,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:20:57] local.INFO: Processing buffer {"connection_id":65084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:20:57] local.INFO: IMEI packet received {"connection_id":65084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":65084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:21:02] local.INFO: TCP Data received {"connection_id":65084,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:02] local.INFO: Processing buffer {"connection_id":65084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:02] local.INFO: IMEI packet received {"connection_id":65084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":65084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:21:03] local.INFO: TCP Data received {"connection_id":65084,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:03] local.INFO: Processing buffer {"connection_id":65084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:03] local.INFO: Packet analysis {"connection_id":65084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:21:03] local.INFO: Extracted packet for processing {"connection_id":65084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:21:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:21: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-05-08 16:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:21:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:21:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":65084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:21:03] local.INFO: GPS data processed {"connection_id":65084,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:21:03] local.INFO: Acknowledgment sent {"connection_id":65084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:21:08] local.INFO: TCP Data received {"connection_id":65084,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:08] local.INFO: Processing buffer {"connection_id":65084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:08] local.INFO: Packet analysis {"connection_id":65084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:21:08] local.INFO: Extracted packet for processing {"connection_id":65084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 16:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 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-05-08 16:21: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-05-08 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:21: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-05-08 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-05-08 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-05-08 16:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:21:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:21:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":65084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:21:08] local.INFO: GPS data processed {"connection_id":65084,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:21:08] local.INFO: Acknowledgment sent {"connection_id":65084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:21:11] local.INFO: TCP Data received {"connection_id":65913,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:21:11] local.INFO: Processing buffer {"connection_id":65913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:21:11] local.INFO: IMEI packet received {"connection_id":65913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":65913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:21:52] local.INFO: TCP Data received {"connection_id":65085,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:52] local.INFO: Processing buffer {"connection_id":65085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:52] local.INFO: IMEI packet received {"connection_id":65085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":65085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:21:57] local.INFO: TCP Data received {"connection_id":65085,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:57] local.INFO: Processing buffer {"connection_id":65085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:21:57] local.INFO: IMEI packet received {"connection_id":65085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":65085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:21:58] local.INFO: TCP Data received {"connection_id":65085,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:58] local.INFO: Processing buffer {"connection_id":65085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:21:58] local.INFO: Packet analysis {"connection_id":65085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:21:58] local.INFO: Extracted packet for processing {"connection_id":65085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:21: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-05-08 16:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:21:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":65085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:21:58] local.INFO: GPS data processed {"connection_id":65085,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:21:58] local.INFO: Acknowledgment sent {"connection_id":65085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:22:16] local.INFO: TCP Data received {"connection_id":65914,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65914,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:22:16] local.INFO: Processing buffer {"connection_id":65914,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:22:16] local.INFO: IMEI packet received {"connection_id":65914,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":65914,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:22:30] local.INFO: TCP Data received {"connection_id":65085,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:22:30] local.INFO: Processing buffer {"connection_id":65085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:22:30] local.INFO: Packet analysis {"connection_id":65085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:22:30] local.INFO: Extracted packet for processing {"connection_id":65085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:22:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":65085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:22:30] local.INFO: GPS data processed {"connection_id":65085,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:22:30] local.INFO: Acknowledgment sent {"connection_id":65085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:22:52] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:22:52] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:22:52] local.INFO: IMEI packet received {"connection_id":65147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":65147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:22:56] local.INFO: TCP Data received {"connection_id":65207,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:22:56] local.INFO: Processing buffer {"connection_id":65207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:22:56] local.INFO: IMEI packet received {"connection_id":65207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":65207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:22:57] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:22:57] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:22:57] local.INFO: IMEI packet received {"connection_id":65147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":65147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:22:57] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:22:57] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:22:57] local.INFO: Packet analysis {"connection_id":65147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:22:57] local.INFO: Extracted packet for processing {"connection_id":65147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:22: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-05-08 16:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:22:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":65147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:22:57] local.INFO: GPS data processed {"connection_id":65147,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:22:57] local.INFO: Acknowledgment sent {"connection_id":65147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:23:29] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:23:29] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:23:29] local.INFO: Packet analysis {"connection_id":65147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:23:29] local.INFO: Extracted packet for processing {"connection_id":65147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:23:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:23:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":65147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:23:29] local.INFO: GPS data processed {"connection_id":65147,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:23:29] local.INFO: Acknowledgment sent {"connection_id":65147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:23:52] local.INFO: TCP Data received {"connection_id":65915,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:23:52] local.INFO: Processing buffer {"connection_id":65915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:23:52] local.INFO: IMEI packet received {"connection_id":65915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":65915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:23:57] local.INFO: TCP Data received {"connection_id":65915,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:23:57] local.INFO: Processing buffer {"connection_id":65915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:23:57] local.INFO: IMEI packet received {"connection_id":65915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":65915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:23:58] local.INFO: TCP Data received {"connection_id":65915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:23:58] local.INFO: Processing buffer {"connection_id":65915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07342b40012d34c54006aa4a98000b000025..."} 
[2026-05-08 16:23:58] local.INFO: Packet analysis {"connection_id":65915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:23:58] local.INFO: Extracted packet for processing {"connection_id":65915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0734"} 
[2026-05-08 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228676864001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:23: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-05-08 16:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237320000,"timestamp_ms":1778237320000,"timestamp_seconds":1778237320,"priority":1,"record_length":96,"hex_timestamp":"0000019e07342b40"} 
[2026-05-08 16:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228676864001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228676864001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:23:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228676864001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":65915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:23:58] local.INFO: GPS data processed {"connection_id":65915,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:23:58] local.INFO: Acknowledgment sent {"connection_id":65915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:24:29] local.INFO: TCP Data received {"connection_id":65915,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:24:29] local.INFO: Processing buffer {"connection_id":65915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:24:29] local.INFO: Packet analysis {"connection_id":65915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:24:29] local.INFO: Extracted packet for processing {"connection_id":65915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:24:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:24:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:24:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:24:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":65915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:24:29] local.INFO: GPS data processed {"connection_id":65915,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:24:29] local.INFO: Acknowledgment sent {"connection_id":65915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:24:52] local.INFO: TCP Data received {"connection_id":65916,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:24:52] local.INFO: Processing buffer {"connection_id":65916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:24:52] local.INFO: IMEI packet received {"connection_id":65916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":65916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:24:57] local.INFO: TCP Data received {"connection_id":65916,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:24:57] local.INFO: Processing buffer {"connection_id":65916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:24:57] local.INFO: IMEI packet received {"connection_id":65916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":65916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:24:58] local.INFO: TCP Data received {"connection_id":65916,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:24:58] local.INFO: Processing buffer {"connection_id":65916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:24:58] local.INFO: Packet analysis {"connection_id":65916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:24:58] local.INFO: Extracted packet for processing {"connection_id":65916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:24: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-05-08 16:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:24:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":65916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:24:58] local.INFO: GPS data processed {"connection_id":65916,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:24:58] local.INFO: Acknowledgment sent {"connection_id":65916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:25:30] local.INFO: TCP Data received {"connection_id":65916,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:25:30] local.INFO: Processing buffer {"connection_id":65916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:25:30] local.INFO: Packet analysis {"connection_id":65916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:25:30] local.INFO: Extracted packet for processing {"connection_id":65916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:25:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":65916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:25:30] local.INFO: GPS data processed {"connection_id":65916,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:25:30] local.INFO: Acknowledgment sent {"connection_id":65916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:25:52] local.INFO: TCP Data received {"connection_id":65088,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:25:52] local.INFO: Processing buffer {"connection_id":65088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:25:52] local.INFO: IMEI packet received {"connection_id":65088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":65088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:25:57] local.INFO: TCP Data received {"connection_id":65088,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:25:57] local.INFO: Processing buffer {"connection_id":65088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:25:57] local.INFO: IMEI packet received {"connection_id":65088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":65088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:25:58] local.INFO: TCP Data received {"connection_id":65088,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:25:58] local.INFO: Processing buffer {"connection_id":65088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:25:58] local.INFO: Packet analysis {"connection_id":65088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:25:58] local.INFO: Extracted packet for processing {"connection_id":65088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:25: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-05-08 16:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:25:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:25:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":65088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:25:58] local.INFO: GPS data processed {"connection_id":65088,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:25:58] local.INFO: Acknowledgment sent {"connection_id":65088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:26:30] local.INFO: TCP Data received {"connection_id":65088,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:26:30] local.INFO: Processing buffer {"connection_id":65088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:26:30] local.INFO: Packet analysis {"connection_id":65088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:26:30] local.INFO: Extracted packet for processing {"connection_id":65088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:26:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:26:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":65088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:26:30] local.INFO: GPS data processed {"connection_id":65088,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:26:30] local.INFO: Acknowledgment sent {"connection_id":65088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:26:52] local.INFO: TCP Data received {"connection_id":65209,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:26:52] local.INFO: Processing buffer {"connection_id":65209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:26:52] local.INFO: IMEI packet received {"connection_id":65209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":65209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:26:57] local.INFO: TCP Data received {"connection_id":65209,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:26:57] local.INFO: Processing buffer {"connection_id":65209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:26:57] local.INFO: IMEI packet received {"connection_id":65209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":65209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:26:58] local.INFO: TCP Data received {"connection_id":65209,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:26:58] local.INFO: Processing buffer {"connection_id":65209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:26:58] local.INFO: Packet analysis {"connection_id":65209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:26:58] local.INFO: Extracted packet for processing {"connection_id":65209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:26: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-05-08 16:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:26:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":65209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:26:58] local.INFO: GPS data processed {"connection_id":65209,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:26:58] local.INFO: Acknowledgment sent {"connection_id":65209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:27:29] local.INFO: TCP Data received {"connection_id":65209,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:27:29] local.INFO: Processing buffer {"connection_id":65209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:27:29] local.INFO: Packet analysis {"connection_id":65209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:27:29] local.INFO: Extracted packet for processing {"connection_id":65209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:27:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:27:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:27:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:27:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:27:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":65209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:27:29] local.INFO: GPS data processed {"connection_id":65209,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:27:29] local.INFO: Acknowledgment sent {"connection_id":65209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:27:52] local.INFO: TCP Data received {"connection_id":65148,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:27:52] local.INFO: Processing buffer {"connection_id":65148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:27:52] local.INFO: IMEI packet received {"connection_id":65148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":65148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:27:57] local.INFO: TCP Data received {"connection_id":65148,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:27:57] local.INFO: Processing buffer {"connection_id":65148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:27:57] local.INFO: IMEI packet received {"connection_id":65148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":65148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:27:58] local.INFO: TCP Data received {"connection_id":65148,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:27:58] local.INFO: Processing buffer {"connection_id":65148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:27:58] local.INFO: Packet analysis {"connection_id":65148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:27:58] local.INFO: Extracted packet for processing {"connection_id":65148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:27: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-05-08 16:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":65148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:27:58] local.INFO: GPS data processed {"connection_id":65148,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:27:58] local.INFO: Acknowledgment sent {"connection_id":65148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:28:01] local.INFO: TCP Data received {"connection_id":65210,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:28:01] local.INFO: Processing buffer {"connection_id":65210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:28:01] local.INFO: IMEI packet received {"connection_id":65210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":65210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:28:30] local.INFO: TCP Data received {"connection_id":65148,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:28:30] local.INFO: Processing buffer {"connection_id":65148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:28:30] local.INFO: Packet analysis {"connection_id":65148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:28:30] local.INFO: Extracted packet for processing {"connection_id":65148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:28:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:28:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:28:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:28:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:28:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:28:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:28:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:28:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:28:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:28:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:28:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:28:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:28:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:28:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:28:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:28:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:28:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:28:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:28:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:28:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:28:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:28:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:28:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:28:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:28:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:28:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:28:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:28:30] local.INFO: DEBUG: GPS processor result {"connection_id":65148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:28:30] local.INFO: GPS data processed {"connection_id":65148,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:28:30] local.INFO: Acknowledgment sent {"connection_id":65148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:28:46] local.INFO: TCP Data received {"connection_id":65089,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:28:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:28:46] local.INFO: Processing buffer {"connection_id":65089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:28:46] local.INFO: IMEI packet received {"connection_id":65089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:28:46] local.INFO: IMEI acknowledgment sent {"connection_id":65089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:28:57] local.INFO: TCP Data received {"connection_id":65090,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:28:57] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:28:57] local.INFO: IMEI packet received {"connection_id":65090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":65090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:29:02] local.INFO: TCP Data received {"connection_id":65090,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:02] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:02] local.INFO: IMEI packet received {"connection_id":65090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":65090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:29:04] local.INFO: TCP Data received {"connection_id":65090,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:29:04] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:29:04] local.INFO: Packet analysis {"connection_id":65090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:29:04] local.INFO: Extracted packet for processing {"connection_id":65090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:29:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:29:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":65090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:29:04] local.INFO: GPS data processed {"connection_id":65090,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:29:04] local.INFO: Acknowledgment sent {"connection_id":65090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:29:08] local.INFO: TCP Data received {"connection_id":65090,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:29:08] local.INFO: Processing buffer {"connection_id":65090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0738c308012d34c54006aa4a980007000024..."} 
[2026-05-08 16:29:08] local.INFO: Packet analysis {"connection_id":65090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:29:08] local.INFO: Extracted packet for processing {"connection_id":65090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0738"} 
[2026-05-08 16:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228753920001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778237621000,"timestamp_ms":1778237621000,"timestamp_seconds":1778237621,"priority":1,"record_length":96,"hex_timestamp":"0000019e0738c308"} 
[2026-05-08 16:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:29: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-05-08 16: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-05-08 16: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-05-08 16: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-05-08 16:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228753920001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228753920001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228753920001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":65090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:29:08] local.INFO: GPS data processed {"connection_id":65090,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:29:08] local.INFO: Acknowledgment sent {"connection_id":65090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:29:52] local.INFO: TCP Data received {"connection_id":65091,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:52] local.INFO: Processing buffer {"connection_id":65091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:52] local.INFO: IMEI packet received {"connection_id":65091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":65091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:29:57] local.INFO: TCP Data received {"connection_id":65091,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:57] local.INFO: Processing buffer {"connection_id":65091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:29:57] local.INFO: IMEI packet received {"connection_id":65091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":65091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:29:58] local.INFO: TCP Data received {"connection_id":65091,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:29:58] local.INFO: Processing buffer {"connection_id":65091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:29:58] local.INFO: Packet analysis {"connection_id":65091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:29:58] local.INFO: Extracted packet for processing {"connection_id":65091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:29: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-05-08 16:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:29: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-05-08 16:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:29:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:29:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":65091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:29:58] local.INFO: GPS data processed {"connection_id":65091,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:29:58] local.INFO: Acknowledgment sent {"connection_id":65091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:30:30] local.INFO: TCP Data received {"connection_id":65091,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:30:30] local.INFO: Processing buffer {"connection_id":65091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:30:30] local.INFO: Packet analysis {"connection_id":65091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:30:30] local.INFO: Extracted packet for processing {"connection_id":65091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:30:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":65091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:30:30] local.INFO: GPS data processed {"connection_id":65091,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:30:30] local.INFO: Acknowledgment sent {"connection_id":65091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:30:52] local.INFO: TCP Data received {"connection_id":65918,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:30:52] local.INFO: Processing buffer {"connection_id":65918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:30:52] local.INFO: IMEI packet received {"connection_id":65918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":65918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:30:57] local.INFO: TCP Data received {"connection_id":65918,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:30:57] local.INFO: Processing buffer {"connection_id":65918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:30:57] local.INFO: IMEI packet received {"connection_id":65918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":65918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:30:58] local.INFO: TCP Data received {"connection_id":65918,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:30:58] local.INFO: Processing buffer {"connection_id":65918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:30:58] local.INFO: Packet analysis {"connection_id":65918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:30:58] local.INFO: Extracted packet for processing {"connection_id":65918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:30: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-05-08 16:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:30: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-05-08 16:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:30:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:30:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":65918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:30:58] local.INFO: GPS data processed {"connection_id":65918,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:30:58] local.INFO: Acknowledgment sent {"connection_id":65918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:31:30] local.INFO: TCP Data received {"connection_id":65918,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:31:30] local.INFO: Processing buffer {"connection_id":65918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:31:30] local.INFO: Packet analysis {"connection_id":65918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:31:30] local.INFO: Extracted packet for processing {"connection_id":65918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:31:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:31:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":65918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:31:30] local.INFO: GPS data processed {"connection_id":65918,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:31:30] local.INFO: Acknowledgment sent {"connection_id":65918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:31:52] local.INFO: TCP Data received {"connection_id":65150,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:31:52] local.INFO: Processing buffer {"connection_id":65150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:31:52] local.INFO: IMEI packet received {"connection_id":65150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":65150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:31:57] local.INFO: TCP Data received {"connection_id":65150,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:31:57] local.INFO: Processing buffer {"connection_id":65150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:31:57] local.INFO: IMEI packet received {"connection_id":65150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":65150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:31:58] local.INFO: TCP Data received {"connection_id":65150,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:31:58] local.INFO: Processing buffer {"connection_id":65150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:31:58] local.INFO: Packet analysis {"connection_id":65150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:31:58] local.INFO: Extracted packet for processing {"connection_id":65150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:31: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-05-08 16:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:31: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-05-08 16:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:31:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:31:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":65150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:31:58] local.INFO: GPS data processed {"connection_id":65150,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:31:58] local.INFO: Acknowledgment sent {"connection_id":65150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:32:29] local.INFO: TCP Data received {"connection_id":65150,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:32:30] local.INFO: Processing buffer {"connection_id":65150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:32:30] local.INFO: Packet analysis {"connection_id":65150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:32:30] local.INFO: Extracted packet for processing {"connection_id":65150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:32:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:32:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":65150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:32:30] local.INFO: GPS data processed {"connection_id":65150,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:32:30] local.INFO: Acknowledgment sent {"connection_id":65150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:32:57] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:32:57] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:32:57] local.INFO: IMEI packet received {"connection_id":65094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":65094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:33:02] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:02] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:02] local.INFO: IMEI packet received {"connection_id":65094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":65094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:33:03] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:03] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:03] local.INFO: Packet analysis {"connection_id":65094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:33:03] local.INFO: Extracted packet for processing {"connection_id":65094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:33: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-05-08 16: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-05-08 16:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:33:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":65094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:33:03] local.INFO: GPS data processed {"connection_id":65094,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:33:03] local.INFO: Acknowledgment sent {"connection_id":65094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:33:08] local.INFO: TCP Data received {"connection_id":65094,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:08] local.INFO: Processing buffer {"connection_id":65094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:08] local.INFO: Packet analysis {"connection_id":65094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:33:08] local.INFO: Extracted packet for processing {"connection_id":65094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:33: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-05-08 16: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-05-08 16: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-05-08 16: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-05-08 16:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:33:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:33:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":65094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:33:08] local.INFO: GPS data processed {"connection_id":65094,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:33:08] local.INFO: Acknowledgment sent {"connection_id":65094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:33:52] local.INFO: TCP Data received {"connection_id":65919,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:52] local.INFO: Processing buffer {"connection_id":65919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:52] local.INFO: IMEI packet received {"connection_id":65919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":65919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:33:57] local.INFO: TCP Data received {"connection_id":65919,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:57] local.INFO: Processing buffer {"connection_id":65919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:33:57] local.INFO: IMEI packet received {"connection_id":65919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":65919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:33:59] local.INFO: TCP Data received {"connection_id":65919,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:59] local.INFO: Processing buffer {"connection_id":65919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e073d5ad0012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:33:59] local.INFO: Packet analysis {"connection_id":65919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:33:59] local.INFO: Extracted packet for processing {"connection_id":65919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e073d"} 
[2026-05-08 16:33:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228830976001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:33: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-05-08 16:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778237922000,"timestamp_ms":1778237922000,"timestamp_seconds":1778237922,"priority":1,"record_length":96,"hex_timestamp":"0000019e073d5ad0"} 
[2026-05-08 16:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:33: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-05-08 16:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228830976001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228830976001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:33:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:33:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228830976001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":65919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:33:59] local.INFO: GPS data processed {"connection_id":65919,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:33:59] local.INFO: Acknowledgment sent {"connection_id":65919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:34:30] local.INFO: TCP Data received {"connection_id":65919,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:34:30] local.INFO: Processing buffer {"connection_id":65919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:34:30] local.INFO: Packet analysis {"connection_id":65919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:34:30] local.INFO: Extracted packet for processing {"connection_id":65919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:34:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:34:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":65919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:34:30] local.INFO: GPS data processed {"connection_id":65919,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:34:30] local.INFO: Acknowledgment sent {"connection_id":65919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:34:41] local.INFO: TCP Data received {"connection_id":65095,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:34:41] local.INFO: Processing buffer {"connection_id":65095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:34:41] local.INFO: IMEI packet received {"connection_id":65095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:34:41] local.INFO: IMEI acknowledgment sent {"connection_id":65095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:34:52] local.INFO: TCP Data received {"connection_id":65151,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:34:52] local.INFO: Processing buffer {"connection_id":65151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:34:52] local.INFO: IMEI packet received {"connection_id":65151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":65151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:34:57] local.INFO: TCP Data received {"connection_id":65151,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:34:57] local.INFO: Processing buffer {"connection_id":65151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:34:57] local.INFO: IMEI packet received {"connection_id":65151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":65151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:34:58] local.INFO: TCP Data received {"connection_id":65151,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:34:58] local.INFO: Processing buffer {"connection_id":65151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:34:58] local.INFO: Packet analysis {"connection_id":65151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:34:58] local.INFO: Extracted packet for processing {"connection_id":65151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:34: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-05-08 16:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:34:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:34:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":65151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:34:58] local.INFO: GPS data processed {"connection_id":65151,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:34:58] local.INFO: Acknowledgment sent {"connection_id":65151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:35:31] local.INFO: TCP Data received {"connection_id":65151,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:35:31] local.INFO: Processing buffer {"connection_id":65151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:35:31] local.INFO: Packet analysis {"connection_id":65151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:35:31] local.INFO: Extracted packet for processing {"connection_id":65151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:35:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:35: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-05-08 16:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:35:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":65151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:35:31] local.INFO: GPS data processed {"connection_id":65151,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:35:31] local.INFO: Acknowledgment sent {"connection_id":65151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:35:52] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:35:52] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:35:52] local.INFO: IMEI packet received {"connection_id":65096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":65096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:35:57] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:35:57] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:35:57] local.INFO: IMEI packet received {"connection_id":65096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":65096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:35:58] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:35:58] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:35:58] local.INFO: Packet analysis {"connection_id":65096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:35:58] local.INFO: Extracted packet for processing {"connection_id":65096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:35:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:35: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-05-08 16:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:35:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:35:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":65096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:35:58] local.INFO: GPS data processed {"connection_id":65096,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:35:58] local.INFO: Acknowledgment sent {"connection_id":65096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:36:30] local.INFO: TCP Data received {"connection_id":65096,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:36:30] local.INFO: Processing buffer {"connection_id":65096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:36:30] local.INFO: Packet analysis {"connection_id":65096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:36:30] local.INFO: Extracted packet for processing {"connection_id":65096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:36:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:36:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":65096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:36:30] local.INFO: GPS data processed {"connection_id":65096,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:36:30] local.INFO: Acknowledgment sent {"connection_id":65096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:36:52] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:36:52] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:36:52] local.INFO: IMEI packet received {"connection_id":65215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":65215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:36:57] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:36:57] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:36:57] local.INFO: IMEI packet received {"connection_id":65215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":65215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:36:57] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:36:57] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:36:57] local.INFO: Packet analysis {"connection_id":65215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:36:57] local.INFO: Extracted packet for processing {"connection_id":65215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:36:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:36: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-05-08 16:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:36:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:36:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":65215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:36:57] local.INFO: GPS data processed {"connection_id":65215,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:36:57] local.INFO: Acknowledgment sent {"connection_id":65215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:37:30] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:37:30] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:37:30] local.INFO: Packet analysis {"connection_id":65215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:37:30] local.INFO: Extracted packet for processing {"connection_id":65215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:37:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":65215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:37:30] local.INFO: GPS data processed {"connection_id":65215,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:37:30] local.INFO: Acknowledgment sent {"connection_id":65215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:37:57] local.INFO: TCP Data received {"connection_id":65216,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:37:57] local.INFO: Processing buffer {"connection_id":65216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:37:57] local.INFO: IMEI packet received {"connection_id":65216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":65216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:38:02] local.INFO: TCP Data received {"connection_id":65216,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:02] local.INFO: Processing buffer {"connection_id":65216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:02] local.INFO: IMEI packet received {"connection_id":65216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":65216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:38:04] local.INFO: TCP Data received {"connection_id":65216,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:04] local.INFO: Processing buffer {"connection_id":65216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:04] local.INFO: Packet analysis {"connection_id":65216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:38:04] local.INFO: Extracted packet for processing {"connection_id":65216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 16:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 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-05-08 16:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:38: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-05-08 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-05-08 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-05-08 16:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:38:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:38:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:38:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":65216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:38:04] local.INFO: GPS data processed {"connection_id":65216,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:38:04] local.INFO: Acknowledgment sent {"connection_id":65216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:38:09] local.INFO: TCP Data received {"connection_id":65216,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:09] local.INFO: Processing buffer {"connection_id":65216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:09] local.INFO: Packet analysis {"connection_id":65216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:38:09] local.INFO: Extracted packet for processing {"connection_id":65216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16: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-05-08 16: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":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:38: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-05-08 16: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-05-08 16:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:38:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":65216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:38:09] local.INFO: GPS data processed {"connection_id":65216,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:38:09] local.INFO: Acknowledgment sent {"connection_id":65216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:38:52] local.INFO: TCP Data received {"connection_id":65153,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:52] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:52] local.INFO: IMEI packet received {"connection_id":65153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":65153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:38:57] local.INFO: TCP Data received {"connection_id":65153,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:57] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:38:57] local.INFO: IMEI packet received {"connection_id":65153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":65153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:38:59] local.INFO: TCP Data received {"connection_id":65153,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:59] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0741f298012d34c54006aa4a98000c000024..."} 
[2026-05-08 16:38:59] local.INFO: Packet analysis {"connection_id":65153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:38:59] local.INFO: Extracted packet for processing {"connection_id":65153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0741"} 
[2026-05-08 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228908032001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:38: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-05-08 16:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778238223000,"timestamp_ms":1778238223000,"timestamp_seconds":1778238223,"priority":1,"record_length":96,"hex_timestamp":"0000019e0741f298"} 
[2026-05-08 16:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:38: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-05-08 16:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228908032001,"66":25343,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228908032001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:38:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228908032001,"power":25343,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":65153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:38:59] local.INFO: GPS data processed {"connection_id":65153,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:38:59] local.INFO: Acknowledgment sent {"connection_id":65153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:39:31] local.INFO: TCP Data received {"connection_id":65153,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:39:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:39:31] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:39:31] local.INFO: Packet analysis {"connection_id":65153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:39:31] local.INFO: Extracted packet for processing {"connection_id":65153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:39:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:39:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:39:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:39:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:39:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:39:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:39:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:39: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-05-08 16:39:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:39:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:39:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:39:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:39:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:39:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:39:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:39:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:39:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:39:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:39:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:39:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:39:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:39:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:39:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:39:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:39:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:39:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:39:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:39:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:39:31] local.INFO: DEBUG: GPS processor result {"connection_id":65153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:39:31] local.INFO: GPS data processed {"connection_id":65153,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:39:31] local.INFO: Acknowledgment sent {"connection_id":65153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:39:52] local.INFO: TCP Data received {"connection_id":65922,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:39:52] local.INFO: Processing buffer {"connection_id":65922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:39:52] local.INFO: IMEI packet received {"connection_id":65922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":65922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:39:57] local.INFO: TCP Data received {"connection_id":65922,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:39:57] local.INFO: Processing buffer {"connection_id":65922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:39:57] local.INFO: IMEI packet received {"connection_id":65922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":65922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:39:59] local.INFO: TCP Data received {"connection_id":65922,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:39:59] local.INFO: Processing buffer {"connection_id":65922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:39:59] local.INFO: Packet analysis {"connection_id":65922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:39:59] local.INFO: Extracted packet for processing {"connection_id":65922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:39: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-05-08 16:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:39: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-05-08 16:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":65922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:39:59] local.INFO: GPS data processed {"connection_id":65922,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:39:59] local.INFO: Acknowledgment sent {"connection_id":65922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:40:13] local.INFO: TCP Data received {"connection_id":65921,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65921,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:40:13] local.INFO: Processing buffer {"connection_id":65921,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:40:13] local.INFO: IMEI packet received {"connection_id":65921,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":65921,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:40:30] local.INFO: TCP Data received {"connection_id":65922,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:40:30] local.INFO: Processing buffer {"connection_id":65922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:40:30] local.INFO: Packet analysis {"connection_id":65922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:40:30] local.INFO: Extracted packet for processing {"connection_id":65922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:40:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":65922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:40:30] local.INFO: GPS data processed {"connection_id":65922,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:40:30] local.INFO: Acknowledgment sent {"connection_id":65922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:40:41] local.INFO: TCP Data received {"connection_id":65097,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:40:41] local.INFO: Processing buffer {"connection_id":65097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:40:41] local.INFO: IMEI packet received {"connection_id":65097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:40:41] local.INFO: IMEI acknowledgment sent {"connection_id":65097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:40:52] local.INFO: TCP Data received {"connection_id":65217,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:40:52] local.INFO: Processing buffer {"connection_id":65217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:40:52] local.INFO: IMEI packet received {"connection_id":65217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":65217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:40:57] local.INFO: TCP Data received {"connection_id":65217,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:40:57] local.INFO: Processing buffer {"connection_id":65217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:40:57] local.INFO: IMEI packet received {"connection_id":65217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":65217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:40:58] local.INFO: TCP Data received {"connection_id":65217,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:40:58] local.INFO: Processing buffer {"connection_id":65217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:40:58] local.INFO: Packet analysis {"connection_id":65217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:40:58] local.INFO: Extracted packet for processing {"connection_id":65217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:40: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-05-08 16:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:40:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":65217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:40:58] local.INFO: GPS data processed {"connection_id":65217,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:40:58] local.INFO: Acknowledgment sent {"connection_id":65217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:41:30] local.INFO: TCP Data received {"connection_id":65217,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:41:30] local.INFO: Processing buffer {"connection_id":65217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:41:30] local.INFO: Packet analysis {"connection_id":65217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:41:30] local.INFO: Extracted packet for processing {"connection_id":65217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":65217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:41:30] local.INFO: GPS data processed {"connection_id":65217,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:41:30] local.INFO: Acknowledgment sent {"connection_id":65217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:41:52] local.INFO: TCP Data received {"connection_id":65923,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:41:52] local.INFO: Processing buffer {"connection_id":65923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:41:52] local.INFO: IMEI packet received {"connection_id":65923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":65923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:41:57] local.INFO: TCP Data received {"connection_id":65923,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:41:57] local.INFO: Processing buffer {"connection_id":65923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:41:57] local.INFO: IMEI packet received {"connection_id":65923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":65923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:41:58] local.INFO: TCP Data received {"connection_id":65923,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:41:58] local.INFO: Processing buffer {"connection_id":65923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:41:58] local.INFO: Packet analysis {"connection_id":65923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:41:58] local.INFO: Extracted packet for processing {"connection_id":65923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:41: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-05-08 16:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:41:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:41:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":65923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:41:58] local.INFO: GPS data processed {"connection_id":65923,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:41:58] local.INFO: Acknowledgment sent {"connection_id":65923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:42:31] local.INFO: TCP Data received {"connection_id":65923,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:42:31] local.INFO: Processing buffer {"connection_id":65923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:42:31] local.INFO: Packet analysis {"connection_id":65923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:42:31] local.INFO: Extracted packet for processing {"connection_id":65923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:42: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-05-08 16:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:42:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":65923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:42:31] local.INFO: GPS data processed {"connection_id":65923,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:42:31] local.INFO: Acknowledgment sent {"connection_id":65923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:42:52] local.INFO: TCP Data received {"connection_id":65924,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:42:52] local.INFO: Processing buffer {"connection_id":65924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:42:52] local.INFO: IMEI packet received {"connection_id":65924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":65924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:42:57] local.INFO: TCP Data received {"connection_id":65924,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:42:57] local.INFO: Processing buffer {"connection_id":65924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:42:57] local.INFO: IMEI packet received {"connection_id":65924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":65924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:42:58] local.INFO: TCP Data received {"connection_id":65924,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:42:58] local.INFO: Processing buffer {"connection_id":65924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:42:58] local.INFO: Packet analysis {"connection_id":65924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:42:58] local.INFO: Extracted packet for processing {"connection_id":65924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:42: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-05-08 16:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:42:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:42:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":65924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:42:58] local.INFO: GPS data processed {"connection_id":65924,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:42:58] local.INFO: Acknowledgment sent {"connection_id":65924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:43:30] local.INFO: TCP Data received {"connection_id":65924,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:43:30] local.INFO: Processing buffer {"connection_id":65924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:43:30] local.INFO: Packet analysis {"connection_id":65924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:43:30] local.INFO: Extracted packet for processing {"connection_id":65924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:43:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:43:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:43:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":65924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:43:30] local.INFO: GPS data processed {"connection_id":65924,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:43:30] local.INFO: Acknowledgment sent {"connection_id":65924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:43:57] local.INFO: TCP Data received {"connection_id":65098,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:43:57] local.INFO: Processing buffer {"connection_id":65098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:43:57] local.INFO: IMEI packet received {"connection_id":65098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":65098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:44:02] local.INFO: TCP Data received {"connection_id":65098,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:02] local.INFO: Processing buffer {"connection_id":65098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:02] local.INFO: IMEI packet received {"connection_id":65098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":65098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:44:03] local.INFO: TCP Data received {"connection_id":65098,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:44:03] local.INFO: Processing buffer {"connection_id":65098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07468a60012d34c54006aa4a980009000025..."} 
[2026-05-08 16:44:03] local.INFO: Packet analysis {"connection_id":65098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:44:03] local.INFO: Extracted packet for processing {"connection_id":65098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0746"} 
[2026-05-08 16:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455228985088001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778238524000,"timestamp_ms":1778238524000,"timestamp_seconds":1778238524,"priority":1,"record_length":96,"hex_timestamp":"0000019e07468a60"} 
[2026-05-08 16:44:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":255,"data_length":795,"current_offset":136} 
[2026-05-08 16:44: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-05-08 16: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-05-08 16:44:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455228985088001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455228985088001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455228985088001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":65098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:44:03] local.INFO: GPS data processed {"connection_id":65098,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:44:03] local.INFO: Acknowledgment sent {"connection_id":65098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:44:36] local.INFO: TCP Data received {"connection_id":65098,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:44:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:44:36] local.INFO: Processing buffer {"connection_id":65098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:44:36] local.INFO: Packet analysis {"connection_id":65098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:44:36] local.INFO: Extracted packet for processing {"connection_id":65098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:44:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:44:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:44:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:44:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:44:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:44:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:44: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-05-08 16: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":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:44: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-05-08 16: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-05-08 16:44:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:44:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:44:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:44:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:44:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:44:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:44:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:44:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:44:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:44:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:44:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:44:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:44:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:44:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:44:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:44:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:44:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:44:36] local.INFO: DEBUG: GPS processor result {"connection_id":65098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:44:36] local.INFO: GPS data processed {"connection_id":65098,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:44:36] local.INFO: Acknowledgment sent {"connection_id":65098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:44:52] local.INFO: TCP Data received {"connection_id":65219,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:52] local.INFO: Processing buffer {"connection_id":65219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:52] local.INFO: IMEI packet received {"connection_id":65219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":65219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:44:57] local.INFO: TCP Data received {"connection_id":65219,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:57] local.INFO: Processing buffer {"connection_id":65219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:44:57] local.INFO: IMEI packet received {"connection_id":65219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":65219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:44:58] local.INFO: TCP Data received {"connection_id":65219,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:44:58] local.INFO: Processing buffer {"connection_id":65219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:44:58] local.INFO: Packet analysis {"connection_id":65219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:44:58] local.INFO: Extracted packet for processing {"connection_id":65219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:44:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:44: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-05-08 16:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:44: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-05-08 16:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:44:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:44:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":65219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:44:58] local.INFO: GPS data processed {"connection_id":65219,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:44:58] local.INFO: Acknowledgment sent {"connection_id":65219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:45:30] local.INFO: TCP Data received {"connection_id":65219,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:45:30] local.INFO: Processing buffer {"connection_id":65219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:45:30] local.INFO: Packet analysis {"connection_id":65219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:45:30] local.INFO: Extracted packet for processing {"connection_id":65219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:45:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":65219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:45:30] local.INFO: GPS data processed {"connection_id":65219,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:45:30] local.INFO: Acknowledgment sent {"connection_id":65219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:45:52] local.INFO: TCP Data received {"connection_id":65099,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:45:52] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:45:52] local.INFO: IMEI packet received {"connection_id":65099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":65099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:45:57] local.INFO: TCP Data received {"connection_id":65099,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:45:57] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:45:57] local.INFO: IMEI packet received {"connection_id":65099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":65099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:45:58] local.INFO: TCP Data received {"connection_id":65099,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:45:58] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:45:58] local.INFO: Packet analysis {"connection_id":65099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:45:58] local.INFO: Extracted packet for processing {"connection_id":65099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:45: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-05-08 16:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:45:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:45: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-05-08 16:45:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:45:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":65099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:45:58] local.INFO: GPS data processed {"connection_id":65099,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:45:58] local.INFO: Acknowledgment sent {"connection_id":65099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:46:06] local.INFO: TCP Data received {"connection_id":65157,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:46:06] local.INFO: Processing buffer {"connection_id":65157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:46:06] local.INFO: IMEI packet received {"connection_id":65157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":65157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:46:30] local.INFO: TCP Data received {"connection_id":65099,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:46:30] local.INFO: Processing buffer {"connection_id":65099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:46:30] local.INFO: Packet analysis {"connection_id":65099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:46:30] local.INFO: Extracted packet for processing {"connection_id":65099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:46:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:46:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":65099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:46:30] local.INFO: GPS data processed {"connection_id":65099,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:46:30] local.INFO: Acknowledgment sent {"connection_id":65099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:46:41] local.INFO: TCP Data received {"connection_id":65158,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:46:41] local.INFO: Processing buffer {"connection_id":65158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:46:41] local.INFO: IMEI packet received {"connection_id":65158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:46:41] local.INFO: IMEI acknowledgment sent {"connection_id":65158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:46:52] local.INFO: TCP Data received {"connection_id":65925,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:46:52] local.INFO: Processing buffer {"connection_id":65925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:46:52] local.INFO: IMEI packet received {"connection_id":65925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":65925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:46:57] local.INFO: TCP Data received {"connection_id":65925,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:46:57] local.INFO: Processing buffer {"connection_id":65925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:46:57] local.INFO: IMEI packet received {"connection_id":65925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":65925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:46:58] local.INFO: TCP Data received {"connection_id":65925,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:46:58] local.INFO: Processing buffer {"connection_id":65925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:46:58] local.INFO: Packet analysis {"connection_id":65925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:46:58] local.INFO: Extracted packet for processing {"connection_id":65925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:46:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:46: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-05-08 16:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:46: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-05-08 16: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-05-08 16:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:46:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":65925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:46:58] local.INFO: GPS data processed {"connection_id":65925,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:46:58] local.INFO: Acknowledgment sent {"connection_id":65925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:47:30] local.INFO: TCP Data received {"connection_id":65925,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:47:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:47:30] local.INFO: Processing buffer {"connection_id":65925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:47:30] local.INFO: Packet analysis {"connection_id":65925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:47:30] local.INFO: Extracted packet for processing {"connection_id":65925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:47:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:47:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:47:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:47:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:47:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:47:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 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-05-08 16:47:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:47:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 16:47:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:47:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:47:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:47:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:47:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:47:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:47:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:47:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:47:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:47:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:47:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:47:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:47:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:47:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:47:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:47:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:47:30] local.INFO: DEBUG: GPS processor result {"connection_id":65925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:47:30] local.INFO: GPS data processed {"connection_id":65925,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:47:30] local.INFO: Acknowledgment sent {"connection_id":65925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:47:52] local.INFO: TCP Data received {"connection_id":65926,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:47:52] local.INFO: Processing buffer {"connection_id":65926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:47:52] local.INFO: IMEI packet received {"connection_id":65926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":65926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:47:57] local.INFO: TCP Data received {"connection_id":65926,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:47:57] local.INFO: Processing buffer {"connection_id":65926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:47:57] local.INFO: IMEI packet received {"connection_id":65926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":65926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:47:59] local.INFO: TCP Data received {"connection_id":65926,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:47:59] local.INFO: Processing buffer {"connection_id":65926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:47:59] local.INFO: Packet analysis {"connection_id":65926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:47:59] local.INFO: Extracted packet for processing {"connection_id":65926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:47: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-05-08 16:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16: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-05-08 16: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-05-08 16:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":65926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:47:59] local.INFO: GPS data processed {"connection_id":65926,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:47:59] local.INFO: Acknowledgment sent {"connection_id":65926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:48:31] local.INFO: TCP Data received {"connection_id":65926,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:48:31] local.INFO: Processing buffer {"connection_id":65926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:48:31] local.INFO: Packet analysis {"connection_id":65926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:48:31] local.INFO: Extracted packet for processing {"connection_id":65926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:48: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-05-08 16:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:48:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:48:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":65926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:48:31] local.INFO: GPS data processed {"connection_id":65926,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:48:31] local.INFO: Acknowledgment sent {"connection_id":65926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:48:57] local.INFO: TCP Data received {"connection_id":65927,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:48:57] local.INFO: Processing buffer {"connection_id":65927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:48:57] local.INFO: IMEI packet received {"connection_id":65927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":65927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:49:01] local.INFO: TCP Data received {"connection_id":65927,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:02] local.INFO: Processing buffer {"connection_id":65927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:02] local.INFO: IMEI packet received {"connection_id":65927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":65927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:49:02] local.INFO: TCP Data received {"connection_id":65927,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:49:02] local.INFO: Processing buffer {"connection_id":65927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:49:02] local.INFO: Packet analysis {"connection_id":65927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:49:02] local.INFO: Extracted packet for processing {"connection_id":65927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:49:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:49: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-05-08 16:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 16:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:49: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-05-08 16:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:49:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:49:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":65927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:49:02] local.INFO: GPS data processed {"connection_id":65927,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:49:02] local.INFO: Acknowledgment sent {"connection_id":65927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:49:07] local.INFO: TCP Data received {"connection_id":65927,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:49:07] local.INFO: Processing buffer {"connection_id":65927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074b2228012d34c54006aa4a98000b000028..."} 
[2026-05-08 16:49:07] local.INFO: Packet analysis {"connection_id":65927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:49:07] local.INFO: Extracted packet for processing {"connection_id":65927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074b"} 
[2026-05-08 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:49:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229062144001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:49:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:49:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 16:49:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778238825000,"timestamp_ms":1778238825000,"timestamp_seconds":1778238825,"priority":1,"record_length":96,"hex_timestamp":"0000019e074b2228"} 
[2026-05-08 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-05-08 16:49:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:49: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-05-08 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-05-08 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-05-08 16:49:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:49:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:49:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:49:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:49:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:49:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:49:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:49:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229062144001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:49:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:49:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:49:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229062144001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:49:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:49:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:49:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:49:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:49:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229062144001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:49:07] local.INFO: DEBUG: GPS processor result {"connection_id":65927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:49:07] local.INFO: GPS data processed {"connection_id":65927,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:49:07] local.INFO: Acknowledgment sent {"connection_id":65927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:49:52] local.INFO: TCP Data received {"connection_id":65222,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:52] local.INFO: Processing buffer {"connection_id":65222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:52] local.INFO: IMEI packet received {"connection_id":65222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":65222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:49:57] local.INFO: TCP Data received {"connection_id":65222,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:57] local.INFO: Processing buffer {"connection_id":65222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:49:57] local.INFO: IMEI packet received {"connection_id":65222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":65222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:49:58] local.INFO: TCP Data received {"connection_id":65222,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:49:58] local.INFO: Processing buffer {"connection_id":65222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:49:58] local.INFO: Packet analysis {"connection_id":65222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:49:58] local.INFO: Extracted packet for processing {"connection_id":65222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:49: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-05-08 16:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 16:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:49: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-05-08 16:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:49:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":65222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:49:58] local.INFO: GPS data processed {"connection_id":65222,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:49:58] local.INFO: Acknowledgment sent {"connection_id":65222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:50:30] local.INFO: TCP Data received {"connection_id":65222,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:50:30] local.INFO: Processing buffer {"connection_id":65222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:50:30] local.INFO: Packet analysis {"connection_id":65222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:50:30] local.INFO: Extracted packet for processing {"connection_id":65222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 16:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:50:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:50:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":65222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:50:30] local.INFO: GPS data processed {"connection_id":65222,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:50:30] local.INFO: Acknowledgment sent {"connection_id":65222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:50:52] local.INFO: TCP Data received {"connection_id":65929,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:50:52] local.INFO: Processing buffer {"connection_id":65929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:50:52] local.INFO: IMEI packet received {"connection_id":65929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":65929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:50:57] local.INFO: TCP Data received {"connection_id":65929,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:50:57] local.INFO: Processing buffer {"connection_id":65929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:50:57] local.INFO: IMEI packet received {"connection_id":65929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":65929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:50:58] local.INFO: TCP Data received {"connection_id":65929,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:50:58] local.INFO: Processing buffer {"connection_id":65929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:50:58] local.INFO: Packet analysis {"connection_id":65929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:50:58] local.INFO: Extracted packet for processing {"connection_id":65929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:50: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-05-08 16:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 16:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:50: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-05-08 16:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:50:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":65929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:50:58] local.INFO: GPS data processed {"connection_id":65929,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:50:58] local.INFO: Acknowledgment sent {"connection_id":65929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:51:30] local.INFO: TCP Data received {"connection_id":65929,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:51:30] local.INFO: Processing buffer {"connection_id":65929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:51:30] local.INFO: Packet analysis {"connection_id":65929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:51:30] local.INFO: Extracted packet for processing {"connection_id":65929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 16:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:51:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:51:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":65929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:51:30] local.INFO: GPS data processed {"connection_id":65929,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:51:30] local.INFO: Acknowledgment sent {"connection_id":65929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:51:51] local.INFO: TCP Data received {"connection_id":65101,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:51:51] local.INFO: Processing buffer {"connection_id":65101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:51:51] local.INFO: IMEI packet received {"connection_id":65101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":65101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:51:57] local.INFO: TCP Data received {"connection_id":65101,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65101,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:51:57] local.INFO: Processing buffer {"connection_id":65101,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:51:57] local.INFO: IMEI packet received {"connection_id":65101,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":65101,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:51:58] local.INFO: TCP Data received {"connection_id":65101,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:51:58] local.INFO: Processing buffer {"connection_id":65101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:51:58] local.INFO: Packet analysis {"connection_id":65101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:51:58] local.INFO: Extracted packet for processing {"connection_id":65101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 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-05-08 16:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:51: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-05-08 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-05-08 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-05-08 16:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:51:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":65101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:51:58] local.INFO: GPS data processed {"connection_id":65101,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:51:58] local.INFO: Acknowledgment sent {"connection_id":65101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:52:06] local.INFO: TCP Data received {"connection_id":65100,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:52:06] local.INFO: Processing buffer {"connection_id":65100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:52:06] local.INFO: IMEI packet received {"connection_id":65100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":65100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:52:31] local.INFO: TCP Data received {"connection_id":65101,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:52:31] local.INFO: Processing buffer {"connection_id":65101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:52:31] local.INFO: Packet analysis {"connection_id":65101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:52:31] local.INFO: Extracted packet for processing {"connection_id":65101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 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-05-08 16:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 16:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65101,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":65101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:52:31] local.INFO: GPS data processed {"connection_id":65101,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:52:31] local.INFO: Acknowledgment sent {"connection_id":65101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:52:41] local.INFO: TCP Data received {"connection_id":65102,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:52:41] local.INFO: Processing buffer {"connection_id":65102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:52:41] local.INFO: IMEI packet received {"connection_id":65102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":65102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:52:52] local.INFO: TCP Data received {"connection_id":65223,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:52:52] local.INFO: Processing buffer {"connection_id":65223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:52:52] local.INFO: IMEI packet received {"connection_id":65223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":65223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:52:57] local.INFO: TCP Data received {"connection_id":65223,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:52:57] local.INFO: Processing buffer {"connection_id":65223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:52:57] local.INFO: IMEI packet received {"connection_id":65223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":65223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:52:58] local.INFO: TCP Data received {"connection_id":65223,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:52:58] local.INFO: Processing buffer {"connection_id":65223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:52:58] local.INFO: Packet analysis {"connection_id":65223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:52:58] local.INFO: Extracted packet for processing {"connection_id":65223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:52: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-05-08 16:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 16:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:52: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-05-08 16:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:52:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":65223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:52:58] local.INFO: GPS data processed {"connection_id":65223,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:52:58] local.INFO: Acknowledgment sent {"connection_id":65223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:53:30] local.INFO: TCP Data received {"connection_id":65223,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:53:30] local.INFO: Processing buffer {"connection_id":65223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:53:30] local.INFO: Packet analysis {"connection_id":65223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:53:30] local.INFO: Extracted packet for processing {"connection_id":65223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 16:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:53:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:53:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":65223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:53:30] local.INFO: GPS data processed {"connection_id":65223,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:53:30] local.INFO: Acknowledgment sent {"connection_id":65223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:53:57] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:53:57] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:53:57] local.INFO: IMEI packet received {"connection_id":65224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":65224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:54:02] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:02] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:02] local.INFO: IMEI packet received {"connection_id":65224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":65224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:54:03] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:54:03] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:54:03] local.INFO: Packet analysis {"connection_id":65224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:54:03] local.INFO: Extracted packet for processing {"connection_id":65224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:54:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 16:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 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-05-08 16:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16: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-05-08 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-05-08 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-05-08 16:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:54:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:54:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":65224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:54:03] local.INFO: GPS data processed {"connection_id":65224,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:54:03] local.INFO: Acknowledgment sent {"connection_id":65224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:54:08] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:54:08] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e074fb9f0012d34c54006aa4a980004000025..."} 
[2026-05-08 16:54:08] local.INFO: Packet analysis {"connection_id":65224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:54:08] local.INFO: Extracted packet for processing {"connection_id":65224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e074f"} 
[2026-05-08 16:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":4,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229139200001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778239126000,"timestamp_ms":1778239126000,"timestamp_seconds":1778239126,"priority":1,"record_length":96,"hex_timestamp":"0000019e074fb9f0"} 
[2026-05-08 16:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:54: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-05-08 16: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-05-08 16: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-05-08 16: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-05-08 16:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229139200001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229139200001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:54:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:54:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229139200001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":65224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:54:08] local.INFO: GPS data processed {"connection_id":65224,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:54:08] local.INFO: Acknowledgment sent {"connection_id":65224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:54:52] local.INFO: TCP Data received {"connection_id":65103,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:52] local.INFO: Processing buffer {"connection_id":65103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:52] local.INFO: IMEI packet received {"connection_id":65103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":65103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:54:57] local.INFO: TCP Data received {"connection_id":65103,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:57] local.INFO: Processing buffer {"connection_id":65103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:54:57] local.INFO: IMEI packet received {"connection_id":65103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":65103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:54:59] local.INFO: TCP Data received {"connection_id":65103,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:54:59] local.INFO: Processing buffer {"connection_id":65103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:54:59] local.INFO: Packet analysis {"connection_id":65103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:54:59] local.INFO: Extracted packet for processing {"connection_id":65103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:54:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:54: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-05-08 16:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 16:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:54: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-05-08 16:54:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:54:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":65103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:54:59] local.INFO: GPS data processed {"connection_id":65103,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:54:59] local.INFO: Acknowledgment sent {"connection_id":65103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:55:30] local.INFO: TCP Data received {"connection_id":65103,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:55:30] local.INFO: Processing buffer {"connection_id":65103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:55:30] local.INFO: Packet analysis {"connection_id":65103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:55:30] local.INFO: Extracted packet for processing {"connection_id":65103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 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-05-08 16:55:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 16:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:55:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:55:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":65103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:55:30] local.INFO: GPS data processed {"connection_id":65103,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:55:30] local.INFO: Acknowledgment sent {"connection_id":65103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:55:52] local.INFO: TCP Data received {"connection_id":65226,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:55:52] local.INFO: Processing buffer {"connection_id":65226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:55:52] local.INFO: IMEI packet received {"connection_id":65226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":65226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:56:04] local.INFO: TCP Data received {"connection_id":65226,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:04] local.INFO: Processing buffer {"connection_id":65226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:04] local.INFO: IMEI packet received {"connection_id":65226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":65226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:56:06] local.INFO: TCP Data received {"connection_id":65226,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:56:06] local.INFO: Processing buffer {"connection_id":65226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:56:06] local.INFO: Packet analysis {"connection_id":65226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:56:06] local.INFO: Extracted packet for processing {"connection_id":65226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:56:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:56: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-05-08 16:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 16:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:56:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:56: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-05-08 16: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-05-08 16:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":65226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":65226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":65226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:56:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:56:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":65226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:56:07] local.INFO: GPS data processed {"connection_id":65226,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:56:07] local.INFO: Acknowledgment sent {"connection_id":65226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:56:52] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:52] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:52] local.INFO: IMEI packet received {"connection_id":65227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":65227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:56:57] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:57] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:56:57] local.INFO: IMEI packet received {"connection_id":65227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":65227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:56:59] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:56:59] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:56:59] local.INFO: Packet analysis {"connection_id":65227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:56:59] local.INFO: Extracted packet for processing {"connection_id":65227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:56: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-05-08 16:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 16:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:56: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-05-08 16:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:56:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":65227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:56:59] local.INFO: GPS data processed {"connection_id":65227,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:56:59] local.INFO: Acknowledgment sent {"connection_id":65227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:57:30] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:57:30] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:57:30] local.INFO: Packet analysis {"connection_id":65227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:57:30] local.INFO: Extracted packet for processing {"connection_id":65227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 16:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:57:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:57:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16: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-05-08 16:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:57:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":65227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:57:30] local.INFO: GPS data processed {"connection_id":65227,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:57:30] local.INFO: Acknowledgment sent {"connection_id":65227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:57:52] local.INFO: TCP Data received {"connection_id":65933,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:57:52] local.INFO: Processing buffer {"connection_id":65933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:57:52] local.INFO: IMEI packet received {"connection_id":65933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":65933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:57:57] local.INFO: TCP Data received {"connection_id":65933,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:57:57] local.INFO: Processing buffer {"connection_id":65933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:57:57] local.INFO: IMEI packet received {"connection_id":65933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":65933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:57:59] local.INFO: TCP Data received {"connection_id":65933,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:57:59] local.INFO: Processing buffer {"connection_id":65933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:57:59] local.INFO: Packet analysis {"connection_id":65933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:57:59] local.INFO: Extracted packet for processing {"connection_id":65933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 16:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:57: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-05-08 16:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 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-05-08 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:57: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-05-08 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-05-08 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-05-08 16:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":65933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:57:59] local.INFO: GPS data processed {"connection_id":65933,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:57:59] local.INFO: Acknowledgment sent {"connection_id":65933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:58:30] local.INFO: TCP Data received {"connection_id":65933,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:58:30] local.INFO: Processing buffer {"connection_id":65933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:58:30] local.INFO: Packet analysis {"connection_id":65933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:58:30] local.INFO: Extracted packet for processing {"connection_id":65933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 16:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 16:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 16:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:58:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:58:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":65933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:58:30] local.INFO: GPS data processed {"connection_id":65933,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:58:30] local.INFO: Acknowledgment sent {"connection_id":65933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:58:41] local.INFO: TCP Data received {"connection_id":65228,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:58:41] local.INFO: Processing buffer {"connection_id":65228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 16:58:41] local.INFO: IMEI packet received {"connection_id":65228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 16:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":65228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:58:57] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:58:57] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:58:57] local.INFO: IMEI packet received {"connection_id":65229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":65229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:59:02] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:02] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:02] local.INFO: IMEI packet received {"connection_id":65229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":65229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:59:04] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:59:04] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:59:04] local.INFO: Packet analysis {"connection_id":65229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:59:04] local.INFO: Extracted packet for processing {"connection_id":65229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:59:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 16:59:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:59: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-05-08 16: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-05-08 16:59:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:59:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:59:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":65229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:59:04] local.INFO: GPS data processed {"connection_id":65229,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:59:04] local.INFO: Acknowledgment sent {"connection_id":65229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:59:08] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:59:08] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075451b8012d34c54006aa4a98000a000026..."} 
[2026-05-08 16:59:08] local.INFO: Packet analysis {"connection_id":65229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:59:08] local.INFO: Extracted packet for processing {"connection_id":65229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0754"} 
[2026-05-08 16:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 16:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229216256001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778239427000,"timestamp_ms":1778239427000,"timestamp_seconds":1778239427,"priority":1,"record_length":96,"hex_timestamp":"0000019e075451b8"} 
[2026-05-08 16:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16: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-05-08 16:59:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 16: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-05-08 16:59:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 16:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229216256001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229216256001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:59:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229216256001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":65229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:59:08] local.INFO: GPS data processed {"connection_id":65229,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:59:08] local.INFO: Acknowledgment sent {"connection_id":65229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 16:59:52] local.INFO: TCP Data received {"connection_id":65104,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:52] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:52] local.INFO: IMEI packet received {"connection_id":65104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 16:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":65104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 16:59:57] local.INFO: TCP Data received {"connection_id":65104,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:57] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 16:59:57] local.INFO: IMEI packet received {"connection_id":65104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 16:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":65104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 16:59:59] local.INFO: TCP Data received {"connection_id":65104,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 16:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 16:59:59] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 16:59:59] local.INFO: Packet analysis {"connection_id":65104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 16:59:59] local.INFO: Extracted packet for processing {"connection_id":65104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 16:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 16: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-05-08 16:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 16:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 16:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 16: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-05-08 16:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 16:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 16:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 16: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":233,"data_length":795,"current_offset":136} 
[2026-05-08 16:59: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-05-08 16: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-05-08 16:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 16:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 16:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 16:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 16:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 16:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 16:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 16:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 16:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 16:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 16:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 16:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 16:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 16:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 16:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 16:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 16:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":65104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 16:59:59] local.INFO: GPS data processed {"connection_id":65104,"processed":1,"errors":0,"total":1} 
[2026-05-08 16:59:59] local.INFO: Acknowledgment sent {"connection_id":65104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:00:30] local.INFO: TCP Data received {"connection_id":65104,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:00:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:00:30] local.INFO: Processing buffer {"connection_id":65104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:00:30] local.INFO: Packet analysis {"connection_id":65104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:00:30] local.INFO: Extracted packet for processing {"connection_id":65104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:00:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:00:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:00:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:00:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:00:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:00:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 17:00:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:00:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:00:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:00:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:00:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:00:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:00:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:00:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:00:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:00:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:00:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:00:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:00:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:00:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:00:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:00:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:00:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:00:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:00:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:00:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:00:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:00:30] local.INFO: DEBUG: GPS processor result {"connection_id":65104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:00:30] local.INFO: GPS data processed {"connection_id":65104,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:00:30] local.INFO: Acknowledgment sent {"connection_id":65104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:00:51] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:00:51] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:00:51] local.INFO: IMEI packet received {"connection_id":65231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":65231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:00:57] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:00:57] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:00:57] local.INFO: IMEI packet received {"connection_id":65231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":65231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:00:58] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:00:58] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:00:58] local.INFO: Packet analysis {"connection_id":65231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:00:58] local.INFO: Extracted packet for processing {"connection_id":65231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:00: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-05-08 17:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 17:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:00: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-05-08 17:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:00:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":65231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:00:58] local.INFO: GPS data processed {"connection_id":65231,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:00:58] local.INFO: Acknowledgment sent {"connection_id":65231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:01:30] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:01:30] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:01:30] local.INFO: Packet analysis {"connection_id":65231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:01:30] local.INFO: Extracted packet for processing {"connection_id":65231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 17:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:01:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:01:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":65231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:01:30] local.INFO: GPS data processed {"connection_id":65231,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:01:30] local.INFO: Acknowledgment sent {"connection_id":65231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:01:51] local.INFO: TCP Data received {"connection_id":65934,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:01:51] local.INFO: Processing buffer {"connection_id":65934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:01:51] local.INFO: IMEI packet received {"connection_id":65934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":65934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:01:57] local.INFO: TCP Data received {"connection_id":65934,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:01:57] local.INFO: Processing buffer {"connection_id":65934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:01:57] local.INFO: IMEI packet received {"connection_id":65934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":65934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:01:58] local.INFO: TCP Data received {"connection_id":65934,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:01:58] local.INFO: Processing buffer {"connection_id":65934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:01:58] local.INFO: Packet analysis {"connection_id":65934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:01:58] local.INFO: Extracted packet for processing {"connection_id":65934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:01:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:01: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-05-08 17:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 17:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:01: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-05-08 17:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:01:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:01:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":65934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:01:58] local.INFO: GPS data processed {"connection_id":65934,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:01:58] local.INFO: Acknowledgment sent {"connection_id":65934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:02:30] local.INFO: TCP Data received {"connection_id":65934,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:02:30] local.INFO: Processing buffer {"connection_id":65934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:02:30] local.INFO: Packet analysis {"connection_id":65934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:02:30] local.INFO: Extracted packet for processing {"connection_id":65934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 17:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:02:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":65934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:02:30] local.INFO: GPS data processed {"connection_id":65934,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:02:30] local.INFO: Acknowledgment sent {"connection_id":65934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:02:57] local.INFO: TCP Data received {"connection_id":65106,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:02:57] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:02:57] local.INFO: IMEI packet received {"connection_id":65106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":65106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:03:02] local.INFO: TCP Data received {"connection_id":65106,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:02] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:02] local.INFO: IMEI packet received {"connection_id":65106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":65106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:03:04] local.INFO: TCP Data received {"connection_id":65106,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:04] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:04] local.INFO: Packet analysis {"connection_id":65106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:03:04] local.INFO: Extracted packet for processing {"connection_id":65106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:03:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:03:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:03:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:03: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-05-08 17:03:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 17:03:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:03:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17: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-05-08 17: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-05-08 17:03:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:03:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:03:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:03:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:03:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:03:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:03:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:03:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:03:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:03:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:03:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:03:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:03:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:03:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:03:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:03:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:03:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:03:04] local.INFO: DEBUG: GPS processor result {"connection_id":65106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:03:04] local.INFO: GPS data processed {"connection_id":65106,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:03:04] local.INFO: Acknowledgment sent {"connection_id":65106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:03:08] local.INFO: TCP Data received {"connection_id":65106,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:08] local.INFO: Processing buffer {"connection_id":65106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:08] local.INFO: Packet analysis {"connection_id":65106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:03:08] local.INFO: Extracted packet for processing {"connection_id":65106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 17:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:03: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-05-08 17:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:03: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-05-08 17:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:03:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:03:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":65106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:03:08] local.INFO: GPS data processed {"connection_id":65106,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:03:08] local.INFO: Acknowledgment sent {"connection_id":65106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:03:52] local.INFO: TCP Data received {"connection_id":65163,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:52] local.INFO: Processing buffer {"connection_id":65163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:52] local.INFO: IMEI packet received {"connection_id":65163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":65163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:03:57] local.INFO: TCP Data received {"connection_id":65163,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:57] local.INFO: Processing buffer {"connection_id":65163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:03:57] local.INFO: IMEI packet received {"connection_id":65163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":65163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:03:59] local.INFO: TCP Data received {"connection_id":65163,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:59] local.INFO: Processing buffer {"connection_id":65163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0758e980012d34c54006aa4a980008000026..."} 
[2026-05-08 17:03:59] local.INFO: Packet analysis {"connection_id":65163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:03:59] local.INFO: Extracted packet for processing {"connection_id":65163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0758"} 
[2026-05-08 17:03:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229293312001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:03: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-05-08 17:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778239728000,"timestamp_ms":1778239728000,"timestamp_seconds":1778239728,"priority":1,"record_length":96,"hex_timestamp":"0000019e0758e980"} 
[2026-05-08 17:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:03: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-05-08 17:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229293312001,"66":25321,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229293312001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:03:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229293312001,"power":25321,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":65163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:03:59] local.INFO: GPS data processed {"connection_id":65163,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:03:59] local.INFO: Acknowledgment sent {"connection_id":65163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:04:06] local.INFO: TCP Data received {"connection_id":65162,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:04:06] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:04:06] local.INFO: IMEI packet received {"connection_id":65162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":65162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:04:30] local.INFO: TCP Data received {"connection_id":65163,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:04:30] local.INFO: Processing buffer {"connection_id":65163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:04:30] local.INFO: Packet analysis {"connection_id":65163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:04:30] local.INFO: Extracted packet for processing {"connection_id":65163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:04:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 17:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:04: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-05-08 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:04:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:04:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:04:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":65163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:04:30] local.INFO: GPS data processed {"connection_id":65163,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:04:30] local.INFO: Acknowledgment sent {"connection_id":65163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:04:41] local.INFO: TCP Data received {"connection_id":65107,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:04:41] local.INFO: Processing buffer {"connection_id":65107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:04:41] local.INFO: IMEI packet received {"connection_id":65107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":65107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:04:51] local.INFO: TCP Data received {"connection_id":65936,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:04:51] local.INFO: Processing buffer {"connection_id":65936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:04:51] local.INFO: IMEI packet received {"connection_id":65936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":65936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:04:57] local.INFO: TCP Data received {"connection_id":65936,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65936,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:04:57] local.INFO: Processing buffer {"connection_id":65936,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:04:57] local.INFO: IMEI packet received {"connection_id":65936,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":65936,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:04:58] local.INFO: TCP Data received {"connection_id":65936,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:04:58] local.INFO: Processing buffer {"connection_id":65936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:04:58] local.INFO: Packet analysis {"connection_id":65936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:04:58] local.INFO: Extracted packet for processing {"connection_id":65936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:04: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-05-08 17:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 17:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:04: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-05-08 17:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:04:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":65936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:04:58] local.INFO: GPS data processed {"connection_id":65936,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:04:58] local.INFO: Acknowledgment sent {"connection_id":65936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:05:30] local.INFO: TCP Data received {"connection_id":65936,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:05:30] local.INFO: Processing buffer {"connection_id":65936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:05:30] local.INFO: Packet analysis {"connection_id":65936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:05:30] local.INFO: Extracted packet for processing {"connection_id":65936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:05:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:05:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:05:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 17:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:05:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:05:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:05:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65936,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:05:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:05:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:05:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":65936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:05:30] local.INFO: GPS data processed {"connection_id":65936,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:05:30] local.INFO: Acknowledgment sent {"connection_id":65936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:05:52] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:05:52] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:05:52] local.INFO: IMEI packet received {"connection_id":65232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":65232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:05:57] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:05:57] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:05:57] local.INFO: IMEI packet received {"connection_id":65232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:05:58] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:05:58] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:05:58] local.INFO: Packet analysis {"connection_id":65232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:05:58] local.INFO: Extracted packet for processing {"connection_id":65232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:05: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-05-08 17:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 17:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:05: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-05-08 17:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:05:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":65232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:05:58] local.INFO: GPS data processed {"connection_id":65232,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:05:58] local.INFO: Acknowledgment sent {"connection_id":65232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:06:30] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:06:30] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:06:30] local.INFO: Packet analysis {"connection_id":65232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:06:30] local.INFO: Extracted packet for processing {"connection_id":65232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 17:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17: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-05-08 17:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:06:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":65232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:06:30] local.INFO: GPS data processed {"connection_id":65232,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:06:30] local.INFO: Acknowledgment sent {"connection_id":65232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:06:51] local.INFO: TCP Data received {"connection_id":65109,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:06:51] local.INFO: Processing buffer {"connection_id":65109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:06:51] local.INFO: IMEI packet received {"connection_id":65109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":65109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:06:57] local.INFO: TCP Data received {"connection_id":65109,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:06:57] local.INFO: Processing buffer {"connection_id":65109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:06:57] local.INFO: IMEI packet received {"connection_id":65109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":65109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:06:58] local.INFO: TCP Data received {"connection_id":65109,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:06:58] local.INFO: Processing buffer {"connection_id":65109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:06:58] local.INFO: Packet analysis {"connection_id":65109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:06:58] local.INFO: Extracted packet for processing {"connection_id":65109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:06: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-05-08 17:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 17:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:06: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-05-08 17:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:06:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:06:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":65109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:06:58] local.INFO: GPS data processed {"connection_id":65109,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:06:58] local.INFO: Acknowledgment sent {"connection_id":65109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:07:30] local.INFO: TCP Data received {"connection_id":65109,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:07:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:07:30] local.INFO: Processing buffer {"connection_id":65109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:07:30] local.INFO: Packet analysis {"connection_id":65109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:07:30] local.INFO: Extracted packet for processing {"connection_id":65109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:07:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:07:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:07:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:07:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:07:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:07:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 17:07:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:07:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:07:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:07:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:07:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:07:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:07:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:07:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:07:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:07:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:07:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:07:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:07:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:07:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:07:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:07:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:07:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:07:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:07:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:07:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:07:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:07:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:07:30] local.INFO: DEBUG: GPS processor result {"connection_id":65109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:07:30] local.INFO: GPS data processed {"connection_id":65109,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:07:30] local.INFO: Acknowledgment sent {"connection_id":65109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:07:57] local.INFO: TCP Data received {"connection_id":65233,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:07:57] local.INFO: Processing buffer {"connection_id":65233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:07:57] local.INFO: IMEI packet received {"connection_id":65233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":65233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:08:02] local.INFO: TCP Data received {"connection_id":65233,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:02] local.INFO: Processing buffer {"connection_id":65233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:02] local.INFO: IMEI packet received {"connection_id":65233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":65233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:08:03] local.INFO: TCP Data received {"connection_id":65233,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:03] local.INFO: Processing buffer {"connection_id":65233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:03] local.INFO: Packet analysis {"connection_id":65233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:08:03] local.INFO: Extracted packet for processing {"connection_id":65233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 17:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 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-05-08 17:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17: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-05-08 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-05-08 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-05-08 17:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:08:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:08:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":65233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:08:03] local.INFO: GPS data processed {"connection_id":65233,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:08:03] local.INFO: Acknowledgment sent {"connection_id":65233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:08:08] local.INFO: TCP Data received {"connection_id":65233,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:08] local.INFO: Processing buffer {"connection_id":65233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:08] local.INFO: Packet analysis {"connection_id":65233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:08:08] local.INFO: Extracted packet for processing {"connection_id":65233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 17:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:08: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-05-08 17: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-05-08 17: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-05-08 17: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-05-08 17:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:08:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:08:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":65233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:08:08] local.INFO: GPS data processed {"connection_id":65233,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:08:08] local.INFO: Acknowledgment sent {"connection_id":65233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:08:51] local.INFO: TCP Data received {"connection_id":65167,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:51] local.INFO: Processing buffer {"connection_id":65167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:51] local.INFO: IMEI packet received {"connection_id":65167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":65167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:08:57] local.INFO: TCP Data received {"connection_id":65167,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:57] local.INFO: Processing buffer {"connection_id":65167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:08:57] local.INFO: IMEI packet received {"connection_id":65167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":65167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:08:57] local.INFO: TCP Data received {"connection_id":65167,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:58] local.INFO: Processing buffer {"connection_id":65167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e075d8148012d34c54006aa4a98000b000026..."} 
[2026-05-08 17:08:58] local.INFO: Packet analysis {"connection_id":65167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:08:58] local.INFO: Extracted packet for processing {"connection_id":65167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e075d"} 
[2026-05-08 17:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229370368001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:08: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-05-08 17:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240029000,"timestamp_ms":1778240029000,"timestamp_seconds":1778240029,"priority":1,"record_length":96,"hex_timestamp":"0000019e075d8148"} 
[2026-05-08 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-05-08 17:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 17:08: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-05-08 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-05-08 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-05-08 17:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229370368001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229370368001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:08:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:08:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229370368001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":65167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:08:58] local.INFO: GPS data processed {"connection_id":65167,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:08:58] local.INFO: Acknowledgment sent {"connection_id":65167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:09:29] local.INFO: TCP Data received {"connection_id":65167,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:09:29] local.INFO: Processing buffer {"connection_id":65167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:09:29] local.INFO: Packet analysis {"connection_id":65167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:09:29] local.INFO: Extracted packet for processing {"connection_id":65167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:09:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:09: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-05-08 17:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:09:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:09:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":65167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:09:29] local.INFO: GPS data processed {"connection_id":65167,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:09:29] local.INFO: Acknowledgment sent {"connection_id":65167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:09:51] local.INFO: TCP Data received {"connection_id":65110,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:09:51] local.INFO: Processing buffer {"connection_id":65110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:09:51] local.INFO: IMEI packet received {"connection_id":65110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":65110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:09:57] local.INFO: TCP Data received {"connection_id":65110,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:09:57] local.INFO: Processing buffer {"connection_id":65110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:09:57] local.INFO: IMEI packet received {"connection_id":65110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":65110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:09:58] local.INFO: TCP Data received {"connection_id":65110,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:09:58] local.INFO: Processing buffer {"connection_id":65110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:09:58] local.INFO: Packet analysis {"connection_id":65110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:09:58] local.INFO: Extracted packet for processing {"connection_id":65110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:09: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-05-08 17:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:09: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-05-08 17:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:09:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":65110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:09:58] local.INFO: GPS data processed {"connection_id":65110,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:09:58] local.INFO: Acknowledgment sent {"connection_id":65110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:10:16] local.INFO: TCP Data received {"connection_id":65234,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:10:16] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:10:16] local.INFO: IMEI packet received {"connection_id":65234,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":65234,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:10:32] local.INFO: TCP Data received {"connection_id":65110,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:10:32] local.INFO: Processing buffer {"connection_id":65110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:10:32] local.INFO: Packet analysis {"connection_id":65110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:10:32] local.INFO: Extracted packet for processing {"connection_id":65110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:10: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-05-08 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:10: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-05-08 17:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:10:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":65110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:10:32] local.INFO: GPS data processed {"connection_id":65110,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:10:32] local.INFO: Acknowledgment sent {"connection_id":65110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:10:41] local.INFO: TCP Data received {"connection_id":65235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:10:41] local.INFO: Processing buffer {"connection_id":65235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:10:41] local.INFO: IMEI packet received {"connection_id":65235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:10:41] local.INFO: IMEI acknowledgment sent {"connection_id":65235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:10:52] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:10:52] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:10:52] local.INFO: IMEI packet received {"connection_id":65111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":65111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:10:59] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:10:59] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:10:59] local.INFO: IMEI packet received {"connection_id":65111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:10:59] local.INFO: IMEI acknowledgment sent {"connection_id":65111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:11:00] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:11:00] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:11:00] local.INFO: Packet analysis {"connection_id":65111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:11:00] local.INFO: Extracted packet for processing {"connection_id":65111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:11:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:11: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-05-08 17:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:11:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:11: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-05-08 17:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:11:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:11:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":65111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:11:00] local.INFO: GPS data processed {"connection_id":65111,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:11:00] local.INFO: Acknowledgment sent {"connection_id":65111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:11:32] local.INFO: TCP Data received {"connection_id":65111,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:11:32] local.INFO: Processing buffer {"connection_id":65111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:11:32] local.INFO: Packet analysis {"connection_id":65111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:11:32] local.INFO: Extracted packet for processing {"connection_id":65111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:11:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:11: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-05-08 17:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:11: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-05-08 17:11:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:11:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":65111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:11:32] local.INFO: GPS data processed {"connection_id":65111,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:11:32] local.INFO: Acknowledgment sent {"connection_id":65111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:11:57] local.INFO: TCP Data received {"connection_id":65113,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:11:57] local.INFO: Processing buffer {"connection_id":65113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:11:57] local.INFO: IMEI packet received {"connection_id":65113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:12:02] local.INFO: TCP Data received {"connection_id":65113,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:02] local.INFO: Processing buffer {"connection_id":65113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:02] local.INFO: IMEI packet received {"connection_id":65113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":65113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:12:03] local.INFO: TCP Data received {"connection_id":65113,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:03] local.INFO: Processing buffer {"connection_id":65113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:03] local.INFO: Packet analysis {"connection_id":65113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:12:03] local.INFO: Extracted packet for processing {"connection_id":65113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:12: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-05-08 17: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-05-08 17:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:12:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":65113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:12:03] local.INFO: GPS data processed {"connection_id":65113,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:12:03] local.INFO: Acknowledgment sent {"connection_id":65113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:12:08] local.INFO: TCP Data received {"connection_id":65113,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:08] local.INFO: Processing buffer {"connection_id":65113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:08] local.INFO: Packet analysis {"connection_id":65113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:12:08] local.INFO: Extracted packet for processing {"connection_id":65113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:12: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-05-08 17: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:12: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-05-08 17: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-05-08 17:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:12:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:12:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":65113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:12:08] local.INFO: GPS data processed {"connection_id":65113,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:12:08] local.INFO: Acknowledgment sent {"connection_id":65113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:12:52] local.INFO: TCP Data received {"connection_id":65938,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:52] local.INFO: Processing buffer {"connection_id":65938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:52] local.INFO: IMEI packet received {"connection_id":65938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":65938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:12:57] local.INFO: TCP Data received {"connection_id":65938,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:57] local.INFO: Processing buffer {"connection_id":65938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:12:57] local.INFO: IMEI packet received {"connection_id":65938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":65938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:12:58] local.INFO: TCP Data received {"connection_id":65938,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:58] local.INFO: Processing buffer {"connection_id":65938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:12:58] local.INFO: Packet analysis {"connection_id":65938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:12:58] local.INFO: Extracted packet for processing {"connection_id":65938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:12:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:12: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-05-08 17:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:12: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-05-08 17:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:12:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:12:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":65938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:12:58] local.INFO: GPS data processed {"connection_id":65938,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:12:58] local.INFO: Acknowledgment sent {"connection_id":65938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:13:31] local.INFO: TCP Data received {"connection_id":65938,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:13:31] local.INFO: Processing buffer {"connection_id":65938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:13:31] local.INFO: Packet analysis {"connection_id":65938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:13:31] local.INFO: Extracted packet for processing {"connection_id":65938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:13:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 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-05-08 17:13: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-05-08 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 17:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:13:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":65938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:13:31] local.INFO: GPS data processed {"connection_id":65938,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:13:31] local.INFO: Acknowledgment sent {"connection_id":65938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:13:52] local.INFO: TCP Data received {"connection_id":65939,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:13:52] local.INFO: Processing buffer {"connection_id":65939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:13:52] local.INFO: IMEI packet received {"connection_id":65939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":65939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:13:57] local.INFO: TCP Data received {"connection_id":65939,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:13:57] local.INFO: Processing buffer {"connection_id":65939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:13:57] local.INFO: IMEI packet received {"connection_id":65939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":65939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:13:58] local.INFO: TCP Data received {"connection_id":65939,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:13:58] local.INFO: Processing buffer {"connection_id":65939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07621cf8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:13:58] local.INFO: Packet analysis {"connection_id":65939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:13:58] local.INFO: Extracted packet for processing {"connection_id":65939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0762"} 
[2026-05-08 17:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229447424001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:13: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-05-08 17:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240331000,"timestamp_ms":1778240331000,"timestamp_seconds":1778240331,"priority":1,"record_length":96,"hex_timestamp":"0000019e07621cf8"} 
[2026-05-08 17:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:13: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-05-08 17:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229447424001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229447424001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:13:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229447424001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":65939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:13:58] local.INFO: GPS data processed {"connection_id":65939,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:13:58] local.INFO: Acknowledgment sent {"connection_id":65939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:14:30] local.INFO: TCP Data received {"connection_id":65939,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:14:30] local.INFO: Processing buffer {"connection_id":65939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:14:30] local.INFO: Packet analysis {"connection_id":65939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:14:30] local.INFO: Extracted packet for processing {"connection_id":65939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:14:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:14: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-05-08 17:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:14:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":65939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:14:30] local.INFO: GPS data processed {"connection_id":65939,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:14:30] local.INFO: Acknowledgment sent {"connection_id":65939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:14:57] local.INFO: TCP Data received {"connection_id":65115,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:14:57] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:14:57] local.INFO: IMEI packet received {"connection_id":65115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":65115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:15:02] local.INFO: TCP Data received {"connection_id":65115,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:02] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:02] local.INFO: IMEI packet received {"connection_id":65115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":65115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:15:03] local.INFO: TCP Data received {"connection_id":65115,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:03] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:03] local.INFO: Packet analysis {"connection_id":65115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:15:03] local.INFO: Extracted packet for processing {"connection_id":65115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 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-05-08 17:15:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:15: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-05-08 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-05-08 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-05-08 17:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:15:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:15:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:15:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":65115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:15:03] local.INFO: GPS data processed {"connection_id":65115,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:15:03] local.INFO: Acknowledgment sent {"connection_id":65115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:15:35] local.INFO: TCP Data received {"connection_id":65115,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:35] local.INFO: Processing buffer {"connection_id":65115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:35] local.INFO: Packet analysis {"connection_id":65115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:15:35] local.INFO: Extracted packet for processing {"connection_id":65115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:15:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 17:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 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-05-08 17:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:15: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-05-08 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-05-08 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-05-08 17:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:15:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:15:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:15:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":65115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:15:35] local.INFO: GPS data processed {"connection_id":65115,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:15:35] local.INFO: Acknowledgment sent {"connection_id":65115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:15:52] local.INFO: TCP Data received {"connection_id":65117,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:52] local.INFO: Processing buffer {"connection_id":65117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:52] local.INFO: IMEI packet received {"connection_id":65117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":65117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:15:57] local.INFO: TCP Data received {"connection_id":65117,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:57] local.INFO: Processing buffer {"connection_id":65117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:15:57] local.INFO: IMEI packet received {"connection_id":65117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":65117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:15:58] local.INFO: TCP Data received {"connection_id":65117,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:58] local.INFO: Processing buffer {"connection_id":65117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:15:58] local.INFO: Packet analysis {"connection_id":65117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:15:58] local.INFO: Extracted packet for processing {"connection_id":65117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:15: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-05-08 17:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:15: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-05-08 17:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:15:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":65117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:15:58] local.INFO: GPS data processed {"connection_id":65117,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:15:58] local.INFO: Acknowledgment sent {"connection_id":65117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:16:06] local.INFO: TCP Data received {"connection_id":65116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:16:06] local.INFO: Processing buffer {"connection_id":65116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:16:06] local.INFO: IMEI packet received {"connection_id":65116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":65116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:16:30] local.INFO: TCP Data received {"connection_id":65117,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:16:30] local.INFO: Processing buffer {"connection_id":65117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:16:30] local.INFO: Packet analysis {"connection_id":65117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:16:30] local.INFO: Extracted packet for processing {"connection_id":65117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:16:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":65117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:16:30] local.INFO: GPS data processed {"connection_id":65117,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:16:30] local.INFO: Acknowledgment sent {"connection_id":65117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:16:41] local.INFO: TCP Data received {"connection_id":65236,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:16:41] local.INFO: Processing buffer {"connection_id":65236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:16:41] local.INFO: IMEI packet received {"connection_id":65236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:16:41] local.INFO: IMEI acknowledgment sent {"connection_id":65236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:16:51] local.INFO: TCP Data received {"connection_id":65118,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:16:51] local.INFO: Processing buffer {"connection_id":65118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:16:51] local.INFO: IMEI packet received {"connection_id":65118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":65118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:16:56] local.INFO: TCP Data received {"connection_id":65118,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65118,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:16:56] local.INFO: Processing buffer {"connection_id":65118,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:16:56] local.INFO: IMEI packet received {"connection_id":65118,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":65118,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:16:58] local.INFO: TCP Data received {"connection_id":65118,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:16:58] local.INFO: Processing buffer {"connection_id":65118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:16:58] local.INFO: Packet analysis {"connection_id":65118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:16:58] local.INFO: Extracted packet for processing {"connection_id":65118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:16: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-05-08 17:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:16: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-05-08 17:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:16:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:16:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":65118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:16:58] local.INFO: GPS data processed {"connection_id":65118,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:16:58] local.INFO: Acknowledgment sent {"connection_id":65118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:17:29] local.INFO: TCP Data received {"connection_id":65118,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:17:29] local.INFO: Processing buffer {"connection_id":65118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:17:29] local.INFO: Packet analysis {"connection_id":65118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:17:29] local.INFO: Extracted packet for processing {"connection_id":65118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:17:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:17:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65118,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:17:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:17:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":65118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:17:29] local.INFO: GPS data processed {"connection_id":65118,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:17:29] local.INFO: Acknowledgment sent {"connection_id":65118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:17:51] local.INFO: TCP Data received {"connection_id":65119,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:17:51] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:17:51] local.INFO: IMEI packet received {"connection_id":65119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":65119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:17:57] local.INFO: TCP Data received {"connection_id":65119,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:17:57] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:17:57] local.INFO: IMEI packet received {"connection_id":65119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:17:58] local.INFO: TCP Data received {"connection_id":65119,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:17:58] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:17:58] local.INFO: Packet analysis {"connection_id":65119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:17:58] local.INFO: Extracted packet for processing {"connection_id":65119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:17: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-05-08 17:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:17: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-05-08 17:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:17:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":65119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:17:58] local.INFO: GPS data processed {"connection_id":65119,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:17:58] local.INFO: Acknowledgment sent {"connection_id":65119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:18:30] local.INFO: TCP Data received {"connection_id":65119,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:18:30] local.INFO: Processing buffer {"connection_id":65119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:18:30] local.INFO: Packet analysis {"connection_id":65119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:18:30] local.INFO: Extracted packet for processing {"connection_id":65119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:18:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":65119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:18:30] local.INFO: GPS data processed {"connection_id":65119,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:18:30] local.INFO: Acknowledgment sent {"connection_id":65119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:18:51] local.INFO: TCP Data received {"connection_id":65237,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:18:51] local.INFO: Processing buffer {"connection_id":65237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:18:51] local.INFO: IMEI packet received {"connection_id":65237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":65237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:18:56] local.INFO: TCP Data received {"connection_id":65237,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:18:56] local.INFO: Processing buffer {"connection_id":65237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:18:56] local.INFO: IMEI packet received {"connection_id":65237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":65237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:18:57] local.INFO: TCP Data received {"connection_id":65237,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:18:57] local.INFO: Processing buffer {"connection_id":65237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:18:57] local.INFO: Packet analysis {"connection_id":65237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:18:57] local.INFO: Extracted packet for processing {"connection_id":65237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:18:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:18:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:18:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:18:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":65237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:18:57] local.INFO: GPS data processed {"connection_id":65237,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:18:57] local.INFO: Acknowledgment sent {"connection_id":65237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:19:30] local.INFO: TCP Data received {"connection_id":65237,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:19:30] local.INFO: Processing buffer {"connection_id":65237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0766c078012d34c54006aa4a980006000023..."} 
[2026-05-08 17:19:30] local.INFO: Packet analysis {"connection_id":65237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:19:30] local.INFO: Extracted packet for processing {"connection_id":65237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0766"} 
[2026-05-08 17:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229524736001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240635000,"timestamp_ms":1778240635000,"timestamp_seconds":1778240635,"priority":1,"record_length":96,"hex_timestamp":"0000019e0766c078"} 
[2026-05-08 17:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:19: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-05-08 17:19:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:19:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229524736001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229524736001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:19:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229524736001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":65237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:19:30] local.INFO: GPS data processed {"connection_id":65237,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:19:30] local.INFO: Acknowledgment sent {"connection_id":65237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:20:01] local.INFO: TCP Data received {"connection_id":65170,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:01] local.INFO: Processing buffer {"connection_id":65170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:01] local.INFO: IMEI packet received {"connection_id":65170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":65170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:20:02] local.INFO: TCP Data received {"connection_id":65170,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:02] local.INFO: Processing buffer {"connection_id":65170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:02] local.INFO: IMEI packet received {"connection_id":65170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":65170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:20:03] local.INFO: TCP Data received {"connection_id":65170,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:03] local.INFO: Processing buffer {"connection_id":65170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:03] local.INFO: Packet analysis {"connection_id":65170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:20:03] local.INFO: Extracted packet for processing {"connection_id":65170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:20: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-05-08 17: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-05-08 17:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:20:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":65170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:20:03] local.INFO: GPS data processed {"connection_id":65170,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:20:03] local.INFO: Acknowledgment sent {"connection_id":65170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:20:08] local.INFO: TCP Data received {"connection_id":65170,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:08] local.INFO: Processing buffer {"connection_id":65170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:08] local.INFO: Packet analysis {"connection_id":65170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:20:08] local.INFO: Extracted packet for processing {"connection_id":65170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 17:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 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-05-08 17:20: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-05-08 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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17: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-05-08 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-05-08 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-05-08 17:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":65170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:20:08] local.INFO: GPS data processed {"connection_id":65170,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:20:08] local.INFO: Acknowledgment sent {"connection_id":65170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:20:51] local.INFO: TCP Data received {"connection_id":65121,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:51] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:51] local.INFO: IMEI packet received {"connection_id":65121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":65121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:20:57] local.INFO: TCP Data received {"connection_id":65121,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:57] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:20:57] local.INFO: IMEI packet received {"connection_id":65121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":65121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:20:58] local.INFO: TCP Data received {"connection_id":65121,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:58] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:20:58] local.INFO: Packet analysis {"connection_id":65121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:20:58] local.INFO: Extracted packet for processing {"connection_id":65121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:20:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:20: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-05-08 17:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:20: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-05-08 17:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:20:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":65121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:20:58] local.INFO: GPS data processed {"connection_id":65121,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:20:58] local.INFO: Acknowledgment sent {"connection_id":65121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:21:30] local.INFO: TCP Data received {"connection_id":65121,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:21:30] local.INFO: Processing buffer {"connection_id":65121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:21:30] local.INFO: Packet analysis {"connection_id":65121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:21:30] local.INFO: Extracted packet for processing {"connection_id":65121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:21:30] 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-05-08 17:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":65121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:21:30] local.INFO: GPS data processed {"connection_id":65121,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:21:30] local.INFO: Acknowledgment sent {"connection_id":65121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:21:52] local.INFO: TCP Data received {"connection_id":65171,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:21:52] local.INFO: Processing buffer {"connection_id":65171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:21:52] local.INFO: IMEI packet received {"connection_id":65171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":65171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:21:57] local.INFO: TCP Data received {"connection_id":65171,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:21:57] local.INFO: Processing buffer {"connection_id":65171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:21:57] local.INFO: IMEI packet received {"connection_id":65171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":65171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:21:59] local.INFO: TCP Data received {"connection_id":65171,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:21:59] local.INFO: Processing buffer {"connection_id":65171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:21:59] local.INFO: Packet analysis {"connection_id":65171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:21:59] local.INFO: Extracted packet for processing {"connection_id":65171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:21:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:21: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-05-08 17:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:21: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-05-08 17:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:21:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":65171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:21:59] local.INFO: GPS data processed {"connection_id":65171,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:21:59] local.INFO: Acknowledgment sent {"connection_id":65171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:22:01] local.INFO: TCP Data received {"connection_id":65122,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:22:01] local.INFO: Processing buffer {"connection_id":65122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:22:01] local.INFO: IMEI packet received {"connection_id":65122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":65122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:22:30] local.INFO: TCP Data received {"connection_id":65171,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:22:30] local.INFO: Processing buffer {"connection_id":65171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:22:30] local.INFO: Packet analysis {"connection_id":65171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:22:30] local.INFO: Extracted packet for processing {"connection_id":65171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:22:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:22:30] 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-05-08 17: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-05-08 17:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:22:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":65171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:22:30] local.INFO: GPS data processed {"connection_id":65171,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:22:30] local.INFO: Acknowledgment sent {"connection_id":65171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:22:41] local.INFO: TCP Data received {"connection_id":65238,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:22:41] local.INFO: Processing buffer {"connection_id":65238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:22:41] local.INFO: IMEI packet received {"connection_id":65238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":65238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:22:51] local.INFO: TCP Data received {"connection_id":65239,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:22:51] local.INFO: Processing buffer {"connection_id":65239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:22:51] local.INFO: IMEI packet received {"connection_id":65239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":65239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:22:57] local.INFO: TCP Data received {"connection_id":65239,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:22:57] local.INFO: Processing buffer {"connection_id":65239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:22:57] local.INFO: IMEI packet received {"connection_id":65239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":65239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:22:58] local.INFO: TCP Data received {"connection_id":65239,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:22:58] local.INFO: Processing buffer {"connection_id":65239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:22:58] local.INFO: Packet analysis {"connection_id":65239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:22:58] local.INFO: Extracted packet for processing {"connection_id":65239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:22: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-05-08 17:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:22: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-05-08 17:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:22:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:22:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":65239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:22:58] local.INFO: GPS data processed {"connection_id":65239,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:22:58] local.INFO: Acknowledgment sent {"connection_id":65239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:23:30] local.INFO: TCP Data received {"connection_id":65239,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:23:30] local.INFO: Processing buffer {"connection_id":65239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:23:30] local.INFO: Packet analysis {"connection_id":65239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:23:30] local.INFO: Extracted packet for processing {"connection_id":65239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:23:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:23:30] 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-05-08 17:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:23:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:23:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":65239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:23:30] local.INFO: GPS data processed {"connection_id":65239,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:23:30] local.INFO: Acknowledgment sent {"connection_id":65239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:23:57] local.INFO: TCP Data received {"connection_id":65943,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:23:57] local.INFO: Processing buffer {"connection_id":65943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:23:57] local.INFO: IMEI packet received {"connection_id":65943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":65943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:24:02] local.INFO: TCP Data received {"connection_id":65943,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:02] local.INFO: Processing buffer {"connection_id":65943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:02] local.INFO: IMEI packet received {"connection_id":65943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":65943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:24:03] local.INFO: TCP Data received {"connection_id":65943,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:24:03] local.INFO: Processing buffer {"connection_id":65943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:24:03] local.INFO: Packet analysis {"connection_id":65943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:24:03] local.INFO: Extracted packet for processing {"connection_id":65943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:24: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-05-08 17:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:24:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:24:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":65943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:24:03] local.INFO: GPS data processed {"connection_id":65943,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:24:03] local.INFO: Acknowledgment sent {"connection_id":65943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:24:08] local.INFO: TCP Data received {"connection_id":65943,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:24:08] local.INFO: Processing buffer {"connection_id":65943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076b63f8012d34c54006aa4a980006000023..."} 
[2026-05-08 17:24:08] local.INFO: Packet analysis {"connection_id":65943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:24:08] local.INFO: Extracted packet for processing {"connection_id":65943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076b"} 
[2026-05-08 17:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":6,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229602560001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778240939000,"timestamp_ms":1778240939000,"timestamp_seconds":1778240939,"priority":1,"record_length":96,"hex_timestamp":"0000019e076b63f8"} 
[2026-05-08 17:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:24: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-05-08 17: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:24: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-05-08 17: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-05-08 17:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229602560001,"66":25223,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229602560001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229602560001,"power":25223,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":65943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:24:08] local.INFO: GPS data processed {"connection_id":65943,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:24:08] local.INFO: Acknowledgment sent {"connection_id":65943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:24:51] local.INFO: TCP Data received {"connection_id":65172,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:51] local.INFO: Processing buffer {"connection_id":65172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:51] local.INFO: IMEI packet received {"connection_id":65172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":65172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:24:57] local.INFO: TCP Data received {"connection_id":65172,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:57] local.INFO: Processing buffer {"connection_id":65172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:24:57] local.INFO: IMEI packet received {"connection_id":65172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":65172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:24:59] local.INFO: TCP Data received {"connection_id":65172,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:24:59] local.INFO: Processing buffer {"connection_id":65172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:24:59] local.INFO: Packet analysis {"connection_id":65172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:24:59] local.INFO: Extracted packet for processing {"connection_id":65172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:24: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-05-08 17:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:24: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-05-08 17:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:24:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":65172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:24:59] local.INFO: GPS data processed {"connection_id":65172,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:24:59] local.INFO: Acknowledgment sent {"connection_id":65172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:25:31] local.INFO: TCP Data received {"connection_id":65172,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:25:31] local.INFO: Processing buffer {"connection_id":65172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:25:31] local.INFO: Packet analysis {"connection_id":65172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:25:31] local.INFO: Extracted packet for processing {"connection_id":65172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 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-05-08 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-05-08 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:25:31] 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-05-08 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-05-08 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-05-08 17:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:25:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:25:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":65172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:25:31] local.INFO: GPS data processed {"connection_id":65172,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:25:31] local.INFO: Acknowledgment sent {"connection_id":65172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:25:51] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:25:51] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:25:51] local.INFO: IMEI packet received {"connection_id":65173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":65173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:25:57] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:25:57] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:25:57] local.INFO: IMEI packet received {"connection_id":65173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":65173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:25:58] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:25:58] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:25:58] local.INFO: Packet analysis {"connection_id":65173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:25:58] local.INFO: Extracted packet for processing {"connection_id":65173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:25: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-05-08 17:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:25:58] 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-05-08 17:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:25:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:25:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":65173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:25:58] local.INFO: GPS data processed {"connection_id":65173,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:25:58] local.INFO: Acknowledgment sent {"connection_id":65173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:26:30] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:26:30] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:26:30] local.INFO: Packet analysis {"connection_id":65173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:26:30] local.INFO: Extracted packet for processing {"connection_id":65173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:26:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:26: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-05-08 17: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:26:30] 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-05-08 17: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-05-08 17:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:26:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:26:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":65173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:26:31] local.INFO: GPS data processed {"connection_id":65173,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:26:31] local.INFO: Acknowledgment sent {"connection_id":65173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:26:51] local.INFO: TCP Data received {"connection_id":65174,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:26:51] local.INFO: Processing buffer {"connection_id":65174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:26:51] local.INFO: IMEI packet received {"connection_id":65174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":65174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:26:57] local.INFO: TCP Data received {"connection_id":65174,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:26:57] local.INFO: Processing buffer {"connection_id":65174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:26:57] local.INFO: IMEI packet received {"connection_id":65174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":65174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:26:58] local.INFO: TCP Data received {"connection_id":65174,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:26:58] local.INFO: Processing buffer {"connection_id":65174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:26:58] local.INFO: Packet analysis {"connection_id":65174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:26:58] local.INFO: Extracted packet for processing {"connection_id":65174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:26: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-05-08 17:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:26:58] 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-05-08 17:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:26:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":65174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:26:58] local.INFO: GPS data processed {"connection_id":65174,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:26:58] local.INFO: Acknowledgment sent {"connection_id":65174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:27:30] local.INFO: TCP Data received {"connection_id":65174,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:27:30] local.INFO: Processing buffer {"connection_id":65174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:27:30] local.INFO: Packet analysis {"connection_id":65174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:27:30] local.INFO: Extracted packet for processing {"connection_id":65174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:27: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-05-08 17:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:27:30] 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-05-08 17:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:27:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:27:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":65174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:27:30] local.INFO: GPS data processed {"connection_id":65174,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:27:30] local.INFO: Acknowledgment sent {"connection_id":65174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:27:57] local.INFO: TCP Data received {"connection_id":65241,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:27:57] local.INFO: Processing buffer {"connection_id":65241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:27:57] local.INFO: IMEI packet received {"connection_id":65241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":65241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:28:02] local.INFO: TCP Data received {"connection_id":65241,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:02] local.INFO: Processing buffer {"connection_id":65241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:02] local.INFO: IMEI packet received {"connection_id":65241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":65241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:28:03] local.INFO: TCP Data received {"connection_id":65241,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:03] local.INFO: Processing buffer {"connection_id":65241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:03] local.INFO: Packet analysis {"connection_id":65241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:28:03] local.INFO: Extracted packet for processing {"connection_id":65241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:28: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-05-08 17: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-05-08 17:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:28:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":65241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:28:03] local.INFO: GPS data processed {"connection_id":65241,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:28:03] local.INFO: Acknowledgment sent {"connection_id":65241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:28:08] local.INFO: TCP Data received {"connection_id":65241,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:08] local.INFO: Processing buffer {"connection_id":65241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:08] local.INFO: Packet analysis {"connection_id":65241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:28:08] local.INFO: Extracted packet for processing {"connection_id":65241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 17:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 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-05-08 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-05-08 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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:28: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-05-08 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-05-08 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-05-08 17:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:28:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:28:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":65241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:28:08] local.INFO: GPS data processed {"connection_id":65241,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:28:08] local.INFO: Acknowledgment sent {"connection_id":65241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:28:13] local.INFO: TCP Data received {"connection_id":65241,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:13] local.INFO: Processing buffer {"connection_id":65241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:13] local.INFO: Packet analysis {"connection_id":65241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:28:13] local.INFO: Extracted packet for processing {"connection_id":65241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28: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-05-08 17:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:28: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-05-08 17:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:28: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-05-08 17:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:28:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:28:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":65241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:28:13] local.INFO: GPS data processed {"connection_id":65241,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:28:13] local.INFO: Acknowledgment sent {"connection_id":65241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:28:16] local.INFO: TCP Data received {"connection_id":65240,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:28:16] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:28:16] local.INFO: IMEI packet received {"connection_id":65240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":65240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:28:40] local.INFO: TCP Data received {"connection_id":65242,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:28:40] local.INFO: Processing buffer {"connection_id":65242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:28:40] local.INFO: IMEI packet received {"connection_id":65242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":65242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:28:51] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:51] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:51] local.INFO: IMEI packet received {"connection_id":65125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":65125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:28:57] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:57] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:28:57] local.INFO: IMEI packet received {"connection_id":65125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":65125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:28:58] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:58] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:28:58] local.INFO: Packet analysis {"connection_id":65125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:28:58] local.INFO: Extracted packet for processing {"connection_id":65125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:28: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-05-08 17:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:28:58] 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-05-08 17:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:28:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":65125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:28:58] local.INFO: GPS data processed {"connection_id":65125,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:28:58] local.INFO: Acknowledgment sent {"connection_id":65125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:29:29] local.INFO: TCP Data received {"connection_id":65125,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:29:29] local.INFO: Processing buffer {"connection_id":65125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e076fe838012d34c54006aa4a98000a000026..."} 
[2026-05-08 17:29:29] local.INFO: Packet analysis {"connection_id":65125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:29:29] local.INFO: Extracted packet for processing {"connection_id":65125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e076f"} 
[2026-05-08 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229680384001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778241235000,"timestamp_ms":1778241235000,"timestamp_seconds":1778241235,"priority":1,"record_length":96,"hex_timestamp":"0000019e076fe838"} 
[2026-05-08 17:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-05-08 17:29:29] 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-05-08 17:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229680384001,"66":25299,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229680384001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:29:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:29:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229680384001,"power":25299,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":65125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:29:29] local.INFO: GPS data processed {"connection_id":65125,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:29:29] local.INFO: Acknowledgment sent {"connection_id":65125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:29:51] local.INFO: TCP Data received {"connection_id":65945,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:29:51] local.INFO: Processing buffer {"connection_id":65945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:29:51] local.INFO: IMEI packet received {"connection_id":65945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":65945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:29:57] local.INFO: TCP Data received {"connection_id":65945,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:29:57] local.INFO: Processing buffer {"connection_id":65945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:29:57] local.INFO: IMEI packet received {"connection_id":65945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":65945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:29:59] local.INFO: TCP Data received {"connection_id":65945,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:29:59] local.INFO: Processing buffer {"connection_id":65945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:29:59] local.INFO: Packet analysis {"connection_id":65945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:29:59] local.INFO: Extracted packet for processing {"connection_id":65945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:29:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:29: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-05-08 17:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:29: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-05-08 17:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:29:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":65945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:29:59] local.INFO: GPS data processed {"connection_id":65945,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:29:59] local.INFO: Acknowledgment sent {"connection_id":65945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:30:30] local.INFO: TCP Data received {"connection_id":65945,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:30:30] local.INFO: Processing buffer {"connection_id":65945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:30:30] local.INFO: Packet analysis {"connection_id":65945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:30:30] local.INFO: Extracted packet for processing {"connection_id":65945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:30: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-05-08 17:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:30:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":65945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:30:30] local.INFO: GPS data processed {"connection_id":65945,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:30:30] local.INFO: Acknowledgment sent {"connection_id":65945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:30:51] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:30:51] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:30:51] local.INFO: IMEI packet received {"connection_id":65175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":65175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:30:56] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:30:56] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:30:56] local.INFO: IMEI packet received {"connection_id":65175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":65175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:30:58] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:30:58] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:30:58] local.INFO: Packet analysis {"connection_id":65175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:30:58] local.INFO: Extracted packet for processing {"connection_id":65175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:30:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:30: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-05-08 17:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:30: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-05-08 17:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:30:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:30:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":65175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:30:58] local.INFO: GPS data processed {"connection_id":65175,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:30:58] local.INFO: Acknowledgment sent {"connection_id":65175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:31:30] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:31:30] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:31:30] local.INFO: Packet analysis {"connection_id":65175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:31:30] local.INFO: Extracted packet for processing {"connection_id":65175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:31:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:31: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-05-08 17:31:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:31:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:31:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:31:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:31:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:31:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":65175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:31:30] local.INFO: GPS data processed {"connection_id":65175,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:31:30] local.INFO: Acknowledgment sent {"connection_id":65175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:31:51] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:31:51] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:31:51] local.INFO: IMEI packet received {"connection_id":65246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":65246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:31:57] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:31:57] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:31:57] local.INFO: IMEI packet received {"connection_id":65246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":65246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:31:58] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:31:58] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:31:58] local.INFO: Packet analysis {"connection_id":65246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:31:58] local.INFO: Extracted packet for processing {"connection_id":65246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:31: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-05-08 17:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:31: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-05-08 17:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:31:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:31:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":65246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:31:58] local.INFO: GPS data processed {"connection_id":65246,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:31:58] local.INFO: Acknowledgment sent {"connection_id":65246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:32:30] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:32:30] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:32:30] local.INFO: Packet analysis {"connection_id":65246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:32:30] local.INFO: Extracted packet for processing {"connection_id":65246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:32:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:32:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:32:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:32:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:32:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:32:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:32:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:32: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-05-08 17: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:32:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:32:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:32:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:32:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:32:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:32:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:32:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:32:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:32:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:32:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:32:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:32:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:32:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:32:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:32:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:32:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:32:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:32:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:32:30] local.INFO: DEBUG: GPS processor result {"connection_id":65246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:32:30] local.INFO: GPS data processed {"connection_id":65246,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:32:30] local.INFO: Acknowledgment sent {"connection_id":65246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:32:57] local.INFO: TCP Data received {"connection_id":65177,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:32:57] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:32:57] local.INFO: IMEI packet received {"connection_id":65177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":65177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:33:02] local.INFO: TCP Data received {"connection_id":65177,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:02] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:02] local.INFO: IMEI packet received {"connection_id":65177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":65177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:33:03] local.INFO: TCP Data received {"connection_id":65177,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:03] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:03] local.INFO: Packet analysis {"connection_id":65177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:33:03] local.INFO: Extracted packet for processing {"connection_id":65177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:33: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-05-08 17: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-05-08 17:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:33:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:33:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":65177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:33:03] local.INFO: GPS data processed {"connection_id":65177,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:33:03] local.INFO: Acknowledgment sent {"connection_id":65177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:33:07] local.INFO: TCP Data received {"connection_id":65177,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:07] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:07] local.INFO: Packet analysis {"connection_id":65177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:33:07] local.INFO: Extracted packet for processing {"connection_id":65177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 17:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 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-05-08 17:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:33: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-05-08 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-05-08 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-05-08 17:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:33:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:33:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":65177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:33:07] local.INFO: GPS data processed {"connection_id":65177,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:33:07] local.INFO: Acknowledgment sent {"connection_id":65177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:33:46] local.INFO: TCP Data received {"connection_id":65248,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:33:46] local.INFO: Processing buffer {"connection_id":65248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:33:46] local.INFO: IMEI packet received {"connection_id":65248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:33:46] local.INFO: IMEI acknowledgment sent {"connection_id":65248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:33:51] local.INFO: TCP Data received {"connection_id":65249,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:51] local.INFO: Processing buffer {"connection_id":65249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:51] local.INFO: IMEI packet received {"connection_id":65249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":65249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:33:57] local.INFO: TCP Data received {"connection_id":65249,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:57] local.INFO: Processing buffer {"connection_id":65249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:33:57] local.INFO: IMEI packet received {"connection_id":65249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":65249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:33:58] local.INFO: TCP Data received {"connection_id":65249,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:58] local.INFO: Processing buffer {"connection_id":65249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:33:58] local.INFO: Packet analysis {"connection_id":65249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:33:58] local.INFO: Extracted packet for processing {"connection_id":65249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:33: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-05-08 17:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:33: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-05-08 17:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:33:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:33:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":65249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:33:58] local.INFO: GPS data processed {"connection_id":65249,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:33:58] local.INFO: Acknowledgment sent {"connection_id":65249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:34:29] local.INFO: TCP Data received {"connection_id":65249,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:34:29] local.INFO: Processing buffer {"connection_id":65249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07747830012d34c54006aa4a98000d000025..."} 
[2026-05-08 17:34:29] local.INFO: Packet analysis {"connection_id":65249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:34:29] local.INFO: Extracted packet for processing {"connection_id":65249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0774"} 
[2026-05-08 17:34:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229756160001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778241534000,"timestamp_ms":1778241534000,"timestamp_seconds":1778241534,"priority":1,"record_length":96,"hex_timestamp":"0000019e07747830"} 
[2026-05-08 17:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-05-08 17:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229756160001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229756160001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:34:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:34:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229756160001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":65249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:34:29] local.INFO: GPS data processed {"connection_id":65249,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:34:29] local.INFO: Acknowledgment sent {"connection_id":65249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:34:51] local.INFO: TCP Data received {"connection_id":65179,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:34:51] local.INFO: Processing buffer {"connection_id":65179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:34:51] local.INFO: IMEI packet received {"connection_id":65179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":65179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:34:57] local.INFO: TCP Data received {"connection_id":65179,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:34:57] local.INFO: Processing buffer {"connection_id":65179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:34:57] local.INFO: IMEI packet received {"connection_id":65179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":65179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:34:58] local.INFO: TCP Data received {"connection_id":65179,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:34:58] local.INFO: Processing buffer {"connection_id":65179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:34:58] local.INFO: Packet analysis {"connection_id":65179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:34:58] local.INFO: Extracted packet for processing {"connection_id":65179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:34: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-05-08 17:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:34:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:34:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":65179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:34:58] local.INFO: GPS data processed {"connection_id":65179,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:34:58] local.INFO: Acknowledgment sent {"connection_id":65179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:35:30] local.INFO: TCP Data received {"connection_id":65179,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:35:30] local.INFO: Processing buffer {"connection_id":65179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:35:30] local.INFO: Packet analysis {"connection_id":65179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:35:30] local.INFO: Extracted packet for processing {"connection_id":65179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:35: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-05-08 17:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:35:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":65179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:35:30] local.INFO: GPS data processed {"connection_id":65179,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:35:30] local.INFO: Acknowledgment sent {"connection_id":65179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:35:51] local.INFO: TCP Data received {"connection_id":65181,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:35:51] local.INFO: Processing buffer {"connection_id":65181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:35:51] local.INFO: IMEI packet received {"connection_id":65181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":65181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:35:57] local.INFO: TCP Data received {"connection_id":65181,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:35:57] local.INFO: Processing buffer {"connection_id":65181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:35:57] local.INFO: IMEI packet received {"connection_id":65181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":65181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:35:58] local.INFO: TCP Data received {"connection_id":65181,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:35:58] local.INFO: Processing buffer {"connection_id":65181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:35:58] local.INFO: Packet analysis {"connection_id":65181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:35:58] local.INFO: Extracted packet for processing {"connection_id":65181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:35: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-05-08 17:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:35:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:35:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":65181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:35:58] local.INFO: GPS data processed {"connection_id":65181,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:35:58] local.INFO: Acknowledgment sent {"connection_id":65181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:36:30] local.INFO: TCP Data received {"connection_id":65181,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:36:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:36:30] local.INFO: Processing buffer {"connection_id":65181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:36:30] local.INFO: Packet analysis {"connection_id":65181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:36:30] local.INFO: Extracted packet for processing {"connection_id":65181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:36:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:36:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:36:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:36:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:36:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:36:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:36:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:36: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-05-08 17:36:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:36:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:36:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:36:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:36:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:36:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:36:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:36:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:36:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:36:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:36:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:36:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:36:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:36:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:36:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:36:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:36:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:36:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:36:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:36:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:36:30] local.INFO: DEBUG: GPS processor result {"connection_id":65181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:36:30] local.INFO: GPS data processed {"connection_id":65181,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:36:30] local.INFO: Acknowledgment sent {"connection_id":65181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:36:59] local.INFO: TCP Data received {"connection_id":65250,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:36:59] local.INFO: Processing buffer {"connection_id":65250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:36:59] local.INFO: IMEI packet received {"connection_id":65250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":65250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:37:02] local.INFO: TCP Data received {"connection_id":65250,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:02] local.INFO: Processing buffer {"connection_id":65250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:02] local.INFO: IMEI packet received {"connection_id":65250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":65250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:37:03] local.INFO: TCP Data received {"connection_id":65250,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:03] local.INFO: Processing buffer {"connection_id":65250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:03] local.INFO: Packet analysis {"connection_id":65250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:37:03] local.INFO: Extracted packet for processing {"connection_id":65250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:37:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:37:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":65250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:37:03] local.INFO: GPS data processed {"connection_id":65250,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:37:03] local.INFO: Acknowledgment sent {"connection_id":65250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:37:08] local.INFO: TCP Data received {"connection_id":65250,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:08] local.INFO: Processing buffer {"connection_id":65250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:08] local.INFO: Packet analysis {"connection_id":65250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:37:08] local.INFO: Extracted packet for processing {"connection_id":65250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:37: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-05-08 17:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:37:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:37:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":65250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:37:08] local.INFO: GPS data processed {"connection_id":65250,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:37:08] local.INFO: Acknowledgment sent {"connection_id":65250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:37:52] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:52] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:52] local.INFO: IMEI packet received {"connection_id":65127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":65127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:37:57] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:57] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:37:57] local.INFO: IMEI packet received {"connection_id":65127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":65127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:37:58] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:58] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:37:58] local.INFO: Packet analysis {"connection_id":65127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:37:58] local.INFO: Extracted packet for processing {"connection_id":65127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:37: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-05-08 17:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:37:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":65127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:37:58] local.INFO: GPS data processed {"connection_id":65127,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:37:58] local.INFO: Acknowledgment sent {"connection_id":65127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:38:31] local.INFO: TCP Data received {"connection_id":65127,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:38:31] local.INFO: Processing buffer {"connection_id":65127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:38:31] local.INFO: Packet analysis {"connection_id":65127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:38:31] local.INFO: Extracted packet for processing {"connection_id":65127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:38:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:38:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:38:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:38:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:38:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:38:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:38:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:38:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":65127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:38:31] local.INFO: GPS data processed {"connection_id":65127,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:38:31] local.INFO: Acknowledgment sent {"connection_id":65127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:38:51] local.INFO: TCP Data received {"connection_id":65128,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:38:51] local.INFO: Processing buffer {"connection_id":65128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:38:51] local.INFO: IMEI packet received {"connection_id":65128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":65128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:38:57] local.INFO: TCP Data received {"connection_id":65128,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:38:57] local.INFO: Processing buffer {"connection_id":65128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:38:57] local.INFO: IMEI packet received {"connection_id":65128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":65128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:38:58] local.INFO: TCP Data received {"connection_id":65128,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:38:58] local.INFO: Processing buffer {"connection_id":65128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:38:58] local.INFO: Packet analysis {"connection_id":65128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:38:58] local.INFO: Extracted packet for processing {"connection_id":65128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:38: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-05-08 17:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:38:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:38:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":65128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:38:58] local.INFO: GPS data processed {"connection_id":65128,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:38:58] local.INFO: Acknowledgment sent {"connection_id":65128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:39:20] local.INFO: TCP Data received {"connection_id":65947,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:39:20] local.INFO: Processing buffer {"connection_id":65947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:39:20] local.INFO: IMEI packet received {"connection_id":65947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":65947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:39:29] local.INFO: TCP Data received {"connection_id":65128,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:39:29] local.INFO: Processing buffer {"connection_id":65128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07790ff8012d34c54006aa4a98000c000023..."} 
[2026-05-08 17:39:29] local.INFO: Packet analysis {"connection_id":65128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:39:29] local.INFO: Extracted packet for processing {"connection_id":65128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0779"} 
[2026-05-08 17:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":35,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229832704001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778241835000,"timestamp_ms":1778241835000,"timestamp_seconds":1778241835,"priority":1,"record_length":96,"hex_timestamp":"0000019e07790ff8"} 
[2026-05-08 17:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229832704001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229832704001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:39:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:39:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229832704001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":65128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:39:29] local.INFO: GPS data processed {"connection_id":65128,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:39:29] local.INFO: Acknowledgment sent {"connection_id":65128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:39:41] local.INFO: TCP Data received {"connection_id":65182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65182,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:39:41] local.INFO: Processing buffer {"connection_id":65182,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:39:41] local.INFO: IMEI packet received {"connection_id":65182,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":65182,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:39:51] local.INFO: TCP Data received {"connection_id":65129,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:39:51] local.INFO: Processing buffer {"connection_id":65129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:39:51] local.INFO: IMEI packet received {"connection_id":65129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":65129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:39:58] local.INFO: TCP Data received {"connection_id":65129,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:39:58] local.INFO: Processing buffer {"connection_id":65129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:39:58] local.INFO: IMEI packet received {"connection_id":65129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:39:58] local.INFO: IMEI acknowledgment sent {"connection_id":65129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:39:59] local.INFO: TCP Data received {"connection_id":65129,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:39:59] local.INFO: Processing buffer {"connection_id":65129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:39:59] local.INFO: Packet analysis {"connection_id":65129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:39:59] local.INFO: Extracted packet for processing {"connection_id":65129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:39: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-05-08 17:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:39:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":65129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:39:59] local.INFO: GPS data processed {"connection_id":65129,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:39:59] local.INFO: Acknowledgment sent {"connection_id":65129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:40:30] local.INFO: TCP Data received {"connection_id":65129,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:40:30] local.INFO: Processing buffer {"connection_id":65129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:40:30] local.INFO: Packet analysis {"connection_id":65129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:40:30] local.INFO: Extracted packet for processing {"connection_id":65129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:40:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:40:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:40: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-05-08 17:40:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:40:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:40:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:40:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:40:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:40:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":65129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:40:30] local.INFO: GPS data processed {"connection_id":65129,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:40:30] local.INFO: Acknowledgment sent {"connection_id":65129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:40:51] local.INFO: TCP Data received {"connection_id":65183,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:40:51] local.INFO: Processing buffer {"connection_id":65183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:40:51] local.INFO: IMEI packet received {"connection_id":65183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":65183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:40:57] local.INFO: TCP Data received {"connection_id":65183,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:40:57] local.INFO: Processing buffer {"connection_id":65183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:40:57] local.INFO: IMEI packet received {"connection_id":65183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":65183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:40:58] local.INFO: TCP Data received {"connection_id":65183,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:40:58] local.INFO: Processing buffer {"connection_id":65183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:40:58] local.INFO: Packet analysis {"connection_id":65183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:40:58] local.INFO: Extracted packet for processing {"connection_id":65183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:40: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-05-08 17:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:40:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":65183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:40:58] local.INFO: GPS data processed {"connection_id":65183,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:40:58] local.INFO: Acknowledgment sent {"connection_id":65183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:41:29] local.INFO: TCP Data received {"connection_id":65183,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:41:29] local.INFO: Processing buffer {"connection_id":65183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:41:29] local.INFO: Packet analysis {"connection_id":65183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:41:29] local.INFO: Extracted packet for processing {"connection_id":65183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:41:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:41:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:41:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":65183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:41:29] local.INFO: GPS data processed {"connection_id":65183,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:41:29] local.INFO: Acknowledgment sent {"connection_id":65183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:41:57] local.INFO: TCP Data received {"connection_id":65948,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:41:57] local.INFO: Processing buffer {"connection_id":65948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:41:57] local.INFO: IMEI packet received {"connection_id":65948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":65948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:42:02] local.INFO: TCP Data received {"connection_id":65948,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:02] local.INFO: Processing buffer {"connection_id":65948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:02] local.INFO: IMEI packet received {"connection_id":65948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":65948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:42:03] local.INFO: TCP Data received {"connection_id":65948,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:03] local.INFO: Processing buffer {"connection_id":65948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:03] local.INFO: Packet analysis {"connection_id":65948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:42:03] local.INFO: Extracted packet for processing {"connection_id":65948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 17:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 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-05-08 17:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 17:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:42:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:42:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":65948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:42:03] local.INFO: GPS data processed {"connection_id":65948,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:42:03] local.INFO: Acknowledgment sent {"connection_id":65948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:42:34] local.INFO: TCP Data received {"connection_id":65948,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:34] local.INFO: Processing buffer {"connection_id":65948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:34] local.INFO: Packet analysis {"connection_id":65948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:42:34] local.INFO: Extracted packet for processing {"connection_id":65948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:42: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-05-08 17:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:42:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:42:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:42:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:42:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":65948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:42:34] local.INFO: GPS data processed {"connection_id":65948,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:42:34] local.INFO: Acknowledgment sent {"connection_id":65948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:42:51] local.INFO: TCP Data received {"connection_id":65186,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:51] local.INFO: Processing buffer {"connection_id":65186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:51] local.INFO: IMEI packet received {"connection_id":65186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":65186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:42:57] local.INFO: TCP Data received {"connection_id":65186,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:57] local.INFO: Processing buffer {"connection_id":65186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:42:57] local.INFO: IMEI packet received {"connection_id":65186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":65186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:42:58] local.INFO: TCP Data received {"connection_id":65186,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:58] local.INFO: Processing buffer {"connection_id":65186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:42:58] local.INFO: Packet analysis {"connection_id":65186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:42:58] local.INFO: Extracted packet for processing {"connection_id":65186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:42: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-05-08 17:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:42:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:42:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":65186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:42:58] local.INFO: GPS data processed {"connection_id":65186,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:42:58] local.INFO: Acknowledgment sent {"connection_id":65186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:43:29] local.INFO: TCP Data received {"connection_id":65186,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:43:29] local.INFO: Processing buffer {"connection_id":65186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:43:29] local.INFO: Packet analysis {"connection_id":65186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:43:29] local.INFO: Extracted packet for processing {"connection_id":65186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:43:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:43:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:43:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":65186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:43:29] local.INFO: GPS data processed {"connection_id":65186,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:43:29] local.INFO: Acknowledgment sent {"connection_id":65186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:43:51] local.INFO: TCP Data received {"connection_id":65253,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:43:51] local.INFO: Processing buffer {"connection_id":65253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:43:51] local.INFO: IMEI packet received {"connection_id":65253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":65253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:43:58] local.INFO: TCP Data received {"connection_id":65253,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:43:58] local.INFO: Processing buffer {"connection_id":65253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:43:58] local.INFO: IMEI packet received {"connection_id":65253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":65253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:43:59] local.INFO: TCP Data received {"connection_id":65253,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:43:59] local.INFO: Processing buffer {"connection_id":65253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:43:59] local.INFO: Packet analysis {"connection_id":65253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:43:59] local.INFO: Extracted packet for processing {"connection_id":65253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:43:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:43: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-05-08 17:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:43:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:43:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":65253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:43:59] local.INFO: GPS data processed {"connection_id":65253,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:43:59] local.INFO: Acknowledgment sent {"connection_id":65253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:44:31] local.INFO: TCP Data received {"connection_id":65253,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:44:31] local.INFO: Processing buffer {"connection_id":65253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e077da7c0012d34c54006aa4a98000a000025..."} 
[2026-05-08 17:44:31] local.INFO: Packet analysis {"connection_id":65253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:44:31] local.INFO: Extracted packet for processing {"connection_id":65253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e077d"} 
[2026-05-08 17:44:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229909760001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778242136000,"timestamp_ms":1778242136000,"timestamp_seconds":1778242136,"priority":1,"record_length":96,"hex_timestamp":"0000019e077da7c0"} 
[2026-05-08 17:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:44: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-05-08 17:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:44:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:44:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229909760001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229909760001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:44:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:44:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229909760001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":65253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:44:31] local.INFO: GPS data processed {"connection_id":65253,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:44:31] local.INFO: Acknowledgment sent {"connection_id":65253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:44:51] local.INFO: TCP Data received {"connection_id":65130,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:44:51] local.INFO: Processing buffer {"connection_id":65130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:44:51] local.INFO: IMEI packet received {"connection_id":65130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":65130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:44:57] local.INFO: TCP Data received {"connection_id":65130,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:44:57] local.INFO: Processing buffer {"connection_id":65130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:44:57] local.INFO: IMEI packet received {"connection_id":65130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":65130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:44:58] local.INFO: TCP Data received {"connection_id":65130,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:44:58] local.INFO: Processing buffer {"connection_id":65130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:44:58] local.INFO: Packet analysis {"connection_id":65130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:44:58] local.INFO: Extracted packet for processing {"connection_id":65130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:44:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:44: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-05-08 17:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:44:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:44:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":65130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:44:58] local.INFO: GPS data processed {"connection_id":65130,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:44:58] local.INFO: Acknowledgment sent {"connection_id":65130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:45:30] local.INFO: TCP Data received {"connection_id":65130,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:45:30] local.INFO: Processing buffer {"connection_id":65130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:45:30] local.INFO: Packet analysis {"connection_id":65130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:45:30] local.INFO: Extracted packet for processing {"connection_id":65130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:45:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:45: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-05-08 17:45:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:45:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:45:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:45:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:45:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":65130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:45:30] local.INFO: GPS data processed {"connection_id":65130,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:45:30] local.INFO: Acknowledgment sent {"connection_id":65130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:45:41] local.INFO: TCP Data received {"connection_id":65254,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65254,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:45:41] local.INFO: Processing buffer {"connection_id":65254,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:45:41] local.INFO: IMEI packet received {"connection_id":65254,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:45:41] local.INFO: IMEI acknowledgment sent {"connection_id":65254,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:45:45] local.INFO: TCP Data received {"connection_id":65187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:45:45] local.INFO: Processing buffer {"connection_id":65187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:45:45] local.INFO: IMEI packet received {"connection_id":65187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:45:45] local.INFO: IMEI acknowledgment sent {"connection_id":65187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:45:57] local.INFO: TCP Data received {"connection_id":65949,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:45:57] local.INFO: Processing buffer {"connection_id":65949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:45:57] local.INFO: IMEI packet received {"connection_id":65949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":65949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:46:02] local.INFO: TCP Data received {"connection_id":65949,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:02] local.INFO: Processing buffer {"connection_id":65949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:02] local.INFO: IMEI packet received {"connection_id":65949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":65949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:46:03] local.INFO: TCP Data received {"connection_id":65949,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:46:03] local.INFO: Processing buffer {"connection_id":65949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:46:03] local.INFO: Packet analysis {"connection_id":65949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:46:03] local.INFO: Extracted packet for processing {"connection_id":65949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:46:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:46:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:46:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:46:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":65949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:46:03] local.INFO: GPS data processed {"connection_id":65949,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:46:03] local.INFO: Acknowledgment sent {"connection_id":65949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:46:07] local.INFO: TCP Data received {"connection_id":65949,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:46:07] local.INFO: Processing buffer {"connection_id":65949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:46:07] local.INFO: Packet analysis {"connection_id":65949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:46:07] local.INFO: Extracted packet for processing {"connection_id":65949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:46: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-05-08 17:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:46:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":65949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:46:08] local.INFO: GPS data processed {"connection_id":65949,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:46:08] local.INFO: Acknowledgment sent {"connection_id":65949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:46:51] local.INFO: TCP Data received {"connection_id":65950,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:51] local.INFO: Processing buffer {"connection_id":65950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:51] local.INFO: IMEI packet received {"connection_id":65950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":65950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:46:57] local.INFO: TCP Data received {"connection_id":65950,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65950,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:57] local.INFO: Processing buffer {"connection_id":65950,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:46:57] local.INFO: IMEI packet received {"connection_id":65950,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":65950,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:47:05] local.INFO: TCP Data received {"connection_id":65950,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:05] local.INFO: Processing buffer {"connection_id":65950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:05] local.INFO: Packet analysis {"connection_id":65950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:47:05] local.INFO: Extracted packet for processing {"connection_id":65950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:47:05] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:47: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-05-08 17:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:47:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:47:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:47:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:47:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:47:05] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:47:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":65950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:47:05] local.INFO: GPS data processed {"connection_id":65950,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:47:05] local.INFO: Acknowledgment sent {"connection_id":65950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:47:37] local.INFO: TCP Data received {"connection_id":65950,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65950,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:37] local.INFO: Processing buffer {"connection_id":65950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:37] local.INFO: Packet analysis {"connection_id":65950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:47:37] local.INFO: Extracted packet for processing {"connection_id":65950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:47:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:47:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:47:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":65950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":65950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":65950,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:47:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:47:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:47:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":65950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:47:37] local.INFO: GPS data processed {"connection_id":65950,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:47:37] local.INFO: Acknowledgment sent {"connection_id":65950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:47:52] local.INFO: TCP Data received {"connection_id":65256,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:47:52] local.INFO: Processing buffer {"connection_id":65256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:47:52] local.INFO: IMEI packet received {"connection_id":65256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":65256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:47:57] local.INFO: TCP Data received {"connection_id":65256,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:47:57] local.INFO: Processing buffer {"connection_id":65256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:47:57] local.INFO: IMEI packet received {"connection_id":65256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":65256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:47:58] local.INFO: TCP Data received {"connection_id":65256,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:58] local.INFO: Processing buffer {"connection_id":65256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:47:58] local.INFO: Packet analysis {"connection_id":65256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:47:58] local.INFO: Extracted packet for processing {"connection_id":65256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:47:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:47:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":65256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:47:58] local.INFO: GPS data processed {"connection_id":65256,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:47:58] local.INFO: Acknowledgment sent {"connection_id":65256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:48:30] local.INFO: TCP Data received {"connection_id":65256,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:48:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:48:30] local.INFO: Processing buffer {"connection_id":65256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:48:30] local.INFO: Packet analysis {"connection_id":65256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:48:30] local.INFO: Extracted packet for processing {"connection_id":65256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:48:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:48:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:48:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:48:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:48:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:48:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:48:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:48: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-05-08 17:48:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:48:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:48:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:48:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:48:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:48:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:48:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:48:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:48:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:48:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:48:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:48:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:48:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:48:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:48:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:48:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:48:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:48:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:48:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:48:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:48:30] local.INFO: DEBUG: GPS processor result {"connection_id":65256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:48:30] local.INFO: GPS data processed {"connection_id":65256,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:48:30] local.INFO: Acknowledgment sent {"connection_id":65256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:48:51] local.INFO: TCP Data received {"connection_id":65132,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:48:51] local.INFO: Processing buffer {"connection_id":65132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:48:51] local.INFO: IMEI packet received {"connection_id":65132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":65132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:48:56] local.INFO: TCP Data received {"connection_id":65132,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:48:56] local.INFO: Processing buffer {"connection_id":65132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:48:56] local.INFO: IMEI packet received {"connection_id":65132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":65132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:48:58] local.INFO: TCP Data received {"connection_id":65132,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:48:58] local.INFO: Processing buffer {"connection_id":65132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:48:58] local.INFO: Packet analysis {"connection_id":65132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:48:58] local.INFO: Extracted packet for processing {"connection_id":65132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:48: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-05-08 17:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:48:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:48:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":65132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:48:58] local.INFO: GPS data processed {"connection_id":65132,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:48:58] local.INFO: Acknowledgment sent {"connection_id":65132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:49:29] local.INFO: TCP Data received {"connection_id":65132,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:49:29] local.INFO: Processing buffer {"connection_id":65132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07823f88012d34c54006aa4a980008000027..."} 
[2026-05-08 17:49:29] local.INFO: Packet analysis {"connection_id":65132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:49:29] local.INFO: Extracted packet for processing {"connection_id":65132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0782"} 
[2026-05-08 17:49:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455229986816001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778242437000,"timestamp_ms":1778242437000,"timestamp_seconds":1778242437,"priority":1,"record_length":96,"hex_timestamp":"0000019e07823f88"} 
[2026-05-08 17:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 17:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455229986816001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455229986816001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:49:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455229986816001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":65132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:49:29] local.INFO: GPS data processed {"connection_id":65132,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:49:29] local.INFO: Acknowledgment sent {"connection_id":65132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:49:57] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:49:57] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:49:57] local.INFO: IMEI packet received {"connection_id":65133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":65133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:50:02] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:02] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:02] local.INFO: IMEI packet received {"connection_id":65133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":65133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:50:03] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:03] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:03] local.INFO: Packet analysis {"connection_id":65133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:50:03] local.INFO: Extracted packet for processing {"connection_id":65133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:50:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:50:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:50:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:50:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:50:03] local.INFO: DEBUG: GPS processor result {"connection_id":65133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:50:03] local.INFO: GPS data processed {"connection_id":65133,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:50:03] local.INFO: Acknowledgment sent {"connection_id":65133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:50:08] local.INFO: TCP Data received {"connection_id":65133,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:08] local.INFO: Processing buffer {"connection_id":65133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:08] local.INFO: Packet analysis {"connection_id":65133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:50:08] local.INFO: Extracted packet for processing {"connection_id":65133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17: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-05-08 17: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:50:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:50:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":65133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:50:08] local.INFO: GPS data processed {"connection_id":65133,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:50:08] local.INFO: Acknowledgment sent {"connection_id":65133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:50:51] local.INFO: TCP Data received {"connection_id":65258,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:51] local.INFO: Processing buffer {"connection_id":65258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:51] local.INFO: IMEI packet received {"connection_id":65258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":65258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:50:57] local.INFO: TCP Data received {"connection_id":65258,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:57] local.INFO: Processing buffer {"connection_id":65258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:50:57] local.INFO: IMEI packet received {"connection_id":65258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":65258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:50:58] local.INFO: TCP Data received {"connection_id":65258,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:58] local.INFO: Processing buffer {"connection_id":65258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:50:58] local.INFO: Packet analysis {"connection_id":65258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:50:58] local.INFO: Extracted packet for processing {"connection_id":65258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:50: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-05-08 17:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:50:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:50:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":65258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:50:58] local.INFO: GPS data processed {"connection_id":65258,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:50:58] local.INFO: Acknowledgment sent {"connection_id":65258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:51:08] local.INFO: TCP Data received {"connection_id":65134,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:51:08] local.INFO: Processing buffer {"connection_id":65134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:51:08] local.INFO: IMEI packet received {"connection_id":65134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":65134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:51:30] local.INFO: TCP Data received {"connection_id":65258,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:51:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:51:30] local.INFO: Processing buffer {"connection_id":65258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:51:30] local.INFO: Packet analysis {"connection_id":65258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:51:30] local.INFO: Extracted packet for processing {"connection_id":65258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:51:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:51:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:51:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:51:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:51:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:51:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:51:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:51: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-05-08 17:51:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:51:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:51:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:51:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:51:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:51:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:51:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:51:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:51:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:51:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:51:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:51:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:51:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:51:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:51:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:51:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:51:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:51:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:51:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:51:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:51:30] local.INFO: DEBUG: GPS processor result {"connection_id":65258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:51:30] local.INFO: GPS data processed {"connection_id":65258,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:51:30] local.INFO: Acknowledgment sent {"connection_id":65258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:51:40] local.INFO: TCP Data received {"connection_id":65135,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:51:40] local.INFO: Processing buffer {"connection_id":65135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:51:40] local.INFO: IMEI packet received {"connection_id":65135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":65135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:51:52] local.INFO: TCP Data received {"connection_id":65952,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:51:52] local.INFO: Processing buffer {"connection_id":65952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:51:52] local.INFO: IMEI packet received {"connection_id":65952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":65952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:51:57] local.INFO: TCP Data received {"connection_id":65952,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:51:57] local.INFO: Processing buffer {"connection_id":65952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:51:57] local.INFO: IMEI packet received {"connection_id":65952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":65952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:51:59] local.INFO: TCP Data received {"connection_id":65952,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:51:59] local.INFO: Processing buffer {"connection_id":65952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:51:59] local.INFO: Packet analysis {"connection_id":65952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:51:59] local.INFO: Extracted packet for processing {"connection_id":65952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:51: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-05-08 17:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:51:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":65952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:51:59] local.INFO: GPS data processed {"connection_id":65952,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:51:59] local.INFO: Acknowledgment sent {"connection_id":65952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:52:31] local.INFO: TCP Data received {"connection_id":65952,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:52:31] local.INFO: Processing buffer {"connection_id":65952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:52:31] local.INFO: Packet analysis {"connection_id":65952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:52:31] local.INFO: Extracted packet for processing {"connection_id":65952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:52:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:52:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":65952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:52:31] local.INFO: GPS data processed {"connection_id":65952,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:52:31] local.INFO: Acknowledgment sent {"connection_id":65952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:53:01] local.INFO: TCP Data received {"connection_id":65953,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:01] local.INFO: Processing buffer {"connection_id":65953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:01] local.INFO: IMEI packet received {"connection_id":65953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":65953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:53:01] local.INFO: TCP Data received {"connection_id":65953,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:01] local.INFO: Processing buffer {"connection_id":65953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:01] local.INFO: IMEI packet received {"connection_id":65953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":65953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:53:02] local.INFO: TCP Data received {"connection_id":65953,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:02] local.INFO: Processing buffer {"connection_id":65953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:02] local.INFO: Packet analysis {"connection_id":65953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:53:02] local.INFO: Extracted packet for processing {"connection_id":65953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:53:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:53: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-05-08 17:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:53:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:53:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":65953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:53:02] local.INFO: GPS data processed {"connection_id":65953,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:53:02] local.INFO: Acknowledgment sent {"connection_id":65953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:53:03] local.INFO: TCP Data received {"connection_id":65953,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:03] local.INFO: Processing buffer {"connection_id":65953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:03] local.INFO: Packet analysis {"connection_id":65953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:53:03] local.INFO: Extracted packet for processing {"connection_id":65953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 17:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 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-05-08 17:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 17:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:53:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:53:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":65953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:53:03] local.INFO: GPS data processed {"connection_id":65953,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:53:03] local.INFO: Acknowledgment sent {"connection_id":65953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:53:35] local.INFO: TCP Data received {"connection_id":65953,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:35] local.INFO: Processing buffer {"connection_id":65953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:53:35] local.INFO: Packet analysis {"connection_id":65953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:53:35] local.INFO: Extracted packet for processing {"connection_id":65953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:53:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:53:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:53:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":65953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:53:35] local.INFO: GPS data processed {"connection_id":65953,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:53:35] local.INFO: Acknowledgment sent {"connection_id":65953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:53:57] local.INFO: TCP Data received {"connection_id":65954,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:57] local.INFO: Processing buffer {"connection_id":65954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:53:57] local.INFO: IMEI packet received {"connection_id":65954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":65954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:54:01] local.INFO: TCP Data received {"connection_id":65954,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:01] local.INFO: Processing buffer {"connection_id":65954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:01] local.INFO: IMEI packet received {"connection_id":65954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":65954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:54:02] local.INFO: TCP Data received {"connection_id":65954,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:02] local.INFO: Processing buffer {"connection_id":65954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:02] local.INFO: Packet analysis {"connection_id":65954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:54:02] local.INFO: Extracted packet for processing {"connection_id":65954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:54:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:54:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:54:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:54:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":65954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:54:02] local.INFO: GPS data processed {"connection_id":65954,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:54:02] local.INFO: Acknowledgment sent {"connection_id":65954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:54:28] local.INFO: TCP Data received {"connection_id":65954,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:28] local.INFO: Processing buffer {"connection_id":65954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0786d750012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:28] local.INFO: Packet analysis {"connection_id":65954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:54:28] local.INFO: Extracted packet for processing {"connection_id":65954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0786"} 
[2026-05-08 17:54:28] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230063872001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1778242738000,"timestamp_ms":1778242738000,"timestamp_seconds":1778242738,"priority":1,"record_length":96,"hex_timestamp":"0000019e0786d750"} 
[2026-05-08 17:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 17:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":65954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":65954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":65954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230063872001,"66":25288,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230063872001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:54:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230063872001,"power":25288,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":65954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:54:28] local.INFO: GPS data processed {"connection_id":65954,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:54:28] local.INFO: Acknowledgment sent {"connection_id":65954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:54:53] local.INFO: TCP Data received {"connection_id":65260,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:53] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:53] local.INFO: IMEI packet received {"connection_id":65260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":65260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:54:57] local.INFO: TCP Data received {"connection_id":65260,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:57] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:54:57] local.INFO: IMEI packet received {"connection_id":65260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":65260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:54:58] local.INFO: TCP Data received {"connection_id":65260,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:58] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:54:58] local.INFO: Packet analysis {"connection_id":65260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:54:58] local.INFO: Extracted packet for processing {"connection_id":65260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:54:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:54: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-05-08 17: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-05-08 17:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:54:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:54:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":65260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:54:58] local.INFO: GPS data processed {"connection_id":65260,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:54:58] local.INFO: Acknowledgment sent {"connection_id":65260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:55:02] local.INFO: TCP Data received {"connection_id":65260,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:02] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:02] local.INFO: Packet analysis {"connection_id":65260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:55:02] local.INFO: Extracted packet for processing {"connection_id":65260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:55:02] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:55: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-05-08 17: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-05-08 17:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:55:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":65260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:55:02] local.INFO: GPS data processed {"connection_id":65260,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:55:02] local.INFO: Acknowledgment sent {"connection_id":65260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:55:34] local.INFO: TCP Data received {"connection_id":65260,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:34] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:34] local.INFO: Packet analysis {"connection_id":65260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:55:34] local.INFO: Extracted packet for processing {"connection_id":65260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:55:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:55:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:55:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:55:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:55:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:55:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:55: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-05-08 17: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":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:55: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-05-08 17: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-05-08 17:55:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:55:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:55:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:55:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:55:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:55:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:55:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:55:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:55:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:55:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:55:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:55:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:55:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:55:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:55:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:55:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:55:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:55:34] local.INFO: DEBUG: GPS processor result {"connection_id":65260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:55:34] local.INFO: GPS data processed {"connection_id":65260,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:55:34] local.INFO: Acknowledgment sent {"connection_id":65260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:55:51] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:55:51] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:55:51] local.INFO: IMEI packet received {"connection_id":65261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":65261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:55:57] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:55:57] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:55:57] local.INFO: IMEI packet received {"connection_id":65261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":65261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:55:58] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:58] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:55:58] local.INFO: Packet analysis {"connection_id":65261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:55:58] local.INFO: Extracted packet for processing {"connection_id":65261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:55: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-05-08 17:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:55: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-05-08 17:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:55:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:55:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":65261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:55:58] local.INFO: GPS data processed {"connection_id":65261,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:55:58] local.INFO: Acknowledgment sent {"connection_id":65261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:56:43] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:56:43] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:56:43] local.INFO: Packet analysis {"connection_id":65261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:56:43] local.INFO: Extracted packet for processing {"connection_id":65261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:56:43] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:56: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-05-08 17:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:56: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-05-08 17:56:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:56: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-05-08 17:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":65261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:56:43] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:56:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":65261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:56:43] local.INFO: GPS data processed {"connection_id":65261,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:56:43] local.INFO: Acknowledgment sent {"connection_id":65261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:56:52] local.INFO: TCP Data received {"connection_id":65188,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:56:52] local.INFO: Processing buffer {"connection_id":65188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:56:52] local.INFO: IMEI packet received {"connection_id":65188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":65188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:57:05] local.INFO: TCP Data received {"connection_id":65188,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:57:05] local.INFO: Processing buffer {"connection_id":65188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:57:05] local.INFO: IMEI packet received {"connection_id":65188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":65188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:57:06] local.INFO: TCP Data received {"connection_id":65188,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:57:06] local.INFO: Processing buffer {"connection_id":65188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:57:06] local.INFO: Packet analysis {"connection_id":65188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:57:06] local.INFO: Extracted packet for processing {"connection_id":65188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57: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-05-08 17:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:57:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:57:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:57:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":65188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":65188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":65188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:57:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:57:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":65188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:57:06] local.INFO: GPS data processed {"connection_id":65188,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:57:06] local.INFO: Acknowledgment sent {"connection_id":65188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:57:41] local.INFO: TCP Data received {"connection_id":65189,"ip":"117.225.179.178","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:57:41] local.INFO: Processing buffer {"connection_id":65189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:57:41] local.INFO: IMEI packet received {"connection_id":65189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:57:41] local.INFO: IMEI acknowledgment sent {"connection_id":65189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:57:45] local.INFO: TCP Data received {"connection_id":65188,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:57:45] local.INFO: Processing buffer {"connection_id":65188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:57:45] local.INFO: Packet analysis {"connection_id":65188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:57:45] local.INFO: Extracted packet for processing {"connection_id":65188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57: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-05-08 17:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:57: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-05-08 17:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:57: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-05-08 17:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":65188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":65188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":65188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:57:45] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:57:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":65188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:57:45] local.INFO: GPS data processed {"connection_id":65188,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:57:45] local.INFO: Acknowledgment sent {"connection_id":65188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:57:46] local.INFO: TCP Data received {"connection_id":65189,"ip":"117.225.179.178","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:57:46] local.INFO: Processing buffer {"connection_id":65189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:57:46] local.INFO: IMEI packet received {"connection_id":65189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 17:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":65189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:57:47] local.INFO: TCP Data received {"connection_id":65189,"ip":"117.225.179.178","data_length":795,"data_hex":"000000000000030f8e0a0000019e078c1af8012cd86e8007408ef0003a00e028..."} 
[2026-05-08 17:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078c1af8012cd86e8007408ef0003a00e028..."} 
[2026-05-08 17:57:47] local.INFO: Processing buffer {"connection_id":65189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078c1af8012cd86e8007408ef0003a00e028..."} 
[2026-05-08 17:57:47] local.INFO: Packet analysis {"connection_id":65189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078c"} 
[2026-05-08 17:57:47] local.INFO: Extracted packet for processing {"connection_id":65189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078c"} 
[2026-05-08 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":752381568,"raw_latitude":121671408,"longitude_deg":75.2381568,"latitude_deg":12.1671408,"altitude":58,"angle":224,"satellites":40,"speed":57,"hex_longitude":"2cd86e80","hex_latitude":"07408ef0","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230224640001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110665557572845568,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2834734459300784128,"note":"Value kept but may cause issues"} 
[2026-05-08 17:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778243083000,"timestamp_ms":1778243083000,"timestamp_seconds":1778243083,"priority":1,"record_length":96,"hex_timestamp":"0000019e078c1af8"} 
[2026-05-08 17:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:57:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 17: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 17:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":65189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":65189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":65189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:57:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.179.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 17:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 17:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230224640001,"66":28332,"232":206,"83":43264,"24":57,"16":110665557572845568,"44":-2834734459300784128},"client_ip":"117.225.179.178","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,83,24,16,44]} 
[2026-05-08 17:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 17:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 17:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230224640001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:57:47] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-05-08 17:57:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-05-08 17:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110665557572845568,"km_value":110665557572845.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:57:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2834734459300784128,"description":"Unknown IO ID 44"} 
[2026-05-08 17:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230224640001,"power":28332,"unknown_232":206,"unknown_83":43264,"ignition":57,"odometer":null,"unknown_44":-2834734459300784128}} 
[2026-05-08 17:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":65189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:57:47] local.INFO: GPS data processed {"connection_id":65189,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:57:47] local.INFO: Acknowledgment sent {"connection_id":65189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:58:00] local.INFO: TCP Data received {"connection_id":65955,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:00] local.INFO: Processing buffer {"connection_id":65955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:00] local.INFO: IMEI packet received {"connection_id":65955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":65955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:58:01] local.INFO: TCP Data received {"connection_id":65955,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:01] local.INFO: Processing buffer {"connection_id":65955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:01] local.INFO: IMEI packet received {"connection_id":65955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":65955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:58:07] local.INFO: TCP Data received {"connection_id":65955,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:07] local.INFO: Processing buffer {"connection_id":65955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:07] local.INFO: IMEI packet received {"connection_id":65955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":65955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:58:08] local.INFO: TCP Data received {"connection_id":65955,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:58:08] local.INFO: Processing buffer {"connection_id":65955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:58:08] local.INFO: Packet analysis {"connection_id":65955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:58:08] local.INFO: Extracted packet for processing {"connection_id":65955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17: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-05-08 17: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-05-08 17:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:58:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:58:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":65955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:58:08] local.INFO: GPS data processed {"connection_id":65955,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:58:08] local.INFO: Acknowledgment sent {"connection_id":65955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:58:18] local.INFO: TCP Data received {"connection_id":65189,"ip":"117.225.179.178","data_length":795,"data_hex":"000000000000030f8e0a0000019e078d11100100000000000000000000000000..."} 
[2026-05-08 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65189,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078d11100100000000000000000000000000..."} 
[2026-05-08 17:58:18] local.INFO: Processing buffer {"connection_id":65189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078d11100100000000000000000000000000..."} 
[2026-05-08 17:58:18] local.INFO: Packet analysis {"connection_id":65189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078d"} 
[2026-05-08 17:58:18] local.INFO: Extracted packet for processing {"connection_id":65189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078d"} 
[2026-05-08 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-05-08 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230229248001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110665557572845568,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2851200745442709504,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1778243146000,"timestamp_ms":1778243146000,"timestamp_seconds":1778243146,"priority":1,"record_length":96,"hex_timestamp":"0000019e078d1110"} 
[2026-05-08 17:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:58: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-05-08 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-05-08 17:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":65189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":65189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":65189,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.179.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 17:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 17:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":65189,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 17:58:18] local.INFO: GPS data processed {"connection_id":65189,"processed":0,"errors":0,"total":1} 
[2026-05-08 17:58:18] local.INFO: Acknowledgment sent {"connection_id":65189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:58:41] local.INFO: TCP Data received {"connection_id":65137,"ip":"117.225.179.178","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:41] local.INFO: Processing buffer {"connection_id":65137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:41] local.INFO: IMEI packet received {"connection_id":65137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:58:41] local.INFO: IMEI acknowledgment sent {"connection_id":65137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:58:45] local.INFO: TCP Data received {"connection_id":65137,"ip":"117.225.179.178","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:45] local.INFO: Processing buffer {"connection_id":65137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:45] local.INFO: IMEI packet received {"connection_id":65137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 17:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":65137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:58:46] local.INFO: TCP Data received {"connection_id":65137,"ip":"117.225.179.178","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:46] local.INFO: Processing buffer {"connection_id":65137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:58:46] local.INFO: IMEI packet received {"connection_id":65137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 17:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":65137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:58:48] local.INFO: TCP Data received {"connection_id":65137,"ip":"117.225.179.178","data_length":795,"data_hex":"000000000000030f8e0a0000019e078c9be0012cd8168007401cb8003e008e28..."} 
[2026-05-08 17:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078c9be0012cd8168007401cb8003e008e28..."} 
[2026-05-08 17:58:48] local.INFO: Processing buffer {"connection_id":65137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078c9be0012cd8168007401cb8003e008e28..."} 
[2026-05-08 17:58:48] local.INFO: Packet analysis {"connection_id":65137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078c"} 
[2026-05-08 17:58:48] local.INFO: Extracted packet for processing {"connection_id":65137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078c"} 
[2026-05-08 17:58:48] local.INFO: GPS Element Parsed {"raw_longitude":752359040,"raw_latitude":121642168,"longitude_deg":75.235904,"latitude_deg":12.1642168,"altitude":62,"angle":142,"satellites":40,"speed":36,"hex_longitude":"2cd81680","hex_latitude":"07401cb8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 17:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110665557572845568,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,38,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 17:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778243116000,"timestamp_ms":1778243116000,"timestamp_seconds":1778243116,"priority":1,"record_length":96,"hex_timestamp":"0000019e078c9be0"} 
[2026-05-08 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-05-08 17:58: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 17:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 17:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.179.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 17:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 17:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"38":206,"2":54016,"24":36,"16":110665557572845568},"client_ip":"117.225.179.178","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16]} 
[2026-05-08 17:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 17:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 17:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-05-08 17:58:48] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-05-08 17:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110665557572845568,"km_value":110665557572845.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:58:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_38":206,"power_alt":54016,"ignition":36,"odometer":null}} 
[2026-05-08 17:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":65137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122324,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:58:48] local.INFO: GPS data processed {"connection_id":65137,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:58:48] local.INFO: Acknowledgment sent {"connection_id":65137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:58:51] local.INFO: TCP Data received {"connection_id":65137,"ip":"117.225.179.178","data_length":795,"data_hex":"000000000000030f8e0a0000019e078cede8012cd83f00073ff8c00030008927..."} 
[2026-05-08 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078cede8012cd83f00073ff8c00030008927..."} 
[2026-05-08 17:58:51] local.INFO: Processing buffer {"connection_id":65137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078cede8012cd83f00073ff8c00030008927..."} 
[2026-05-08 17:58:51] local.INFO: Packet analysis {"connection_id":65137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078c"} 
[2026-05-08 17:58:51] local.INFO: Extracted packet for processing {"connection_id":65137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078c"} 
[2026-05-08 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":752369408,"raw_latitude":121632960,"longitude_deg":75.2369408,"latitude_deg":12.163296,"altitude":48,"angle":137,"satellites":39,"speed":0,"hex_longitude":"2cd83f00","hex_latitude":"073ff8c0","is_valid_coordinates":true} 
[2026-05-08 17:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:58:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230237696001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110665557572845568,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2875970543400732672,"note":"Value kept but may cause issues"} 
[2026-05-08 17:58:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:58:51] local.INFO: AVL Record Parsed {"raw_timestamp":1778243137000,"timestamp_ms":1778243137000,"timestamp_seconds":1778243137,"priority":1,"record_length":96,"hex_timestamp":"0000019e078cede8"} 
[2026-05-08 17:58:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:58:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 17:58:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-05-08 17:58:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17:58:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:58:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:58:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:58:51] local.INFO: Teltonika packet parsed successfully {"connection_id":65137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:58:51] local.INFO: Passing IMEI to GPS processor {"connection_id":65137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:58:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":65137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:58:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.179.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:58:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 17:58:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 17:58:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230237696001,"66":28354,"38":206,"2":54016,"24":0,"16":110665557572845568,"44":-2875970543400732672},"client_ip":"117.225.179.178","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,2,24,16,44]} 
[2026-05-08 17:58:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 17:58:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 17:58:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230237696001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:58:51] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-05-08 17:58:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110665557572845568,"km_value":110665557572845.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:58:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2875970543400732672,"description":"Unknown IO ID 44"} 
[2026-05-08 17:58:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230237696001,"power":28354,"unknown_38":206,"power_alt":54016,"ignition":0,"odometer":null,"unknown_44":-2875970543400732672}} 
[2026-05-08 17:58:51] local.INFO: DEBUG: GPS processor result {"connection_id":65137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:58:51] local.INFO: GPS data processed {"connection_id":65137,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:58:51] local.INFO: Acknowledgment sent {"connection_id":65137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:58:51] local.INFO: TCP Data received {"connection_id":65262,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:51] local.INFO: Processing buffer {"connection_id":65262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:51] local.INFO: IMEI packet received {"connection_id":65262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":65262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:58:59] local.INFO: TCP Data received {"connection_id":65262,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:59] local.INFO: Processing buffer {"connection_id":65262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:58:59] local.INFO: IMEI packet received {"connection_id":65262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:58:59] local.INFO: IMEI acknowledgment sent {"connection_id":65262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:59:00] local.INFO: TCP Data received {"connection_id":65262,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:59:00] local.INFO: Processing buffer {"connection_id":65262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:59:00] local.INFO: Packet analysis {"connection_id":65262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:59:00] local.INFO: Extracted packet for processing {"connection_id":65262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:59:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:59:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:59: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-05-08 17:59:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:59:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:59:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:59:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:59:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:59:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:59:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:59:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:59:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:59:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:59:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:59:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:59:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:59:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:59:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:59:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:59:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:59:00] local.INFO: DEBUG: GPS processor result {"connection_id":65262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:59:00] local.INFO: GPS data processed {"connection_id":65262,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:59:00] local.INFO: Acknowledgment sent {"connection_id":65262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:59:23] local.INFO: TCP Data received {"connection_id":65137,"ip":"117.225.179.178","data_length":795,"data_hex":"000000000000030f8e0a0000019e078d43d8012cd7fb8007400680002e011b27..."} 
[2026-05-08 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078d43d8012cd7fb8007400680002e011b27..."} 
[2026-05-08 17:59:23] local.INFO: Processing buffer {"connection_id":65137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078d43d8012cd7fb8007400680002e011b27..."} 
[2026-05-08 17:59:23] local.INFO: Packet analysis {"connection_id":65137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078d"} 
[2026-05-08 17:59:23] local.INFO: Extracted packet for processing {"connection_id":65137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078d"} 
[2026-05-08 17:59:23] local.INFO: GPS Element Parsed {"raw_longitude":752352128,"raw_latitude":121636480,"longitude_deg":75.2352128,"latitude_deg":12.163648,"altitude":46,"angle":283,"satellites":39,"speed":38,"hex_longitude":"2cd7fb80","hex_latitude":"07400680","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230243072001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110665557572845568,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2864570806846308352,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,83,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 17:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1778243159000,"timestamp_ms":1778243159000,"timestamp_seconds":1778243159,"priority":1,"record_length":96,"hex_timestamp":"0000019e078d43d8"} 
[2026-05-08 17:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:59: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-05-08 17: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-05-08 17:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 17: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-05-08 17:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":65137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":65137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":65137,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 17:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.225.179.178","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 17:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 17:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230243072001,"66":28354,"97":206,"83":43264,"24":38,"16":110665557572845568,"44":-2864570806846308352},"client_ip":"117.225.179.178","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,83,24,16,44]} 
[2026-05-08 17:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 17:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 17:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230243072001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:59:23] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-05-08 17:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43264,"description":"Unknown IO ID 83"} 
[2026-05-08 17:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110665557572845568,"km_value":110665557572845.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:59:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2864570806846308352,"description":"Unknown IO ID 44"} 
[2026-05-08 17:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230243072001,"power":28354,"unknown_97":206,"unknown_83":43264,"ignition":38,"odometer":null,"unknown_44":-2864570806846308352}} 
[2026-05-08 17:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":65137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:59:23] local.INFO: GPS data processed {"connection_id":65137,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:59:23] local.INFO: Acknowledgment sent {"connection_id":65137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:59:35] local.INFO: TCP Data received {"connection_id":65262,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:59:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:59:35] local.INFO: Processing buffer {"connection_id":65262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e078b6f18012d34c54006aa4a98000c000027..."} 
[2026-05-08 17:59:35] local.INFO: Packet analysis {"connection_id":65262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:59:35] local.INFO: Extracted packet for processing {"connection_id":65262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e078b"} 
[2026-05-08 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":12,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 17:59:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230140928001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:59:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778243039000,"timestamp_ms":1778243039000,"timestamp_seconds":1778243039,"priority":1,"record_length":96,"hex_timestamp":"0000019e078b6f18"} 
[2026-05-08 17:59:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:59:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17:59:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-05-08 17:59: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-05-08 17:59:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 17:59:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:59:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:59:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:59:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:59:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:59:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:59:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:59:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:59:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230140928001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:59:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:59:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:59:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230140928001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:59:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:59:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:59:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:59:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:59:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230140928001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:59:35] local.INFO: DEBUG: GPS processor result {"connection_id":65262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:59:35] local.INFO: GPS data processed {"connection_id":65262,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:59:35] local.INFO: Acknowledgment sent {"connection_id":65262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 17:59:46] local.INFO: TCP Data received {"connection_id":65956,"ip":"117.225.179.178","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:59:46] local.INFO: Processing buffer {"connection_id":65956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 17:59:46] local.INFO: IMEI packet received {"connection_id":65956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 17:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":65956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:59:51] local.INFO: TCP Data received {"connection_id":65957,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:59:51] local.INFO: Processing buffer {"connection_id":65957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:59:51] local.INFO: IMEI packet received {"connection_id":65957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 17:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":65957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 17:59:58] local.INFO: TCP Data received {"connection_id":65957,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:59:58] local.INFO: Processing buffer {"connection_id":65957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 17:59:58] local.INFO: IMEI packet received {"connection_id":65957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 17:59:58] local.INFO: IMEI acknowledgment sent {"connection_id":65957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 17:59:59] local.INFO: TCP Data received {"connection_id":65957,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 17:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 17:59:59] local.INFO: Processing buffer {"connection_id":65957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 17:59:59] local.INFO: Packet analysis {"connection_id":65957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 17:59:59] local.INFO: Extracted packet for processing {"connection_id":65957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 17:59:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 17: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-05-08 17:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 17:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 17: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-05-08 17:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 17:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 17:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 17: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 17:59:59] 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-05-08 17: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-05-08 17:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 17:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 17:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 17:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 17:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 17:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 17:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 17:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 17:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 17:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 17:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 17:59:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 17:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 17:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 17:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 17:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 17:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":65957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 17:59:59] local.INFO: GPS data processed {"connection_id":65957,"processed":1,"errors":0,"total":1} 
[2026-05-08 17:59:59] local.INFO: Acknowledgment sent {"connection_id":65957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:00:31] local.INFO: TCP Data received {"connection_id":65957,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:00:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:00:31] local.INFO: Processing buffer {"connection_id":65957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:00:31] local.INFO: Packet analysis {"connection_id":65957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:00:31] local.INFO: Extracted packet for processing {"connection_id":65957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:00:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:00:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:00:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:00:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:00:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 18:00:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:00:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:00:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:00:31] 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-05-08 18:00:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:00:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:00:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:00:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:00:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:00:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:00:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:00:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:00:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:00:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:00:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:00:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:00:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:00:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:00:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:00:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:00:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:00:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:00:31] local.INFO: DEBUG: GPS processor result {"connection_id":65957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:00:31] local.INFO: GPS data processed {"connection_id":65957,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:00:31] local.INFO: Acknowledgment sent {"connection_id":65957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:00:51] local.INFO: TCP Data received {"connection_id":65958,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:00:51] local.INFO: Processing buffer {"connection_id":65958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:00:51] local.INFO: IMEI packet received {"connection_id":65958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":65958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:00:57] local.INFO: TCP Data received {"connection_id":65958,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:00:57] local.INFO: Processing buffer {"connection_id":65958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:00:57] local.INFO: IMEI packet received {"connection_id":65958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":65958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:00:58] local.INFO: TCP Data received {"connection_id":65958,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:00:58] local.INFO: Processing buffer {"connection_id":65958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:00:58] local.INFO: Packet analysis {"connection_id":65958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:00:58] local.INFO: Extracted packet for processing {"connection_id":65958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:00: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-05-08 18:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 18:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:00: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-05-08 18:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:00:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":65958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:00:58] local.INFO: GPS data processed {"connection_id":65958,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:00:58] local.INFO: Acknowledgment sent {"connection_id":65958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:01:30] local.INFO: TCP Data received {"connection_id":65958,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:01:30] local.INFO: Processing buffer {"connection_id":65958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:01:30] local.INFO: Packet analysis {"connection_id":65958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:01:30] local.INFO: Extracted packet for processing {"connection_id":65958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:01:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 18:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:01: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-05-08 18:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:01:30] 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-05-08 18:01:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:01:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":65958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:01:30] local.INFO: GPS data processed {"connection_id":65958,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:01:30] local.INFO: Acknowledgment sent {"connection_id":65958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:01:57] local.INFO: TCP Data received {"connection_id":65190,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:01:57] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:01:57] local.INFO: IMEI packet received {"connection_id":65190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":65190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:02:02] local.INFO: TCP Data received {"connection_id":65190,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:02] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:02] local.INFO: IMEI packet received {"connection_id":65190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":65190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:02:03] local.INFO: TCP Data received {"connection_id":65190,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:03] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:03] local.INFO: Packet analysis {"connection_id":65190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:02:03] local.INFO: Extracted packet for processing {"connection_id":65190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 18:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 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-05-08 18:02:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:02: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-05-08 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-05-08 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-05-08 18:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:02:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:02:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:02:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":65190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:02:03] local.INFO: GPS data processed {"connection_id":65190,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:02:03] local.INFO: Acknowledgment sent {"connection_id":65190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:02:35] local.INFO: TCP Data received {"connection_id":65190,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:35] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:35] local.INFO: Packet analysis {"connection_id":65190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:02:35] local.INFO: Extracted packet for processing {"connection_id":65190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:02:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:02:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:02:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:02:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 18:02:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:02:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:02:35] 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-05-08 18: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-05-08 18:02:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:02:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:02:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:02:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:02:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:02:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:02:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:02:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:02:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:02:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:02:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:02:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:02:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:02:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:02:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:02:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:02:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:02:35] local.INFO: DEBUG: GPS processor result {"connection_id":65190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:02:35] local.INFO: GPS data processed {"connection_id":65190,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:02:35] local.INFO: Acknowledgment sent {"connection_id":65190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:02:55] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:55] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:55] local.INFO: IMEI packet received {"connection_id":65191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":65191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:02:56] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:56] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:02:56] local.INFO: IMEI packet received {"connection_id":65191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":65191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:02:58] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:58] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:02:58] local.INFO: Packet analysis {"connection_id":65191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:02:58] local.INFO: Extracted packet for processing {"connection_id":65191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:02: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-05-08 18:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 18:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:02: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-05-08 18:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:02:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:02:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":65191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:02:58] local.INFO: GPS data processed {"connection_id":65191,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:02:58] local.INFO: Acknowledgment sent {"connection_id":65191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:03:03] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:03] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:03] local.INFO: Packet analysis {"connection_id":65191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:03:03] local.INFO: Extracted packet for processing {"connection_id":65191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 18:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 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-05-08 18:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:03: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-05-08 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-05-08 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-05-08 18:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:03:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":65191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:03:03] local.INFO: GPS data processed {"connection_id":65191,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:03:03] local.INFO: Acknowledgment sent {"connection_id":65191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:03:35] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:35] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:35] local.INFO: Packet analysis {"connection_id":65191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:03:35] local.INFO: Extracted packet for processing {"connection_id":65191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:03:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:03:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:03:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:03:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 18:03:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:03:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:03:35] 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-05-08 18: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-05-08 18:03:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:03:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:03:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:03:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:03:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:03:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:03:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:03:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:03:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:03:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:03:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:03:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:03:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:03:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:03:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:03:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:03:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":65191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:03:35] local.INFO: GPS data processed {"connection_id":65191,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:03:35] local.INFO: Acknowledgment sent {"connection_id":65191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:03:51] local.INFO: TCP Data received {"connection_id":65959,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:03:51] local.INFO: Processing buffer {"connection_id":65959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:03:51] local.INFO: IMEI packet received {"connection_id":65959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":65959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:03:57] local.INFO: TCP Data received {"connection_id":65959,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:03:57] local.INFO: Processing buffer {"connection_id":65959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:03:57] local.INFO: IMEI packet received {"connection_id":65959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":65959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:03:58] local.INFO: TCP Data received {"connection_id":65959,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:58] local.INFO: Processing buffer {"connection_id":65959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:03:58] local.INFO: Packet analysis {"connection_id":65959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:03:58] local.INFO: Extracted packet for processing {"connection_id":65959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:03: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-05-08 18:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 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-05-08 18:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:03: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-05-08 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-05-08 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-05-08 18:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":65959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:03:58] local.INFO: GPS data processed {"connection_id":65959,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:03:58] local.INFO: Acknowledgment sent {"connection_id":65959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:04:34] local.INFO: TCP Data received {"connection_id":65959,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:04:34] local.INFO: Processing buffer {"connection_id":65959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079006e0012d34c54006aa4a98000d000026..."} 
[2026-05-08 18:04:34] local.INFO: Packet analysis {"connection_id":65959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:04:34] local.INFO: Extracted packet for processing {"connection_id":65959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0790"} 
[2026-05-08 18:04:34] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230217984001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778243340000,"timestamp_ms":1778243340000,"timestamp_seconds":1778243340,"priority":1,"record_length":96,"hex_timestamp":"0000019e079006e0"} 
[2026-05-08 18:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:04: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-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:04:34] 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-05-08 18: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-05-08 18:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230217984001,"66":25093,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230217984001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:04:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:04:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230217984001,"power":25093,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":65959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:04:34] local.INFO: GPS data processed {"connection_id":65959,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:04:34] local.INFO: Acknowledgment sent {"connection_id":65959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:04:51] local.INFO: TCP Data received {"connection_id":65138,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:04:51] local.INFO: Processing buffer {"connection_id":65138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:04:51] local.INFO: IMEI packet received {"connection_id":65138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":65138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:04:56] local.INFO: TCP Data received {"connection_id":65138,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:04:56] local.INFO: Processing buffer {"connection_id":65138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:04:56] local.INFO: IMEI packet received {"connection_id":65138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":65138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:04:58] local.INFO: TCP Data received {"connection_id":65138,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:04:58] local.INFO: Processing buffer {"connection_id":65138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:04:58] local.INFO: Packet analysis {"connection_id":65138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:04:58] local.INFO: Extracted packet for processing {"connection_id":65138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:04: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-05-08 18:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:04:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":65138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:04:58] local.INFO: GPS data processed {"connection_id":65138,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:04:58] local.INFO: Acknowledgment sent {"connection_id":65138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:05:29] local.INFO: TCP Data received {"connection_id":65138,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:05:29] local.INFO: Processing buffer {"connection_id":65138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:05:29] local.INFO: Packet analysis {"connection_id":65138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:05:29] local.INFO: Extracted packet for processing {"connection_id":65138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:05:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:05:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:05:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":65138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:05:29] local.INFO: GPS data processed {"connection_id":65138,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:05:29] local.INFO: Acknowledgment sent {"connection_id":65138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:05:57] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:05:57] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:05:57] local.INFO: IMEI packet received {"connection_id":65263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:06:02] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:06:02] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:06:02] local.INFO: IMEI packet received {"connection_id":65263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":65263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:06:03] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:06:03] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:06:03] local.INFO: Packet analysis {"connection_id":65263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:06:03] local.INFO: Extracted packet for processing {"connection_id":65263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:06:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 18:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 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-05-08 18:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 18:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:06:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:06:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":65263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:06:03] local.INFO: GPS data processed {"connection_id":65263,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:06:03] local.INFO: Acknowledgment sent {"connection_id":65263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:06:07] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:06:07] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:06:07] local.INFO: Packet analysis {"connection_id":65263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:06:07] local.INFO: Extracted packet for processing {"connection_id":65263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:06: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-05-08 18:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:06:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:06:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:06:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":65263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:06:07] local.INFO: GPS data processed {"connection_id":65263,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:06:07] local.INFO: Acknowledgment sent {"connection_id":65263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:06:56] local.INFO: TCP Data received {"connection_id":65192,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:06:56] local.INFO: Processing buffer {"connection_id":65192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:06:56] local.INFO: IMEI packet received {"connection_id":65192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":65192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:07:02] local.INFO: TCP Data received {"connection_id":65192,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:02] local.INFO: Processing buffer {"connection_id":65192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:02] local.INFO: IMEI packet received {"connection_id":65192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":65192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:07:04] local.INFO: TCP Data received {"connection_id":65192,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:04] local.INFO: Processing buffer {"connection_id":65192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:04] local.INFO: Packet analysis {"connection_id":65192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:07:04] local.INFO: Extracted packet for processing {"connection_id":65192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:07:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18: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-05-08 18:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:07:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:07:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:07:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":65192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:07:04] local.INFO: GPS data processed {"connection_id":65192,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:07:04] local.INFO: Acknowledgment sent {"connection_id":65192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:07:46] local.INFO: TCP Data received {"connection_id":65192,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:46] local.INFO: Processing buffer {"connection_id":65192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:46] local.INFO: Packet analysis {"connection_id":65192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:07:46] local.INFO: Extracted packet for processing {"connection_id":65192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:07:46] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:07: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-05-08 18:07:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:07:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":65192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":65192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":65192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:07:46] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:07:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":65192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:07:46] local.INFO: GPS data processed {"connection_id":65192,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:07:46] local.INFO: Acknowledgment sent {"connection_id":65192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:07:52] local.INFO: TCP Data received {"connection_id":65193,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:52] local.INFO: Processing buffer {"connection_id":65193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:52] local.INFO: IMEI packet received {"connection_id":65193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":65193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:07:57] local.INFO: TCP Data received {"connection_id":65193,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:57] local.INFO: Processing buffer {"connection_id":65193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:07:57] local.INFO: IMEI packet received {"connection_id":65193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":65193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:07:59] local.INFO: TCP Data received {"connection_id":65193,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:59] local.INFO: Processing buffer {"connection_id":65193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:07:59] local.INFO: Packet analysis {"connection_id":65193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:07:59] local.INFO: Extracted packet for processing {"connection_id":65193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:07: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-05-08 18:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:07:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":65193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:07:59] local.INFO: GPS data processed {"connection_id":65193,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:07:59] local.INFO: Acknowledgment sent {"connection_id":65193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:08:31] local.INFO: TCP Data received {"connection_id":65193,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:08:31] local.INFO: Processing buffer {"connection_id":65193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:08:31] local.INFO: Packet analysis {"connection_id":65193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:08:31] local.INFO: Extracted packet for processing {"connection_id":65193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:08:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:08:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":65193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:08:31] local.INFO: GPS data processed {"connection_id":65193,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:08:31] local.INFO: Acknowledgment sent {"connection_id":65193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:08:51] local.INFO: TCP Data received {"connection_id":65139,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:08:51] local.INFO: Processing buffer {"connection_id":65139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:08:51] local.INFO: IMEI packet received {"connection_id":65139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":65139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:08:56] local.INFO: TCP Data received {"connection_id":65960,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:08:56] local.INFO: Processing buffer {"connection_id":65960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:08:56] local.INFO: IMEI packet received {"connection_id":65960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":65960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:08:56] local.INFO: TCP Data received {"connection_id":65139,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:08:56] local.INFO: Processing buffer {"connection_id":65139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:08:56] local.INFO: IMEI packet received {"connection_id":65139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":65139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:08:58] local.INFO: TCP Data received {"connection_id":65139,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:08:58] local.INFO: Processing buffer {"connection_id":65139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:08:58] local.INFO: Packet analysis {"connection_id":65139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:08:58] local.INFO: Extracted packet for processing {"connection_id":65139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:08: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-05-08 18:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18: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-05-08 18:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:08:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:08:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":65139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:08:58] local.INFO: GPS data processed {"connection_id":65139,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:08:58] local.INFO: Acknowledgment sent {"connection_id":65139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:09:29] local.INFO: TCP Data received {"connection_id":65139,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:09:29] local.INFO: Processing buffer {"connection_id":65139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07949ea8012d34c54006aa4a980010000027..."} 
[2026-05-08 18:09:29] local.INFO: Packet analysis {"connection_id":65139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:09:29] local.INFO: Extracted packet for processing {"connection_id":65139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0794"} 
[2026-05-08 18:09:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":16,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230295040001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778243641000,"timestamp_ms":1778243641000,"timestamp_seconds":1778243641,"priority":1,"record_length":96,"hex_timestamp":"0000019e07949ea8"} 
[2026-05-08 18:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 18:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230295040001,"66":24908,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230295040001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:09:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:09:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230295040001,"power":24908,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":65139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:09:29] local.INFO: GPS data processed {"connection_id":65139,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:09:29] local.INFO: Acknowledgment sent {"connection_id":65139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:09:51] local.INFO: TCP Data received {"connection_id":65961,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:09:51] local.INFO: Processing buffer {"connection_id":65961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:09:51] local.INFO: IMEI packet received {"connection_id":65961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":65961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:09:57] local.INFO: TCP Data received {"connection_id":65961,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:09:57] local.INFO: Processing buffer {"connection_id":65961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:09:57] local.INFO: IMEI packet received {"connection_id":65961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":65961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:09:58] local.INFO: TCP Data received {"connection_id":65961,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:09:58] local.INFO: Processing buffer {"connection_id":65961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:09:58] local.INFO: Packet analysis {"connection_id":65961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:09:58] local.INFO: Extracted packet for processing {"connection_id":65961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:09: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-05-08 18:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 18:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18:09:58] 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-05-08 18:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:09:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":65961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:09:58] local.INFO: GPS data processed {"connection_id":65961,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:09:58] local.INFO: Acknowledgment sent {"connection_id":65961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:10:31] local.INFO: TCP Data received {"connection_id":65961,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:10:31] local.INFO: Processing buffer {"connection_id":65961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:10:31] local.INFO: Packet analysis {"connection_id":65961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:10:31] local.INFO: Extracted packet for processing {"connection_id":65961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:10:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:10:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:10:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:10:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:10:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:10:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 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-05-08 18:10:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18:10:31] 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-05-08 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-05-08 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-05-08 18:10:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:10:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:10:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:10:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:10:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:10:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:10:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:10:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:10:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:10:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:10:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:10:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:10:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:10:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:10:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:10:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:10:31] local.INFO: DEBUG: GPS processor result {"connection_id":65961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:10:31] local.INFO: GPS data processed {"connection_id":65961,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:10:31] local.INFO: Acknowledgment sent {"connection_id":65961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:10:51] local.INFO: TCP Data received {"connection_id":65962,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:10:51] local.INFO: Processing buffer {"connection_id":65962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:10:51] local.INFO: IMEI packet received {"connection_id":65962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":65962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:11:00] local.INFO: TCP Data received {"connection_id":65962,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:11:00] local.INFO: Processing buffer {"connection_id":65962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:11:00] local.INFO: IMEI packet received {"connection_id":65962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":65962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:11:13] local.INFO: TCP Data received {"connection_id":65962,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:11:13] local.INFO: Processing buffer {"connection_id":65962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:11:13] local.INFO: Packet analysis {"connection_id":65962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:11:13] local.INFO: Extracted packet for processing {"connection_id":65962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:11:13] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 18:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 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-05-08 18:11: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-05-08 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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18:11:13] 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-05-08 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-05-08 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-05-08 18:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:11:13] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:11:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":65962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:11:13] local.INFO: GPS data processed {"connection_id":65962,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:11:13] local.INFO: Acknowledgment sent {"connection_id":65962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:12:02] local.INFO: TCP Data received {"connection_id":65194,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:02] local.INFO: Processing buffer {"connection_id":65194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:02] local.INFO: IMEI packet received {"connection_id":65194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":65194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:12:02] local.INFO: TCP Data received {"connection_id":65194,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:02] local.INFO: Processing buffer {"connection_id":65194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:02] local.INFO: IMEI packet received {"connection_id":65194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":65194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:12:03] local.INFO: TCP Data received {"connection_id":65194,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:12:03] local.INFO: Processing buffer {"connection_id":65194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:12:03] local.INFO: Packet analysis {"connection_id":65194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:12:03] local.INFO: Extracted packet for processing {"connection_id":65194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:12:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 18:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:12:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18:12:03] 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-05-08 18: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-05-08 18:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:12:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:12:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":65194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:12:03] local.INFO: GPS data processed {"connection_id":65194,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:12:03] local.INFO: Acknowledgment sent {"connection_id":65194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:12:09] local.INFO: TCP Data received {"connection_id":65194,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:12:09] local.INFO: Processing buffer {"connection_id":65194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:12:09] local.INFO: Packet analysis {"connection_id":65194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:12:09] local.INFO: Extracted packet for processing {"connection_id":65194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 18:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18: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-05-08 18:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18: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-05-08 18:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:12:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:12:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":65194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:12:09] local.INFO: GPS data processed {"connection_id":65194,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:12:09] local.INFO: Acknowledgment sent {"connection_id":65194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:12:56] local.INFO: TCP Data received {"connection_id":65195,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:56] local.INFO: Processing buffer {"connection_id":65195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:12:56] local.INFO: IMEI packet received {"connection_id":65195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":65195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:13:02] local.INFO: TCP Data received {"connection_id":65195,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:02] local.INFO: Processing buffer {"connection_id":65195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:02] local.INFO: IMEI packet received {"connection_id":65195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":65195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:13:04] local.INFO: TCP Data received {"connection_id":65195,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:04] local.INFO: Processing buffer {"connection_id":65195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:04] local.INFO: Packet analysis {"connection_id":65195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:13:04] local.INFO: Extracted packet for processing {"connection_id":65195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 18:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 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-05-08 18:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18:13:04] 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-05-08 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-05-08 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-05-08 18:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:13:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":65195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:13:04] local.INFO: GPS data processed {"connection_id":65195,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:13:04] local.INFO: Acknowledgment sent {"connection_id":65195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:13:36] local.INFO: TCP Data received {"connection_id":65195,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:36] local.INFO: Processing buffer {"connection_id":65195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:36] local.INFO: Packet analysis {"connection_id":65195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:13:36] local.INFO: Extracted packet for processing {"connection_id":65195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:13:36] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:13:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:13:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:13:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:13:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 18:13:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:13: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-05-08 18: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18:13:36] 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-05-08 18: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-05-08 18:13:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:13:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:13:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:13:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:13:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:13:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:13:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:13:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:13:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:13:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:13:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:13:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:13:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:13:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:13:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:13:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:13:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:13:36] local.INFO: DEBUG: GPS processor result {"connection_id":65195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:13:36] local.INFO: GPS data processed {"connection_id":65195,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:13:36] local.INFO: Acknowledgment sent {"connection_id":65195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:13:51] local.INFO: TCP Data received {"connection_id":65264,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:51] local.INFO: Processing buffer {"connection_id":65264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:51] local.INFO: IMEI packet received {"connection_id":65264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":65264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:13:57] local.INFO: TCP Data received {"connection_id":65264,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:57] local.INFO: Processing buffer {"connection_id":65264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:13:57] local.INFO: IMEI packet received {"connection_id":65264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":65264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:13:59] local.INFO: TCP Data received {"connection_id":65264,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:59] local.INFO: Processing buffer {"connection_id":65264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:13:59] local.INFO: Packet analysis {"connection_id":65264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:13:59] local.INFO: Extracted packet for processing {"connection_id":65264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:13: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-05-08 18:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 18:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18:13:59] 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-05-08 18:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:13:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":65264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:13:59] local.INFO: GPS data processed {"connection_id":65264,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:13:59] local.INFO: Acknowledgment sent {"connection_id":65264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:14:31] local.INFO: TCP Data received {"connection_id":65264,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:14:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:14:31] local.INFO: Processing buffer {"connection_id":65264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07993670012d34c54006aa4a980009000026..."} 
[2026-05-08 18:14:31] local.INFO: Packet analysis {"connection_id":65264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:14:31] local.INFO: Extracted packet for processing {"connection_id":65264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0799"} 
[2026-05-08 18:14:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":9,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:14:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230372096001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:14:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:14:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:14:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:14:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778243942000,"timestamp_ms":1778243942000,"timestamp_seconds":1778243942,"priority":1,"record_length":96,"hex_timestamp":"0000019e07993670"} 
[2026-05-08 18:14:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:14:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":97,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-05-08 18:14:31] 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-05-08 18: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-05-08 18:14:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:14:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:14:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:14:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:14:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:14:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:14:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:14:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:14:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230372096001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:14:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:14:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:14:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230372096001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:14:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:14:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:14:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:14:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:14:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230372096001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:14:31] local.INFO: DEBUG: GPS processor result {"connection_id":65264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:14:31] local.INFO: GPS data processed {"connection_id":65264,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:14:31] local.INFO: Acknowledgment sent {"connection_id":65264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:14:51] local.INFO: TCP Data received {"connection_id":65141,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:14:51] local.INFO: Processing buffer {"connection_id":65141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:14:51] local.INFO: IMEI packet received {"connection_id":65141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":65141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:14:56] local.INFO: TCP Data received {"connection_id":65196,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:14:56] local.INFO: Processing buffer {"connection_id":65196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:14:56] local.INFO: IMEI packet received {"connection_id":65196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":65196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:14:56] local.INFO: TCP Data received {"connection_id":65141,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:14:56] local.INFO: Processing buffer {"connection_id":65141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:14:56] local.INFO: IMEI packet received {"connection_id":65141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":65141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:14:58] local.INFO: TCP Data received {"connection_id":65141,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:14:58] local.INFO: Processing buffer {"connection_id":65141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:14:58] local.INFO: Packet analysis {"connection_id":65141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:14:58] local.INFO: Extracted packet for processing {"connection_id":65141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:14: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-05-08 18:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:14:58] 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-05-08 18: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-05-08 18:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:14:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:14:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":65141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:14:58] local.INFO: GPS data processed {"connection_id":65141,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:14:58] local.INFO: Acknowledgment sent {"connection_id":65141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:15:29] local.INFO: TCP Data received {"connection_id":65141,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:15:29] local.INFO: Processing buffer {"connection_id":65141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:15:29] local.INFO: Packet analysis {"connection_id":65141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:15:29] local.INFO: Extracted packet for processing {"connection_id":65141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:15:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:15:29] 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-05-08 18:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:15:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:15:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":65141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:15:29] local.INFO: GPS data processed {"connection_id":65141,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:15:29] local.INFO: Acknowledgment sent {"connection_id":65141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:16:00] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:00] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:00] local.INFO: IMEI packet received {"connection_id":65142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":65142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:16:01] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:02] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:02] local.INFO: IMEI packet received {"connection_id":65142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":65142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:16:03] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:03] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:03] local.INFO: Packet analysis {"connection_id":65142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:16:03] local.INFO: Extracted packet for processing {"connection_id":65142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:16:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:16:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:16:03] 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-05-08 18: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-05-08 18:16:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:16:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:16:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":65142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:16:03] local.INFO: GPS data processed {"connection_id":65142,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:16:03] local.INFO: Acknowledgment sent {"connection_id":65142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:16:08] local.INFO: TCP Data received {"connection_id":65142,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:08] local.INFO: Processing buffer {"connection_id":65142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:08] local.INFO: Packet analysis {"connection_id":65142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:16:08] local.INFO: Extracted packet for processing {"connection_id":65142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:16: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-05-08 18: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18: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-05-08 18:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:16:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:16:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":65142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:16:08] local.INFO: GPS data processed {"connection_id":65142,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:16:08] local.INFO: Acknowledgment sent {"connection_id":65142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:16:53] local.INFO: TCP Data received {"connection_id":65197,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:53] local.INFO: Processing buffer {"connection_id":65197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:53] local.INFO: IMEI packet received {"connection_id":65197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":65197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:16:56] local.INFO: TCP Data received {"connection_id":65197,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:56] local.INFO: Processing buffer {"connection_id":65197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:16:56] local.INFO: IMEI packet received {"connection_id":65197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":65197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:16:59] local.INFO: TCP Data received {"connection_id":65197,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:59] local.INFO: Processing buffer {"connection_id":65197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:16:59] local.INFO: Packet analysis {"connection_id":65197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:16:59] local.INFO: Extracted packet for processing {"connection_id":65197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:16:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:16: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-05-08 18:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:16:59] 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-05-08 18:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":65197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:16:59] local.INFO: GPS data processed {"connection_id":65197,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:16:59] local.INFO: Acknowledgment sent {"connection_id":65197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:17:31] local.INFO: TCP Data received {"connection_id":65197,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:17:31] local.INFO: Processing buffer {"connection_id":65197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:17:31] local.INFO: Packet analysis {"connection_id":65197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:17:31] local.INFO: Extracted packet for processing {"connection_id":65197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:17:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:17:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18: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-05-08 18:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:17:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:17:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:17:31] local.INFO: DEBUG: GPS processor result {"connection_id":65197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:17:31] local.INFO: GPS data processed {"connection_id":65197,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:17:31] local.INFO: Acknowledgment sent {"connection_id":65197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:17:51] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:17:51] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:17:51] local.INFO: IMEI packet received {"connection_id":65267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":65267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:17:57] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:17:57] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:17:57] local.INFO: IMEI packet received {"connection_id":65267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:17:58] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:17:58] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:17:58] local.INFO: Packet analysis {"connection_id":65267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:17:58] local.INFO: Extracted packet for processing {"connection_id":65267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:17: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-05-08 18:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:17:58] 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-05-08 18:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:17:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":65267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:17:58] local.INFO: GPS data processed {"connection_id":65267,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:17:58] local.INFO: Acknowledgment sent {"connection_id":65267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:18:30] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:18:30] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:18:30] local.INFO: Packet analysis {"connection_id":65267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:18:30] local.INFO: Extracted packet for processing {"connection_id":65267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:18:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:18: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-05-08 18:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:18:30] 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-05-08 18:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:18:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:18:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":65267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:18:30] local.INFO: GPS data processed {"connection_id":65267,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:18:30] local.INFO: Acknowledgment sent {"connection_id":65267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:18:51] local.INFO: TCP Data received {"connection_id":65268,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:18:51] local.INFO: Processing buffer {"connection_id":65268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:18:51] local.INFO: IMEI packet received {"connection_id":65268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":65268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:18:56] local.INFO: TCP Data received {"connection_id":65268,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:18:56] local.INFO: Processing buffer {"connection_id":65268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:18:56] local.INFO: IMEI packet received {"connection_id":65268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":65268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:18:58] local.INFO: TCP Data received {"connection_id":65268,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:18:58] local.INFO: Processing buffer {"connection_id":65268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:18:58] local.INFO: Packet analysis {"connection_id":65268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:18:58] local.INFO: Extracted packet for processing {"connection_id":65268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:18: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-05-08 18:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 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-05-08 18:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:18:58] 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-05-08 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-05-08 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-05-08 18:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:18:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":65268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:18:58] local.INFO: GPS data processed {"connection_id":65268,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:18:58] local.INFO: Acknowledgment sent {"connection_id":65268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:19:30] local.INFO: TCP Data received {"connection_id":65268,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:19:30] local.INFO: Processing buffer {"connection_id":65268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e079dce38012d34c54006aa4a98000d000024..."} 
[2026-05-08 18:19:30] local.INFO: Packet analysis {"connection_id":65268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:19:30] local.INFO: Extracted packet for processing {"connection_id":65268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e079d"} 
[2026-05-08 18:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":36,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230449152001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778244243000,"timestamp_ms":1778244243000,"timestamp_seconds":1778244243,"priority":1,"record_length":96,"hex_timestamp":"0000019e079dce38"} 
[2026-05-08 18:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18: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-05-08 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:19:30] 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-05-08 18: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-05-08 18:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230449152001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230449152001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:19:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230449152001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":65268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:19:30] local.INFO: GPS data processed {"connection_id":65268,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:19:30] local.INFO: Acknowledgment sent {"connection_id":65268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:19:57] local.INFO: TCP Data received {"connection_id":65269,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:19:57] local.INFO: Processing buffer {"connection_id":65269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:19:57] local.INFO: IMEI packet received {"connection_id":65269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":65269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:20:02] local.INFO: TCP Data received {"connection_id":65269,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:02] local.INFO: Processing buffer {"connection_id":65269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:02] local.INFO: IMEI packet received {"connection_id":65269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":65269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:20:03] local.INFO: TCP Data received {"connection_id":65269,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:03] local.INFO: Processing buffer {"connection_id":65269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:03] local.INFO: Packet analysis {"connection_id":65269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:20:03] local.INFO: Extracted packet for processing {"connection_id":65269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:20:03] 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-05-08 18: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-05-08 18:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:20:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:20:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":65269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:20:03] local.INFO: GPS data processed {"connection_id":65269,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:20:03] local.INFO: Acknowledgment sent {"connection_id":65269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:20:08] local.INFO: TCP Data received {"connection_id":65269,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:08] local.INFO: Processing buffer {"connection_id":65269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:08] local.INFO: Packet analysis {"connection_id":65269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:20:08] local.INFO: Extracted packet for processing {"connection_id":65269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:20: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-05-08 18: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18: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-05-08 18:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:20:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:20:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":65269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:20:08] local.INFO: GPS data processed {"connection_id":65269,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:20:08] local.INFO: Acknowledgment sent {"connection_id":65269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:20:21] local.INFO: TCP Data received {"connection_id":65143,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65143,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:20:21] local.INFO: Processing buffer {"connection_id":65143,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:20:21] local.INFO: IMEI packet received {"connection_id":65143,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":65143,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:20:41] local.INFO: TCP Data received {"connection_id":65198,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:20:41] local.INFO: Processing buffer {"connection_id":65198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:20:41] local.INFO: IMEI packet received {"connection_id":65198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:20:41] local.INFO: IMEI acknowledgment sent {"connection_id":65198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:20:51] local.INFO: TCP Data received {"connection_id":65270,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:51] local.INFO: Processing buffer {"connection_id":65270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:51] local.INFO: IMEI packet received {"connection_id":65270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":65270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:20:56] local.INFO: TCP Data received {"connection_id":65270,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:56] local.INFO: Processing buffer {"connection_id":65270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:20:56] local.INFO: IMEI packet received {"connection_id":65270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":65270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:20:58] local.INFO: TCP Data received {"connection_id":65270,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:58] local.INFO: Processing buffer {"connection_id":65270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:20:58] local.INFO: Packet analysis {"connection_id":65270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:20:58] local.INFO: Extracted packet for processing {"connection_id":65270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:20:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:20: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-05-08 18:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:20:58] 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-05-08 18:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:20:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":65270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:20:58] local.INFO: GPS data processed {"connection_id":65270,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:20:58] local.INFO: Acknowledgment sent {"connection_id":65270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:21:30] local.INFO: TCP Data received {"connection_id":65270,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:21:30] local.INFO: Processing buffer {"connection_id":65270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:21:30] local.INFO: Packet analysis {"connection_id":65270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:21:30] local.INFO: Extracted packet for processing {"connection_id":65270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:21:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:21: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-05-08 18:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:21:30] 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-05-08 18:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:21:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:21:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":65270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:21:30] local.INFO: GPS data processed {"connection_id":65270,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:21:30] local.INFO: Acknowledgment sent {"connection_id":65270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:21:51] local.INFO: TCP Data received {"connection_id":65271,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:21:51] local.INFO: Processing buffer {"connection_id":65271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:21:51] local.INFO: IMEI packet received {"connection_id":65271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":65271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:21:57] local.INFO: TCP Data received {"connection_id":65271,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65271,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:21:57] local.INFO: Processing buffer {"connection_id":65271,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:21:57] local.INFO: IMEI packet received {"connection_id":65271,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":65271,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:21:58] local.INFO: TCP Data received {"connection_id":65271,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:21:58] local.INFO: Processing buffer {"connection_id":65271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:21:58] local.INFO: Packet analysis {"connection_id":65271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:21:58] local.INFO: Extracted packet for processing {"connection_id":65271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:21: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-05-08 18:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:21:58] 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-05-08 18:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:21:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":65271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:21:58] local.INFO: GPS data processed {"connection_id":65271,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:21:58] local.INFO: Acknowledgment sent {"connection_id":65271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:22:29] local.INFO: TCP Data received {"connection_id":65271,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:22:29] local.INFO: Processing buffer {"connection_id":65271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:22:29] local.INFO: Packet analysis {"connection_id":65271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:22:29] local.INFO: Extracted packet for processing {"connection_id":65271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:22:29] 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-05-08 18:22:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65271,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:22:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":65271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:22:29] local.INFO: GPS data processed {"connection_id":65271,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:22:29] local.INFO: Acknowledgment sent {"connection_id":65271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:22:56] local.INFO: TCP Data received {"connection_id":65966,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:22:56] local.INFO: Processing buffer {"connection_id":65966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:22:56] local.INFO: IMEI packet received {"connection_id":65966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":65966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:23:02] local.INFO: TCP Data received {"connection_id":65966,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:02] local.INFO: Processing buffer {"connection_id":65966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:02] local.INFO: IMEI packet received {"connection_id":65966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":65966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:23:03] local.INFO: TCP Data received {"connection_id":65966,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:03] local.INFO: Processing buffer {"connection_id":65966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:03] local.INFO: Packet analysis {"connection_id":65966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:23:03] local.INFO: Extracted packet for processing {"connection_id":65966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:23:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:23:03] 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-05-08 18: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-05-08 18:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:23:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:23:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":65966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:23:03] local.INFO: GPS data processed {"connection_id":65966,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:23:03] local.INFO: Acknowledgment sent {"connection_id":65966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:23:07] local.INFO: TCP Data received {"connection_id":65966,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:07] local.INFO: Processing buffer {"connection_id":65966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:07] local.INFO: Packet analysis {"connection_id":65966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:23:07] local.INFO: Extracted packet for processing {"connection_id":65966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:23:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:23:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:23:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:23:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:23:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:23:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:23:07] 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-05-08 18: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-05-08 18:23:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:23:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:23:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:23:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:23:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:23:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:23:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:23:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:23:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:23:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:23:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:23:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:23:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:23:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:23:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:23:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:23:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:23:07] local.INFO: DEBUG: GPS processor result {"connection_id":65966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:23:07] local.INFO: GPS data processed {"connection_id":65966,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:23:07] local.INFO: Acknowledgment sent {"connection_id":65966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:23:52] local.INFO: TCP Data received {"connection_id":65272,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:52] local.INFO: Processing buffer {"connection_id":65272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:52] local.INFO: IMEI packet received {"connection_id":65272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":65272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:23:57] local.INFO: TCP Data received {"connection_id":65272,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:57] local.INFO: Processing buffer {"connection_id":65272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:23:57] local.INFO: IMEI packet received {"connection_id":65272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":65272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:23:58] local.INFO: TCP Data received {"connection_id":65272,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:58] local.INFO: Processing buffer {"connection_id":65272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:23:58] local.INFO: Packet analysis {"connection_id":65272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:23:58] local.INFO: Extracted packet for processing {"connection_id":65272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:23: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-05-08 18:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:23:58] 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-05-08 18:23:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:23:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":65272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:23:58] local.INFO: GPS data processed {"connection_id":65272,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:23:58] local.INFO: Acknowledgment sent {"connection_id":65272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:24:30] local.INFO: TCP Data received {"connection_id":65272,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:24:30] local.INFO: Processing buffer {"connection_id":65272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a26600012d34c54006aa4a98000d000027..."} 
[2026-05-08 18:24:30] local.INFO: Packet analysis {"connection_id":65272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:24:30] local.INFO: Extracted packet for processing {"connection_id":65272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a2"} 
[2026-05-08 18:24:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":13,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230526208001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:24:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778244544000,"timestamp_ms":1778244544000,"timestamp_seconds":1778244544,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a26600"} 
[2026-05-08 18:24:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:24: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-05-08 18:24:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:24:30] 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-05-08 18:24:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:24:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230526208001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230526208001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:24:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:24:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230526208001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":65272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:24:30] local.INFO: GPS data processed {"connection_id":65272,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:24:30] local.INFO: Acknowledgment sent {"connection_id":65272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:24:51] local.INFO: TCP Data received {"connection_id":65200,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:24:51] local.INFO: Processing buffer {"connection_id":65200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:24:51] local.INFO: IMEI packet received {"connection_id":65200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":65200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:24:57] local.INFO: TCP Data received {"connection_id":65200,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:24:57] local.INFO: Processing buffer {"connection_id":65200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:24:57] local.INFO: IMEI packet received {"connection_id":65200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":65200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:24:58] local.INFO: TCP Data received {"connection_id":65200,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:24:58] local.INFO: Processing buffer {"connection_id":65200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:24:58] local.INFO: Packet analysis {"connection_id":65200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:24:58] local.INFO: Extracted packet for processing {"connection_id":65200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:24:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:24: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-05-08 18:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:24:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:24:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":65200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:24:58] local.INFO: GPS data processed {"connection_id":65200,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:24:58] local.INFO: Acknowledgment sent {"connection_id":65200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:25:30] local.INFO: TCP Data received {"connection_id":65200,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:25:30] local.INFO: Processing buffer {"connection_id":65200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:25:30] local.INFO: Packet analysis {"connection_id":65200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:25:30] local.INFO: Extracted packet for processing {"connection_id":65200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:25:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":65200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:25:30] local.INFO: GPS data processed {"connection_id":65200,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:25:30] local.INFO: Acknowledgment sent {"connection_id":65200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:25:57] local.INFO: TCP Data received {"connection_id":65146,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:25:57] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:25:57] local.INFO: IMEI packet received {"connection_id":65146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":65146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:26:01] local.INFO: TCP Data received {"connection_id":65967,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:26:01] local.INFO: Processing buffer {"connection_id":65967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:26:01] local.INFO: IMEI packet received {"connection_id":65967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":65967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:26:02] local.INFO: TCP Data received {"connection_id":65146,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:02] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:02] local.INFO: IMEI packet received {"connection_id":65146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":65146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:26:03] local.INFO: TCP Data received {"connection_id":65146,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:03] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:03] local.INFO: Packet analysis {"connection_id":65146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:26:03] local.INFO: Extracted packet for processing {"connection_id":65146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:26:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:26:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:26:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":65146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:26:03] local.INFO: GPS data processed {"connection_id":65146,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:26:03] local.INFO: Acknowledgment sent {"connection_id":65146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:26:08] local.INFO: TCP Data received {"connection_id":65146,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:08] local.INFO: Processing buffer {"connection_id":65146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:08] local.INFO: Packet analysis {"connection_id":65146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:26:08] local.INFO: Extracted packet for processing {"connection_id":65146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 18:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 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-05-08 18:26: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-05-08 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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 18:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:26:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:26:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":65146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:26:08] local.INFO: GPS data processed {"connection_id":65146,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:26:08] local.INFO: Acknowledgment sent {"connection_id":65146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:26:38] local.INFO: TCP Data received {"connection_id":65201,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:26:38] local.INFO: Processing buffer {"connection_id":65201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:26:38] local.INFO: IMEI packet received {"connection_id":65201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":65201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:26:51] local.INFO: TCP Data received {"connection_id":65202,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:51] local.INFO: Processing buffer {"connection_id":65202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:51] local.INFO: IMEI packet received {"connection_id":65202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":65202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:26:57] local.INFO: TCP Data received {"connection_id":65202,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:57] local.INFO: Processing buffer {"connection_id":65202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:26:57] local.INFO: IMEI packet received {"connection_id":65202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":65202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:26:58] local.INFO: TCP Data received {"connection_id":65202,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:58] local.INFO: Processing buffer {"connection_id":65202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:26:58] local.INFO: Packet analysis {"connection_id":65202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:26:58] local.INFO: Extracted packet for processing {"connection_id":65202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:26: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-05-08 18:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:26:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":65202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:26:58] local.INFO: GPS data processed {"connection_id":65202,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:26:58] local.INFO: Acknowledgment sent {"connection_id":65202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:27:30] local.INFO: TCP Data received {"connection_id":65202,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:27:30] local.INFO: Processing buffer {"connection_id":65202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:27:30] local.INFO: Packet analysis {"connection_id":65202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:27:30] local.INFO: Extracted packet for processing {"connection_id":65202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:27:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:27:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:27:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:27:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:27:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:27:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:27:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:27: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-05-08 18:27:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:27:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:27:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:27:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:27:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:27:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:27:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:27:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:27:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:27:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:27:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:27:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:27:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:27:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:27:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:27:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:27:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:27:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:27:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:27:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:27:30] local.INFO: DEBUG: GPS processor result {"connection_id":65202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:27:30] local.INFO: GPS data processed {"connection_id":65202,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:27:30] local.INFO: Acknowledgment sent {"connection_id":65202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:27:51] local.INFO: TCP Data received {"connection_id":65969,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:27:51] local.INFO: Processing buffer {"connection_id":65969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:27:51] local.INFO: IMEI packet received {"connection_id":65969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":65969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:27:57] local.INFO: TCP Data received {"connection_id":65969,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:27:57] local.INFO: Processing buffer {"connection_id":65969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:27:57] local.INFO: IMEI packet received {"connection_id":65969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":65969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:27:59] local.INFO: TCP Data received {"connection_id":65969,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:27:59] local.INFO: Processing buffer {"connection_id":65969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:27:59] local.INFO: Packet analysis {"connection_id":65969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:27:59] local.INFO: Extracted packet for processing {"connection_id":65969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:27: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-05-08 18:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:27:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:27:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":65969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:27:59] local.INFO: GPS data processed {"connection_id":65969,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:27:59] local.INFO: Acknowledgment sent {"connection_id":65969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:28:31] local.INFO: TCP Data received {"connection_id":65969,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:28:31] local.INFO: Processing buffer {"connection_id":65969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:28:31] local.INFO: Packet analysis {"connection_id":65969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:28:31] local.INFO: Extracted packet for processing {"connection_id":65969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:28:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:28:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":65969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:28:31] local.INFO: GPS data processed {"connection_id":65969,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:28:31] local.INFO: Acknowledgment sent {"connection_id":65969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:28:51] local.INFO: TCP Data received {"connection_id":65275,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:28:51] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:28:51] local.INFO: IMEI packet received {"connection_id":65275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":65275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:28:56] local.INFO: TCP Data received {"connection_id":65275,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:28:56] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:28:56] local.INFO: IMEI packet received {"connection_id":65275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":65275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:28:58] local.INFO: TCP Data received {"connection_id":65275,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:28:58] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:28:58] local.INFO: Packet analysis {"connection_id":65275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:28:58] local.INFO: Extracted packet for processing {"connection_id":65275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:28: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-05-08 18:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:28:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":65275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:28:58] local.INFO: GPS data processed {"connection_id":65275,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:28:58] local.INFO: Acknowledgment sent {"connection_id":65275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:29:29] local.INFO: TCP Data received {"connection_id":65275,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:29:29] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07a6fdc8012d34c54006aa4a98000e000025..."} 
[2026-05-08 18:29:29] local.INFO: Packet analysis {"connection_id":65275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:29:29] local.INFO: Extracted packet for processing {"connection_id":65275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07a6"} 
[2026-05-08 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":14,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230603264001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778244845000,"timestamp_ms":1778244845000,"timestamp_seconds":1778244845,"priority":1,"record_length":96,"hex_timestamp":"0000019e07a6fdc8"} 
[2026-05-08 18:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:29:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230603264001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230603264001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:29:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:29:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230603264001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":65275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:29:29] local.INFO: GPS data processed {"connection_id":65275,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:29:29] local.INFO: Acknowledgment sent {"connection_id":65275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:29:51] local.INFO: TCP Data received {"connection_id":65276,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:29:51] local.INFO: Processing buffer {"connection_id":65276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:29:51] local.INFO: IMEI packet received {"connection_id":65276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":65276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:29:57] local.INFO: TCP Data received {"connection_id":65276,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:29:57] local.INFO: Processing buffer {"connection_id":65276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:29:57] local.INFO: IMEI packet received {"connection_id":65276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":65276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:29:58] local.INFO: TCP Data received {"connection_id":65276,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:29:58] local.INFO: Processing buffer {"connection_id":65276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:29:58] local.INFO: Packet analysis {"connection_id":65276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:29:58] local.INFO: Extracted packet for processing {"connection_id":65276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:29: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-05-08 18:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:29: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-05-08 18:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:29:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:29:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":65276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:29:58] local.INFO: GPS data processed {"connection_id":65276,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:29:58] local.INFO: Acknowledgment sent {"connection_id":65276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:30:30] local.INFO: TCP Data received {"connection_id":65276,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:30:30] local.INFO: Processing buffer {"connection_id":65276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:30:30] local.INFO: Packet analysis {"connection_id":65276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:30:30] local.INFO: Extracted packet for processing {"connection_id":65276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:30:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:30: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-05-08 18:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:30:30] 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-05-08 18:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:30:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:30:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":65276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:30:30] local.INFO: GPS data processed {"connection_id":65276,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:30:30] local.INFO: Acknowledgment sent {"connection_id":65276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:30:51] local.INFO: TCP Data received {"connection_id":65204,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:30:51] local.INFO: Processing buffer {"connection_id":65204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:30:51] local.INFO: IMEI packet received {"connection_id":65204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":65204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:30:57] local.INFO: TCP Data received {"connection_id":65204,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:30:57] local.INFO: Processing buffer {"connection_id":65204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:30:57] local.INFO: IMEI packet received {"connection_id":65204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":65204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:30:59] local.INFO: TCP Data received {"connection_id":65204,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:30:59] local.INFO: Processing buffer {"connection_id":65204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:30:59] local.INFO: Packet analysis {"connection_id":65204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:30:59] local.INFO: Extracted packet for processing {"connection_id":65204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:30:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:30: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-05-08 18:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:30:59] 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-05-08 18: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-05-08 18:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:30:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":65204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:30:59] local.INFO: GPS data processed {"connection_id":65204,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:30:59] local.INFO: Acknowledgment sent {"connection_id":65204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:31:31] local.INFO: TCP Data received {"connection_id":65204,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:31:31] local.INFO: Processing buffer {"connection_id":65204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:31:31] local.INFO: Packet analysis {"connection_id":65204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:31:31] local.INFO: Extracted packet for processing {"connection_id":65204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:31:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:31:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:31:31] 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-05-08 18:31:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:31:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:31:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":65204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:31:31] local.INFO: GPS data processed {"connection_id":65204,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:31:31] local.INFO: Acknowledgment sent {"connection_id":65204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:31:51] local.INFO: TCP Data received {"connection_id":65205,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:31:51] local.INFO: Processing buffer {"connection_id":65205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:31:51] local.INFO: IMEI packet received {"connection_id":65205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":65205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:31:57] local.INFO: TCP Data received {"connection_id":65205,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:31:57] local.INFO: Processing buffer {"connection_id":65205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:31:57] local.INFO: IMEI packet received {"connection_id":65205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":65205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:31:58] local.INFO: TCP Data received {"connection_id":65205,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:31:58] local.INFO: Processing buffer {"connection_id":65205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:31:58] local.INFO: Packet analysis {"connection_id":65205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:31:58] local.INFO: Extracted packet for processing {"connection_id":65205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:31:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:31: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-05-08 18:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:31: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-05-08 18:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:31:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:31:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":65205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:31:58] local.INFO: GPS data processed {"connection_id":65205,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:31:58] local.INFO: Acknowledgment sent {"connection_id":65205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:32:01] local.INFO: TCP Data received {"connection_id":65277,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65277,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:32:01] local.INFO: Processing buffer {"connection_id":65277,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:32:01] local.INFO: IMEI packet received {"connection_id":65277,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:32:01] local.INFO: IMEI acknowledgment sent {"connection_id":65277,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:32:29] local.INFO: TCP Data received {"connection_id":65205,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:32:29] local.INFO: Processing buffer {"connection_id":65205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:32:29] local.INFO: Packet analysis {"connection_id":65205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:32:29] local.INFO: Extracted packet for processing {"connection_id":65205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:32:29] 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-05-08 18: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-05-08 18:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:32:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:32:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":65205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:32:29] local.INFO: GPS data processed {"connection_id":65205,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:32:29] local.INFO: Acknowledgment sent {"connection_id":65205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:32:40] local.INFO: TCP Data received {"connection_id":65971,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:32:40] local.INFO: Processing buffer {"connection_id":65971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:32:40] local.INFO: IMEI packet received {"connection_id":65971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":65971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:32:51] local.INFO: TCP Data received {"connection_id":65278,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:32:51] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:32:51] local.INFO: IMEI packet received {"connection_id":65278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":65278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:32:58] local.INFO: TCP Data received {"connection_id":65278,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:32:58] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:32:58] local.INFO: IMEI packet received {"connection_id":65278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:32:58] local.INFO: IMEI acknowledgment sent {"connection_id":65278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:33:00] local.INFO: TCP Data received {"connection_id":65278,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:33:00] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:33:00] local.INFO: Packet analysis {"connection_id":65278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:33:00] local.INFO: Extracted packet for processing {"connection_id":65278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:33: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-05-08 18:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:33:00] 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-05-08 18: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-05-08 18:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:33:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":65278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:33:00] local.INFO: GPS data processed {"connection_id":65278,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:33:00] local.INFO: Acknowledgment sent {"connection_id":65278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:33:32] local.INFO: TCP Data received {"connection_id":65278,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:33:32] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:33:32] local.INFO: Packet analysis {"connection_id":65278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:33:32] local.INFO: Extracted packet for processing {"connection_id":65278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:33:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:33:32] 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-05-08 18:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:33:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":65278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:33:32] local.INFO: GPS data processed {"connection_id":65278,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:33:32] local.INFO: Acknowledgment sent {"connection_id":65278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:33:57] local.INFO: TCP Data received {"connection_id":65972,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:33:57] local.INFO: Processing buffer {"connection_id":65972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:33:57] local.INFO: IMEI packet received {"connection_id":65972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":65972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:34:01] local.INFO: TCP Data received {"connection_id":65972,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:01] local.INFO: Processing buffer {"connection_id":65972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:01] local.INFO: IMEI packet received {"connection_id":65972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":65972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:34:03] local.INFO: TCP Data received {"connection_id":65972,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:34:03] local.INFO: Processing buffer {"connection_id":65972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:34:03] local.INFO: Packet analysis {"connection_id":65972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:34:03] local.INFO: Extracted packet for processing {"connection_id":65972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:34: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-05-08 18: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-05-08 18:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:34:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:34:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":65972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:34:03] local.INFO: GPS data processed {"connection_id":65972,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:34:03] local.INFO: Acknowledgment sent {"connection_id":65972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:34:07] local.INFO: TCP Data received {"connection_id":65972,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:34:07] local.INFO: Processing buffer {"connection_id":65972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ab9590012d34c54006aa4a98000a000025..."} 
[2026-05-08 18:34:07] local.INFO: Packet analysis {"connection_id":65972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:34:07] local.INFO: Extracted packet for processing {"connection_id":65972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ab"} 
[2026-05-08 18:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":10,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230680320001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778245146000,"timestamp_ms":1778245146000,"timestamp_seconds":1778245146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ab9590"} 
[2026-05-08 18:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:34: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-05-08 18: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-05-08 18:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:34:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230680320001,"66":25158,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230680320001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:34:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:34:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230680320001,"power":25158,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":65972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:34:07] local.INFO: GPS data processed {"connection_id":65972,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:34:07] local.INFO: Acknowledgment sent {"connection_id":65972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:34:51] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:51] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:51] local.INFO: IMEI packet received {"connection_id":65147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":65147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:34:56] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:57] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:34:57] local.INFO: IMEI packet received {"connection_id":65147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":65147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:34:58] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:34:58] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:34:58] local.INFO: Packet analysis {"connection_id":65147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:34:58] local.INFO: Extracted packet for processing {"connection_id":65147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:34: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-05-08 18:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:34:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:34:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":65147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:34:58] local.INFO: GPS data processed {"connection_id":65147,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:34:58] local.INFO: Acknowledgment sent {"connection_id":65147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:35:30] local.INFO: TCP Data received {"connection_id":65147,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:35:30] local.INFO: Processing buffer {"connection_id":65147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:35:30] local.INFO: Packet analysis {"connection_id":65147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:35:30] local.INFO: Extracted packet for processing {"connection_id":65147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:35:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:35: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-05-08 18:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:35:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":65147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:35:30] local.INFO: GPS data processed {"connection_id":65147,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:35:30] local.INFO: Acknowledgment sent {"connection_id":65147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:35:51] local.INFO: TCP Data received {"connection_id":65973,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:35:51] local.INFO: Processing buffer {"connection_id":65973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:35:51] local.INFO: IMEI packet received {"connection_id":65973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":65973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:35:57] local.INFO: TCP Data received {"connection_id":65973,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:35:57] local.INFO: Processing buffer {"connection_id":65973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:35:57] local.INFO: IMEI packet received {"connection_id":65973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":65973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:35:58] local.INFO: TCP Data received {"connection_id":65973,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:35:58] local.INFO: Processing buffer {"connection_id":65973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:35:58] local.INFO: Packet analysis {"connection_id":65973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:35:58] local.INFO: Extracted packet for processing {"connection_id":65973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:35:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:35: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-05-08 18:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18: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-05-08 18:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:35:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:35:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":65973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:35:58] local.INFO: GPS data processed {"connection_id":65973,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:35:58] local.INFO: Acknowledgment sent {"connection_id":65973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:36:29] local.INFO: TCP Data received {"connection_id":65973,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:36:29] local.INFO: Processing buffer {"connection_id":65973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:36:29] local.INFO: Packet analysis {"connection_id":65973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:36:29] local.INFO: Extracted packet for processing {"connection_id":65973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18: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-05-08 18:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:36:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:36:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":65973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:36:29] local.INFO: GPS data processed {"connection_id":65973,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:36:29] local.INFO: Acknowledgment sent {"connection_id":65973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:36:51] local.INFO: TCP Data received {"connection_id":65282,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:36:51] local.INFO: Processing buffer {"connection_id":65282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:36:51] local.INFO: IMEI packet received {"connection_id":65282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":65282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:36:56] local.INFO: TCP Data received {"connection_id":65282,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:36:56] local.INFO: Processing buffer {"connection_id":65282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:36:56] local.INFO: IMEI packet received {"connection_id":65282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":65282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:36:58] local.INFO: TCP Data received {"connection_id":65282,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:36:58] local.INFO: Processing buffer {"connection_id":65282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:36:58] local.INFO: Packet analysis {"connection_id":65282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:36:58] local.INFO: Extracted packet for processing {"connection_id":65282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:36: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-05-08 18:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:36:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:36:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":65282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:36:58] local.INFO: GPS data processed {"connection_id":65282,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:36:58] local.INFO: Acknowledgment sent {"connection_id":65282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:37:29] local.INFO: TCP Data received {"connection_id":65282,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:37:29] local.INFO: Processing buffer {"connection_id":65282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:37:29] local.INFO: Packet analysis {"connection_id":65282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:37:29] local.INFO: Extracted packet for processing {"connection_id":65282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:37:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:37:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":65282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:37:29] local.INFO: GPS data processed {"connection_id":65282,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:37:29] local.INFO: Acknowledgment sent {"connection_id":65282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:38:00] local.INFO: TCP Data received {"connection_id":65283,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:00] local.INFO: Processing buffer {"connection_id":65283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:00] local.INFO: IMEI packet received {"connection_id":65283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":65283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:38:01] local.INFO: TCP Data received {"connection_id":65283,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65283,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:01] local.INFO: Processing buffer {"connection_id":65283,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:01] local.INFO: IMEI packet received {"connection_id":65283,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":65283,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:38:06] local.INFO: TCP Data received {"connection_id":65207,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:38:06] local.INFO: Processing buffer {"connection_id":65207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:38:06] local.INFO: IMEI packet received {"connection_id":65207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":65207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:38:09] local.INFO: TCP Data received {"connection_id":65283,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:09] local.INFO: Processing buffer {"connection_id":65283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:09] local.INFO: Packet analysis {"connection_id":65283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:38:09] local.INFO: Extracted packet for processing {"connection_id":65283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:38: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-05-08 18:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:38:09] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:38:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":65283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:38:09] local.INFO: GPS data processed {"connection_id":65283,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:38:09] local.INFO: Acknowledgment sent {"connection_id":65283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:38:10] local.INFO: TCP Data received {"connection_id":65283,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:10] local.INFO: Processing buffer {"connection_id":65283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:10] local.INFO: Packet analysis {"connection_id":65283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:38:10] local.INFO: Extracted packet for processing {"connection_id":65283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:38: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-05-08 18: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":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18: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-05-08 18:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65283,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:38:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:38:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":65283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:38:10] local.INFO: GPS data processed {"connection_id":65283,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:38:10] local.INFO: Acknowledgment sent {"connection_id":65283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:38:40] local.INFO: TCP Data received {"connection_id":65974,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65974,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:38:40] local.INFO: Processing buffer {"connection_id":65974,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:38:40] local.INFO: IMEI packet received {"connection_id":65974,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:38:40] local.INFO: IMEI acknowledgment sent {"connection_id":65974,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:38:51] local.INFO: TCP Data received {"connection_id":65975,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:51] local.INFO: Processing buffer {"connection_id":65975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:51] local.INFO: IMEI packet received {"connection_id":65975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":65975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:38:57] local.INFO: TCP Data received {"connection_id":65975,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:57] local.INFO: Processing buffer {"connection_id":65975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:38:57] local.INFO: IMEI packet received {"connection_id":65975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":65975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:38:58] local.INFO: TCP Data received {"connection_id":65975,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:58] local.INFO: Processing buffer {"connection_id":65975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:38:58] local.INFO: Packet analysis {"connection_id":65975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:38:58] local.INFO: Extracted packet for processing {"connection_id":65975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:38: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-05-08 18:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:38:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:38:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":65975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:38:58] local.INFO: GPS data processed {"connection_id":65975,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:38:58] local.INFO: Acknowledgment sent {"connection_id":65975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:39:29] local.INFO: TCP Data received {"connection_id":65975,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:39:29] local.INFO: Processing buffer {"connection_id":65975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b02d58012d34c54006aa4a980008000029..."} 
[2026-05-08 18:39:29] local.INFO: Packet analysis {"connection_id":65975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:39:29] local.INFO: Extracted packet for processing {"connection_id":65975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b0"} 
[2026-05-08 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":8,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230757376001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778245447000,"timestamp_ms":1778245447000,"timestamp_seconds":1778245447,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b02d58"} 
[2026-05-08 18:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-05-08 18:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1318,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230757376001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230757376001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:39:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:39:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230757376001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":65975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:39:29] local.INFO: GPS data processed {"connection_id":65975,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:39:29] local.INFO: Acknowledgment sent {"connection_id":65975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:39:52] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:39:52] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:39:52] local.INFO: IMEI packet received {"connection_id":65208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":65208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:39:57] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:39:57] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:39:57] local.INFO: IMEI packet received {"connection_id":65208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":65208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:39:58] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:39:58] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:39:58] local.INFO: Packet analysis {"connection_id":65208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:39:58] local.INFO: Extracted packet for processing {"connection_id":65208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:39:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:39:58] 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-05-08 18: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-05-08 18:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:39:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:39:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":65208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:39:58] local.INFO: GPS data processed {"connection_id":65208,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:39:58] local.INFO: Acknowledgment sent {"connection_id":65208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:40:29] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:40:29] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:40:29] local.INFO: Packet analysis {"connection_id":65208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:40:29] local.INFO: Extracted packet for processing {"connection_id":65208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:40:29] 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-05-08 18:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:40:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:40:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":65208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:40:29] local.INFO: GPS data processed {"connection_id":65208,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:40:29] local.INFO: Acknowledgment sent {"connection_id":65208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:40:51] local.INFO: TCP Data received {"connection_id":65150,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:40:51] local.INFO: Processing buffer {"connection_id":65150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:40:51] local.INFO: IMEI packet received {"connection_id":65150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":65150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:40:57] local.INFO: TCP Data received {"connection_id":65150,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:40:57] local.INFO: Processing buffer {"connection_id":65150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:40:57] local.INFO: IMEI packet received {"connection_id":65150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":65150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:40:58] local.INFO: TCP Data received {"connection_id":65150,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:40:58] local.INFO: Processing buffer {"connection_id":65150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:40:58] local.INFO: Packet analysis {"connection_id":65150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:40:58] local.INFO: Extracted packet for processing {"connection_id":65150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:40: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-05-08 18:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:40:58] 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-05-08 18:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:40:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:40:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":65150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:40:58] local.INFO: GPS data processed {"connection_id":65150,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:40:58] local.INFO: Acknowledgment sent {"connection_id":65150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:41:30] local.INFO: TCP Data received {"connection_id":65150,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:41:30] local.INFO: Processing buffer {"connection_id":65150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:41:30] local.INFO: Packet analysis {"connection_id":65150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:41:30] local.INFO: Extracted packet for processing {"connection_id":65150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:41:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:41: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-05-08 18:41:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:41:30] 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-05-08 18:41:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:41:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":65150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:41:30] local.INFO: GPS data processed {"connection_id":65150,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:41:30] local.INFO: Acknowledgment sent {"connection_id":65150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:41:51] local.INFO: TCP Data received {"connection_id":65976,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:41:51] local.INFO: Processing buffer {"connection_id":65976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:41:51] local.INFO: IMEI packet received {"connection_id":65976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":65976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:41:57] local.INFO: TCP Data received {"connection_id":65976,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:41:57] local.INFO: Processing buffer {"connection_id":65976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:41:57] local.INFO: IMEI packet received {"connection_id":65976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":65976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:41:58] local.INFO: TCP Data received {"connection_id":65976,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:41:58] local.INFO: Processing buffer {"connection_id":65976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:41:58] local.INFO: Packet analysis {"connection_id":65976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:41:58] local.INFO: Extracted packet for processing {"connection_id":65976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:41: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-05-08 18:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:41:58] 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-05-08 18: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-05-08 18:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:41:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:41:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":65976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:41:58] local.INFO: GPS data processed {"connection_id":65976,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:41:58] local.INFO: Acknowledgment sent {"connection_id":65976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:42:31] local.INFO: TCP Data received {"connection_id":65976,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:42:31] local.INFO: Processing buffer {"connection_id":65976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:42:31] local.INFO: Packet analysis {"connection_id":65976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:42:31] local.INFO: Extracted packet for processing {"connection_id":65976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:42:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:42:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":65976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:42:31] local.INFO: GPS data processed {"connection_id":65976,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:42:31] local.INFO: Acknowledgment sent {"connection_id":65976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:42:51] local.INFO: TCP Data received {"connection_id":65209,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:42:52] local.INFO: Processing buffer {"connection_id":65209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:42:52] local.INFO: IMEI packet received {"connection_id":65209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":65209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:42:57] local.INFO: TCP Data received {"connection_id":65209,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:42:57] local.INFO: Processing buffer {"connection_id":65209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:42:57] local.INFO: IMEI packet received {"connection_id":65209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":65209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:42:58] local.INFO: TCP Data received {"connection_id":65209,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:42:58] local.INFO: Processing buffer {"connection_id":65209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:42:58] local.INFO: Packet analysis {"connection_id":65209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:42:58] local.INFO: Extracted packet for processing {"connection_id":65209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:42: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-05-08 18:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:42:58] 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-05-08 18:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:42:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:42:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":65209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:42:58] local.INFO: GPS data processed {"connection_id":65209,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:42:58] local.INFO: Acknowledgment sent {"connection_id":65209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:43:30] local.INFO: TCP Data received {"connection_id":65209,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:43:30] local.INFO: Processing buffer {"connection_id":65209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:43:30] local.INFO: Packet analysis {"connection_id":65209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:43:30] local.INFO: Extracted packet for processing {"connection_id":65209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:43:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:43: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-05-08 18:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:43:30] 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-05-08 18:43:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:43:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:43:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:43:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":65209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:43:30] local.INFO: GPS data processed {"connection_id":65209,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:43:30] local.INFO: Acknowledgment sent {"connection_id":65209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:43:57] local.INFO: TCP Data received {"connection_id":65153,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:43:57] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:43:57] local.INFO: IMEI packet received {"connection_id":65153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":65153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:44:02] local.INFO: TCP Data received {"connection_id":65153,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:02] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:02] local.INFO: IMEI packet received {"connection_id":65153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":65153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:44:03] local.INFO: TCP Data received {"connection_id":65153,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:44:03] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:44:03] local.INFO: Packet analysis {"connection_id":65153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:44:03] local.INFO: Extracted packet for processing {"connection_id":65153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:44:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:44:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:44:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 18:44:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 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-05-08 18:44:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:44:03] 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-05-08 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-05-08 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-05-08 18:44:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:44:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:44:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:44:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:44:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:44:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:44:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:44:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:44:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:44:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:44:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:44:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:44:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:44:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:44:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:44:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:44:03] local.INFO: DEBUG: GPS processor result {"connection_id":65153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:44:03] local.INFO: GPS data processed {"connection_id":65153,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:44:03] local.INFO: Acknowledgment sent {"connection_id":65153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:44:06] local.INFO: TCP Data received {"connection_id":65152,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:44:06] local.INFO: Processing buffer {"connection_id":65152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:44:06] local.INFO: IMEI packet received {"connection_id":65152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":65152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:44:08] local.INFO: TCP Data received {"connection_id":65153,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:44:08] local.INFO: Processing buffer {"connection_id":65153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b4c520012d34c54006aa4a980007000027..."} 
[2026-05-08 18:44:08] local.INFO: Packet analysis {"connection_id":65153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:44:08] local.INFO: Extracted packet for processing {"connection_id":65153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b4"} 
[2026-05-08 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":7,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230834432001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778245748000,"timestamp_ms":1778245748000,"timestamp_seconds":1778245748,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b4c520"} 
[2026-05-08 18:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:44: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-05-08 18:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 18:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230834432001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230834432001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:44:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:44:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230834432001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":65153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:44:08] local.INFO: GPS data processed {"connection_id":65153,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:44:08] local.INFO: Acknowledgment sent {"connection_id":65153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:44:41] local.INFO: TCP Data received {"connection_id":65285,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:44:41] local.INFO: Processing buffer {"connection_id":65285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:44:41] local.INFO: IMEI packet received {"connection_id":65285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":65285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:44:51] local.INFO: TCP Data received {"connection_id":65286,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:51] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:51] local.INFO: IMEI packet received {"connection_id":65286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":65286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:44:59] local.INFO: TCP Data received {"connection_id":65286,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:59] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:44:59] local.INFO: IMEI packet received {"connection_id":65286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:44:59] local.INFO: IMEI acknowledgment sent {"connection_id":65286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:45:01] local.INFO: TCP Data received {"connection_id":65286,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:01] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:01] local.INFO: Packet analysis {"connection_id":65286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:45:01] local.INFO: Extracted packet for processing {"connection_id":65286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:45:01] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45: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-05-08 18:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:45:01] 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-05-08 18:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:45:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:45:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":65286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:45:01] local.INFO: GPS data processed {"connection_id":65286,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:45:01] local.INFO: Acknowledgment sent {"connection_id":65286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:45:32] local.INFO: TCP Data received {"connection_id":65286,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:32] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:32] local.INFO: Packet analysis {"connection_id":65286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:45:32] local.INFO: Extracted packet for processing {"connection_id":65286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:45:32] 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-05-08 18:45:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:45:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":65286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:45:32] local.INFO: GPS data processed {"connection_id":65286,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:45:32] local.INFO: Acknowledgment sent {"connection_id":65286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:45:51] local.INFO: TCP Data received {"connection_id":65287,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:45:51] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:45:51] local.INFO: IMEI packet received {"connection_id":65287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":65287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:45:57] local.INFO: TCP Data received {"connection_id":65287,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:45:57] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:45:57] local.INFO: IMEI packet received {"connection_id":65287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":65287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:45:58] local.INFO: TCP Data received {"connection_id":65287,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:58] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:45:58] local.INFO: Packet analysis {"connection_id":65287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:45:58] local.INFO: Extracted packet for processing {"connection_id":65287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:45:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:45: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-05-08 18:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:45:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:45: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-05-08 18: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-05-08 18:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:45:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:45:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":65287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:45:58] local.INFO: GPS data processed {"connection_id":65287,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:45:58] local.INFO: Acknowledgment sent {"connection_id":65287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:46:30] local.INFO: TCP Data received {"connection_id":65287,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:46:30] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:46:30] local.INFO: Packet analysis {"connection_id":65287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:46:30] local.INFO: Extracted packet for processing {"connection_id":65287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:46:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:46:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:46:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:46:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:46:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:46:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:46:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:46: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-05-08 18: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:46:30] 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-05-08 18: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-05-08 18:46:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:46:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:46:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:46:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:46:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:46:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:46:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:46:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:46:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:46:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:46:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:46:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:46:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:46:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:46:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:46:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:46:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:46:30] local.INFO: DEBUG: GPS processor result {"connection_id":65287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:46:30] local.INFO: GPS data processed {"connection_id":65287,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:46:30] local.INFO: Acknowledgment sent {"connection_id":65287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:46:57] local.INFO: TCP Data received {"connection_id":65977,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:46:57] local.INFO: Processing buffer {"connection_id":65977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:46:57] local.INFO: IMEI packet received {"connection_id":65977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":65977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:47:02] local.INFO: TCP Data received {"connection_id":65977,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:02] local.INFO: Processing buffer {"connection_id":65977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:02] local.INFO: IMEI packet received {"connection_id":65977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":65977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:47:03] local.INFO: TCP Data received {"connection_id":65977,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:03] local.INFO: Processing buffer {"connection_id":65977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:03] local.INFO: Packet analysis {"connection_id":65977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:47:03] local.INFO: Extracted packet for processing {"connection_id":65977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:47:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:47:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:47:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:47:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:47:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:47:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:47: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-05-08 18: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-05-08 18:47:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:47:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:47:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:47:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:47:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:47:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:47:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:47:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:47:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:47:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:47:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:47:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:47:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:47:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:47:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:47:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:47:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:47:03] local.INFO: DEBUG: GPS processor result {"connection_id":65977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:47:03] local.INFO: GPS data processed {"connection_id":65977,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:47:03] local.INFO: Acknowledgment sent {"connection_id":65977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:47:07] local.INFO: TCP Data received {"connection_id":65977,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:07] local.INFO: Processing buffer {"connection_id":65977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:07] local.INFO: Packet analysis {"connection_id":65977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:47:07] local.INFO: Extracted packet for processing {"connection_id":65977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:47:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:47: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-05-08 18: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-05-08 18:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:47:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:47:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":65977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:47:07] local.INFO: GPS data processed {"connection_id":65977,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:47:07] local.INFO: Acknowledgment sent {"connection_id":65977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:47:52] local.INFO: TCP Data received {"connection_id":65155,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:52] local.INFO: Processing buffer {"connection_id":65155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:52] local.INFO: IMEI packet received {"connection_id":65155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":65155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:47:57] local.INFO: TCP Data received {"connection_id":65155,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:57] local.INFO: Processing buffer {"connection_id":65155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:47:57] local.INFO: IMEI packet received {"connection_id":65155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":65155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:47:59] local.INFO: TCP Data received {"connection_id":65155,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:59] local.INFO: Processing buffer {"connection_id":65155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:47:59] local.INFO: Packet analysis {"connection_id":65155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:47:59] local.INFO: Extracted packet for processing {"connection_id":65155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:47:59] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:47: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-05-08 18:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:47:59] 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-05-08 18: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-05-08 18:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:47:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":65155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:47:59] local.INFO: GPS data processed {"connection_id":65155,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:47:59] local.INFO: Acknowledgment sent {"connection_id":65155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:48:31] local.INFO: TCP Data received {"connection_id":65155,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:48:31] local.INFO: Processing buffer {"connection_id":65155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:48:31] local.INFO: Packet analysis {"connection_id":65155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:48:31] local.INFO: Extracted packet for processing {"connection_id":65155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:48:31] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:48:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:48:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:48:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:48:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:48:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:48:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:48:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:48:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:48:31] 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-05-08 18: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-05-08 18:48:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:48:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:48:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:48:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:48:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:48:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:48:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:48:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:48:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:48:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:48:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:48:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:48:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:48:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:48:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:48:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:48:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:48:31] local.INFO: DEBUG: GPS processor result {"connection_id":65155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:48:31] local.INFO: GPS data processed {"connection_id":65155,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:48:31] local.INFO: Acknowledgment sent {"connection_id":65155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:48:51] local.INFO: TCP Data received {"connection_id":65211,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:48:51] local.INFO: Processing buffer {"connection_id":65211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:48:51] local.INFO: IMEI packet received {"connection_id":65211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":65211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:48:57] local.INFO: TCP Data received {"connection_id":65211,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:48:57] local.INFO: Processing buffer {"connection_id":65211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:48:57] local.INFO: IMEI packet received {"connection_id":65211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":65211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:48:58] local.INFO: TCP Data received {"connection_id":65211,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:48:58] local.INFO: Processing buffer {"connection_id":65211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:48:58] local.INFO: Packet analysis {"connection_id":65211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:48:58] local.INFO: Extracted packet for processing {"connection_id":65211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:48:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:48: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-05-08 18:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:48: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-05-08 18:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:48:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:48:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":65211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:48:58] local.INFO: GPS data processed {"connection_id":65211,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:48:58] local.INFO: Acknowledgment sent {"connection_id":65211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:49:29] local.INFO: TCP Data received {"connection_id":65211,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:49:29] local.INFO: Processing buffer {"connection_id":65211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07b95ce8012d34c54006aa4a98000b000029..."} 
[2026-05-08 18:49:29] local.INFO: Packet analysis {"connection_id":65211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:49:29] local.INFO: Extracted packet for processing {"connection_id":65211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07b9"} 
[2026-05-08 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230911488001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778246049000,"timestamp_ms":1778246049000,"timestamp_seconds":1778246049,"priority":1,"record_length":96,"hex_timestamp":"0000019e07b95ce8"} 
[2026-05-08 18:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 18:49:29] 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-05-08 18:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230911488001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230911488001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:49:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230911488001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":65211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:49:29] local.INFO: GPS data processed {"connection_id":65211,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:49:29] local.INFO: Acknowledgment sent {"connection_id":65211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:49:51] local.INFO: TCP Data received {"connection_id":65288,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:49:51] local.INFO: Processing buffer {"connection_id":65288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:49:51] local.INFO: IMEI packet received {"connection_id":65288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":65288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:49:57] local.INFO: TCP Data received {"connection_id":65288,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:49:57] local.INFO: Processing buffer {"connection_id":65288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:49:57] local.INFO: IMEI packet received {"connection_id":65288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":65288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:49:58] local.INFO: TCP Data received {"connection_id":65288,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:49:58] local.INFO: Processing buffer {"connection_id":65288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:49:58] local.INFO: Packet analysis {"connection_id":65288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:49:58] local.INFO: Extracted packet for processing {"connection_id":65288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:49: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-05-08 18:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:49:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:49:58] 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-05-08 18:49:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:49:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":65288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:49:58] local.INFO: GPS data processed {"connection_id":65288,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:49:58] local.INFO: Acknowledgment sent {"connection_id":65288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:50:01] local.INFO: TCP Data received {"connection_id":65980,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:50:01] local.INFO: Processing buffer {"connection_id":65980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:50:01] local.INFO: IMEI packet received {"connection_id":65980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":65980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:50:30] local.INFO: TCP Data received {"connection_id":65288,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:50:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:50:30] local.INFO: Processing buffer {"connection_id":65288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:50:30] local.INFO: Packet analysis {"connection_id":65288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:50:30] local.INFO: Extracted packet for processing {"connection_id":65288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:50:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:50:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:50:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:50:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:50:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:50:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:50:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:50: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-05-08 18:50:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:50:30] 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-05-08 18:50:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:50:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:50:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:50:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:50:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:50:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:50:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:50:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:50:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:50:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:50:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:50:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:50:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:50:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:50:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:50:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:50:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:50:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:50:30] local.INFO: DEBUG: GPS processor result {"connection_id":65288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:50:30] local.INFO: GPS data processed {"connection_id":65288,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:50:30] local.INFO: Acknowledgment sent {"connection_id":65288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:50:41] local.INFO: TCP Data received {"connection_id":65981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:50:41] local.INFO: Processing buffer {"connection_id":65981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:50:41] local.INFO: IMEI packet received {"connection_id":65981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:50:41] local.INFO: IMEI acknowledgment sent {"connection_id":65981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:50:57] local.INFO: TCP Data received {"connection_id":65982,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:50:57] local.INFO: Processing buffer {"connection_id":65982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:50:57] local.INFO: IMEI packet received {"connection_id":65982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":65982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:51:02] local.INFO: TCP Data received {"connection_id":65982,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:02] local.INFO: Processing buffer {"connection_id":65982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:02] local.INFO: IMEI packet received {"connection_id":65982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":65982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:51:03] local.INFO: TCP Data received {"connection_id":65982,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:03] local.INFO: Processing buffer {"connection_id":65982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:03] local.INFO: Packet analysis {"connection_id":65982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:51:03] local.INFO: Extracted packet for processing {"connection_id":65982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:51:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:51:03] 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-05-08 18: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-05-08 18:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:51:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:51:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":65982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:51:03] local.INFO: GPS data processed {"connection_id":65982,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:51:03] local.INFO: Acknowledgment sent {"connection_id":65982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:51:07] local.INFO: TCP Data received {"connection_id":65982,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:07] local.INFO: Processing buffer {"connection_id":65982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:07] local.INFO: Packet analysis {"connection_id":65982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:51:07] local.INFO: Extracted packet for processing {"connection_id":65982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:51:07] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:51: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-05-08 18:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:51:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:51:07] 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-05-08 18:51:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:51:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:51:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:51:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":65982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:51:07] local.INFO: GPS data processed {"connection_id":65982,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:51:07] local.INFO: Acknowledgment sent {"connection_id":65982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:51:52] local.INFO: TCP Data received {"connection_id":65212,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:52] local.INFO: Processing buffer {"connection_id":65212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:52] local.INFO: IMEI packet received {"connection_id":65212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":65212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:51:57] local.INFO: TCP Data received {"connection_id":65212,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:57] local.INFO: Processing buffer {"connection_id":65212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:51:57] local.INFO: IMEI packet received {"connection_id":65212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":65212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:51:58] local.INFO: TCP Data received {"connection_id":65212,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:58] local.INFO: Processing buffer {"connection_id":65212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:51:58] local.INFO: Packet analysis {"connection_id":65212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:51:58] local.INFO: Extracted packet for processing {"connection_id":65212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 18:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 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-05-08 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:51:58] 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-05-08 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-05-08 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-05-08 18:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:51:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":65212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:51:58] local.INFO: GPS data processed {"connection_id":65212,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:51:58] local.INFO: Acknowledgment sent {"connection_id":65212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:52:29] local.INFO: TCP Data received {"connection_id":65212,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:52:29] local.INFO: Processing buffer {"connection_id":65212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:52:29] local.INFO: Packet analysis {"connection_id":65212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:52:29] local.INFO: Extracted packet for processing {"connection_id":65212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:52:29] 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-05-08 18:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:52:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:52:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":65212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:52:29] local.INFO: GPS data processed {"connection_id":65212,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:52:29] local.INFO: Acknowledgment sent {"connection_id":65212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:52:51] local.INFO: TCP Data received {"connection_id":65289,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:52:51] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:52:51] local.INFO: IMEI packet received {"connection_id":65289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":65289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:52:57] local.INFO: TCP Data received {"connection_id":65289,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:52:57] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:52:57] local.INFO: IMEI packet received {"connection_id":65289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":65289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:52:58] local.INFO: TCP Data received {"connection_id":65289,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:52:58] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:52:58] local.INFO: Packet analysis {"connection_id":65289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:52:58] local.INFO: Extracted packet for processing {"connection_id":65289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:52: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-05-08 18:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:52:58] 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-05-08 18:52:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:52:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:52:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":65289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:52:58] local.INFO: GPS data processed {"connection_id":65289,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:52:58] local.INFO: Acknowledgment sent {"connection_id":65289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:53:30] local.INFO: TCP Data received {"connection_id":65289,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:53:30] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:53:30] local.INFO: Packet analysis {"connection_id":65289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:53:30] local.INFO: Extracted packet for processing {"connection_id":65289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:53:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:53: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-05-08 18:53:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:53:30] 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-05-08 18:53:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:53:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:53:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":65289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:53:30] local.INFO: GPS data processed {"connection_id":65289,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:53:30] local.INFO: Acknowledgment sent {"connection_id":65289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:53:51] local.INFO: TCP Data received {"connection_id":65291,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:53:51] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:53:51] local.INFO: IMEI packet received {"connection_id":65291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":65291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:53:57] local.INFO: TCP Data received {"connection_id":65291,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:53:57] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:53:57] local.INFO: IMEI packet received {"connection_id":65291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":65291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:53:58] local.INFO: TCP Data received {"connection_id":65291,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:53:58] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:53:58] local.INFO: Packet analysis {"connection_id":65291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:53:58] local.INFO: Extracted packet for processing {"connection_id":65291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:53:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:53: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-05-08 18:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:53:58] 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-05-08 18:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:53:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:53:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":65291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:53:58] local.INFO: GPS data processed {"connection_id":65291,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:53:58] local.INFO: Acknowledgment sent {"connection_id":65291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:54:29] local.INFO: TCP Data received {"connection_id":65291,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:54:29] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07bdf4b0012d34c54006aa4a98000b000028..."} 
[2026-05-08 18:54:29] local.INFO: Packet analysis {"connection_id":65291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:54:29] local.INFO: Extracted packet for processing {"connection_id":65291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07bd"} 
[2026-05-08 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":11,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455230988544001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778246350000,"timestamp_ms":1778246350000,"timestamp_seconds":1778246350,"priority":1,"record_length":96,"hex_timestamp":"0000019e07bdf4b0"} 
[2026-05-08 18:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:54:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 18:54:29] 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-05-08 18:54:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:54:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455230988544001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455230988544001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:54:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:54:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455230988544001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":65291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:54:29] local.INFO: GPS data processed {"connection_id":65291,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:54:29] local.INFO: Acknowledgment sent {"connection_id":65291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:54:51] local.INFO: TCP Data received {"connection_id":65985,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:54:51] local.INFO: Processing buffer {"connection_id":65985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:54:51] local.INFO: IMEI packet received {"connection_id":65985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":65985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:54:57] local.INFO: TCP Data received {"connection_id":65985,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:54:57] local.INFO: Processing buffer {"connection_id":65985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:54:57] local.INFO: IMEI packet received {"connection_id":65985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":65985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:54:58] local.INFO: TCP Data received {"connection_id":65985,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:54:58] local.INFO: Processing buffer {"connection_id":65985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:54:58] local.INFO: Packet analysis {"connection_id":65985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:54:58] local.INFO: Extracted packet for processing {"connection_id":65985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18: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-05-08 18:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:54: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-05-08 18: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-05-08 18:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:54:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:54:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":65985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:54:58] local.INFO: GPS data processed {"connection_id":65985,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:54:58] local.INFO: Acknowledgment sent {"connection_id":65985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:55:30] local.INFO: TCP Data received {"connection_id":65985,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:55:30] local.INFO: Processing buffer {"connection_id":65985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:55:30] local.INFO: Packet analysis {"connection_id":65985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:55:30] local.INFO: Extracted packet for processing {"connection_id":65985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:55:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:55:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:55: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-05-08 18: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:55:30] 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-05-08 18: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-05-08 18:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:55:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:55:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":65985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:55:30] local.INFO: GPS data processed {"connection_id":65985,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:55:30] local.INFO: Acknowledgment sent {"connection_id":65985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:55:52] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:55:52] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:55:52] local.INFO: IMEI packet received {"connection_id":65215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":65215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:55:57] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:55:57] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:55:57] local.INFO: IMEI packet received {"connection_id":65215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":65215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:55:58] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:55:58] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:55:58] local.INFO: Packet analysis {"connection_id":65215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:55:58] local.INFO: Extracted packet for processing {"connection_id":65215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:55: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-05-08 18:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:55:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:55: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-05-08 18:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:55:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:55:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":65215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:55:58] local.INFO: GPS data processed {"connection_id":65215,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:55:58] local.INFO: Acknowledgment sent {"connection_id":65215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:56:06] local.INFO: TCP Data received {"connection_id":65214,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:56:06] local.INFO: Processing buffer {"connection_id":65214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:56:06] local.INFO: IMEI packet received {"connection_id":65214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":65214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:56:30] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:56:30] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:56:30] local.INFO: Packet analysis {"connection_id":65215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:56:30] local.INFO: Extracted packet for processing {"connection_id":65215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:56:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:56: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-05-08 18: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:56:30] 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-05-08 18: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-05-08 18:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:56:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":65215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:56:30] local.INFO: GPS data processed {"connection_id":65215,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:56:30] local.INFO: Acknowledgment sent {"connection_id":65215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:56:40] local.INFO: TCP Data received {"connection_id":65156,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65156,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:56:40] local.INFO: Processing buffer {"connection_id":65156,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 18:56:40] local.INFO: IMEI packet received {"connection_id":65156,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 18:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":65156,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:56:51] local.INFO: TCP Data received {"connection_id":65216,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:56:51] local.INFO: Processing buffer {"connection_id":65216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:56:51] local.INFO: IMEI packet received {"connection_id":65216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":65216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:56:56] local.INFO: TCP Data received {"connection_id":65216,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:56:56] local.INFO: Processing buffer {"connection_id":65216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:56:56] local.INFO: IMEI packet received {"connection_id":65216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":65216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:56:58] local.INFO: TCP Data received {"connection_id":65216,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:56:58] local.INFO: Processing buffer {"connection_id":65216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:56:58] local.INFO: Packet analysis {"connection_id":65216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:56:58] local.INFO: Extracted packet for processing {"connection_id":65216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:56:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:56: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-05-08 18:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:56: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-05-08 18:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:56:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":65216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:56:58] local.INFO: GPS data processed {"connection_id":65216,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:56:58] local.INFO: Acknowledgment sent {"connection_id":65216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:57:30] local.INFO: TCP Data received {"connection_id":65216,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:57:30] local.INFO: Processing buffer {"connection_id":65216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:57:30] local.INFO: Packet analysis {"connection_id":65216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:57:30] local.INFO: Extracted packet for processing {"connection_id":65216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:57:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18: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-05-08 18:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:57: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-05-08 18: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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:57:30] 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-05-08 18: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-05-08 18:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:57:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:57:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:57:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":65216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:57:30] local.INFO: GPS data processed {"connection_id":65216,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:57:30] local.INFO: Acknowledgment sent {"connection_id":65216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:57:51] local.INFO: TCP Data received {"connection_id":65292,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:57:51] local.INFO: Processing buffer {"connection_id":65292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:57:51] local.INFO: IMEI packet received {"connection_id":65292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":65292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:57:57] local.INFO: TCP Data received {"connection_id":65292,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:57:57] local.INFO: Processing buffer {"connection_id":65292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:57:57] local.INFO: IMEI packet received {"connection_id":65292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":65292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:57:58] local.INFO: TCP Data received {"connection_id":65292,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:57:58] local.INFO: Processing buffer {"connection_id":65292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:57:58] local.INFO: Packet analysis {"connection_id":65292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:57:58] local.INFO: Extracted packet for processing {"connection_id":65292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:57: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-05-08 18:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:57: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-05-08 18:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:57:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:57:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":65292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:57:58] local.INFO: GPS data processed {"connection_id":65292,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:57:58] local.INFO: Acknowledgment sent {"connection_id":65292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:58:30] local.INFO: TCP Data received {"connection_id":65292,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:58:30] local.INFO: Processing buffer {"connection_id":65292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:58:30] local.INFO: Packet analysis {"connection_id":65292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:58:30] local.INFO: Extracted packet for processing {"connection_id":65292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:58:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:58: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-05-08 18:58:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:58:30] 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-05-08 18:58:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:58:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:58:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":65292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:58:30] local.INFO: GPS data processed {"connection_id":65292,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:58:30] local.INFO: Acknowledgment sent {"connection_id":65292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:58:51] local.INFO: TCP Data received {"connection_id":65988,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:58:51] local.INFO: Processing buffer {"connection_id":65988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:58:51] local.INFO: IMEI packet received {"connection_id":65988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":65988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 18:58:56] local.INFO: TCP Data received {"connection_id":65988,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:58:56] local.INFO: Processing buffer {"connection_id":65988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:58:56] local.INFO: IMEI packet received {"connection_id":65988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 18:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":65988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 18:58:57] local.INFO: TCP Data received {"connection_id":65988,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:58:57] local.INFO: Processing buffer {"connection_id":65988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:58:57] local.INFO: Packet analysis {"connection_id":65988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:58:57] local.INFO: Extracted packet for processing {"connection_id":65988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:58:57] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:58: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-05-08 18:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:58:57] 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-05-08 18:58:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:58:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:58:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":65988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:58:58] local.INFO: GPS data processed {"connection_id":65988,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:58:58] local.INFO: Acknowledgment sent {"connection_id":65988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:59:29] local.INFO: TCP Data received {"connection_id":65988,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:59:29] local.INFO: Processing buffer {"connection_id":65988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c28890012d34c54006aa4a980014000028..."} 
[2026-05-08 18:59:29] local.INFO: Packet analysis {"connection_id":65988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:59:29] local.INFO: Extracted packet for processing {"connection_id":65988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c2"} 
[2026-05-08 18:59:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":20,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 18:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 18:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231065600001,"note":"Value kept but may cause issues"} 
[2026-05-08 18:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 18:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 18:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 18:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778246650000,"timestamp_ms":1778246650000,"timestamp_seconds":1778246650,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c28890"} 
[2026-05-08 18:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 18:59:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 18:59:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 18:59:29] 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-05-08 18:59:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 18:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 18:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 18:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 18:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 18:59:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 18:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 18:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 18:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231065600001,"66":25201,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 18:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 18:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 18:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231065600001,"description":"Unknown IO ID 0"} 
[2026-05-08 18:59:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 18:59:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 18:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 18:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 18:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231065600001,"power":25201,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 18:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":65988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 18:59:29] local.INFO: GPS data processed {"connection_id":65988,"processed":1,"errors":0,"total":1} 
[2026-05-08 18:59:29] local.INFO: Acknowledgment sent {"connection_id":65988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 18:59:57] local.INFO: TCP Data received {"connection_id":65217,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:59:57] local.INFO: Processing buffer {"connection_id":65217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 18:59:57] local.INFO: IMEI packet received {"connection_id":65217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 18:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":65217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:00:02] local.INFO: TCP Data received {"connection_id":65217,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:02] local.INFO: Processing buffer {"connection_id":65217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:02] local.INFO: IMEI packet received {"connection_id":65217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":65217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:00:03] local.INFO: TCP Data received {"connection_id":65217,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:03] local.INFO: Processing buffer {"connection_id":65217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:03] local.INFO: Packet analysis {"connection_id":65217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:00:03] local.INFO: Extracted packet for processing {"connection_id":65217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:00:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19: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-05-08 19:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 19:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:00:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:00: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-05-08 19: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-05-08 19:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:00:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:00:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":65217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:00:03] local.INFO: GPS data processed {"connection_id":65217,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:00:03] local.INFO: Acknowledgment sent {"connection_id":65217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:00:08] local.INFO: TCP Data received {"connection_id":65217,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:08] local.INFO: Processing buffer {"connection_id":65217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:08] local.INFO: Packet analysis {"connection_id":65217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:00:08] local.INFO: Extracted packet for processing {"connection_id":65217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 19:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 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-05-08 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-05-08 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":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:00: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-05-08 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-05-08 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-05-08 19:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:00:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:00:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":65217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:00:08] local.INFO: GPS data processed {"connection_id":65217,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:00:08] local.INFO: Acknowledgment sent {"connection_id":65217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:00:51] local.INFO: TCP Data received {"connection_id":65159,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:51] local.INFO: Processing buffer {"connection_id":65159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:51] local.INFO: IMEI packet received {"connection_id":65159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":65159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:00:57] local.INFO: TCP Data received {"connection_id":65159,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:57] local.INFO: Processing buffer {"connection_id":65159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:00:57] local.INFO: IMEI packet received {"connection_id":65159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":65159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:00:58] local.INFO: TCP Data received {"connection_id":65159,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:58] local.INFO: Processing buffer {"connection_id":65159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:00:58] local.INFO: Packet analysis {"connection_id":65159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:00:58] local.INFO: Extracted packet for processing {"connection_id":65159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:00:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:00: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-05-08 19:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 19:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:00: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-05-08 19:00:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:00:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:00:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":65159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:00:58] local.INFO: GPS data processed {"connection_id":65159,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:00:58] local.INFO: Acknowledgment sent {"connection_id":65159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:01:29] local.INFO: TCP Data received {"connection_id":65159,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:01:29] local.INFO: Processing buffer {"connection_id":65159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:01:29] local.INFO: Packet analysis {"connection_id":65159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:01:29] local.INFO: Extracted packet for processing {"connection_id":65159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 19:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:01:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:01:29] 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-05-08 19:01:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:01:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:01:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:01:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":65159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:01:29] local.INFO: GPS data processed {"connection_id":65159,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:01:29] local.INFO: Acknowledgment sent {"connection_id":65159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:01:51] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:01:51] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:01:51] local.INFO: IMEI packet received {"connection_id":65218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":65218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:01:57] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:01:57] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:01:57] local.INFO: IMEI packet received {"connection_id":65218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":65218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:01:58] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:01:58] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:01:58] local.INFO: Packet analysis {"connection_id":65218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:01:58] local.INFO: Extracted packet for processing {"connection_id":65218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:01: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-05-08 19:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 19:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:01:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:01: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-05-08 19:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:01:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:01:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":65218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:01:58] local.INFO: GPS data processed {"connection_id":65218,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:01:58] local.INFO: Acknowledgment sent {"connection_id":65218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:02:05] local.INFO: TCP Data received {"connection_id":65989,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:02:05] local.INFO: Processing buffer {"connection_id":65989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:02:05] local.INFO: IMEI packet received {"connection_id":65989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":65989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:02:30] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:02:30] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:02:30] local.INFO: Packet analysis {"connection_id":65218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:02:30] local.INFO: Extracted packet for processing {"connection_id":65218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:02:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 19:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:02: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-05-08 19:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:02:30] 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-05-08 19:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:02:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":65218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:02:30] local.INFO: GPS data processed {"connection_id":65218,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:02:30] local.INFO: Acknowledgment sent {"connection_id":65218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:02:41] local.INFO: TCP Data received {"connection_id":65219,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:02:41] local.INFO: Processing buffer {"connection_id":65219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:02:41] local.INFO: IMEI packet received {"connection_id":65219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:02:41] local.INFO: IMEI acknowledgment sent {"connection_id":65219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:02:51] local.INFO: TCP Data received {"connection_id":65160,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:02:51] local.INFO: Processing buffer {"connection_id":65160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:02:51] local.INFO: IMEI packet received {"connection_id":65160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":65160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:02:57] local.INFO: TCP Data received {"connection_id":65160,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:02:57] local.INFO: Processing buffer {"connection_id":65160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:02:57] local.INFO: IMEI packet received {"connection_id":65160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":65160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:02:58] local.INFO: TCP Data received {"connection_id":65160,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:02:58] local.INFO: Processing buffer {"connection_id":65160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:02:58] local.INFO: Packet analysis {"connection_id":65160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:02:58] local.INFO: Extracted packet for processing {"connection_id":65160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:02: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-05-08 19:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 19:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:02: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-05-08 19:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:02:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:02:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":65160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:02:58] local.INFO: GPS data processed {"connection_id":65160,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:02:58] local.INFO: Acknowledgment sent {"connection_id":65160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:03:29] local.INFO: TCP Data received {"connection_id":65160,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:03:29] local.INFO: Processing buffer {"connection_id":65160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:03:29] local.INFO: Packet analysis {"connection_id":65160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:03:29] local.INFO: Extracted packet for processing {"connection_id":65160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 19:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:03:29] 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-05-08 19:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:03:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:03:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":65160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:03:29] local.INFO: GPS data processed {"connection_id":65160,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:03:29] local.INFO: Acknowledgment sent {"connection_id":65160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:03:57] local.INFO: TCP Data received {"connection_id":65295,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:03:57] local.INFO: Processing buffer {"connection_id":65295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:03:57] local.INFO: IMEI packet received {"connection_id":65295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":65295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:04:02] local.INFO: TCP Data received {"connection_id":65295,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:02] local.INFO: Processing buffer {"connection_id":65295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:02] local.INFO: IMEI packet received {"connection_id":65295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":65295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:04:03] local.INFO: TCP Data received {"connection_id":65295,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:04:03] local.INFO: Processing buffer {"connection_id":65295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:04:03] local.INFO: Packet analysis {"connection_id":65295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:04:03] local.INFO: Extracted packet for processing {"connection_id":65295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 19:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 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-05-08 19:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:04: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-05-08 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-05-08 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-05-08 19:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:04:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:04:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:04:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":65295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:04:03] local.INFO: GPS data processed {"connection_id":65295,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:04:03] local.INFO: Acknowledgment sent {"connection_id":65295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:04:08] local.INFO: TCP Data received {"connection_id":65295,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:04:08] local.INFO: Processing buffer {"connection_id":65295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07c72058012d34c54006aa4a98000f00002a..."} 
[2026-05-08 19:04:08] local.INFO: Packet analysis {"connection_id":65295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:04:08] local.INFO: Extracted packet for processing {"connection_id":65295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07c7"} 
[2026-05-08 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":15,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231142400001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19: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-05-08 19:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778246951000,"timestamp_ms":1778246951000,"timestamp_seconds":1778246951,"priority":1,"record_length":96,"hex_timestamp":"0000019e07c72058"} 
[2026-05-08 19:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:04: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-05-08 19: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":113,"data_length":795,"current_offset":136} 
[2026-05-08 19:04: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-05-08 19: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-05-08 19:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231142400001,"66":25180,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231142400001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:04:08] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:04:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231142400001,"power":25180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":65295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:04:08] local.INFO: GPS data processed {"connection_id":65295,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:04:08] local.INFO: Acknowledgment sent {"connection_id":65295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:04:50] local.INFO: TCP Data received {"connection_id":65990,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:50] local.INFO: Processing buffer {"connection_id":65990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:50] local.INFO: IMEI packet received {"connection_id":65990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":65990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:04:51] local.INFO: TCP Data received {"connection_id":65990,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:51] local.INFO: Processing buffer {"connection_id":65990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:51] local.INFO: IMEI packet received {"connection_id":65990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":65990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:04:57] local.INFO: TCP Data received {"connection_id":65990,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65990,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:57] local.INFO: Processing buffer {"connection_id":65990,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:04:57] local.INFO: IMEI packet received {"connection_id":65990,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":65990,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:04:58] local.INFO: TCP Data received {"connection_id":65990,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:04:58] local.INFO: Processing buffer {"connection_id":65990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:04:58] local.INFO: Packet analysis {"connection_id":65990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:04:58] local.INFO: Extracted packet for processing {"connection_id":65990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:04: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-05-08 19:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:04:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":65990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:04:58] local.INFO: GPS data processed {"connection_id":65990,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:04:58] local.INFO: Acknowledgment sent {"connection_id":65990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:05:29] local.INFO: TCP Data received {"connection_id":65990,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:05:29] local.INFO: Processing buffer {"connection_id":65990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:05:29] local.INFO: Packet analysis {"connection_id":65990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:05:29] local.INFO: Extracted packet for processing {"connection_id":65990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:05:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:05:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65990,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:05:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:05:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":65990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:05:29] local.INFO: GPS data processed {"connection_id":65990,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:05:29] local.INFO: Acknowledgment sent {"connection_id":65990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:05:51] local.INFO: TCP Data received {"connection_id":65161,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:05:51] local.INFO: Processing buffer {"connection_id":65161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:05:51] local.INFO: IMEI packet received {"connection_id":65161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":65161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:05:57] local.INFO: TCP Data received {"connection_id":65161,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:05:57] local.INFO: Processing buffer {"connection_id":65161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:05:57] local.INFO: IMEI packet received {"connection_id":65161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:05:58] local.INFO: TCP Data received {"connection_id":65161,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:05:58] local.INFO: Processing buffer {"connection_id":65161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:05:58] local.INFO: Packet analysis {"connection_id":65161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:05:58] local.INFO: Extracted packet for processing {"connection_id":65161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:05: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-05-08 19:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:05:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:05:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:05:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":65161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:05:58] local.INFO: GPS data processed {"connection_id":65161,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:05:58] local.INFO: Acknowledgment sent {"connection_id":65161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:06:30] local.INFO: TCP Data received {"connection_id":65161,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:06:30] local.INFO: Processing buffer {"connection_id":65161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:06:30] local.INFO: Packet analysis {"connection_id":65161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:06:30] local.INFO: Extracted packet for processing {"connection_id":65161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:06:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:06: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-05-08 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:06:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:06:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:06:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:06:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":65161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:06:30] local.INFO: GPS data processed {"connection_id":65161,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:06:30] local.INFO: Acknowledgment sent {"connection_id":65161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:06:51] local.INFO: TCP Data received {"connection_id":65298,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:06:51] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:06:51] local.INFO: IMEI packet received {"connection_id":65298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":65298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:06:57] local.INFO: TCP Data received {"connection_id":65298,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:06:57] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:06:57] local.INFO: IMEI packet received {"connection_id":65298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":65298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:06:58] local.INFO: TCP Data received {"connection_id":65298,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:06:58] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:06:58] local.INFO: Packet analysis {"connection_id":65298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:06:58] local.INFO: Extracted packet for processing {"connection_id":65298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:06: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-05-08 19:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 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-05-08 19:06:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:06:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:06:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":65298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:06:58] local.INFO: GPS data processed {"connection_id":65298,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:06:58] local.INFO: Acknowledgment sent {"connection_id":65298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:07:29] local.INFO: TCP Data received {"connection_id":65298,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:07:29] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:07:29] local.INFO: Packet analysis {"connection_id":65298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:07:29] local.INFO: Extracted packet for processing {"connection_id":65298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:07:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:07:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":65298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:07:29] local.INFO: GPS data processed {"connection_id":65298,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:07:29] local.INFO: Acknowledgment sent {"connection_id":65298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:07:51] local.INFO: TCP Data received {"connection_id":65162,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:07:51] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:07:51] local.INFO: IMEI packet received {"connection_id":65162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":65162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:07:57] local.INFO: TCP Data received {"connection_id":65162,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:07:57] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:07:57] local.INFO: IMEI packet received {"connection_id":65162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":65162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:07:58] local.INFO: TCP Data received {"connection_id":65162,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:07:58] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:07:58] local.INFO: Packet analysis {"connection_id":65162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:07:58] local.INFO: Extracted packet for processing {"connection_id":65162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:07:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:07: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-05-08 19:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:07:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:07:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":65162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:07:58] local.INFO: GPS data processed {"connection_id":65162,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:07:58] local.INFO: Acknowledgment sent {"connection_id":65162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:08:06] local.INFO: TCP Data received {"connection_id":65991,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65991,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:08:06] local.INFO: Processing buffer {"connection_id":65991,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:08:06] local.INFO: IMEI packet received {"connection_id":65991,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":65991,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:08:30] local.INFO: TCP Data received {"connection_id":65162,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:08:30] local.INFO: Processing buffer {"connection_id":65162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:08:30] local.INFO: Packet analysis {"connection_id":65162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:08:30] local.INFO: Extracted packet for processing {"connection_id":65162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:08:30] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:08: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-05-08 19: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:08:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":65162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:08:30] local.INFO: GPS data processed {"connection_id":65162,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:08:30] local.INFO: Acknowledgment sent {"connection_id":65162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:08:40] local.INFO: TCP Data received {"connection_id":65992,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:08:40] local.INFO: Processing buffer {"connection_id":65992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:08:40] local.INFO: IMEI packet received {"connection_id":65992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:08:40] local.INFO: IMEI acknowledgment sent {"connection_id":65992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:08:51] local.INFO: TCP Data received {"connection_id":65163,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:08:51] local.INFO: Processing buffer {"connection_id":65163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:08:51] local.INFO: IMEI packet received {"connection_id":65163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":65163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:08:57] local.INFO: TCP Data received {"connection_id":65163,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:08:57] local.INFO: Processing buffer {"connection_id":65163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:08:57] local.INFO: IMEI packet received {"connection_id":65163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":65163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:08:58] local.INFO: TCP Data received {"connection_id":65163,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:08:58] local.INFO: Processing buffer {"connection_id":65163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:08:58] local.INFO: Packet analysis {"connection_id":65163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:08:58] local.INFO: Extracted packet for processing {"connection_id":65163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:08: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-05-08 19:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:08:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:08:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":65163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:08:58] local.INFO: GPS data processed {"connection_id":65163,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:08:58] local.INFO: Acknowledgment sent {"connection_id":65163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:09:29] local.INFO: TCP Data received {"connection_id":65163,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:09:29] local.INFO: Processing buffer {"connection_id":65163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07cbb820012d34c54006aa4a98001300002a..."} 
[2026-05-08 19:09:29] local.INFO: Packet analysis {"connection_id":65163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:09:29] local.INFO: Extracted packet for processing {"connection_id":65163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07cb"} 
[2026-05-08 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":758433088,"raw_latitude":111823512,"longitude_deg":75.8433088,"latitude_deg":11.1823512,"altitude":19,"angle":0,"satellites":42,"speed":0,"hex_longitude":"2d34c540","hex_latitude":"06aa4a98","is_valid_coordinates":true} 
[2026-05-08 19:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231219456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778247252000,"timestamp_ms":1778247252000,"timestamp_seconds":1778247252,"priority":1,"record_length":96,"hex_timestamp":"0000019e07cbb820"} 
[2026-05-08 19:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231219456001,"66":23962,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231219456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:09:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:09:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231219456001,"power":23962,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":65163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:09:29] local.INFO: GPS data processed {"connection_id":65163,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:09:29] local.INFO: Acknowledgment sent {"connection_id":65163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:09:52] local.INFO: TCP Data received {"connection_id":65221,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:09:52] local.INFO: Processing buffer {"connection_id":65221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:09:52] local.INFO: IMEI packet received {"connection_id":65221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":65221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:09:57] local.INFO: TCP Data received {"connection_id":65221,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:09:57] local.INFO: Processing buffer {"connection_id":65221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:09:57] local.INFO: IMEI packet received {"connection_id":65221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":65221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:09:58] local.INFO: TCP Data received {"connection_id":65221,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:09:58] local.INFO: Processing buffer {"connection_id":65221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:09:58] local.INFO: Packet analysis {"connection_id":65221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:09:58] local.INFO: Extracted packet for processing {"connection_id":65221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:09:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:09: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-05-08 19:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:09:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":65221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:09:58] local.INFO: GPS data processed {"connection_id":65221,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:09:58] local.INFO: Acknowledgment sent {"connection_id":65221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:10:30] local.INFO: TCP Data received {"connection_id":65221,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:10:30] local.INFO: Processing buffer {"connection_id":65221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:10:30] local.INFO: Packet analysis {"connection_id":65221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:10:30] local.INFO: Extracted packet for processing {"connection_id":65221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:10:30] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:10: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-05-08 19: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":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:10:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":65221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:10:30] local.INFO: GPS data processed {"connection_id":65221,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:10:30] local.INFO: Acknowledgment sent {"connection_id":65221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:10:51] local.INFO: TCP Data received {"connection_id":65164,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:10:51] local.INFO: Processing buffer {"connection_id":65164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:10:51] local.INFO: IMEI packet received {"connection_id":65164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":65164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:10:57] local.INFO: TCP Data received {"connection_id":65164,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:10:57] local.INFO: Processing buffer {"connection_id":65164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:10:57] local.INFO: IMEI packet received {"connection_id":65164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":65164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:10:58] local.INFO: TCP Data received {"connection_id":65164,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:10:58] local.INFO: Processing buffer {"connection_id":65164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:10:58] local.INFO: Packet analysis {"connection_id":65164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:10:58] local.INFO: Extracted packet for processing {"connection_id":65164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:10:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:10: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-05-08 19:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19: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":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:10:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:10:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":65164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:10:58] local.INFO: GPS data processed {"connection_id":65164,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:10:58] local.INFO: Acknowledgment sent {"connection_id":65164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:11:29] local.INFO: TCP Data received {"connection_id":65164,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:11:29] local.INFO: Processing buffer {"connection_id":65164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:11:29] local.INFO: Packet analysis {"connection_id":65164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:11:29] local.INFO: Extracted packet for processing {"connection_id":65164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:11:29] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:11:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:11:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:11:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:11:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":65164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:11:29] local.INFO: GPS data processed {"connection_id":65164,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:11:29] local.INFO: Acknowledgment sent {"connection_id":65164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:11:51] local.INFO: TCP Data received {"connection_id":65300,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:11:51] local.INFO: Processing buffer {"connection_id":65300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:11:51] local.INFO: IMEI packet received {"connection_id":65300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":65300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:11:57] local.INFO: TCP Data received {"connection_id":65300,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:11:57] local.INFO: Processing buffer {"connection_id":65300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:11:57] local.INFO: IMEI packet received {"connection_id":65300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:11:58] local.INFO: TCP Data received {"connection_id":65300,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:11:58] local.INFO: Processing buffer {"connection_id":65300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:11:58] local.INFO: Packet analysis {"connection_id":65300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:11:58] local.INFO: Extracted packet for processing {"connection_id":65300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:11:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:11: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-05-08 19:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19: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":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:11:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":65300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:11:58] local.INFO: GPS data processed {"connection_id":65300,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:11:58] local.INFO: Acknowledgment sent {"connection_id":65300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:12:29] local.INFO: TCP Data received {"connection_id":65300,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:12:29] local.INFO: Processing buffer {"connection_id":65300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:12:29] local.INFO: Packet analysis {"connection_id":65300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:12:29] local.INFO: Extracted packet for processing {"connection_id":65300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19: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":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:12:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:12:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:12:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":65300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:12:29] local.INFO: GPS data processed {"connection_id":65300,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:12:29] local.INFO: Acknowledgment sent {"connection_id":65300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:12:57] local.INFO: TCP Data received {"connection_id":65994,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:12:57] local.INFO: Processing buffer {"connection_id":65994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:12:57] local.INFO: IMEI packet received {"connection_id":65994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":65994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:13:02] local.INFO: TCP Data received {"connection_id":65994,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:02] local.INFO: Processing buffer {"connection_id":65994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:02] local.INFO: IMEI packet received {"connection_id":65994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":65994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:13:03] local.INFO: TCP Data received {"connection_id":65994,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:03] local.INFO: Processing buffer {"connection_id":65994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:03] local.INFO: Packet analysis {"connection_id":65994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:13:03] local.INFO: Extracted packet for processing {"connection_id":65994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 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-05-08 19:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 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-05-08 19:13:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:13:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:13:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":65994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:13:03] local.INFO: GPS data processed {"connection_id":65994,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:13:03] local.INFO: Acknowledgment sent {"connection_id":65994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:13:07] local.INFO: TCP Data received {"connection_id":65994,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:07] local.INFO: Processing buffer {"connection_id":65994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:07] local.INFO: Packet analysis {"connection_id":65994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:13:07] local.INFO: Extracted packet for processing {"connection_id":65994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19: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-05-08 19:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19: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":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:13:07] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:13:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":65994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:13:07] local.INFO: GPS data processed {"connection_id":65994,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:13:07] local.INFO: Acknowledgment sent {"connection_id":65994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:13:52] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:52] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:52] local.INFO: IMEI packet received {"connection_id":65224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":65224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:13:57] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:57] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:13:57] local.INFO: IMEI packet received {"connection_id":65224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":65224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:13:58] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:58] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:13:58] local.INFO: Packet analysis {"connection_id":65224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:13:58] local.INFO: Extracted packet for processing {"connection_id":65224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:13: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-05-08 19:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:13:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":65224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:13:58] local.INFO: GPS data processed {"connection_id":65224,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:13:58] local.INFO: Acknowledgment sent {"connection_id":65224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:14:02] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:14:02] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:14:02] local.INFO: Packet analysis {"connection_id":65224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:14:02] local.INFO: Extracted packet for processing {"connection_id":65224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:14:02] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19: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-05-08 19:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19: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":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:14:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":65224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:14:02] local.INFO: GPS data processed {"connection_id":65224,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:14:02] local.INFO: Acknowledgment sent {"connection_id":65224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:14:11] local.INFO: TCP Data received {"connection_id":65301,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:14:11] local.INFO: Processing buffer {"connection_id":65301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:14:11] local.INFO: IMEI packet received {"connection_id":65301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":65301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:14:34] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:14:34] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d03490012d34c44006aa4c300017006226..."} 
[2026-05-08 19:14:34] local.INFO: Packet analysis {"connection_id":65224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:14:34] local.INFO: Extracted packet for processing {"connection_id":65224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d0"} 
[2026-05-08 19:14:34] local.INFO: GPS Element Parsed {"raw_longitude":758432832,"raw_latitude":111823920,"longitude_deg":75.8432832,"latitude_deg":11.182392,"altitude":23,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c440","hex_latitude":"06aa4c30","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231296512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802515857755248640,"note":"Value kept but may cause issues"} 
[2026-05-08 19: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-05-08 19:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778247546000,"timestamp_ms":1778247546000,"timestamp_seconds":1778247546,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d03490"} 
[2026-05-08 19:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19: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-05-08 19: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":93,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 19:14:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2049,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231296512001,"66":25212,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802515857755248640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231296512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:14:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802515857755248640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231296512001,"power":25212,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802515857755248640}} 
[2026-05-08 19:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":65224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:14:34] local.INFO: GPS data processed {"connection_id":65224,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:14:34] local.INFO: Acknowledgment sent {"connection_id":65224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:14:46] local.INFO: TCP Data received {"connection_id":65165,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:14:46] local.INFO: Processing buffer {"connection_id":65165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:14:46] local.INFO: IMEI packet received {"connection_id":65165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:14:46] local.INFO: IMEI acknowledgment sent {"connection_id":65165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:14:52] local.INFO: TCP Data received {"connection_id":65995,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:14:52] local.INFO: Processing buffer {"connection_id":65995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:14:52] local.INFO: IMEI packet received {"connection_id":65995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":65995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:14:56] local.INFO: TCP Data received {"connection_id":65995,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:14:56] local.INFO: Processing buffer {"connection_id":65995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:14:56] local.INFO: IMEI packet received {"connection_id":65995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":65995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:14:58] local.INFO: TCP Data received {"connection_id":65995,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d4cc58012d34c38006aa4c28001b006226..."} 
[2026-05-08 19:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d4cc58012d34c38006aa4c28001b006226..."} 
[2026-05-08 19:14:58] local.INFO: Processing buffer {"connection_id":65995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d4cc58012d34c38006aa4c28001b006226..."} 
[2026-05-08 19:14:58] local.INFO: Packet analysis {"connection_id":65995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d4"} 
[2026-05-08 19:14:58] local.INFO: Extracted packet for processing {"connection_id":65995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d4"} 
[2026-05-08 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111823912,"longitude_deg":75.843264,"latitude_deg":11.1823912,"altitude":27,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa4c28","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231371776001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802234382778642432,"note":"Value kept but may cause issues"} 
[2026-05-08 19:14: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-05-08 19:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247847000,"timestamp_ms":1778247847000,"timestamp_seconds":1778247847,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d4cc58"} 
[2026-05-08 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-05-08 19:14:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-05-08 19:14: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-05-08 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-05-08 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-05-08 19:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231371776001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802234382778642432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231371776001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:14:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:14:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802234382778642432,"description":"Unknown IO ID 45"} 
[2026-05-08 19:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231371776001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802234382778642432}} 
[2026-05-08 19:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":65995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:14:58] local.INFO: GPS data processed {"connection_id":65995,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:14:58] local.INFO: Acknowledgment sent {"connection_id":65995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:15:29] local.INFO: TCP Data received {"connection_id":65995,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d55128012d34c38006aa4c28001d006229..."} 
[2026-05-08 19:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d55128012d34c38006aa4c28001d006229..."} 
[2026-05-08 19:15:29] local.INFO: Processing buffer {"connection_id":65995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d55128012d34c38006aa4c28001d006229..."} 
[2026-05-08 19:15:29] local.INFO: Packet analysis {"connection_id":65995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d5"} 
[2026-05-08 19:15:29] local.INFO: Extracted packet for processing {"connection_id":65995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d5"} 
[2026-05-08 19:15:29] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111823912,"longitude_deg":75.843264,"latitude_deg":11.1823912,"altitude":29,"angle":98,"satellites":41,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa4c28","is_valid_coordinates":true} 
[2026-05-08 19:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231448832001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198149778112512,"note":"Value kept but may cause issues"} 
[2026-05-08 19:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276546107392,"note":"Value kept but may cause issues"} 
[2026-05-08 19:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778247881000,"timestamp_ms":1778247881000,"timestamp_seconds":1778247881,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d55128"} 
[2026-05-08 19:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:15:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 19:15:29] 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-05-08 19:15:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231448832001,"66":25191,"106":206,"28":21760,"24":0,"16":290198149778112512,"45":3802023276546107392},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231448832001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:15:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:15:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198149778112512,"km_value":290198149778112.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276546107392,"description":"Unknown IO ID 45"} 
[2026-05-08 19:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231448832001,"power":25191,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802023276546107392}} 
[2026-05-08 19:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":65995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:15:29] local.INFO: GPS data processed {"connection_id":65995,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:15:29] local.INFO: Acknowledgment sent {"connection_id":65995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:15:52] local.INFO: TCP Data received {"connection_id":65225,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:15:52] local.INFO: Processing buffer {"connection_id":65225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:15:52] local.INFO: IMEI packet received {"connection_id":65225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":65225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:15:57] local.INFO: TCP Data received {"connection_id":65225,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:15:57] local.INFO: Processing buffer {"connection_id":65225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:15:57] local.INFO: IMEI packet received {"connection_id":65225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":65225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:15:58] local.INFO: TCP Data received {"connection_id":65225,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d5ab00012d34c3c006aa4bb8001f006228..."} 
[2026-05-08 19:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d5ab00012d34c3c006aa4bb8001f006228..."} 
[2026-05-08 19:15:58] local.INFO: Processing buffer {"connection_id":65225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d5ab00012d34c3c006aa4bb8001f006228..."} 
[2026-05-08 19:15:58] local.INFO: Packet analysis {"connection_id":65225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d5"} 
[2026-05-08 19:15:58] local.INFO: Extracted packet for processing {"connection_id":65225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d5"} 
[2026-05-08 19:15:58] local.INFO: GPS Element Parsed {"raw_longitude":758432704,"raw_latitude":111823800,"longitude_deg":75.8432704,"latitude_deg":11.18238,"altitude":31,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c3c0","hex_latitude":"06aa4bb8","is_valid_coordinates":true} 
[2026-05-08 19:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231457536001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198162663014400,"note":"Value kept but may cause issues"} 
[2026-05-08 19:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276546107392,"note":"Value kept but may cause issues"} 
[2026-05-08 19:15: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-05-08 19:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247904000,"timestamp_ms":1778247904000,"timestamp_seconds":1778247904,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d5ab00"} 
[2026-05-08 19:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-05-08 19:15:58] 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-05-08 19:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231457536001,"66":24071,"106":206,"28":21760,"24":0,"16":290198162663014400,"45":3802023276546107392},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231457536001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:15:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198162663014400,"km_value":290198162663014.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276546107392,"description":"Unknown IO ID 45"} 
[2026-05-08 19:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231457536001,"power":24071,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802023276546107392}} 
[2026-05-08 19:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":65225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:15:58] local.INFO: GPS data processed {"connection_id":65225,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:15:58] local.INFO: Acknowledgment sent {"connection_id":65225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:16:30] local.INFO: TCP Data received {"connection_id":65225,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d5fd08012d34c38006aa4b60001e006228..."} 
[2026-05-08 19:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d5fd08012d34c38006aa4b60001e006228..."} 
[2026-05-08 19:16:30] local.INFO: Processing buffer {"connection_id":65225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d5fd08012d34c38006aa4b60001e006228..."} 
[2026-05-08 19:16:30] local.INFO: Packet analysis {"connection_id":65225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d5"} 
[2026-05-08 19:16:30] local.INFO: Extracted packet for processing {"connection_id":65225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d5"} 
[2026-05-08 19:16:30] local.INFO: GPS Element Parsed {"raw_longitude":758432640,"raw_latitude":111823712,"longitude_deg":75.843264,"latitude_deg":11.1823712,"altitude":30,"angle":98,"satellites":40,"speed":0,"hex_longitude":"2d34c380","hex_latitude":"06aa4b60","is_valid_coordinates":true} 
[2026-05-08 19:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231463424001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198171252948992,"note":"Value kept but may cause issues"} 
[2026-05-08 19:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802093645290256384,"note":"Value kept but may cause issues"} 
[2026-05-08 19:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778247925000,"timestamp_ms":1778247925000,"timestamp_seconds":1778247925,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d5fd08"} 
[2026-05-08 19:16:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:16:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:16:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-05-08 19:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:16:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:16:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231463424001,"66":24180,"106":206,"28":21760,"24":0,"16":290198171252948992,"45":3802093645290256384},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231463424001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:16:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198171252948992,"km_value":290198171252949.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802093645290256384,"description":"Unknown IO ID 45"} 
[2026-05-08 19:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231463424001,"power":24180,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802093645290256384}} 
[2026-05-08 19:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":65225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:16:30] local.INFO: GPS data processed {"connection_id":65225,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:16:30] local.INFO: Acknowledgment sent {"connection_id":65225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:16:52] local.INFO: TCP Data received {"connection_id":65166,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:16:52] local.INFO: Processing buffer {"connection_id":65166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:16:52] local.INFO: IMEI packet received {"connection_id":65166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":65166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:16:57] local.INFO: TCP Data received {"connection_id":65166,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:16:57] local.INFO: Processing buffer {"connection_id":65166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:16:57] local.INFO: IMEI packet received {"connection_id":65166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":65166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:16:58] local.INFO: TCP Data received {"connection_id":65166,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d64f10012d34c30006aa4b88001c006227..."} 
[2026-05-08 19:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d64f10012d34c30006aa4b88001c006227..."} 
[2026-05-08 19:16:58] local.INFO: Processing buffer {"connection_id":65166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d64f10012d34c30006aa4b88001c006227..."} 
[2026-05-08 19:16:58] local.INFO: Packet analysis {"connection_id":65166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d6"} 
[2026-05-08 19:16:58] local.INFO: Extracted packet for processing {"connection_id":65166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d6"} 
[2026-05-08 19:16:58] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111823752,"longitude_deg":75.8432512,"latitude_deg":11.1823752,"altitude":28,"angle":98,"satellites":39,"speed":0,"hex_longitude":"2d34c300","hex_latitude":"06aa4b88","is_valid_coordinates":true} 
[2026-05-08 19:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231468800001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198184137850880,"note":"Value kept but may cause issues"} 
[2026-05-08 19:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802023276546056192,"note":"Value kept but may cause issues"} 
[2026-05-08 19:16: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-05-08 19:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247946000,"timestamp_ms":1778247946000,"timestamp_seconds":1778247946,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d64f10"} 
[2026-05-08 19:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:16:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":94,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-05-08 19:16:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1712,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:16:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231468800001,"66":27691,"106":206,"28":21760,"24":0,"16":290198184137850880,"45":3802023276546056192},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231468800001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:16:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:16:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198184137850880,"km_value":290198184137850.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802023276546056192,"description":"Unknown IO ID 45"} 
[2026-05-08 19:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231468800001,"power":27691,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802023276546056192}} 
[2026-05-08 19:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":65166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:16:58] local.INFO: GPS data processed {"connection_id":65166,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:16:58] local.INFO: Acknowledgment sent {"connection_id":65166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:17:30] local.INFO: TCP Data received {"connection_id":65166,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d6a118012d34c40006aa4ba0001a006225..."} 
[2026-05-08 19:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d6a118012d34c40006aa4ba0001a006225..."} 
[2026-05-08 19:17:30] local.INFO: Processing buffer {"connection_id":65166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d6a118012d34c40006aa4ba0001a006225..."} 
[2026-05-08 19:17:30] local.INFO: Packet analysis {"connection_id":65166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d6"} 
[2026-05-08 19:17:30] local.INFO: Extracted packet for processing {"connection_id":65166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d6"} 
[2026-05-08 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111823776,"longitude_deg":75.8432768,"latitude_deg":11.1823776,"altitude":26,"angle":98,"satellites":37,"speed":0,"hex_longitude":"2d34c400","hex_latitude":"06aa4ba0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231474176001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198197022752768,"note":"Value kept but may cause issues"} 
[2026-05-08 19:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801882539057711104,"note":"Value kept but may cause issues"} 
[2026-05-08 19:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778247967000,"timestamp_ms":1778247967000,"timestamp_seconds":1778247967,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d6a118"} 
[2026-05-08 19:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:17:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:17:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-05-08 19:17:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231474176001,"66":27300,"106":206,"28":21760,"24":0,"16":290198197022752768,"45":3801882539057711104},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231474176001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:17:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198197022752768,"km_value":290198197022752.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801882539057711104,"description":"Unknown IO ID 45"} 
[2026-05-08 19:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231474176001,"power":27300,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3801882539057711104}} 
[2026-05-08 19:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":65166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:17:30] local.INFO: GPS data processed {"connection_id":65166,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:17:30] local.INFO: Acknowledgment sent {"connection_id":65166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:17:52] local.INFO: TCP Data received {"connection_id":65304,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:17:52] local.INFO: Processing buffer {"connection_id":65304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:17:52] local.INFO: IMEI packet received {"connection_id":65304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":65304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:17:57] local.INFO: TCP Data received {"connection_id":65304,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:17:57] local.INFO: Processing buffer {"connection_id":65304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:17:57] local.INFO: IMEI packet received {"connection_id":65304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:17:58] local.INFO: TCP Data received {"connection_id":65304,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d6f320012d34c48006aa4b900018006226..."} 
[2026-05-08 19:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d6f320012d34c48006aa4b900018006226..."} 
[2026-05-08 19:17:58] local.INFO: Processing buffer {"connection_id":65304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d6f320012d34c48006aa4b900018006226..."} 
[2026-05-08 19:17:58] local.INFO: Packet analysis {"connection_id":65304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d6"} 
[2026-05-08 19:17:58] local.INFO: Extracted packet for processing {"connection_id":65304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d6"} 
[2026-05-08 19:17:58] local.INFO: GPS Element Parsed {"raw_longitude":758432896,"raw_latitude":111823760,"longitude_deg":75.8432896,"latitude_deg":11.182376,"altitude":24,"angle":98,"satellites":38,"speed":0,"hex_longitude":"2d34c480","hex_latitude":"06aa4b90","is_valid_coordinates":true} 
[2026-05-08 19:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231479552001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198205612687360,"note":"Value kept but may cause issues"} 
[2026-05-08 19:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034427904,"note":"Value kept but may cause issues"} 
[2026-05-08 19:17: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-05-08 19:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778247988000,"timestamp_ms":1778247988000,"timestamp_seconds":1778247988,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d6f320"} 
[2026-05-08 19:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 19:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231479552001,"66":27213,"106":206,"28":21760,"24":0,"16":290198205612687360,"45":3802164014034427904},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231479552001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:17:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198205612687360,"km_value":290198205612687.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034427904,"description":"Unknown IO ID 45"} 
[2026-05-08 19:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231479552001,"power":27213,"unknown_106":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3802164014034427904}} 
[2026-05-08 19:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":65304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:17:58] local.INFO: GPS data processed {"connection_id":65304,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:17:58] local.INFO: Acknowledgment sent {"connection_id":65304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:18:31] local.INFO: TCP Data received {"connection_id":65304,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d725e8012d34c40006aa4ba00015012028..."} 
[2026-05-08 19:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d725e8012d34c40006aa4ba00015012028..."} 
[2026-05-08 19:18:31] local.INFO: Processing buffer {"connection_id":65304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d725e8012d34c40006aa4ba00015012028..."} 
[2026-05-08 19:18:31] local.INFO: Packet analysis {"connection_id":65304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d7"} 
[2026-05-08 19:18:31] local.INFO: Extracted packet for processing {"connection_id":65304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d7"} 
[2026-05-08 19:18:31] local.INFO: GPS Element Parsed {"raw_longitude":758432768,"raw_latitude":111823776,"longitude_deg":75.8432768,"latitude_deg":11.1823776,"altitude":21,"angle":288,"satellites":40,"speed":4,"hex_longitude":"2d34c400","hex_latitude":"06aa4ba0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231484928001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198222792556544,"note":"Value kept but may cause issues"} 
[2026-05-08 19:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802304751522779136,"note":"Value kept but may cause issues"} 
[2026-05-08 19:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778248001000,"timestamp_ms":1778248001000,"timestamp_seconds":1778248001,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d725e8"} 
[2026-05-08 19:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:18: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-05-08 19: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 19:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231484928001,"66":27245,"106":206,"28":21760,"24":4,"16":290198222792556544,"45":3802304751522779136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231484928001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:18:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198222792556544,"km_value":290198222792556.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802304751522779136,"description":"Unknown IO ID 45"} 
[2026-05-08 19:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231484928001,"power":27245,"unknown_106":206,"unknown_28":21760,"ignition":4,"odometer":null,"unknown_45":3802304751522779136}} 
[2026-05-08 19:18:31] local.INFO: DEBUG: GPS processor result {"connection_id":65304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:18:31] local.INFO: GPS data processed {"connection_id":65304,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:18:31] local.INFO: Acknowledgment sent {"connection_id":65304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:18:51] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:51] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:51] local.INFO: IMEI packet received {"connection_id":65168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":65168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:18:52] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:52] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:52] local.INFO: IMEI packet received {"connection_id":65168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":65168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:18:56] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:56] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:18:56] local.INFO: IMEI packet received {"connection_id":65168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":65168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:18:58] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d731a0012d34c30006aa4c380013013829..."} 
[2026-05-08 19:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d731a0012d34c30006aa4c380013013829..."} 
[2026-05-08 19:18:58] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d731a0012d34c30006aa4c380013013829..."} 
[2026-05-08 19:18:58] local.INFO: Packet analysis {"connection_id":65168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d7"} 
[2026-05-08 19:18:58] local.INFO: Extracted packet for processing {"connection_id":65168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d7"} 
[2026-05-08 19:18:58] local.INFO: GPS Element Parsed {"raw_longitude":758432512,"raw_latitude":111823928,"longitude_deg":75.8432512,"latitude_deg":11.1823928,"altitude":19,"angle":312,"satellites":41,"speed":6,"hex_longitude":"2d34c300","hex_latitude":"06aa4c38","is_valid_coordinates":true} 
[2026-05-08 19:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231488256001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198235677458432,"note":"Value kept but may cause issues"} 
[2026-05-08 19:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802164014034427904,"note":"Value kept but may cause issues"} 
[2026-05-08 19:18: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-05-08 19:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778248004000,"timestamp_ms":1778248004000,"timestamp_seconds":1778248004,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d731a0"} 
[2026-05-08 19:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 19:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231488256001,"66":27267,"106":206,"28":21760,"24":6,"16":290198235677458432,"45":3802164014034427904},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231488256001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:18:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198235677458432,"km_value":290198235677458.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802164014034427904,"description":"Unknown IO ID 45"} 
[2026-05-08 19:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231488256001,"power":27267,"unknown_106":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3802164014034427904}} 
[2026-05-08 19:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":65168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:18:58] local.INFO: GPS data processed {"connection_id":65168,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:18:58] local.INFO: Acknowledgment sent {"connection_id":65168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:19:30] local.INFO: TCP Data received {"connection_id":65168,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d90a48012d34c6c006aa5610000d00322c..."} 
[2026-05-08 19:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d90a48012d34c6c006aa5610000d00322c..."} 
[2026-05-08 19:19:30] local.INFO: Processing buffer {"connection_id":65168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d90a48012d34c6c006aa5610000d00322c..."} 
[2026-05-08 19:19:30] local.INFO: Packet analysis {"connection_id":65168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d9"} 
[2026-05-08 19:19:30] local.INFO: Extracted packet for processing {"connection_id":65168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d9"} 
[2026-05-08 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":758433472,"raw_latitude":111826448,"longitude_deg":75.8433472,"latitude_deg":11.1826448,"altitude":13,"angle":50,"satellites":44,"speed":11,"hex_longitude":"2d34c6c0","hex_latitude":"06aa5610","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231519744001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198407476150272,"note":"Value kept but may cause issues"} 
[2026-05-08 19:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802726963988490240,"note":"Value kept but may cause issues"} 
[2026-05-08 19:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778248125000,"timestamp_ms":1778248125000,"timestamp_seconds":1778248125,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d90a48"} 
[2026-05-08 19:19:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:19:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 19:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:19:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:19:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231519744001,"66":27397,"106":206,"28":21760,"24":11,"16":290198407476150272,"45":3802726963988490240},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231519744001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:19:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:19:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198407476150272,"km_value":290198407476150.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802726963988490240,"description":"Unknown IO ID 45"} 
[2026-05-08 19:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231519744001,"power":27397,"unknown_106":206,"unknown_28":21760,"ignition":11,"odometer":null,"unknown_45":3802726963988490240}} 
[2026-05-08 19:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":65168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:19:30] local.INFO: GPS data processed {"connection_id":65168,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:19:30] local.INFO: Acknowledgment sent {"connection_id":65168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:19:51] local.INFO: TCP Data received {"connection_id":65997,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:19:51] local.INFO: Processing buffer {"connection_id":65997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:19:51] local.INFO: IMEI packet received {"connection_id":65997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":65997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:19:57] local.INFO: TCP Data received {"connection_id":65997,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:19:57] local.INFO: Processing buffer {"connection_id":65997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:19:57] local.INFO: IMEI packet received {"connection_id":65997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":65997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:19:58] local.INFO: TCP Data received {"connection_id":65997,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d90e30012d34c78006aa5698000d00402c..."} 
[2026-05-08 19:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d90e30012d34c78006aa5698000d00402c..."} 
[2026-05-08 19:19:58] local.INFO: Processing buffer {"connection_id":65997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d90e30012d34c78006aa5698000d00402c..."} 
[2026-05-08 19:19:58] local.INFO: Packet analysis {"connection_id":65997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d9"} 
[2026-05-08 19:19:58] local.INFO: Extracted packet for processing {"connection_id":65997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d9"} 
[2026-05-08 19:19:58] local.INFO: GPS Element Parsed {"raw_longitude":758433664,"raw_latitude":111826584,"longitude_deg":75.8433664,"latitude_deg":11.1826584,"altitude":13,"angle":64,"satellites":44,"speed":12,"hex_longitude":"2d34c780","hex_latitude":"06aa5698","is_valid_coordinates":true} 
[2026-05-08 19:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231520000001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198420361052160,"note":"Value kept but may cause issues"} 
[2026-05-08 19:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3802938070221066240,"note":"Value kept but may cause issues"} 
[2026-05-08 19:19: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-05-08 19:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778248126000,"timestamp_ms":1778248126000,"timestamp_seconds":1778248126,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d90e30"} 
[2026-05-08 19:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 19:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:19:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231520000001,"66":26245,"106":206,"28":21760,"24":12,"16":290198420361052160,"45":3802938070221066240},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231520000001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:19:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198420361052160,"km_value":290198420361052.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3802938070221066240,"description":"Unknown IO ID 45"} 
[2026-05-08 19:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231520000001,"power":26245,"unknown_106":206,"unknown_28":21760,"ignition":12,"odometer":null,"unknown_45":3802938070221066240}} 
[2026-05-08 19:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":65997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:19:58] local.INFO: GPS data processed {"connection_id":65997,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:19:58] local.INFO: Acknowledgment sent {"connection_id":65997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:20:16] local.INFO: TCP Data received {"connection_id":65996,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65996,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:20:16] local.INFO: Processing buffer {"connection_id":65996,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:20:16] local.INFO: IMEI packet received {"connection_id":65996,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":65996,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:20:31] local.INFO: TCP Data received {"connection_id":65997,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d91218012d34c8c006aa56f8000d004b2b..."} 
[2026-05-08 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d91218012d34c8c006aa56f8000d004b2b..."} 
[2026-05-08 19:20:31] local.INFO: Processing buffer {"connection_id":65997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d91218012d34c8c006aa56f8000d004b2b..."} 
[2026-05-08 19:20:31] local.INFO: Packet analysis {"connection_id":65997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d9"} 
[2026-05-08 19:20:31] local.INFO: Extracted packet for processing {"connection_id":65997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d9"} 
[2026-05-08 19:20:31] local.INFO: GPS Element Parsed {"raw_longitude":758433984,"raw_latitude":111826680,"longitude_deg":75.8433984,"latitude_deg":11.182668,"altitude":13,"angle":75,"satellites":43,"speed":12,"hex_longitude":"2d34c8c0","hex_latitude":"06aa56f8","is_valid_coordinates":true} 
[2026-05-08 19:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231520256001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198433245954048,"note":"Value kept but may cause issues"} 
[2026-05-08 19:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803149176453634048,"note":"Value kept but may cause issues"} 
[2026-05-08 19:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778248127000,"timestamp_ms":1778248127000,"timestamp_seconds":1778248127,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d91218"} 
[2026-05-08 19:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:20: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-05-08 19:20:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-05-08 19:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:20:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231520256001,"66":26245,"106":206,"28":21760,"24":12,"16":290198433245954048,"45":3803149176453634048},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231520256001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:20:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:20:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198433245954048,"km_value":290198433245954.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803149176453634048,"description":"Unknown IO ID 45"} 
[2026-05-08 19:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231520256001,"power":26245,"unknown_106":206,"unknown_28":21760,"ignition":12,"odometer":null,"unknown_45":3803149176453634048}} 
[2026-05-08 19:20:31] local.INFO: DEBUG: GPS processor result {"connection_id":65997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:20:31] local.INFO: GPS data processed {"connection_id":65997,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:20:31] local.INFO: Acknowledgment sent {"connection_id":65997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:20:38] local.INFO: TCP Data received {"connection_id":65226,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:20:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:20:38] local.INFO: Processing buffer {"connection_id":65226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:20:38] local.INFO: IMEI packet received {"connection_id":65226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:20:38] local.INFO: IMEI acknowledgment sent {"connection_id":65226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:20:51] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:20:51] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:20:51] local.INFO: IMEI packet received {"connection_id":65227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":65227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:20:57] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:20:57] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:20:57] local.INFO: IMEI packet received {"connection_id":65227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":65227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:20:58] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07d95c50012d34ed4006aa5d38000800502b..."} 
[2026-05-08 19:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07d95c50012d34ed4006aa5d38000800502b..."} 
[2026-05-08 19:20:58] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07d95c50012d34ed4006aa5d38000800502b..."} 
[2026-05-08 19:20:58] local.INFO: Packet analysis {"connection_id":65227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07d9"} 
[2026-05-08 19:20:58] local.INFO: Extracted packet for processing {"connection_id":65227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07d9"} 
[2026-05-08 19:20:58] local.INFO: GPS Element Parsed {"raw_longitude":758443328,"raw_latitude":111828280,"longitude_deg":75.8443328,"latitude_deg":11.182828,"altitude":8,"angle":80,"satellites":43,"speed":19,"hex_longitude":"2d34ed40","hex_latitude":"06aa5d38","is_valid_coordinates":true} 
[2026-05-08 19:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231520512001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290198884217520128,"note":"Value kept but may cause issues"} 
[2026-05-08 19:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3803501020174546944,"note":"Value kept but may cause issues"} 
[2026-05-08 19:20: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-05-08 19:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778248146000,"timestamp_ms":1778248146000,"timestamp_seconds":1778248146,"priority":1,"record_length":96,"hex_timestamp":"0000019e07d95c50"} 
[2026-05-08 19:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-05-08 19:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231520512001,"66":27343,"106":206,"28":21760,"24":19,"16":290198884217520128,"45":3803501020174546944},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231520512001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:20:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290198884217520128,"km_value":290198884217520.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3803501020174546944,"description":"Unknown IO ID 45"} 
[2026-05-08 19:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231520512001,"power":27343,"unknown_106":206,"unknown_28":21760,"ignition":19,"odometer":null,"unknown_45":3803501020174546944}} 
[2026-05-08 19:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":65227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:20:58] local.INFO: GPS data processed {"connection_id":65227,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:20:58] local.INFO: Acknowledgment sent {"connection_id":65227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:21:31] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07da90e8012d348c4006aa9678000e01182c..."} 
[2026-05-08 19:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07da90e8012d348c4006aa9678000e01182c..."} 
[2026-05-08 19:21:31] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07da90e8012d348c4006aa9678000e01182c..."} 
[2026-05-08 19:21:31] local.INFO: Packet analysis {"connection_id":65227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07da"} 
[2026-05-08 19:21:31] local.INFO: Extracted packet for processing {"connection_id":65227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07da"} 
[2026-05-08 19:21:31] local.INFO: GPS Element Parsed {"raw_longitude":758418496,"raw_latitude":111842936,"longitude_deg":75.8418496,"latitude_deg":11.1842936,"altitude":14,"angle":280,"satellites":44,"speed":32,"hex_longitude":"2d348c40","hex_latitude":"06aa9678","is_valid_coordinates":true} 
[2026-05-08 19:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231544064001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290201040291102720,"note":"Value kept but may cause issues"} 
[2026-05-08 19:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3792030914877368320,"note":"Value kept but may cause issues"} 
[2026-05-08 19:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778248225000,"timestamp_ms":1778248225000,"timestamp_seconds":1778248225,"priority":1,"record_length":96,"hex_timestamp":"0000019e07da90e8"} 
[2026-05-08 19:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:21:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 19:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:21:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231544064001,"66":27376,"170":206,"28":21760,"24":32,"16":290201040291102720,"45":3792030914877368320},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231544064001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:21:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290201040291102720,"km_value":290201040291102.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3792030914877368320,"description":"Unknown IO ID 45"} 
[2026-05-08 19:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231544064001,"power":27376,"unknown_170":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":3792030914877368320}} 
[2026-05-08 19:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":65227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:21:31] local.INFO: GPS data processed {"connection_id":65227,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:21:31] local.INFO: Acknowledgment sent {"connection_id":65227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:21:56] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:21:56] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:21:56] local.INFO: IMEI packet received {"connection_id":65169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":65169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:22:02] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:02] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:02] local.INFO: IMEI packet received {"connection_id":65169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":65169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:22:03] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dab028012d34720006aa98c8000e010d2b..."} 
[2026-05-08 19:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dab028012d34720006aa98c8000e010d2b..."} 
[2026-05-08 19:22:03] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dab028012d34720006aa98c8000e010d2b..."} 
[2026-05-08 19:22:03] local.INFO: Packet analysis {"connection_id":65169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07da"} 
[2026-05-08 19:22:03] local.INFO: Extracted packet for processing {"connection_id":65169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07da"} 
[2026-05-08 19:22:03] local.INFO: GPS Element Parsed {"raw_longitude":758411776,"raw_latitude":111843528,"longitude_deg":75.8411776,"latitude_deg":11.1843528,"altitude":14,"angle":269,"satellites":43,"speed":34,"hex_longitude":"2d347200","hex_latitude":"06aa98c8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231545600001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290201362413649920,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3786471784087713792,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778248233000,"timestamp_ms":1778248233000,"timestamp_seconds":1778248233,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dab028"} 
[2026-05-08 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-05-08 19:22: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-05-08 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 19:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231545600001,"66":27463,"170":206,"28":21760,"24":34,"16":290201362413649920,"45":3786471784087713792},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231545600001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:22:03] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:22:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290201362413649920,"km_value":290201362413649.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3786471784087713792,"description":"Unknown IO ID 45"} 
[2026-05-08 19:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231545600001,"power":27463,"unknown_170":206,"unknown_28":21760,"ignition":34,"odometer":null,"unknown_45":3786471784087713792}} 
[2026-05-08 19:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":65169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:22:03] local.INFO: GPS data processed {"connection_id":65169,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:22:03] local.INFO: Acknowledgment sent {"connection_id":65169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:22:35] local.INFO: TCP Data received {"connection_id":65169,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dacb80012d345b0006aa95f0000e00ff2c..."} 
[2026-05-08 19:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dacb80012d345b0006aa95f0000e00ff2c..."} 
[2026-05-08 19:22:35] local.INFO: Processing buffer {"connection_id":65169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dacb80012d345b0006aa95f0000e00ff2c..."} 
[2026-05-08 19:22:35] local.INFO: Packet analysis {"connection_id":65169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07da"} 
[2026-05-08 19:22:35] local.INFO: Extracted packet for processing {"connection_id":65169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07da"} 
[2026-05-08 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":758405888,"raw_latitude":111842800,"longitude_deg":75.8405888,"latitude_deg":11.18428,"altitude":14,"angle":255,"satellites":44,"speed":34,"hex_longitude":"2d345b00","hex_latitude":"06aa95f0","is_valid_coordinates":true} 
[2026-05-08 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231547648001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290201645881491456,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3779083065949210624,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778248240000,"timestamp_ms":1778248240000,"timestamp_seconds":1778248240,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dacb80"} 
[2026-05-08 19:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 19:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231547648001,"66":27463,"170":206,"28":21760,"24":34,"16":290201645881491456,"45":3779083065949210624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231547648001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:22:35] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:22:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290201645881491456,"km_value":290201645881491.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3779083065949210624,"description":"Unknown IO ID 45"} 
[2026-05-08 19:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231547648001,"power":27463,"unknown_170":206,"unknown_28":21760,"ignition":34,"odometer":null,"unknown_45":3779083065949210624}} 
[2026-05-08 19:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":65169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:22:35] local.INFO: GPS data processed {"connection_id":65169,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:22:35] local.INFO: Acknowledgment sent {"connection_id":65169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:22:48] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:48] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:48] local.INFO: IMEI packet received {"connection_id":65229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":65229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:22:50] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:50] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:50] local.INFO: IMEI packet received {"connection_id":65229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":65229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:22:51] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:51] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:51] local.INFO: IMEI packet received {"connection_id":65229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":65229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:22:56] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:56] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:22:56] local.INFO: IMEI packet received {"connection_id":65229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":65229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:22:57] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07daf678012d3437c006aa8a30000c00fe2c..."} 
[2026-05-08 19:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07daf678012d3437c006aa8a30000c00fe2c..."} 
[2026-05-08 19:22:57] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07daf678012d3437c006aa8a30000c00fe2c..."} 
[2026-05-08 19:22:57] local.INFO: Packet analysis {"connection_id":65229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07da"} 
[2026-05-08 19:22:57] local.INFO: Extracted packet for processing {"connection_id":65229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07da"} 
[2026-05-08 19:22:57] local.INFO: GPS Element Parsed {"raw_longitude":758396864,"raw_latitude":111839792,"longitude_deg":75.8396864,"latitude_deg":11.1839792,"altitude":12,"angle":254,"satellites":44,"speed":29,"hex_longitude":"2d3437c0","hex_latitude":"06aa8a30","is_valid_coordinates":true} 
[2026-05-08 19:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231549440001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290202101148024832,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3772609141484679168,"note":"Value kept but may cause issues"} 
[2026-05-08 19:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778248251000,"timestamp_ms":1778248251000,"timestamp_seconds":1778248251,"priority":1,"record_length":96,"hex_timestamp":"0000019e07daf678"} 
[2026-05-08 19:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 19:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231549440001,"66":27234,"170":206,"28":21760,"24":29,"16":290202101148024832,"45":3772609141484679168},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231549440001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:22:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290202101148024832,"km_value":290202101148024.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3772609141484679168,"description":"Unknown IO ID 45"} 
[2026-05-08 19:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231549440001,"power":27234,"unknown_170":206,"unknown_28":21760,"ignition":29,"odometer":null,"unknown_45":3772609141484679168}} 
[2026-05-08 19:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":65229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:22:57] local.INFO: GPS data processed {"connection_id":65229,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:22:57] local.INFO: Acknowledgment sent {"connection_id":65229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:23:29] local.INFO: TCP Data received {"connection_id":65229,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07db4880012d3414c006aa80e0000c00fc2c..."} 
[2026-05-08 19:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07db4880012d3414c006aa80e0000c00fc2c..."} 
[2026-05-08 19:23:29] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07db4880012d3414c006aa80e0000c00fc2c..."} 
[2026-05-08 19:23:29] local.INFO: Packet analysis {"connection_id":65229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:23:29] local.INFO: Extracted packet for processing {"connection_id":65229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:23:29] local.INFO: GPS Element Parsed {"raw_longitude":758387904,"raw_latitude":111837408,"longitude_deg":75.8387904,"latitude_deg":11.1837408,"altitude":12,"angle":252,"satellites":44,"speed":23,"hex_longitude":"2d3414c0","hex_latitude":"06aa80e0","is_valid_coordinates":true} 
[2026-05-08 19:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231552256001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290202543529656320,"note":"Value kept but may cause issues"} 
[2026-05-08 19:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3762687148554858496,"note":"Value kept but may cause issues"} 
[2026-05-08 19:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778248272000,"timestamp_ms":1778248272000,"timestamp_seconds":1778248272,"priority":1,"record_length":96,"hex_timestamp":"0000019e07db4880"} 
[2026-05-08 19:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 19:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231552256001,"66":27484,"170":206,"28":21760,"24":23,"16":290202543529656320,"45":3762687148554858496},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231552256001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:23:29] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290202543529656320,"km_value":290202543529656.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3762687148554858496,"description":"Unknown IO ID 45"} 
[2026-05-08 19:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231552256001,"power":27484,"unknown_170":206,"unknown_28":21760,"ignition":23,"odometer":null,"unknown_45":3762687148554858496}} 
[2026-05-08 19:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":65229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:23:29] local.INFO: GPS data processed {"connection_id":65229,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:23:29] local.INFO: Acknowledgment sent {"connection_id":65229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:23:51] local.INFO: TCP Data received {"connection_id":65308,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:51] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:51] local.INFO: IMEI packet received {"connection_id":65308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":65308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:23:53] local.INFO: TCP Data received {"connection_id":65308,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:53] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:53] local.INFO: IMEI packet received {"connection_id":65308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:23:53] local.INFO: IMEI acknowledgment sent {"connection_id":65308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:23:56] local.INFO: TCP Data received {"connection_id":65308,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:56] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:23:56] local.INFO: IMEI packet received {"connection_id":65308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":65308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:23:57] local.INFO: TCP Data received {"connection_id":65308,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07db4880012d3414c006aa80e0000c00fc2c..."} 
[2026-05-08 19:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07db4880012d3414c006aa80e0000c00fc2c..."} 
[2026-05-08 19:23:57] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07db4880012d3414c006aa80e0000c00fc2c..."} 
[2026-05-08 19:23:57] local.INFO: Packet analysis {"connection_id":65308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:23:57] local.INFO: Extracted packet for processing {"connection_id":65308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:23:57] local.INFO: GPS Element Parsed {"raw_longitude":758387904,"raw_latitude":111837408,"longitude_deg":75.8387904,"latitude_deg":11.1837408,"altitude":12,"angle":252,"satellites":44,"speed":23,"hex_longitude":"2d3414c0","hex_latitude":"06aa80e0","is_valid_coordinates":true} 
[2026-05-08 19:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231557632001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290202543529656320,"note":"Value kept but may cause issues"} 
[2026-05-08 19:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752835524369375232,"note":"Value kept but may cause issues"} 
[2026-05-08 19:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778248272000,"timestamp_ms":1778248272000,"timestamp_seconds":1778248272,"priority":1,"record_length":96,"hex_timestamp":"0000019e07db4880"} 
[2026-05-08 19:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231557632001,"66":27484,"170":206,"28":21760,"24":23,"16":290202543529656320,"45":3752835524369375232},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231557632001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:23:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:23:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290202543529656320,"km_value":290202543529656.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752835524369375232,"description":"Unknown IO ID 45"} 
[2026-05-08 19:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231557632001,"power":27484,"unknown_170":206,"unknown_28":21760,"ignition":23,"odometer":null,"unknown_45":3752835524369375232}} 
[2026-05-08 19:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":65308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:23:57] local.INFO: GPS data processed {"connection_id":65308,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:23:57] local.INFO: Acknowledgment sent {"connection_id":65308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:24:02] local.INFO: TCP Data received {"connection_id":65308,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07db7760012d33f54006aa7598000c00ef2d..."} 
[2026-05-08 19:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07db7760012d33f54006aa7598000c00ef2d..."} 
[2026-05-08 19:24:02] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07db7760012d33f54006aa7598000c00ef2d..."} 
[2026-05-08 19:24:02] local.INFO: Packet analysis {"connection_id":65308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:24:02] local.INFO: Extracted packet for processing {"connection_id":65308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:24:02] local.INFO: GPS Element Parsed {"raw_longitude":758379840,"raw_latitude":111834520,"longitude_deg":75.837984,"latitude_deg":11.183452,"altitude":12,"angle":239,"satellites":45,"speed":31,"hex_longitude":"2d33f540","hex_latitude":"06aa7598","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231557632001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290202951551549440,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752835524369375232,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778248284000,"timestamp_ms":1778248284000,"timestamp_seconds":1778248284,"priority":1,"record_length":96,"hex_timestamp":"0000019e07db7760"} 
[2026-05-08 19:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:24: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-05-08 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:24:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231557632001,"66":26832,"170":206,"28":21760,"24":31,"16":290202951551549440,"45":3752835524369375232},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231557632001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:24:02] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:24:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290202951551549440,"km_value":290202951551549.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752835524369375232,"description":"Unknown IO ID 45"} 
[2026-05-08 19:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231557632001,"power":26832,"unknown_170":206,"unknown_28":21760,"ignition":31,"odometer":null,"unknown_45":3752835524369375232}} 
[2026-05-08 19:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":65308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:24:02] local.INFO: GPS data processed {"connection_id":65308,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:24:02] local.INFO: Acknowledgment sent {"connection_id":65308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:24:34] local.INFO: TCP Data received {"connection_id":65308,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07db8ae8012d33e94006aa6c60000d00e42c..."} 
[2026-05-08 19:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07db8ae8012d33e94006aa6c60000d00e42c..."} 
[2026-05-08 19:24:34] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07db8ae8012d33e94006aa6c60000d00e42c..."} 
[2026-05-08 19:24:34] local.INFO: Packet analysis {"connection_id":65308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:24:34] local.INFO: Extracted packet for processing {"connection_id":65308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":758376768,"raw_latitude":111832160,"longitude_deg":75.8376768,"latitude_deg":11.183216,"altitude":13,"angle":228,"satellites":44,"speed":30,"hex_longitude":"2d33e940","hex_latitude":"06aa6c60","is_valid_coordinates":true} 
[2026-05-08 19:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231560704001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290203136235143168,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3743969062602250240,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778248289000,"timestamp_ms":1778248289000,"timestamp_seconds":1778248289,"priority":1,"record_length":96,"hex_timestamp":"0000019e07db8ae8"} 
[2026-05-08 19:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:24:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-05-08 19:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2590,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:24:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231560704001,"66":27104,"170":206,"28":21760,"24":30,"16":290203136235143168,"45":3743969062602250240},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231560704001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:24:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:24:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290203136235143168,"km_value":290203136235143.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3743969062602250240,"description":"Unknown IO ID 45"} 
[2026-05-08 19:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231560704001,"power":27104,"unknown_170":206,"unknown_28":21760,"ignition":30,"odometer":null,"unknown_45":3743969062602250240}} 
[2026-05-08 19:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":65308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:24:34] local.INFO: GPS data processed {"connection_id":65308,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:24:34] local.INFO: Acknowledgment sent {"connection_id":65308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:24:51] local.INFO: TCP Data received {"connection_id":65999,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:24:51] local.INFO: Processing buffer {"connection_id":65999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:24:51] local.INFO: IMEI packet received {"connection_id":65999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":65999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:24:57] local.INFO: TCP Data received {"connection_id":65999,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:24:57] local.INFO: Processing buffer {"connection_id":65999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:24:57] local.INFO: IMEI packet received {"connection_id":65999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":65999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:24:59] local.INFO: TCP Data received {"connection_id":65999,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dbbdb0012d33cf0006aa53e0000a00e22b..."} 
[2026-05-08 19:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dbbdb0012d33cf0006aa53e0000a00e22b..."} 
[2026-05-08 19:24:59] local.INFO: Processing buffer {"connection_id":65999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dbbdb0012d33cf0006aa53e0000a00e22b..."} 
[2026-05-08 19:24:59] local.INFO: Packet analysis {"connection_id":65999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:24:59] local.INFO: Extracted packet for processing {"connection_id":65999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:24:59] local.INFO: GPS Element Parsed {"raw_longitude":758370048,"raw_latitude":111825888,"longitude_deg":75.8370048,"latitude_deg":11.1825888,"altitude":10,"angle":226,"satellites":43,"speed":26,"hex_longitude":"2d33cf00","hex_latitude":"06aa53e0","is_valid_coordinates":true} 
[2026-05-08 19:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231561984001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290203578616774656,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3740591362881118208,"note":"Value kept but may cause issues"} 
[2026-05-08 19:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778248302000,"timestamp_ms":1778248302000,"timestamp_seconds":1778248302,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dbbdb0"} 
[2026-05-08 19:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-05-08 19:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231561984001,"66":27397,"170":206,"28":21760,"24":26,"16":290203578616774656,"45":3740591362881118208},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231561984001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:24:59] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290203578616774656,"km_value":290203578616774.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3740591362881118208,"description":"Unknown IO ID 45"} 
[2026-05-08 19:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231561984001,"power":27397,"unknown_170":206,"unknown_28":21760,"ignition":26,"odometer":null,"unknown_45":3740591362881118208}} 
[2026-05-08 19:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":65999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:24:59] local.INFO: GPS data processed {"connection_id":65999,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:24:59] local.INFO: Acknowledgment sent {"connection_id":65999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:25:30] local.INFO: TCP Data received {"connection_id":65999,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dbe8a8012d33c18006aa4678000a00d62b..."} 
[2026-05-08 19:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dbe8a8012d33c18006aa4678000a00d62b..."} 
[2026-05-08 19:25:30] local.INFO: Processing buffer {"connection_id":65999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dbe8a8012d33c18006aa4678000a00d62b..."} 
[2026-05-08 19:25:30] local.INFO: Packet analysis {"connection_id":65999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:25:30] local.INFO: Extracted packet for processing {"connection_id":65999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07db"} 
[2026-05-08 19:25:30] local.INFO: GPS Element Parsed {"raw_longitude":758366592,"raw_latitude":111822456,"longitude_deg":75.8366592,"latitude_deg":11.1822456,"altitude":10,"angle":214,"satellites":43,"speed":19,"hex_longitude":"2d33c180","hex_latitude":"06aa4678","is_valid_coordinates":true} 
[2026-05-08 19:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:25:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231565312001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:25:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290203810545008640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:25:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3733202644740857856,"note":"Value kept but may cause issues"} 
[2026-05-08 19:25:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:25:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778248313000,"timestamp_ms":1778248313000,"timestamp_seconds":1778248313,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dbe8a8"} 
[2026-05-08 19:25:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:25:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:25:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 19:25:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:25:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:25:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:25:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:25:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:25:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:25:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:25:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:25:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:25:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:25:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231565312001,"66":27310,"170":206,"28":21760,"24":19,"16":290203810545008640,"45":3733202644740857856},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:25:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:25:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:25:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231565312001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:25:30] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:25:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:25:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290203810545008640,"km_value":290203810545008.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:25:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3733202644740857856,"description":"Unknown IO ID 45"} 
[2026-05-08 19:25:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231565312001,"power":27310,"unknown_170":206,"unknown_28":21760,"ignition":19,"odometer":null,"unknown_45":3733202644740857856}} 
[2026-05-08 19:25:30] local.INFO: DEBUG: GPS processor result {"connection_id":65999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:25:30] local.INFO: GPS data processed {"connection_id":65999,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:25:30] local.INFO: Acknowledgment sent {"connection_id":65999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:25:51] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:25:51] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:25:51] local.INFO: IMEI packet received {"connection_id":65231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":65231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:25:57] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:25:57] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:25:57] local.INFO: IMEI packet received {"connection_id":65231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":65231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:25:58] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dc1788012d33b40006aa2e38000b00cb2c..."} 
[2026-05-08 19:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dc1788012d33b40006aa2e38000b00cb2c..."} 
[2026-05-08 19:25:58] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dc1788012d33b40006aa2e38000b00cb2c..."} 
[2026-05-08 19:25:58] local.INFO: Packet analysis {"connection_id":65231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:25:58] local.INFO: Extracted packet for processing {"connection_id":65231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:25:58] local.INFO: GPS Element Parsed {"raw_longitude":758363136,"raw_latitude":111816248,"longitude_deg":75.8363136,"latitude_deg":11.1816248,"altitude":11,"angle":203,"satellites":44,"speed":23,"hex_longitude":"2d33b400","hex_latitude":"06aa2e38","is_valid_coordinates":true} 
[2026-05-08 19:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231568128001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204158437359616,"note":"Value kept but may cause issues"} 
[2026-05-08 19:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3729402732554385408,"note":"Value kept but may cause issues"} 
[2026-05-08 19:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778248325000,"timestamp_ms":1778248325000,"timestamp_seconds":1778248325,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dc1788"} 
[2026-05-08 19:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:25:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 19:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231568128001,"66":27397,"170":206,"28":21760,"24":23,"16":290204158437359616,"45":3729402732554385408},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231568128001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:25:58] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:25:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204158437359616,"km_value":290204158437359.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3729402732554385408,"description":"Unknown IO ID 45"} 
[2026-05-08 19:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231568128001,"power":27397,"unknown_170":206,"unknown_28":21760,"ignition":23,"odometer":null,"unknown_45":3729402732554385408}} 
[2026-05-08 19:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":65231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:25:58] local.INFO: GPS data processed {"connection_id":65231,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:25:58] local.INFO: Acknowledgment sent {"connection_id":65231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:26:04] local.INFO: TCP Data received {"connection_id":66000,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:26:04] local.INFO: Processing buffer {"connection_id":66000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:26:04] local.INFO: IMEI packet received {"connection_id":66000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":66000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:26:31] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dc2b10012d33b0c006aa25d8000b00b72c..."} 
[2026-05-08 19:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dc2b10012d33b0c006aa25d8000b00b72c..."} 
[2026-05-08 19:26:31] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dc2b10012d33b0c006aa25d8000b00b72c..."} 
[2026-05-08 19:26:31] local.INFO: Packet analysis {"connection_id":65231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:26:31] local.INFO: Extracted packet for processing {"connection_id":65231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:26:31] local.INFO: GPS Element Parsed {"raw_longitude":758362304,"raw_latitude":111814104,"longitude_deg":75.8362304,"latitude_deg":11.1814104,"altitude":11,"angle":183,"satellites":44,"speed":15,"hex_longitude":"2d33b0c0","hex_latitude":"06aa25d8","is_valid_coordinates":true} 
[2026-05-08 19:26:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231571200001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204265811542016,"note":"Value kept but may cause issues"} 
[2026-05-08 19:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725602820367202304,"note":"Value kept but may cause issues"} 
[2026-05-08 19:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778248330000,"timestamp_ms":1778248330000,"timestamp_seconds":1778248330,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dc2b10"} 
[2026-05-08 19:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:26: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-05-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 19:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231571200001,"66":27463,"170":206,"28":21760,"24":15,"16":290204265811542016,"45":3725602820367202304},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231571200001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:26:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204265811542016,"km_value":290204265811542.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725602820367202304,"description":"Unknown IO ID 45"} 
[2026-05-08 19:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231571200001,"power":27463,"unknown_170":206,"unknown_28":21760,"ignition":15,"odometer":null,"unknown_45":3725602820367202304}} 
[2026-05-08 19:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":65231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:26:31] local.INFO: GPS data processed {"connection_id":65231,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:26:31] local.INFO: Acknowledgment sent {"connection_id":65231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:26:40] local.INFO: TCP Data received {"connection_id":65309,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:26:40] local.INFO: Processing buffer {"connection_id":65309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:26:40] local.INFO: IMEI packet received {"connection_id":65309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":65309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:26:57] local.INFO: TCP Data received {"connection_id":65170,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:26:57] local.INFO: Processing buffer {"connection_id":65170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:26:57] local.INFO: IMEI packet received {"connection_id":65170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":65170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:27:02] local.INFO: TCP Data received {"connection_id":65170,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:02] local.INFO: Processing buffer {"connection_id":65170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:02] local.INFO: IMEI packet received {"connection_id":65170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":65170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:27:03] local.INFO: TCP Data received {"connection_id":65170,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dc32e0012d33b10006aa2318000b009f2c..."} 
[2026-05-08 19:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dc32e0012d33b10006aa2318000b009f2c..."} 
[2026-05-08 19:27:03] local.INFO: Processing buffer {"connection_id":65170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dc32e0012d33b10006aa2318000b009f2c..."} 
[2026-05-08 19:27:03] local.INFO: Packet analysis {"connection_id":65170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:27:03] local.INFO: Extracted packet for processing {"connection_id":65170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:27:03] local.INFO: GPS Element Parsed {"raw_longitude":758362368,"raw_latitude":111813400,"longitude_deg":75.8362368,"latitude_deg":11.18134,"altitude":11,"angle":159,"satellites":44,"speed":12,"hex_longitude":"2d33b100","hex_latitude":"06aa2318","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231572480001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204304466247680,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724688026692343808,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778248332000,"timestamp_ms":1778248332000,"timestamp_seconds":1778248332,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dc32e0"} 
[2026-05-08 19:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:27: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-05-08 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 19:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231572480001,"66":27365,"170":206,"28":21760,"24":12,"16":290204304466247680,"45":3724688026692343808},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231572480001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:27:03] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204304466247680,"km_value":290204304466247.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724688026692343808,"description":"Unknown IO ID 45"} 
[2026-05-08 19:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231572480001,"power":27365,"unknown_170":206,"unknown_28":21760,"ignition":12,"odometer":null,"unknown_45":3724688026692343808}} 
[2026-05-08 19:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":65170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:27:03] local.INFO: GPS data processed {"connection_id":65170,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:27:03] local.INFO: Acknowledgment sent {"connection_id":65170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:27:09] local.INFO: TCP Data received {"connection_id":65170,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dc84e8012d33b28006aa1ef0000b00962c..."} 
[2026-05-08 19:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65170,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dc84e8012d33b28006aa1ef0000b00962c..."} 
[2026-05-08 19:27:09] local.INFO: Processing buffer {"connection_id":65170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dc84e8012d33b28006aa1ef0000b00962c..."} 
[2026-05-08 19:27:09] local.INFO: Packet analysis {"connection_id":65170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:27:09] local.INFO: Extracted packet for processing {"connection_id":65170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758362752,"raw_latitude":111812336,"longitude_deg":75.8362752,"latitude_deg":11.1812336,"altitude":11,"angle":150,"satellites":44,"speed":0,"hex_longitude":"2d33b280","hex_latitude":"06aa1ef0","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231572992001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204360300822528,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724758395436341248,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778248353000,"timestamp_ms":1778248353000,"timestamp_seconds":1778248353,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dc84e8"} 
[2026-05-08 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-05-08 19:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 19:27:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:27:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231572992001,"66":27321,"170":206,"28":21760,"24":0,"16":290204360300822528,"45":3724758395436341248},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231572992001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:27:09] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:27:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204360300822528,"km_value":290204360300822.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724758395436341248,"description":"Unknown IO ID 45"} 
[2026-05-08 19:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231572992001,"power":27321,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724758395436341248}} 
[2026-05-08 19:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":65170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:27:09] local.INFO: GPS data processed {"connection_id":65170,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:27:09] local.INFO: Acknowledgment sent {"connection_id":65170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:27:52] local.INFO: TCP Data received {"connection_id":65310,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:52] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:52] local.INFO: IMEI packet received {"connection_id":65310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":65310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:27:57] local.INFO: TCP Data received {"connection_id":65310,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:57] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:27:57] local.INFO: IMEI packet received {"connection_id":65310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":65310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:27:58] local.INFO: TCP Data received {"connection_id":65310,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dcd6f0012d33b20006aa1d30000a00962d..."} 
[2026-05-08 19:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dcd6f0012d33b20006aa1d30000a00962d..."} 
[2026-05-08 19:27:58] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dcd6f0012d33b20006aa1d30000a00962d..."} 
[2026-05-08 19:27:58] local.INFO: Packet analysis {"connection_id":65310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:27:58] local.INFO: Extracted packet for processing {"connection_id":65310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07dc"} 
[2026-05-08 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":758362624,"raw_latitude":111811888,"longitude_deg":75.8362624,"latitude_deg":11.1811888,"altitude":10,"angle":150,"satellites":45,"speed":0,"hex_longitude":"2d33b200","hex_latitude":"06aa1d30","is_valid_coordinates":true} 
[2026-05-08 19:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231578368001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204381775659008,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725180607901134848,"note":"Value kept but may cause issues"} 
[2026-05-08 19:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778248374000,"timestamp_ms":1778248374000,"timestamp_seconds":1778248374,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dcd6f0"} 
[2026-05-08 19:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 19:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231578368001,"66":27463,"170":206,"28":21760,"24":0,"16":290204381775659008,"45":3725180607901134848},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231578368001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:27:58] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:27:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204381775659008,"km_value":290204381775659.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725180607901134848,"description":"Unknown IO ID 45"} 
[2026-05-08 19:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231578368001,"power":27463,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3725180607901134848}} 
[2026-05-08 19:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":65310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:27:58] local.INFO: GPS data processed {"connection_id":65310,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:27:58] local.INFO: Acknowledgment sent {"connection_id":65310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:28:03] local.INFO: TCP Data received {"connection_id":65310,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dd28f8012d33af8006aa1a58000600962c..."} 
[2026-05-08 19:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dd28f8012d33af8006aa1a58000600962c..."} 
[2026-05-08 19:28:03] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dd28f8012d33af8006aa1a58000600962c..."} 
[2026-05-08 19:28:03] local.INFO: Packet analysis {"connection_id":65310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07dd"} 
[2026-05-08 19:28:03] local.INFO: Extracted packet for processing {"connection_id":65310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07dd"} 
[2026-05-08 19:28:03] local.INFO: GPS Element Parsed {"raw_longitude":758361984,"raw_latitude":111811160,"longitude_deg":75.8361984,"latitude_deg":11.181116,"altitude":6,"angle":150,"satellites":44,"speed":0,"hex_longitude":"2d33af80","hex_latitude":"06aa1a58","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231583744001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204433315266560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3725039870412664832,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778248395000,"timestamp_ms":1778248395000,"timestamp_seconds":1778248395,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dd28f8"} 
[2026-05-08 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-05-08 19:28: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-05-08 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 19:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231583744001,"66":27158,"170":206,"28":21760,"24":0,"16":290204433315266560,"45":3725039870412664832},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231583744001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:28:03] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:28:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204433315266560,"km_value":290204433315266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3725039870412664832,"description":"Unknown IO ID 45"} 
[2026-05-08 19:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231583744001,"power":27158,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3725039870412664832}} 
[2026-05-08 19:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":65310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:28:03] local.INFO: GPS data processed {"connection_id":65310,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:28:03] local.INFO: Acknowledgment sent {"connection_id":65310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:28:34] local.INFO: TCP Data received {"connection_id":65310,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dd7718012d33af8006aa1a58000600962b..."} 
[2026-05-08 19:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dd7718012d33af8006aa1a58000600962b..."} 
[2026-05-08 19:28:34] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dd7718012d33af8006aa1a58000600962b..."} 
[2026-05-08 19:28:34] local.INFO: Packet analysis {"connection_id":65310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07dd"} 
[2026-05-08 19:28:34] local.INFO: Extracted packet for processing {"connection_id":65310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07dd"} 
[2026-05-08 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":758361984,"raw_latitude":111811160,"longitude_deg":75.8361984,"latitude_deg":11.181116,"altitude":6,"angle":150,"satellites":43,"speed":0,"hex_longitude":"2d33af80","hex_latitude":"06aa1a58","is_valid_coordinates":true} 
[2026-05-08 19:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231589120001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204433315266560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724336182970701824,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778248415000,"timestamp_ms":1778248415000,"timestamp_seconds":1778248415,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dd7718"} 
[2026-05-08 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-05-08 19:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 19:28:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231589120001,"66":27571,"170":206,"28":21760,"24":0,"16":290204433315266560,"45":3724336182970701824},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231589120001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:28:34] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:28:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204433315266560,"km_value":290204433315266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724336182970701824,"description":"Unknown IO ID 45"} 
[2026-05-08 19:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231589120001,"power":27571,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724336182970701824}} 
[2026-05-08 19:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":65310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:28:34] local.INFO: GPS data processed {"connection_id":65310,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:28:34] local.INFO: Acknowledgment sent {"connection_id":65310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:28:52] local.INFO: TCP Data received {"connection_id":66004,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:28:52] local.INFO: Processing buffer {"connection_id":66004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:28:52] local.INFO: IMEI packet received {"connection_id":66004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":66004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:28:57] local.INFO: TCP Data received {"connection_id":66004,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:28:57] local.INFO: Processing buffer {"connection_id":66004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:28:57] local.INFO: IMEI packet received {"connection_id":66004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":66004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:28:58] local.INFO: TCP Data received {"connection_id":66004,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07dd7b00012d33af8006aa1a58000600962b..."} 
[2026-05-08 19:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07dd7b00012d33af8006aa1a58000600962b..."} 
[2026-05-08 19:28:58] local.INFO: Processing buffer {"connection_id":66004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07dd7b00012d33af8006aa1a58000600962b..."} 
[2026-05-08 19:28:58] local.INFO: Packet analysis {"connection_id":66004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07dd"} 
[2026-05-08 19:28:58] local.INFO: Extracted packet for processing {"connection_id":66004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07dd"} 
[2026-05-08 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":758361984,"raw_latitude":111811160,"longitude_deg":75.8361984,"latitude_deg":11.181116,"altitude":6,"angle":150,"satellites":43,"speed":0,"hex_longitude":"2d33af80","hex_latitude":"06aa1a58","is_valid_coordinates":true} 
[2026-05-08 19:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231594240001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204433315266560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724336182970701824,"note":"Value kept but may cause issues"} 
[2026-05-08 19:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778248416000,"timestamp_ms":1778248416000,"timestamp_seconds":1778248416,"priority":1,"record_length":96,"hex_timestamp":"0000019e07dd7b00"} 
[2026-05-08 19:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-05-08 19:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231594240001,"66":27071,"170":206,"28":21760,"24":0,"16":290204433315266560,"45":3724336182970701824},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231594240001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:28:58] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204433315266560,"km_value":290204433315266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724336182970701824,"description":"Unknown IO ID 45"} 
[2026-05-08 19:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231594240001,"power":27071,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724336182970701824}} 
[2026-05-08 19:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":66004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:28:58] local.INFO: GPS data processed {"connection_id":66004,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:28:58] local.INFO: Acknowledgment sent {"connection_id":66004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:29:30] local.INFO: TCP Data received {"connection_id":66004,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e21a98012d33ae0006aa1a28000000962a..."} 
[2026-05-08 19:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e21a98012d33ae0006aa1a28000000962a..."} 
[2026-05-08 19:29:30] local.INFO: Processing buffer {"connection_id":66004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e21a98012d33ae0006aa1a28000000962a..."} 
[2026-05-08 19:29:30] local.INFO: Packet analysis {"connection_id":66004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e2"} 
[2026-05-08 19:29:30] local.INFO: Extracted packet for processing {"connection_id":66004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e2"} 
[2026-05-08 19:29:30] local.INFO: GPS Element Parsed {"raw_longitude":758361600,"raw_latitude":111811112,"longitude_deg":75.83616,"latitude_deg":11.1811112,"altitude":0,"angle":150,"satellites":42,"speed":0,"hex_longitude":"2d33ae00","hex_latitude":"06aa1a28","is_valid_coordinates":true} 
[2026-05-08 19:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231594496001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204433315266560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3724336182970701824,"note":"Value kept but may cause issues"} 
[2026-05-08 19:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778248719000,"timestamp_ms":1778248719000,"timestamp_seconds":1778248719,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e21a98"} 
[2026-05-08 19:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:29: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-05-08 19:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-05-08 19:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":66004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":66004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":66004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231594496001,"66":25625,"170":206,"28":21760,"24":0,"16":290204433315266560,"45":3724336182970701824},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231594496001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:29:30] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204433315266560,"km_value":290204433315266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3724336182970701824,"description":"Unknown IO ID 45"} 
[2026-05-08 19:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231594496001,"power":25625,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3724336182970701824}} 
[2026-05-08 19:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":66004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:29:30] local.INFO: GPS data processed {"connection_id":66004,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:29:30] local.INFO: Acknowledgment sent {"connection_id":66004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:29:51] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:29:51] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:29:51] local.INFO: IMEI packet received {"connection_id":65232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":65232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:29:56] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:29:56] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:29:56] local.INFO: IMEI packet received {"connection_id":65232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":65232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:29:58] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e260e8012d33ae0006aa1a28000000962b..."} 
[2026-05-08 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e260e8012d33ae0006aa1a28000000962b..."} 
[2026-05-08 19:29:58] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e260e8012d33ae0006aa1a28000000962b..."} 
[2026-05-08 19:29:58] local.INFO: Packet analysis {"connection_id":65232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e2"} 
[2026-05-08 19:29:58] local.INFO: Extracted packet for processing {"connection_id":65232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e2"} 
[2026-05-08 19:29:58] local.INFO: GPS Element Parsed {"raw_longitude":758361600,"raw_latitude":111811112,"longitude_deg":75.83616,"latitude_deg":11.1811112,"altitude":0,"angle":150,"satellites":43,"speed":0,"hex_longitude":"2d33ae00","hex_latitude":"06aa1a28","is_valid_coordinates":true} 
[2026-05-08 19:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231672064001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204433315266560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723913970505623552,"note":"Value kept but may cause issues"} 
[2026-05-08 19:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778248737000,"timestamp_ms":1778248737000,"timestamp_seconds":1778248737,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e260e8"} 
[2026-05-08 19:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 19: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-05-08 19:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231672064001,"66":24788,"170":206,"28":21760,"24":0,"16":290204433315266560,"45":3723913970505623552},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231672064001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:29:58] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:29:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204433315266560,"km_value":290204433315266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723913970505623552,"description":"Unknown IO ID 45"} 
[2026-05-08 19:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231672064001,"power":24788,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3723913970505623552}} 
[2026-05-08 19:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":65232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:29:58] local.INFO: GPS data processed {"connection_id":65232,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:29:58] local.INFO: Acknowledgment sent {"connection_id":65232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:30:29] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e2b6d8012d33ac8006aa1dc8000000962d..."} 
[2026-05-08 19:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e2b6d8012d33ac8006aa1dc8000000962d..."} 
[2026-05-08 19:30:29] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e2b6d8012d33ac8006aa1dc8000000962d..."} 
[2026-05-08 19:30:29] local.INFO: Packet analysis {"connection_id":65232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e2"} 
[2026-05-08 19:30:29] local.INFO: Extracted packet for processing {"connection_id":65232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e2"} 
[2026-05-08 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":758361216,"raw_latitude":111812040,"longitude_deg":75.8361216,"latitude_deg":11.181204,"altitude":0,"angle":150,"satellites":45,"speed":0,"hex_longitude":"2d33ac80","hex_latitude":"06aa1dc8","is_valid_coordinates":true} 
[2026-05-08 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231676672001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204433315266560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723913970505623552,"note":"Value kept but may cause issues"} 
[2026-05-08 19:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778248759000,"timestamp_ms":1778248759000,"timestamp_seconds":1778248759,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e2b6d8"} 
[2026-05-08 19:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:30:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-05-08 19:30:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2586,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:30:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231676672001,"66":27397,"170":206,"28":21760,"24":0,"16":290204433315266560,"45":3723913970505623552},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231676672001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:30:29] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:30:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204433315266560,"km_value":290204433315266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723913970505623552,"description":"Unknown IO ID 45"} 
[2026-05-08 19:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231676672001,"power":27397,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3723913970505623552}} 
[2026-05-08 19:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":65232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:30:29] local.INFO: GPS data processed {"connection_id":65232,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:30:29] local.INFO: Acknowledgment sent {"connection_id":65232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:30:56] local.INFO: TCP Data received {"connection_id":66006,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:30:56] local.INFO: Processing buffer {"connection_id":66006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:30:56] local.INFO: IMEI packet received {"connection_id":66006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":66006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:30:57] local.INFO: TCP Data received {"connection_id":66006,"ip":"117.224.107.64","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 19:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66006,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 19:30:57] local.INFO: Processing buffer {"connection_id":66006,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 19:30:57] local.INFO: IMEI packet received {"connection_id":66006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":66006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:31:02] local.INFO: TCP Data received {"connection_id":66006,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:31:02] local.INFO: Processing buffer {"connection_id":66006,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 19:31:02] local.INFO: IMEI packet received {"connection_id":66006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":66006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:31:03] local.INFO: TCP Data received {"connection_id":66006,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e308e0012d33ac8006aa1dc8000000962b..."} 
[2026-05-08 19:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e308e0012d33ac8006aa1dc8000000962b..."} 
[2026-05-08 19:31:03] local.INFO: Processing buffer {"connection_id":66006,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e07..."} 
[2026-05-08 19:31:03] local.INFO: IMEI packet received {"connection_id":66006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":66006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:31:07] local.INFO: TCP Data received {"connection_id":66006,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e32820012d33ab0006aa1db0000001222a..."} 
[2026-05-08 19:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e32820012d33ab0006aa1db0000001222a..."} 
[2026-05-08 19:31:07] local.INFO: Processing buffer {"connection_id":66006,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e07e308e0012d33ac8006aa1dc8000000962b..."} 
[2026-05-08 19:31:07] local.INFO: Packet analysis {"connection_id":66006,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e07e3"} 
[2026-05-08 19:31:07] local.INFO: Extracted packet for processing {"connection_id":66006,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e3"} 
[2026-05-08 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758361216,"raw_latitude":111812040,"longitude_deg":75.8361216,"latitude_deg":11.181204,"altitude":0,"angle":150,"satellites":43,"speed":0,"hex_longitude":"2d33ac80","hex_latitude":"06aa1dc8","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231682304001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204433315266560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723491758040795136,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778248780000,"timestamp_ms":1778248780000,"timestamp_seconds":1778248780,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e308e0"} 
[2026-05-08 19:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 19:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":66006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":66006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":66006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231682304001,"66":27343,"170":206,"28":21760,"24":0,"16":290204433315266560,"45":3723491758040795136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231682304001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204433315266560,"km_value":290204433315266.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723491758040795136,"description":"Unknown IO ID 45"} 
[2026-05-08 19:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231682304001,"power":27343,"unknown_170":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3723491758040795136}} 
[2026-05-08 19:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":66006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:31:07] local.INFO: GPS data processed {"connection_id":66006,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:31:07] local.INFO: Acknowledgment sent {"connection_id":66006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:31:07] local.INFO: Packet analysis {"connection_id":66006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e3"} 
[2026-05-08 19:31:07] local.INFO: Extracted packet for processing {"connection_id":66006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e3"} 
[2026-05-08 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758360832,"raw_latitude":111812016,"longitude_deg":75.8360832,"latitude_deg":11.1812016,"altitude":0,"angle":290,"satellites":42,"speed":6,"hex_longitude":"2d33ab00","hex_latitude":"06aa1db0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231687680001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204450495135744,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723491758040795136,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778248788000,"timestamp_ms":1778248788000,"timestamp_seconds":1778248788,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e32820"} 
[2026-05-08 19:31:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 19:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:31:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":66006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":66006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":66006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:31:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231687680001,"66":27169,"170":206,"28":21760,"24":6,"16":290204450495135744,"45":3723491758040795136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231687680001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204450495135744,"km_value":290204450495135.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723491758040795136,"description":"Unknown IO ID 45"} 
[2026-05-08 19:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231687680001,"power":27169,"unknown_170":206,"unknown_28":21760,"ignition":6,"odometer":null,"unknown_45":3723491758040795136}} 
[2026-05-08 19:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":66006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:31:07] local.INFO: GPS data processed {"connection_id":66006,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:31:07] local.INFO: Acknowledgment sent {"connection_id":66006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:31:09] local.INFO: TCP Data received {"connection_id":66006,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e32c08012d33aa0006aa1e10000001392a..."} 
[2026-05-08 19:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e32c08012d33aa0006aa1e10000001392a..."} 
[2026-05-08 19:31:09] local.INFO: Processing buffer {"connection_id":66006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e32c08012d33aa0006aa1e10000001392a..."} 
[2026-05-08 19:31:09] local.INFO: Packet analysis {"connection_id":66006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e3"} 
[2026-05-08 19:31:09] local.INFO: Extracted packet for processing {"connection_id":66006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e3"} 
[2026-05-08 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758360576,"raw_latitude":111812112,"longitude_deg":75.8360576,"latitude_deg":11.1812112,"altitude":0,"angle":313,"satellites":42,"speed":7,"hex_longitude":"2d33aa00","hex_latitude":"06aa1e10","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231689728001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204463380037632,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3723069545575723008,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778248789000,"timestamp_ms":1778248789000,"timestamp_seconds":1778248789,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e32c08"} 
[2026-05-08 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-05-08 19:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-05-08 19:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":66006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":66006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":66006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231689728001,"66":27169,"170":206,"28":21760,"24":7,"16":290204463380037632,"45":3723069545575723008},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231689728001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:31:09] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:31:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204463380037632,"km_value":290204463380037.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3723069545575723008,"description":"Unknown IO ID 45"} 
[2026-05-08 19:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231689728001,"power":27169,"unknown_170":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3723069545575723008}} 
[2026-05-08 19:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":66006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:31:09] local.INFO: GPS data processed {"connection_id":66006,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:31:09] local.INFO: Acknowledgment sent {"connection_id":66006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:31:52] local.INFO: TCP Data received {"connection_id":65233,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:31:52] local.INFO: Processing buffer {"connection_id":65233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:31:52] local.INFO: IMEI packet received {"connection_id":65233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":65233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:31:56] local.INFO: TCP Data received {"connection_id":65233,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:31:56] local.INFO: Processing buffer {"connection_id":65233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:31:56] local.INFO: IMEI packet received {"connection_id":65233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":65233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:31:57] local.INFO: TCP Data received {"connection_id":65233,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e32ff0012d33a98006aa1e70000001452a..."} 
[2026-05-08 19:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e32ff0012d33a98006aa1e70000001452a..."} 
[2026-05-08 19:31:57] local.INFO: Processing buffer {"connection_id":65233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e32ff0012d33a98006aa1e70000001452a..."} 
[2026-05-08 19:31:57] local.INFO: Packet analysis {"connection_id":65233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e3"} 
[2026-05-08 19:31:57] local.INFO: Extracted packet for processing {"connection_id":65233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e3"} 
[2026-05-08 19:31:57] local.INFO: GPS Element Parsed {"raw_longitude":758360448,"raw_latitude":111812208,"longitude_deg":75.8360448,"latitude_deg":11.1812208,"altitude":0,"angle":325,"satellites":42,"speed":7,"hex_longitude":"2d33a980","hex_latitude":"06aa1e70","is_valid_coordinates":true} 
[2026-05-08 19:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231689984001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290204471969972224,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3722788070599036928,"note":"Value kept but may cause issues"} 
[2026-05-08 19:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778248790000,"timestamp_ms":1778248790000,"timestamp_seconds":1778248790,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e32ff0"} 
[2026-05-08 19:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-05-08 19:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231689984001,"66":27343,"170":206,"28":21760,"24":7,"16":290204471969972224,"45":3722788070599036928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231689984001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:31:57] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:31:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290204471969972224,"km_value":290204471969972.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":3722788070599036928,"description":"Unknown IO ID 45"} 
[2026-05-08 19:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231689984001,"power":27343,"unknown_170":206,"unknown_28":21760,"ignition":7,"odometer":null,"unknown_45":3722788070599036928}} 
[2026-05-08 19:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":65233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:31:57] local.INFO: GPS data processed {"connection_id":65233,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:31:57] local.INFO: Acknowledgment sent {"connection_id":65233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:32:15] local.INFO: TCP Data received {"connection_id":65172,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:15] local.INFO: Processing buffer {"connection_id":65172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:15] local.INFO: IMEI packet received {"connection_id":65172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:32:15] local.INFO: IMEI acknowledgment sent {"connection_id":65172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:32:29] local.INFO: TCP Data received {"connection_id":65233,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e454e8012d340c8006aa7f50000e004a2d..."} 
[2026-05-08 19:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e454e8012d340c8006aa7f50000e004a2d..."} 
[2026-05-08 19:32:29] local.INFO: Processing buffer {"connection_id":65233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e454e8012d340c8006aa7f50000e004a2d..."} 
[2026-05-08 19:32:29] local.INFO: Packet analysis {"connection_id":65233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e4"} 
[2026-05-08 19:32:29] local.INFO: Extracted packet for processing {"connection_id":65233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e4"} 
[2026-05-08 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":758385792,"raw_latitude":111837008,"longitude_deg":75.8385792,"latitude_deg":11.1837008,"altitude":14,"angle":74,"satellites":45,"speed":13,"hex_longitude":"2d340c80","hex_latitude":"06aa7f50","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231705600001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290206228611596288,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3744109800090658816,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778248865000,"timestamp_ms":1778248865000,"timestamp_seconds":1778248865,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e454e8"} 
[2026-05-08 19:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 19:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:32:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231705600001,"66":27300,"170":206,"28":21760,"24":13,"16":290206228611596288,"45":3744109800090658816},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231705600001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:32:29] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:32:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290206228611596288,"km_value":290206228611596.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3744109800090658816,"description":"Unknown IO ID 45"} 
[2026-05-08 19:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231705600001,"power":27300,"unknown_170":206,"unknown_28":21760,"ignition":13,"odometer":null,"unknown_45":3744109800090658816}} 
[2026-05-08 19:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":65233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:32:29] local.INFO: GPS data processed {"connection_id":65233,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:32:29] local.INFO: Acknowledgment sent {"connection_id":65233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:32:40] local.INFO: TCP Data received {"connection_id":66007,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:40] local.INFO: Processing buffer {"connection_id":66007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:40] local.INFO: IMEI packet received {"connection_id":66007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:32:40] local.INFO: IMEI acknowledgment sent {"connection_id":66007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:32:46] local.INFO: TCP Data received {"connection_id":66007,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66007,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:46] local.INFO: Processing buffer {"connection_id":66007,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:32:46] local.INFO: IMEI packet received {"connection_id":66007,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 19:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":66007,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:32:47] local.INFO: TCP Data received {"connection_id":66007,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e47fe0012ccf5c8007439da0000601442c..."} 
[2026-05-08 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e47fe0012ccf5c8007439da0000601442c..."} 
[2026-05-08 19:32:47] local.INFO: Processing buffer {"connection_id":66007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e47fe0012ccf5c8007439da0000601442c..."} 
[2026-05-08 19:32:47] local.INFO: Packet analysis {"connection_id":66007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e4"} 
[2026-05-08 19:32:47] local.INFO: Extracted packet for processing {"connection_id":66007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e4"} 
[2026-05-08 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":751787136,"raw_latitude":121871776,"longitude_deg":75.1787136,"latitude_deg":12.1871776,"altitude":6,"angle":324,"satellites":44,"speed":54,"hex_longitude":"2ccf5c80","hex_latitude":"07439da0","is_valid_coordinates":true} 
[2026-05-08 19:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:32:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231710464001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110711737061212160,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-3498100610618548224,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:32:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778248876000,"timestamp_ms":1778248876000,"timestamp_seconds":1778248876,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e47fe0"} 
[2026-05-08 19:32:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:32:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:32:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-05-08 19:32:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:32:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:32:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:32:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:32:47] local.INFO: Teltonika packet parsed successfully {"connection_id":66007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:32:47] local.INFO: Passing IMEI to GPS processor {"connection_id":66007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 19:32:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":66007,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 19:32:47] 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-05-08 19:32:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 19:32:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 19:32:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231710464001,"66":27908,"142":206,"85":37632,"24":54,"16":110711737061212160,"44":-3498100610618548224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,85,24,16,44]} 
[2026-05-08 19:32:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 19:32:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 19:32:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231710464001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:32:47] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-05-08 19:32:47] local.INFO: Unknown IO ID detected {"io_id":85,"value":37632,"description":"Unknown IO ID 85"} 
[2026-05-08 19:32:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110711737061212160,"km_value":110711737061212.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:32:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-3498100610618548224,"description":"Unknown IO ID 44"} 
[2026-05-08 19:32:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231710464001,"power":27908,"unknown_142":206,"unknown_85":37632,"ignition":54,"odometer":null,"unknown_44":-3498100610618548224}} 
[2026-05-08 19:32:47] local.INFO: DEBUG: GPS processor result {"connection_id":66007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:32:47] local.INFO: GPS data processed {"connection_id":66007,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:32:47] local.INFO: Acknowledgment sent {"connection_id":66007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:32:51] local.INFO: TCP Data received {"connection_id":65234,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:32:51] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:32:51] local.INFO: IMEI packet received {"connection_id":65234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":65234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:32:55] local.INFO: TCP Data received {"connection_id":65234,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:32:55] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:32:55] local.INFO: IMEI packet received {"connection_id":65234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":65234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:32:56] local.INFO: TCP Data received {"connection_id":65234,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e4a6f0012d3419c006aa83900010004b2d..."} 
[2026-05-08 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e4a6f0012d3419c006aa83900010004b2d..."} 
[2026-05-08 19:32:56] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e4a6f0012d3419c006aa83900010004b2d..."} 
[2026-05-08 19:32:56] local.INFO: Packet analysis {"connection_id":65234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e4"} 
[2026-05-08 19:32:56] local.INFO: Extracted packet for processing {"connection_id":65234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e4"} 
[2026-05-08 19:32:56] local.INFO: GPS Element Parsed {"raw_longitude":758389184,"raw_latitude":111838096,"longitude_deg":75.8389184,"latitude_deg":11.1838096,"altitude":16,"angle":75,"satellites":45,"speed":15,"hex_longitude":"2d3419c0","hex_latitude":"06aa8390","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231709440001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290206404705255424,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3750513355811409920,"note":"Value kept but may cause issues"} 
[2026-05-08 19:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1778248886000,"timestamp_ms":1778248886000,"timestamp_seconds":1778248886,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e4a6f0"} 
[2026-05-08 19:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 19:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":65234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":65234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":65234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231709440001,"66":27376,"170":206,"28":21760,"24":15,"16":290206404705255424,"45":3750513355811409920},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,28,24,16,45]} 
[2026-05-08 19:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231709440001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:32:56] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-05-08 19:32:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290206404705255424,"km_value":290206404705255.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":3750513355811409920,"description":"Unknown IO ID 45"} 
[2026-05-08 19:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231709440001,"power":27376,"unknown_170":206,"unknown_28":21760,"ignition":15,"odometer":null,"unknown_45":3750513355811409920}} 
[2026-05-08 19:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":65234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:32:56] local.INFO: GPS data processed {"connection_id":65234,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:32:56] local.INFO: Acknowledgment sent {"connection_id":65234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:33:28] local.INFO: TCP Data received {"connection_id":65234,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e4f8f8012d34398006aa8b400010004b2d..."} 
[2026-05-08 19:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e4f8f8012d34398006aa8b400010004b2d..."} 
[2026-05-08 19:33:28] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e4f8f8012d34398006aa8b400010004b2d..."} 
[2026-05-08 19:33:28] local.INFO: Packet analysis {"connection_id":65234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e4"} 
[2026-05-08 19:33:28] local.INFO: Extracted packet for processing {"connection_id":65234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e4"} 
[2026-05-08 19:33:28] local.INFO: GPS Element Parsed {"raw_longitude":758397312,"raw_latitude":111840064,"longitude_deg":75.8397312,"latitude_deg":11.1840064,"altitude":16,"angle":75,"satellites":45,"speed":17,"hex_longitude":"2d343980","hex_latitude":"06aa8b40","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231714816001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290206799842246656,"note":"Value kept but may cause issues"} 
[2026-05-08 19:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3754242899253104640,"note":"Value kept but may cause issues"} 
[2026-05-08 19:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1778248907000,"timestamp_ms":1778248907000,"timestamp_seconds":1778248907,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e4f8f8"} 
[2026-05-08 19:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 19:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":65234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":65234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":65234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231714816001,"66":27397,"106":206,"28":21760,"24":17,"16":290206799842246656,"45":3754242899253104640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231714816001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:33:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290206799842246656,"km_value":290206799842246.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3754242899253104640,"description":"Unknown IO ID 45"} 
[2026-05-08 19:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231714816001,"power":27397,"unknown_106":206,"unknown_28":21760,"ignition":17,"odometer":null,"unknown_45":3754242899253104640}} 
[2026-05-08 19:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":65234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:33:28] local.INFO: GPS data processed {"connection_id":65234,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:33:28] local.INFO: Acknowledgment sent {"connection_id":65234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:33:36] local.INFO: TCP Data received {"connection_id":65311,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:33:36] local.INFO: Processing buffer {"connection_id":65311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:33:36] local.INFO: IMEI packet received {"connection_id":65311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":65311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:33:51] local.INFO: TCP Data received {"connection_id":65312,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:33:51] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:33:51] local.INFO: IMEI packet received {"connection_id":65312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":65312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:33:57] local.INFO: TCP Data received {"connection_id":65312,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:33:57] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:33:57] local.INFO: IMEI packet received {"connection_id":65312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":65312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:34:10] local.INFO: TCP Data received {"connection_id":65312,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e53390012d345c4006aa96d00011004c2d..."} 
[2026-05-08 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e53390012d345c4006aa96d00011004c2d..."} 
[2026-05-08 19:34:10] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e53390012d345c4006aa96d00011004c2d..."} 
[2026-05-08 19:34:10] local.INFO: Packet analysis {"connection_id":65312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e5"} 
[2026-05-08 19:34:10] local.INFO: Extracted packet for processing {"connection_id":65312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e5"} 
[2026-05-08 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758406208,"raw_latitude":111843024,"longitude_deg":75.8406208,"latitude_deg":11.1843024,"altitude":17,"angle":76,"satellites":45,"speed":29,"hex_longitude":"2d345c40","hex_latitude":"06aa96d0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231720192001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290207246518845440,"note":"Value kept but may cause issues"} 
[2026-05-08 19:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3763179729764171776,"note":"Value kept but may cause issues"} 
[2026-05-08 19:34: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-05-08 19:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778248922000,"timestamp_ms":1778248922000,"timestamp_seconds":1778248922,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e53390"} 
[2026-05-08 19:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 19:34:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231720192001,"66":27484,"106":206,"28":21760,"24":29,"16":290207246518845440,"45":3763179729764171776},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231720192001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:34:10] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:34:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290207246518845440,"km_value":290207246518845.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3763179729764171776,"description":"Unknown IO ID 45"} 
[2026-05-08 19:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231720192001,"power":27484,"unknown_106":206,"unknown_28":21760,"ignition":29,"odometer":null,"unknown_45":3763179729764171776}} 
[2026-05-08 19:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":65312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:34:10] local.INFO: GPS data processed {"connection_id":65312,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:34:10] local.INFO: Acknowledgment sent {"connection_id":65312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:34:51] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:51] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:51] local.INFO: IMEI packet received {"connection_id":65173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":65173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:34:55] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:55] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:55] local.INFO: IMEI packet received {"connection_id":65173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":65173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:34:57] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:57] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:34:57] local.INFO: IMEI packet received {"connection_id":65173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":65173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:34:59] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e54b00012d346ec006aa9900001100572d..."} 
[2026-05-08 19:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e54b00012d346ec006aa9900001100572d..."} 
[2026-05-08 19:34:59] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e54b00012d346ec006aa9900001100572d..."} 
[2026-05-08 19:34:59] local.INFO: Packet analysis {"connection_id":65173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e5"} 
[2026-05-08 19:34:59] local.INFO: Extracted packet for processing {"connection_id":65173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e5"} 
[2026-05-08 19:34:59] local.INFO: GPS Element Parsed {"raw_longitude":758410944,"raw_latitude":111843584,"longitude_deg":75.8410944,"latitude_deg":11.1843584,"altitude":17,"angle":87,"satellites":45,"speed":34,"hex_longitude":"2d346ec0","hex_latitude":"06aa9900","is_valid_coordinates":true} 
[2026-05-08 19:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231724032001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290207474152112128,"note":"Value kept but may cause issues"} 
[2026-05-08 19:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3772960985205624832,"note":"Value kept but may cause issues"} 
[2026-05-08 19:34: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-05-08 19:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778248928000,"timestamp_ms":1778248928000,"timestamp_seconds":1778248928,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e54b00"} 
[2026-05-08 19:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 19:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231724032001,"66":27310,"106":206,"28":21760,"24":34,"16":290207474152112128,"45":3772960985205624832},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231724032001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:34:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290207474152112128,"km_value":290207474152112.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":3772960985205624832,"description":"Unknown IO ID 45"} 
[2026-05-08 19:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231724032001,"power":27310,"unknown_106":206,"unknown_28":21760,"ignition":34,"odometer":null,"unknown_45":3772960985205624832}} 
[2026-05-08 19:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":65173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:34:59] local.INFO: GPS data processed {"connection_id":65173,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:34:59] local.INFO: Acknowledgment sent {"connection_id":65173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:35:02] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e56a40012d348c0006aa96a8000f00622d..."} 
[2026-05-08 19:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e56a40012d348c0006aa96a8000f00622d..."} 
[2026-05-08 19:35:02] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e56a40012d348c0006aa96a8000f00622d..."} 
[2026-05-08 19:35:02] local.INFO: Packet analysis {"connection_id":65173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e5"} 
[2026-05-08 19:35:02] local.INFO: Extracted packet for processing {"connection_id":65173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e5"} 
[2026-05-08 19:35:02] local.INFO: GPS Element Parsed {"raw_longitude":758418432,"raw_latitude":111842984,"longitude_deg":75.8418432,"latitude_deg":11.1842984,"altitude":15,"angle":98,"satellites":45,"speed":30,"hex_longitude":"2d348c00","hex_latitude":"06aa96a8","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231725568001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290207830634397696,"note":"Value kept but may cause issues"} 
[2026-05-08 19:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3778168272274915328,"note":"Value kept but may cause issues"} 
[2026-05-08 19: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-05-08 19:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778248936000,"timestamp_ms":1778248936000,"timestamp_seconds":1778248936,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e56a40"} 
[2026-05-08 19:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 19:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231725568001,"66":27082,"106":206,"28":21760,"24":30,"16":290207830634397696,"45":3778168272274915328},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,28,24,16,45]} 
[2026-05-08 19:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231725568001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:35:02] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-05-08 19:35:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290207830634397696,"km_value":290207830634397.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":3778168272274915328,"description":"Unknown IO ID 45"} 
[2026-05-08 19:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231725568001,"power":27082,"unknown_106":206,"unknown_28":21760,"ignition":30,"odometer":null,"unknown_45":3778168272274915328}} 
[2026-05-08 19:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":65173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:35:02] local.INFO: GPS data processed {"connection_id":65173,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:35:02] local.INFO: Acknowledgment sent {"connection_id":65173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:35:34] local.INFO: TCP Data received {"connection_id":65173,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e78d20012d35d34006aa14d0000a00712f..."} 
[2026-05-08 19:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e78d20012d35d34006aa14d0000a00712f..."} 
[2026-05-08 19:35:34] local.INFO: Processing buffer {"connection_id":65173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e78d20012d35d34006aa14d0000a00712f..."} 
[2026-05-08 19:35:34] local.INFO: Packet analysis {"connection_id":65173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e7"} 
[2026-05-08 19:35:34] local.INFO: Extracted packet for processing {"connection_id":65173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e7"} 
[2026-05-08 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":758502208,"raw_latitude":111809744,"longitude_deg":75.8502208,"latitude_deg":11.1809744,"altitude":10,"angle":113,"satellites":47,"speed":42,"hex_longitude":"2d35d340","hex_latitude":"06aa14d0","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231761152001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290212134191628288,"note":"Value kept but may cause issues"} 
[2026-05-08 19:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3868873583512182784,"note":"Value kept but may cause issues"} 
[2026-05-08 19:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778249076000,"timestamp_ms":1778249076000,"timestamp_seconds":1778249076,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e78d20"} 
[2026-05-08 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-05-08 19:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":104,"n8_eight_byte":241,"data_length":795,"current_offset":136} 
[2026-05-08 19:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2887,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231761152001,"66":27267,"104":206,"28":21760,"24":42,"16":290212134191628288,"45":3868873583512182784},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-05-08 19:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231761152001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:35:34] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-05-08 19:35:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290212134191628288,"km_value":290212134191628.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":3868873583512182784,"description":"Unknown IO ID 45"} 
[2026-05-08 19:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231761152001,"power":27267,"unknown_104":206,"unknown_28":21760,"ignition":42,"odometer":null,"unknown_45":3868873583512182784}} 
[2026-05-08 19:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":65173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:35:34] local.INFO: GPS data processed {"connection_id":65173,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:35:34] local.INFO: Acknowledgment sent {"connection_id":65173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:35:54] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:35:54] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:35:54] local.INFO: IMEI packet received {"connection_id":65175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":65175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:35:56] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:35:56] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:35:56] local.INFO: IMEI packet received {"connection_id":65175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":65175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:36:02] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:02] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:02] local.INFO: IMEI packet received {"connection_id":65175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":65175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:36:03] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e7b048012d35f74006aa05b0000900702f..."} 
[2026-05-08 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e7b048012d35f74006aa05b0000900702f..."} 
[2026-05-08 19:36:03] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e7b048012d35f74006aa05b0000900702f..."} 
[2026-05-08 19:36:03] local.INFO: Packet analysis {"connection_id":65175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e7"} 
[2026-05-08 19:36:03] local.INFO: Extracted packet for processing {"connection_id":65175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e7"} 
[2026-05-08 19:36:03] local.INFO: GPS Element Parsed {"raw_longitude":758511424,"raw_latitude":111805872,"longitude_deg":75.8511424,"latitude_deg":11.1805872,"altitude":9,"angle":112,"satellites":47,"speed":44,"hex_longitude":"2d35f740","hex_latitude":"06aa05b0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231763456001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290212610932998144,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3878514101463601152,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778249085000,"timestamp_ms":1778249085000,"timestamp_seconds":1778249085,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e7b048"} 
[2026-05-08 19:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:36: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-05-08 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 19:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231763456001,"66":26930,"104":206,"28":21760,"24":44,"16":290212610932998144,"45":3878514101463601152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-05-08 19:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231763456001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:36:03] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-05-08 19:36:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290212610932998144,"km_value":290212610932998.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":3878514101463601152,"description":"Unknown IO ID 45"} 
[2026-05-08 19:36:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231763456001,"power":26930,"unknown_104":206,"unknown_28":21760,"ignition":44,"odometer":null,"unknown_45":3878514101463601152}} 
[2026-05-08 19:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":65175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:36:03] local.INFO: GPS data processed {"connection_id":65175,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:36:03] local.INFO: Acknowledgment sent {"connection_id":65175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:36:05] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e7d370012d361ac006a9f6b0000a00722e..."} 
[2026-05-08 19:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e7d370012d361ac006a9f6b0000a00722e..."} 
[2026-05-08 19:36:05] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e7d370012d361ac006a9f6b0000a00722e..."} 
[2026-05-08 19:36:05] local.INFO: Packet analysis {"connection_id":65175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e7"} 
[2026-05-08 19:36:05] local.INFO: Extracted packet for processing {"connection_id":65175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e7"} 
[2026-05-08 19:36:05] local.INFO: GPS Element Parsed {"raw_longitude":758520512,"raw_latitude":111802032,"longitude_deg":75.8520512,"latitude_deg":11.1802032,"altitude":10,"angle":114,"satellites":46,"speed":35,"hex_longitude":"2d361ac0","hex_latitude":"06a9f6b0","is_valid_coordinates":true} 
[2026-05-08 19:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231765760001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290213083379400704,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3888647200624193536,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778249094000,"timestamp_ms":1778249094000,"timestamp_seconds":1778249094,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e7d370"} 
[2026-05-08 19:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":50,"data_length":795,"current_offset":136} 
[2026-05-08 19:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1173,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231765760001,"66":27310,"104":206,"28":21760,"24":35,"16":290213083379400704,"45":3888647200624193536},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-05-08 19:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231765760001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:36:05] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-05-08 19:36:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290213083379400704,"km_value":290213083379400.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3888647200624193536,"description":"Unknown IO ID 45"} 
[2026-05-08 19:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231765760001,"power":27310,"unknown_104":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":3888647200624193536}} 
[2026-05-08 19:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":65175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:36:05] local.INFO: GPS data processed {"connection_id":65175,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:36:05] local.INFO: Acknowledgment sent {"connection_id":65175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:36:36] local.INFO: TCP Data received {"connection_id":65175,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e7fa80012d363c8006a9ead8000c00692f..."} 
[2026-05-08 19:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e7fa80012d363c8006a9ead8000c00692f..."} 
[2026-05-08 19:36:36] local.INFO: Processing buffer {"connection_id":65175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e7fa80012d363c8006a9ead8000c00692f..."} 
[2026-05-08 19:36:36] local.INFO: Packet analysis {"connection_id":65175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e7"} 
[2026-05-08 19:36:36] local.INFO: Extracted packet for processing {"connection_id":65175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e7"} 
[2026-05-08 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":758529152,"raw_latitude":111799000,"longitude_deg":75.8529152,"latitude_deg":11.1799,"altitude":12,"angle":105,"satellites":47,"speed":39,"hex_longitude":"2d363c80","hex_latitude":"06a9ead8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231768064001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290213517171097600,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3898639562296438784,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778249104000,"timestamp_ms":1778249104000,"timestamp_seconds":1778249104,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e7fa80"} 
[2026-05-08 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-05-08 19:36:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 19:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231768064001,"66":27234,"104":206,"28":21760,"24":39,"16":290213517171097600,"45":3898639562296438784},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-05-08 19:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231768064001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:36:36] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-05-08 19:36:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290213517171097600,"km_value":290213517171097.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3898639562296438784,"description":"Unknown IO ID 45"} 
[2026-05-08 19:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231768064001,"power":27234,"unknown_104":206,"unknown_28":21760,"ignition":39,"odometer":null,"unknown_45":3898639562296438784}} 
[2026-05-08 19:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":65175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:36:36] local.INFO: GPS data processed {"connection_id":65175,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:36:36] local.INFO: Acknowledgment sent {"connection_id":65175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:36:51] local.INFO: TCP Data received {"connection_id":66010,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:51] local.INFO: Processing buffer {"connection_id":66010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:51] local.INFO: IMEI packet received {"connection_id":66010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":66010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:36:52] local.INFO: TCP Data received {"connection_id":66010,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:52] local.INFO: Processing buffer {"connection_id":66010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:52] local.INFO: IMEI packet received {"connection_id":66010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":66010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:36:57] local.INFO: TCP Data received {"connection_id":66010,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:57] local.INFO: Processing buffer {"connection_id":66010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:36:57] local.INFO: IMEI packet received {"connection_id":66010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":66010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:36:58] local.INFO: TCP Data received {"connection_id":66010,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e82190012d365f0006a9e158000b006a2f..."} 
[2026-05-08 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e82190012d365f0006a9e158000b006a2f..."} 
[2026-05-08 19:36:58] local.INFO: Processing buffer {"connection_id":66010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e82190012d365f0006a9e158000b006a2f..."} 
[2026-05-08 19:36:58] local.INFO: Packet analysis {"connection_id":66010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:36:58] local.INFO: Extracted packet for processing {"connection_id":66010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":758537984,"raw_latitude":111796568,"longitude_deg":75.8537984,"latitude_deg":11.1796568,"altitude":11,"angle":106,"satellites":47,"speed":37,"hex_longitude":"2d365f00","hex_latitude":"06a9e158","is_valid_coordinates":true} 
[2026-05-08 19:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231770624001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290213955257761792,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3908139342759647232,"note":"Value kept but may cause issues"} 
[2026-05-08 19:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778249114000,"timestamp_ms":1778249114000,"timestamp_seconds":1778249114,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e82190"} 
[2026-05-08 19:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 19:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231770624001,"66":27321,"104":206,"28":21760,"24":37,"16":290213955257761792,"45":3908139342759647232},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-05-08 19:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231770624001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:36:58] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-05-08 19:36:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290213955257761792,"km_value":290213955257761.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3908139342759647232,"description":"Unknown IO ID 45"} 
[2026-05-08 19:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231770624001,"power":27321,"unknown_104":206,"unknown_28":21760,"ignition":37,"odometer":null,"unknown_45":3908139342759647232}} 
[2026-05-08 19:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":66010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:36:58] local.INFO: GPS data processed {"connection_id":66010,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:36:58] local.INFO: Acknowledgment sent {"connection_id":66010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:37:30] local.INFO: TCP Data received {"connection_id":66010,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e848a0012d36830006a9d708000900692f..."} 
[2026-05-08 19:37:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e848a0012d36830006a9d708000900692f..."} 
[2026-05-08 19:37:30] local.INFO: Processing buffer {"connection_id":66010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e848a0012d36830006a9d708000900692f..."} 
[2026-05-08 19:37:30] local.INFO: Packet analysis {"connection_id":66010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:37:30] local.INFO: Extracted packet for processing {"connection_id":66010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":758547200,"raw_latitude":111793928,"longitude_deg":75.85472,"latitude_deg":11.1793928,"altitude":9,"angle":105,"satellites":47,"speed":38,"hex_longitude":"2d368300","hex_latitude":"06a9d708","is_valid_coordinates":true} 
[2026-05-08 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:37:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231773184001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:37:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290214410524295168,"note":"Value kept but may cause issues"} 
[2026-05-08 19:37:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3917850229455542272,"note":"Value kept but may cause issues"} 
[2026-05-08 19:37:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,104,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:37:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778249124000,"timestamp_ms":1778249124000,"timestamp_seconds":1778249124,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e848a0"} 
[2026-05-08 19:37:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:37:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:37:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 19:37:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:37:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:37:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:37:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:37:30] local.INFO: Teltonika packet parsed successfully {"connection_id":66010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:37:30] local.INFO: Passing IMEI to GPS processor {"connection_id":66010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:37:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":66010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:37:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:37:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:37:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:37:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231773184001,"66":26636,"104":206,"28":21760,"24":38,"16":290214410524295168,"45":3917850229455542272},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-05-08 19:37:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:37:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:37:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231773184001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:37:30] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-05-08 19:37:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:37:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290214410524295168,"km_value":290214410524295.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:37:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":3917850229455542272,"description":"Unknown IO ID 45"} 
[2026-05-08 19:37:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231773184001,"power":26636,"unknown_104":206,"unknown_28":21760,"ignition":38,"odometer":null,"unknown_45":3917850229455542272}} 
[2026-05-08 19:37:30] local.INFO: DEBUG: GPS processor result {"connection_id":66010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:37:30] local.INFO: GPS data processed {"connection_id":66010,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:37:30] local.INFO: Acknowledgment sent {"connection_id":66010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:37:50] local.INFO: TCP Data received {"connection_id":65313,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:50] local.INFO: Processing buffer {"connection_id":65313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:50] local.INFO: IMEI packet received {"connection_id":65313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":65313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:37:51] local.INFO: TCP Data received {"connection_id":65313,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:51] local.INFO: Processing buffer {"connection_id":65313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:51] local.INFO: IMEI packet received {"connection_id":65313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":65313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:37:57] local.INFO: TCP Data received {"connection_id":65313,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:57] local.INFO: Processing buffer {"connection_id":65313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:37:57] local.INFO: IMEI packet received {"connection_id":65313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":65313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:37:58] local.INFO: TCP Data received {"connection_id":65313,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e867e0012d369fc006a9ccc0000800792f..."} 
[2026-05-08 19:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e867e0012d369fc006a9ccc0000800792f..."} 
[2026-05-08 19:37:58] local.INFO: Processing buffer {"connection_id":65313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e867e0012d369fc006a9ccc0000800792f..."} 
[2026-05-08 19:37:58] local.INFO: Packet analysis {"connection_id":65313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:37:58] local.INFO: Extracted packet for processing {"connection_id":65313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:37:58] local.INFO: GPS Element Parsed {"raw_longitude":758554560,"raw_latitude":111791296,"longitude_deg":75.855456,"latitude_deg":11.1791296,"altitude":8,"angle":121,"satellites":47,"speed":39,"hex_longitude":"2d369fc0","hex_latitude":"06a9ccc0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231775744001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290214784186449920,"note":"Value kept but may cause issues"} 
[2026-05-08 19:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3927983328616450048,"note":"Value kept but may cause issues"} 
[2026-05-08 19:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778249132000,"timestamp_ms":1778249132000,"timestamp_seconds":1778249132,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e867e0"} 
[2026-05-08 19:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":104,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-05-08 19:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":826,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231775744001,"66":27169,"91":206,"28":21760,"24":39,"16":290214784186449920,"45":3927983328616450048},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-05-08 19:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231775744001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:37:58] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-05-08 19:37:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290214784186449920,"km_value":290214784186449.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3927983328616450048,"description":"Unknown IO ID 45"} 
[2026-05-08 19:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231775744001,"power":27169,"unknown_91":206,"unknown_28":21760,"ignition":39,"odometer":null,"unknown_45":3927983328616450048}} 
[2026-05-08 19:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":65313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:37:58] local.INFO: GPS data processed {"connection_id":65313,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:37:58] local.INFO: Acknowledgment sent {"connection_id":65313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:38:29] local.INFO: TCP Data received {"connection_id":65313,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e87398012d36a90006a9c568000900852f..."} 
[2026-05-08 19:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e87398012d36a90006a9c568000900852f..."} 
[2026-05-08 19:38:29] local.INFO: Processing buffer {"connection_id":65313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e87398012d36a90006a9c568000900852f..."} 
[2026-05-08 19:38:29] local.INFO: Packet analysis {"connection_id":65313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:38:29] local.INFO: Extracted packet for processing {"connection_id":65313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:38:29] local.INFO: GPS Element Parsed {"raw_longitude":758556928,"raw_latitude":111789416,"longitude_deg":75.8556928,"latitude_deg":11.1789416,"altitude":9,"angle":133,"satellites":47,"speed":39,"hex_longitude":"2d36a900","hex_latitude":"06a9c568","is_valid_coordinates":true} 
[2026-05-08 19:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231777792001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290214930215337984,"note":"Value kept but may cause issues"} 
[2026-05-08 19:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3936075734196207616,"note":"Value kept but may cause issues"} 
[2026-05-08 19:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778249135000,"timestamp_ms":1778249135000,"timestamp_seconds":1778249135,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e87398"} 
[2026-05-08 19:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-05-08 19:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231777792001,"66":27343,"91":206,"28":21760,"24":39,"16":290214930215337984,"45":3936075734196207616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-05-08 19:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231777792001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:38:29] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-05-08 19:38:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290214930215337984,"km_value":290214930215338.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":3936075734196207616,"description":"Unknown IO ID 45"} 
[2026-05-08 19:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231777792001,"power":27343,"unknown_91":206,"unknown_28":21760,"ignition":39,"odometer":null,"unknown_45":3936075734196207616}} 
[2026-05-08 19:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":65313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:38:29] local.INFO: GPS data processed {"connection_id":65313,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:38:29] local.INFO: Acknowledgment sent {"connection_id":65313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:38:52] local.INFO: TCP Data received {"connection_id":65177,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:38:52] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:38:52] local.INFO: IMEI packet received {"connection_id":65177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":65177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:38:56] local.INFO: TCP Data received {"connection_id":65177,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:38:56] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:38:56] local.INFO: IMEI packet received {"connection_id":65177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":65177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:38:58] local.INFO: TCP Data received {"connection_id":65177,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07e896c0012d36bf8006a9b0f0000900772f..."} 
[2026-05-08 19:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07e896c0012d36bf8006a9b0f0000900772f..."} 
[2026-05-08 19:38:58] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07e896c0012d36bf8006a9b0f0000900772f..."} 
[2026-05-08 19:38:58] local.INFO: Packet analysis {"connection_id":65177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:38:58] local.INFO: Extracted packet for processing {"connection_id":65177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07e8"} 
[2026-05-08 19:38:58] local.INFO: GPS Element Parsed {"raw_longitude":758562688,"raw_latitude":111784176,"longitude_deg":75.8562688,"latitude_deg":11.1784176,"altitude":9,"angle":119,"satellites":47,"speed":25,"hex_longitude":"2d36bf80","hex_latitude":"06a9b0f0","is_valid_coordinates":true} 
[2026-05-08 19:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231778560001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290215303877492736,"note":"Value kept but may cause issues"} 
[2026-05-08 19:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3938679377730299904,"note":"Value kept but may cause issues"} 
[2026-05-08 19:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778249144000,"timestamp_ms":1778249144000,"timestamp_seconds":1778249144,"priority":1,"record_length":96,"hex_timestamp":"0000019e07e896c0"} 
[2026-05-08 19:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 19:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231778560001,"66":27245,"91":206,"28":21760,"24":25,"16":290215303877492736,"45":3938679377730299904},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-05-08 19:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231778560001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:38:58] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-05-08 19:38:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290215303877492736,"km_value":290215303877492.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":3938679377730299904,"description":"Unknown IO ID 45"} 
[2026-05-08 19:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231778560001,"power":27245,"unknown_91":206,"unknown_28":21760,"ignition":25,"odometer":null,"unknown_45":3938679377730299904}} 
[2026-05-08 19:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":65177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:38:58] local.INFO: GPS data processed {"connection_id":65177,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:38:58] local.INFO: Acknowledgment sent {"connection_id":65177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:39:06] local.INFO: TCP Data received {"connection_id":65235,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:39:06] local.INFO: Processing buffer {"connection_id":65235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:39:06] local.INFO: IMEI packet received {"connection_id":65235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":65235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:39:29] local.INFO: TCP Data received {"connection_id":65177,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07eacd28012d383d8006a996a0000d00612f..."} 
[2026-05-08 19:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07eacd28012d383d8006a996a0000d00612f..."} 
[2026-05-08 19:39:29] local.INFO: Processing buffer {"connection_id":65177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07eacd28012d383d8006a996a0000d00612f..."} 
[2026-05-08 19:39:29] local.INFO: Packet analysis {"connection_id":65177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ea"} 
[2026-05-08 19:39:29] local.INFO: Extracted packet for processing {"connection_id":65177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ea"} 
[2026-05-08 19:39:29] local.INFO: GPS Element Parsed {"raw_longitude":758660480,"raw_latitude":111777440,"longitude_deg":75.866048,"latitude_deg":11.177744,"altitude":13,"angle":97,"satellites":47,"speed":21,"hex_longitude":"2d383d80","hex_latitude":"06a996a0","is_valid_coordinates":true} 
[2026-05-08 19:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231812608001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290220036931452928,"note":"Value kept but may cause issues"} 
[2026-05-08 19:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4044584337714780160,"note":"Value kept but may cause issues"} 
[2026-05-08 19:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778249289000,"timestamp_ms":1778249289000,"timestamp_seconds":1778249289,"priority":1,"record_length":96,"hex_timestamp":"0000019e07eacd28"} 
[2026-05-08 19:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 19:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231812608001,"66":27245,"91":206,"28":21760,"24":21,"16":290220036931452928,"45":4044584337714780160},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-05-08 19:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231812608001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:39:29] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-05-08 19:39:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290220036931452928,"km_value":290220036931452.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4044584337714780160,"description":"Unknown IO ID 45"} 
[2026-05-08 19:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231812608001,"power":27245,"unknown_91":206,"unknown_28":21760,"ignition":21,"odometer":null,"unknown_45":4044584337714780160}} 
[2026-05-08 19:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":65177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:39:29] local.INFO: GPS data processed {"connection_id":65177,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:39:29] local.INFO: Acknowledgment sent {"connection_id":65177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:39:41] local.INFO: TCP Data received {"connection_id":66011,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:39:41] local.INFO: Processing buffer {"connection_id":66011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:39:41] local.INFO: IMEI packet received {"connection_id":66011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":66011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:39:51] local.INFO: TCP Data received {"connection_id":65314,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:39:51] local.INFO: Processing buffer {"connection_id":65314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:39:51] local.INFO: IMEI packet received {"connection_id":65314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":65314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:39:56] local.INFO: TCP Data received {"connection_id":65314,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:39:56] local.INFO: Processing buffer {"connection_id":65314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:39:56] local.INFO: IMEI packet received {"connection_id":65314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":65314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:39:57] local.INFO: TCP Data received {"connection_id":65314,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07eb0f90012d38608006a99098000e00662c..."} 
[2026-05-08 19:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07eb0f90012d38608006a99098000e00662c..."} 
[2026-05-08 19:39:57] local.INFO: Processing buffer {"connection_id":65314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07eb0f90012d38608006a99098000e00662c..."} 
[2026-05-08 19:39:57] local.INFO: Packet analysis {"connection_id":65314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07eb"} 
[2026-05-08 19:39:57] local.INFO: Extracted packet for processing {"connection_id":65314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07eb"} 
[2026-05-08 19:39:57] local.INFO: GPS Element Parsed {"raw_longitude":758669440,"raw_latitude":111775896,"longitude_deg":75.866944,"latitude_deg":11.1775896,"altitude":14,"angle":102,"satellites":44,"speed":24,"hex_longitude":"2d386080","hex_latitude":"06a99098","is_valid_coordinates":true} 
[2026-05-08 19:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231817984001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290220470723149824,"note":"Value kept but may cause issues"} 
[2026-05-08 19:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4052536005806694400,"note":"Value kept but may cause issues"} 
[2026-05-08 19:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778249306000,"timestamp_ms":1778249306000,"timestamp_seconds":1778249306,"priority":1,"record_length":96,"hex_timestamp":"0000019e07eb0f90"} 
[2026-05-08 19:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 19:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231817984001,"66":27321,"91":206,"28":21760,"24":24,"16":290220470723149824,"45":4052536005806694400},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-05-08 19:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231817984001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:39:57] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-05-08 19:39:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290220470723149824,"km_value":290220470723149.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4052536005806694400,"description":"Unknown IO ID 45"} 
[2026-05-08 19:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231817984001,"power":27321,"unknown_91":206,"unknown_28":21760,"ignition":24,"odometer":null,"unknown_45":4052536005806694400}} 
[2026-05-08 19:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":65314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:39:57] local.INFO: GPS data processed {"connection_id":65314,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:39:57] local.INFO: Acknowledgment sent {"connection_id":65314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:40:29] local.INFO: TCP Data received {"connection_id":65314,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07eb51f8012d38830006a98778000e006b2e..."} 
[2026-05-08 19:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07eb51f8012d38830006a98778000e006b2e..."} 
[2026-05-08 19:40:29] local.INFO: Processing buffer {"connection_id":65314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07eb51f8012d38830006a98778000e006b2e..."} 
[2026-05-08 19:40:29] local.INFO: Packet analysis {"connection_id":65314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07eb"} 
[2026-05-08 19:40:29] local.INFO: Extracted packet for processing {"connection_id":65314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07eb"} 
[2026-05-08 19:40:29] local.INFO: GPS Element Parsed {"raw_longitude":758678272,"raw_latitude":111773560,"longitude_deg":75.8678272,"latitude_deg":11.177356,"altitude":14,"angle":107,"satellites":46,"speed":8,"hex_longitude":"2d388300","hex_latitude":"06a98778","is_valid_coordinates":true} 
[2026-05-08 19:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231822336001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290220904514846720,"note":"Value kept but may cause issues"} 
[2026-05-08 19:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4062387629991172096,"note":"Value kept but may cause issues"} 
[2026-05-08 19:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778249323000,"timestamp_ms":1778249323000,"timestamp_seconds":1778249323,"priority":1,"record_length":96,"hex_timestamp":"0000019e07eb51f8"} 
[2026-05-08 19:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 19:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231822336001,"66":27343,"91":206,"28":21760,"24":8,"16":290220904514846720,"45":4062387629991172096},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-05-08 19:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231822336001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:40:29] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-05-08 19:40:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290220904514846720,"km_value":290220904514846.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4062387629991172096,"description":"Unknown IO ID 45"} 
[2026-05-08 19:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231822336001,"power":27343,"unknown_91":206,"unknown_28":21760,"ignition":8,"odometer":null,"unknown_45":4062387629991172096}} 
[2026-05-08 19:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":65314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:40:29] local.INFO: GPS data processed {"connection_id":65314,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:40:29] local.INFO: Acknowledgment sent {"connection_id":65314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:40:57] local.INFO: TCP Data received {"connection_id":66012,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:40:57] local.INFO: Processing buffer {"connection_id":66012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:40:57] local.INFO: IMEI packet received {"connection_id":66012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":66012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:40:58] local.INFO: TCP Data received {"connection_id":66012,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:40:58] local.INFO: Processing buffer {"connection_id":66012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:40:58] local.INFO: IMEI packet received {"connection_id":66012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":66012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:40:59] local.INFO: TCP Data received {"connection_id":66012,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07eba400012d38a34006a97fc8000b006a2e..."} 
[2026-05-08 19:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07eba400012d38a34006a97fc8000b006a2e..."} 
[2026-05-08 19:40:59] local.INFO: Processing buffer {"connection_id":66012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07eba400012d38a34006a97fc8000b006a2e..."} 
[2026-05-08 19:40:59] local.INFO: Packet analysis {"connection_id":66012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07eb"} 
[2026-05-08 19:40:59] local.INFO: Extracted packet for processing {"connection_id":66012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07eb"} 
[2026-05-08 19:40:59] local.INFO: GPS Element Parsed {"raw_longitude":758686528,"raw_latitude":111771592,"longitude_deg":75.8686528,"latitude_deg":11.1771592,"altitude":11,"angle":106,"satellites":46,"speed":22,"hex_longitude":"2d38a340","hex_latitude":"06a97fc8","is_valid_coordinates":true} 
[2026-05-08 19:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231826688001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290221308241772544,"note":"Value kept but may cause issues"} 
[2026-05-08 19:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4072098516687091712,"note":"Value kept but may cause issues"} 
[2026-05-08 19:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778249344000,"timestamp_ms":1778249344000,"timestamp_seconds":1778249344,"priority":1,"record_length":96,"hex_timestamp":"0000019e07eba400"} 
[2026-05-08 19:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 19:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":66012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":66012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":66012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231826688001,"66":27321,"90":206,"28":21760,"24":22,"16":290221308241772544,"45":4072098516687091712},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-05-08 19:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231826688001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:40:59] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 19:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290221308241772544,"km_value":290221308241772.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4072098516687091712,"description":"Unknown IO ID 45"} 
[2026-05-08 19:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231826688001,"power":27321,"unknown_90":206,"unknown_28":21760,"ignition":22,"odometer":null,"unknown_45":4072098516687091712}} 
[2026-05-08 19:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":66012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:40:59] local.INFO: GPS data processed {"connection_id":66012,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:40:59] local.INFO: Acknowledgment sent {"connection_id":66012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:41:02] local.INFO: TCP Data received {"connection_id":66012,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ebe668012d38c58006a97698000a00692f..."} 
[2026-05-08 19:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ebe668012d38c58006a97698000a00692f..."} 
[2026-05-08 19:41:02] local.INFO: Processing buffer {"connection_id":66012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ebe668012d38c58006a97698000a00692f..."} 
[2026-05-08 19:41:02] local.INFO: Packet analysis {"connection_id":66012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07eb"} 
[2026-05-08 19:41:02] local.INFO: Extracted packet for processing {"connection_id":66012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07eb"} 
[2026-05-08 19:41:02] local.INFO: GPS Element Parsed {"raw_longitude":758695296,"raw_latitude":111769240,"longitude_deg":75.8695296,"latitude_deg":11.176924,"altitude":10,"angle":105,"satellites":47,"speed":24,"hex_longitude":"2d38c580","hex_latitude":"06a97698","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231832064001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290221742033469440,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4081176084685506560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778249361000,"timestamp_ms":1778249361000,"timestamp_seconds":1778249361,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ebe668"} 
[2026-05-08 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-05-08 19:41: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-05-08 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 19:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":66012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":66012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":66012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231832064001,"66":27180,"90":206,"28":21760,"24":24,"16":290221742033469440,"45":4081176084685506560},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-05-08 19:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231832064001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:41:02] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 19:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290221742033469440,"km_value":290221742033469.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4081176084685506560,"description":"Unknown IO ID 45"} 
[2026-05-08 19:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231832064001,"power":27180,"unknown_90":206,"unknown_28":21760,"ignition":24,"odometer":null,"unknown_45":4081176084685506560}} 
[2026-05-08 19:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":66012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:41:02] local.INFO: GPS data processed {"connection_id":66012,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:41:02] local.INFO: Acknowledgment sent {"connection_id":66012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:41:33] local.INFO: TCP Data received {"connection_id":66012,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ec1d18012d38ea8006a96dd8000d00672d..."} 
[2026-05-08 19:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ec1d18012d38ea8006a96dd8000d00672d..."} 
[2026-05-08 19:41:33] local.INFO: Processing buffer {"connection_id":66012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ec1d18012d38ea8006a96dd8000d00672d..."} 
[2026-05-08 19:41:33] local.INFO: Packet analysis {"connection_id":66012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ec"} 
[2026-05-08 19:41:33] local.INFO: Extracted packet for processing {"connection_id":66012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ec"} 
[2026-05-08 19:41:33] local.INFO: GPS Element Parsed {"raw_longitude":758704768,"raw_latitude":111767000,"longitude_deg":75.8704768,"latitude_deg":11.1767,"altitude":13,"angle":103,"satellites":45,"speed":26,"hex_longitude":"2d38ea80","hex_latitude":"06a96dd8","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231836416001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290222205889937408,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4090816602637244416,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778249375000,"timestamp_ms":1778249375000,"timestamp_seconds":1778249375,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ec1d18"} 
[2026-05-08 19:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 19:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":66012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":66012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":66012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231836416001,"66":27332,"90":206,"28":21760,"24":26,"16":290222205889937408,"45":4090816602637244416},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-05-08 19:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231836416001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:41:33] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 19:41:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290222205889937408,"km_value":290222205889937.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4090816602637244416,"description":"Unknown IO ID 45"} 
[2026-05-08 19:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231836416001,"power":27332,"unknown_90":206,"unknown_28":21760,"ignition":26,"odometer":null,"unknown_45":4090816602637244416}} 
[2026-05-08 19:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":66012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:41:33] local.INFO: GPS data processed {"connection_id":66012,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:41:33] local.INFO: Acknowledgment sent {"connection_id":66012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:41:49] local.INFO: TCP Data received {"connection_id":65236,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:49] local.INFO: Processing buffer {"connection_id":65236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:49] local.INFO: IMEI packet received {"connection_id":65236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":65236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:41:51] local.INFO: TCP Data received {"connection_id":65236,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:51] local.INFO: Processing buffer {"connection_id":65236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:51] local.INFO: IMEI packet received {"connection_id":65236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":65236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:41:57] local.INFO: TCP Data received {"connection_id":65236,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:57] local.INFO: Processing buffer {"connection_id":65236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:41:57] local.INFO: IMEI packet received {"connection_id":65236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":65236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:41:58] local.INFO: TCP Data received {"connection_id":65236,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ec53c8012d390e8006a967900010005f2d..."} 
[2026-05-08 19:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ec53c8012d390e8006a967900010005f2d..."} 
[2026-05-08 19:41:58] local.INFO: Processing buffer {"connection_id":65236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ec53c8012d390e8006a967900010005f2d..."} 
[2026-05-08 19:41:58] local.INFO: Packet analysis {"connection_id":65236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ec"} 
[2026-05-08 19:41:58] local.INFO: Extracted packet for processing {"connection_id":65236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ec"} 
[2026-05-08 19:41:58] local.INFO: GPS Element Parsed {"raw_longitude":758713984,"raw_latitude":111765392,"longitude_deg":75.8713984,"latitude_deg":11.1765392,"altitude":16,"angle":95,"satellites":45,"speed":27,"hex_longitude":"2d390e80","hex_latitude":"06a96790","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231840000001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290222652566536192,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4101231176774965248,"note":"Value kept but may cause issues"} 
[2026-05-08 19:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778249389000,"timestamp_ms":1778249389000,"timestamp_seconds":1778249389,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ec53c8"} 
[2026-05-08 19:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 19:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231840000001,"66":27300,"90":206,"28":21760,"24":27,"16":290222652566536192,"45":4101231176774965248},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-05-08 19:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231840000001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:41:58] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 19:41:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290222652566536192,"km_value":290222652566536.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4101231176774965248,"description":"Unknown IO ID 45"} 
[2026-05-08 19:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231840000001,"power":27300,"unknown_90":206,"unknown_28":21760,"ignition":27,"odometer":null,"unknown_45":4101231176774965248}} 
[2026-05-08 19:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":65236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:41:58] local.INFO: GPS data processed {"connection_id":65236,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:41:58] local.INFO: Acknowledgment sent {"connection_id":65236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:42:30] local.INFO: TCP Data received {"connection_id":65236,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ec8690012d39324006a95ff8000e006a2e..."} 
[2026-05-08 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ec8690012d39324006a95ff8000e006a2e..."} 
[2026-05-08 19:42:30] local.INFO: Processing buffer {"connection_id":65236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ec8690012d39324006a95ff8000e006a2e..."} 
[2026-05-08 19:42:30] local.INFO: Packet analysis {"connection_id":65236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ec"} 
[2026-05-08 19:42:30] local.INFO: Extracted packet for processing {"connection_id":65236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ec"} 
[2026-05-08 19:42:30] local.INFO: GPS Element Parsed {"raw_longitude":758723136,"raw_latitude":111763448,"longitude_deg":75.8723136,"latitude_deg":11.1763448,"altitude":14,"angle":106,"satellites":46,"speed":28,"hex_longitude":"2d393240","hex_latitude":"06a95ff8","is_valid_coordinates":true} 
[2026-05-08 19:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231843584001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290223099243134976,"note":"Value kept but may cause issues"} 
[2026-05-08 19:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4111364275936137216,"note":"Value kept but may cause issues"} 
[2026-05-08 19:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778249402000,"timestamp_ms":1778249402000,"timestamp_seconds":1778249402,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ec8690"} 
[2026-05-08 19:42:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:42:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:42:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 19:42:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:42:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:42:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:42:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231843584001,"66":27463,"90":206,"28":21760,"24":28,"16":290223099243134976,"45":4111364275936137216},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,28,24,16,45]} 
[2026-05-08 19:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231843584001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:42:30] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 19:42:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290223099243134976,"km_value":290223099243135.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4111364275936137216,"description":"Unknown IO ID 45"} 
[2026-05-08 19:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231843584001,"power":27463,"unknown_90":206,"unknown_28":21760,"ignition":28,"odometer":null,"unknown_45":4111364275936137216}} 
[2026-05-08 19:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":65236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:42:31] local.INFO: GPS data processed {"connection_id":65236,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:42:31] local.INFO: Acknowledgment sent {"connection_id":65236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:42:51] local.INFO: TCP Data received {"connection_id":66014,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:42:51] local.INFO: Processing buffer {"connection_id":66014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:42:51] local.INFO: IMEI packet received {"connection_id":66014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":66014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:42:57] local.INFO: TCP Data received {"connection_id":66014,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:42:57] local.INFO: Processing buffer {"connection_id":66014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:42:57] local.INFO: IMEI packet received {"connection_id":66014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":66014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:42:58] local.INFO: TCP Data received {"connection_id":66014,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ee2888012d39938006a89f98000a00a52e..."} 
[2026-05-08 19:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ee2888012d39938006a89f98000a00a52e..."} 
[2026-05-08 19:42:58] local.INFO: Processing buffer {"connection_id":66014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ee2888012d39938006a89f98000a00a52e..."} 
[2026-05-08 19:42:58] local.INFO: Packet analysis {"connection_id":66014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ee"} 
[2026-05-08 19:42:58] local.INFO: Extracted packet for processing {"connection_id":66014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ee"} 
[2026-05-08 19:42:58] local.INFO: GPS Element Parsed {"raw_longitude":758748032,"raw_latitude":111714200,"longitude_deg":75.8748032,"latitude_deg":11.17142,"altitude":10,"angle":165,"satellites":46,"speed":41,"hex_longitude":"2d399380","hex_latitude":"06a89f98","is_valid_coordinates":true} 
[2026-05-08 19:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231872000001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290226037000765440,"note":"Value kept but may cause issues"} 
[2026-05-08 19:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4145915329316677632,"note":"Value kept but may cause issues"} 
[2026-05-08 19:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778249509000,"timestamp_ms":1778249509000,"timestamp_seconds":1778249509,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ee2888"} 
[2026-05-08 19:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 19:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231872000001,"66":27332,"250":206,"28":21760,"24":41,"16":290226037000765440,"45":4145915329316677632},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-05-08 19:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231872000001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:42:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-05-08 19:42:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290226037000765440,"km_value":290226037000765.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4145915329316677632,"description":"Unknown IO ID 45"} 
[2026-05-08 19:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231872000001,"power":27332,"unknown_250":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":4145915329316677632}} 
[2026-05-08 19:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":66014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:42:58] local.INFO: GPS data processed {"connection_id":66014,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:42:58] local.INFO: Acknowledgment sent {"connection_id":66014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:43:44] local.INFO: TCP Data received {"connection_id":66014,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ee4bb0012d399d8006a87ba8000a00a32c..."} 
[2026-05-08 19:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ee4bb0012d399d8006a87ba8000a00a32c..."} 
[2026-05-08 19:43:44] local.INFO: Processing buffer {"connection_id":66014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ee4bb0012d399d8006a87ba8000a00a32c..."} 
[2026-05-08 19:43:44] local.INFO: Packet analysis {"connection_id":66014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ee"} 
[2026-05-08 19:43:44] local.INFO: Extracted packet for processing {"connection_id":66014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ee"} 
[2026-05-08 19:43:44] local.INFO: GPS Element Parsed {"raw_longitude":758750592,"raw_latitude":111705000,"longitude_deg":75.8750592,"latitude_deg":11.1705,"altitude":10,"angle":163,"satellites":44,"speed":43,"hex_longitude":"2d399d80","hex_latitude":"06a87ba8","is_valid_coordinates":true} 
[2026-05-08 19:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231874304001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290226500857233408,"note":"Value kept but may cause issues"} 
[2026-05-08 19:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4148800447825549312,"note":"Value kept but may cause issues"} 
[2026-05-08 19:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1778249518000,"timestamp_ms":1778249518000,"timestamp_seconds":1778249518,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ee4bb0"} 
[2026-05-08 19:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:43:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 19:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":66014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":66014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":66014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231874304001,"66":27463,"250":206,"28":21760,"24":43,"16":290226500857233408,"45":4148800447825549312},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-05-08 19:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231874304001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:43:44] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-05-08 19:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290226500857233408,"km_value":290226500857233.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4148800447825549312,"description":"Unknown IO ID 45"} 
[2026-05-08 19:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231874304001,"power":27463,"unknown_250":206,"unknown_28":21760,"ignition":43,"odometer":null,"unknown_45":4148800447825549312}} 
[2026-05-08 19:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":66014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:43:44] local.INFO: GPS data processed {"connection_id":66014,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:43:44] local.INFO: Acknowledgment sent {"connection_id":66014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:43:52] local.INFO: TCP Data received {"connection_id":66015,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:52] local.INFO: Processing buffer {"connection_id":66015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:52] local.INFO: IMEI packet received {"connection_id":66015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":66015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:43:53] local.INFO: TCP Data received {"connection_id":66015,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:53] local.INFO: Processing buffer {"connection_id":66015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:53] local.INFO: IMEI packet received {"connection_id":66015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":66015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:43:57] local.INFO: TCP Data received {"connection_id":66015,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66015,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:57] local.INFO: Processing buffer {"connection_id":66015,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:43:57] local.INFO: IMEI packet received {"connection_id":66015,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":66015,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:43:58] local.INFO: TCP Data received {"connection_id":66015,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ee72c0012d39a7c006a857f0000c00a52e..."} 
[2026-05-08 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ee72c0012d39a7c006a857f0000c00a52e..."} 
[2026-05-08 19:43:58] local.INFO: Processing buffer {"connection_id":66015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ee72c0012d39a7c006a857f0000c00a52e..."} 
[2026-05-08 19:43:58] local.INFO: Packet analysis {"connection_id":66015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ee"} 
[2026-05-08 19:43:58] local.INFO: Extracted packet for processing {"connection_id":66015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ee"} 
[2026-05-08 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":758753216,"raw_latitude":111695856,"longitude_deg":75.8753216,"latitude_deg":11.1695856,"altitude":12,"angle":165,"satellites":46,"speed":31,"hex_longitude":"2d39a7c0","hex_latitude":"06a857f0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231876608001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290226960418734080,"note":"Value kept but may cause issues"} 
[2026-05-08 19:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4151615197590300672,"note":"Value kept but may cause issues"} 
[2026-05-08 19:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778249528000,"timestamp_ms":1778249528000,"timestamp_seconds":1778249528,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ee72c0"} 
[2026-05-08 19:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 19:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231876608001,"66":27463,"250":206,"28":21760,"24":31,"16":290226960418734080,"45":4151615197590300672},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-05-08 19:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231876608001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:43:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-05-08 19:43:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290226960418734080,"km_value":290226960418734.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4151615197590300672,"description":"Unknown IO ID 45"} 
[2026-05-08 19:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231876608001,"power":27463,"unknown_250":206,"unknown_28":21760,"ignition":31,"odometer":null,"unknown_45":4151615197590300672}} 
[2026-05-08 19:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":66015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:43:58] local.INFO: GPS data processed {"connection_id":66015,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:43:58] local.INFO: Acknowledgment sent {"connection_id":66015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:44:30] local.INFO: TCP Data received {"connection_id":66015,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07eebcf8012d39b10006a83658000e00a52b..."} 
[2026-05-08 19:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07eebcf8012d39b10006a83658000e00a52b..."} 
[2026-05-08 19:44:30] local.INFO: Processing buffer {"connection_id":66015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07eebcf8012d39b10006a83658000e00a52b..."} 
[2026-05-08 19:44:30] local.INFO: Packet analysis {"connection_id":66015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ee"} 
[2026-05-08 19:44:30] local.INFO: Extracted packet for processing {"connection_id":66015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ee"} 
[2026-05-08 19:44:30] local.INFO: GPS Element Parsed {"raw_longitude":758755584,"raw_latitude":111687256,"longitude_deg":75.8755584,"latitude_deg":11.1687256,"altitude":14,"angle":165,"satellites":43,"speed":9,"hex_longitude":"2d39b100","hex_latitude":"06a83658","is_valid_coordinates":true} 
[2026-05-08 19:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231879168001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290227394210430976,"note":"Value kept but may cause issues"} 
[2026-05-08 19:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4154500316099244032,"note":"Value kept but may cause issues"} 
[2026-05-08 19:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778249547000,"timestamp_ms":1778249547000,"timestamp_seconds":1778249547,"priority":1,"record_length":96,"hex_timestamp":"0000019e07eebcf8"} 
[2026-05-08 19:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 19:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:44:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":66015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":66015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":66015,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231879168001,"66":27332,"250":206,"28":21760,"24":9,"16":290227394210430976,"45":4154500316099244032},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-05-08 19:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231879168001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:44:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-05-08 19:44:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-05-08 19:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290227394210430976,"km_value":290227394210431.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4154500316099244032,"description":"Unknown IO ID 45"} 
[2026-05-08 19:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231879168001,"power":27332,"unknown_250":206,"unknown_28":21760,"ignition":9,"odometer":null,"unknown_45":4154500316099244032}} 
[2026-05-08 19:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":66015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:44:30] local.INFO: GPS data processed {"connection_id":66015,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:44:30] local.INFO: Acknowledgment sent {"connection_id":66015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:44:54] local.INFO: TCP Data received {"connection_id":66016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:44:54] local.INFO: Processing buffer {"connection_id":66016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:44:54] local.INFO: IMEI packet received {"connection_id":66016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":66016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:44:56] local.INFO: TCP Data received {"connection_id":65180,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65180,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:44:56] local.INFO: Processing buffer {"connection_id":65180,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:44:56] local.INFO: IMEI packet received {"connection_id":65180,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":65180,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:44:56] local.INFO: TCP Data received {"connection_id":66016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:44:56] local.INFO: Processing buffer {"connection_id":66016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:44:56] local.INFO: IMEI packet received {"connection_id":66016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":66016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:45:03] local.INFO: TCP Data received {"connection_id":66016,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:03] local.INFO: Processing buffer {"connection_id":66016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:03] local.INFO: IMEI packet received {"connection_id":66016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":66016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:45:07] local.INFO: TCP Data received {"connection_id":66016,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f010d0012d3a41c006a75678001e00632e..."} 
[2026-05-08 19:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f010d0012d3a41c006a75678001e00632e..."} 
[2026-05-08 19:45:07] local.INFO: Processing buffer {"connection_id":66016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f010d0012d3a41c006a75678001e00632e..."} 
[2026-05-08 19:45:07] local.INFO: Packet analysis {"connection_id":66016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f0"} 
[2026-05-08 19:45:07] local.INFO: Extracted packet for processing {"connection_id":66016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f0"} 
[2026-05-08 19:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758792640,"raw_latitude":111629944,"longitude_deg":75.879264,"latitude_deg":11.1629944,"altitude":30,"angle":99,"satellites":46,"speed":38,"hex_longitude":"2d3a41c0","hex_latitude":"06a75678","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231903744001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290230963328253952,"note":"Value kept but may cause issues"} 
[2026-05-08 19:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4187573625846380544,"note":"Value kept but may cause issues"} 
[2026-05-08 19:45:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778249634000,"timestamp_ms":1778249634000,"timestamp_seconds":1778249634,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f010d0"} 
[2026-05-08 19:45:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 19:45:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:45:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":66016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":66016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":66016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:45:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231903744001,"66":27343,"193":206,"19":48128,"24":38,"16":290230963328253952,"45":4187573625846380544},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-05-08 19:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231903744001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:45:07] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-05-08 19:45:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290230963328253952,"km_value":290230963328253.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4187573625846380544,"description":"Unknown IO ID 45"} 
[2026-05-08 19:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231903744001,"power":27343,"unknown_193":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":4187573625846380544}} 
[2026-05-08 19:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":66016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:45:07] local.INFO: GPS data processed {"connection_id":66016,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:45:07] local.INFO: Acknowledgment sent {"connection_id":66016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:45:52] local.INFO: TCP Data received {"connection_id":65238,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:52] local.INFO: Processing buffer {"connection_id":65238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:52] local.INFO: IMEI packet received {"connection_id":65238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":65238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:45:57] local.INFO: TCP Data received {"connection_id":65238,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:57] local.INFO: Processing buffer {"connection_id":65238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:45:57] local.INFO: IMEI packet received {"connection_id":65238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":65238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:45:59] local.INFO: TCP Data received {"connection_id":65238,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f037e0012d3a664006a750d8002000632f..."} 
[2026-05-08 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f037e0012d3a664006a750d8002000632f..."} 
[2026-05-08 19:45:59] local.INFO: Processing buffer {"connection_id":65238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f037e0012d3a664006a750d8002000632f..."} 
[2026-05-08 19:45:59] local.INFO: Packet analysis {"connection_id":65238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f0"} 
[2026-05-08 19:45:59] local.INFO: Extracted packet for processing {"connection_id":65238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f0"} 
[2026-05-08 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":758801984,"raw_latitude":111628504,"longitude_deg":75.8801984,"latitude_deg":11.1628504,"altitude":32,"angle":99,"satellites":47,"speed":34,"hex_longitude":"2d3a6640","hex_latitude":"06a750d8","is_valid_coordinates":true} 
[2026-05-08 19:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231906304001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290231414299820032,"note":"Value kept but may cause issues"} 
[2026-05-08 19:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4197847462495811584,"note":"Value kept but may cause issues"} 
[2026-05-08 19:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778249644000,"timestamp_ms":1778249644000,"timestamp_seconds":1778249644,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f037e0"} 
[2026-05-08 19:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 19:45:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231906304001,"66":27213,"193":206,"19":48128,"24":34,"16":290231414299820032,"45":4197847462495811584},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-05-08 19:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231906304001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:45:59] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-05-08 19:45:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290231414299820032,"km_value":290231414299820.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4197847462495811584,"description":"Unknown IO ID 45"} 
[2026-05-08 19:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231906304001,"power":27213,"unknown_193":206,"unknown_19":48128,"ignition":34,"odometer":null,"unknown_45":4197847462495811584}} 
[2026-05-08 19:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":65238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:45:59] local.INFO: GPS data processed {"connection_id":65238,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:45:59] local.INFO: Acknowledgment sent {"connection_id":65238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:46:32] local.INFO: TCP Data received {"connection_id":65238,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f066c0012d3a8b0006a74a10002400652f..."} 
[2026-05-08 19:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f066c0012d3a8b0006a74a10002400652f..."} 
[2026-05-08 19:46:32] local.INFO: Processing buffer {"connection_id":65238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f066c0012d3a8b0006a74a10002400652f..."} 
[2026-05-08 19:46:32] local.INFO: Packet analysis {"connection_id":65238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f0"} 
[2026-05-08 19:46:32] local.INFO: Extracted packet for processing {"connection_id":65238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f0"} 
[2026-05-08 19:46:32] local.INFO: GPS Element Parsed {"raw_longitude":758811392,"raw_latitude":111626768,"longitude_deg":75.8811392,"latitude_deg":11.1626768,"altitude":36,"angle":101,"satellites":47,"speed":30,"hex_longitude":"2d3a8b00","hex_latitude":"06a74a10","is_valid_coordinates":true} 
[2026-05-08 19:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231908864001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290231869566353408,"note":"Value kept but may cause issues"} 
[2026-05-08 19:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4208121299145381888,"note":"Value kept but may cause issues"} 
[2026-05-08 19:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778249656000,"timestamp_ms":1778249656000,"timestamp_seconds":1778249656,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f066c0"} 
[2026-05-08 19:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 19:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231908864001,"66":27213,"193":206,"19":48128,"24":30,"16":290231869566353408,"45":4208121299145381888},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-05-08 19:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231908864001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:46:32] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-05-08 19:46:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290231869566353408,"km_value":290231869566353.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4208121299145381888,"description":"Unknown IO ID 45"} 
[2026-05-08 19:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231908864001,"power":27213,"unknown_193":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":4208121299145381888}} 
[2026-05-08 19:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":65238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:46:32] local.INFO: GPS data processed {"connection_id":65238,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:46:32] local.INFO: Acknowledgment sent {"connection_id":65238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:46:53] local.INFO: TCP Data received {"connection_id":66017,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:46:53] local.INFO: Processing buffer {"connection_id":66017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:46:53] local.INFO: IMEI packet received {"connection_id":66017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":66017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:46:57] local.INFO: TCP Data received {"connection_id":66017,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:46:57] local.INFO: Processing buffer {"connection_id":66017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:46:57] local.INFO: IMEI packet received {"connection_id":66017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":66017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:47:00] local.INFO: TCP Data received {"connection_id":66017,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f095a0012d3aae4006a74320002700652f..."} 
[2026-05-08 19:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f095a0012d3aae4006a74320002700652f..."} 
[2026-05-08 19:47:00] local.INFO: Processing buffer {"connection_id":66017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f095a0012d3aae4006a74320002700652f..."} 
[2026-05-08 19:47:00] local.INFO: Packet analysis {"connection_id":66017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f0"} 
[2026-05-08 19:47:00] local.INFO: Extracted packet for processing {"connection_id":66017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f0"} 
[2026-05-08 19:47:00] local.INFO: GPS Element Parsed {"raw_longitude":758820416,"raw_latitude":111624992,"longitude_deg":75.8820416,"latitude_deg":11.1624992,"altitude":39,"angle":101,"satellites":47,"speed":29,"hex_longitude":"2d3aae40","hex_latitude":"06a74320","is_valid_coordinates":true} 
[2026-05-08 19:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231911936001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290232307653017600,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4218465504539054080,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778249668000,"timestamp_ms":1778249668000,"timestamp_seconds":1778249668,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f095a0"} 
[2026-05-08 19:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 19:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":66017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":66017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":66017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231911936001,"66":27332,"193":206,"19":48128,"24":29,"16":290232307653017600,"45":4218465504539054080},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-05-08 19:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231911936001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:47:00] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-05-08 19:47:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290232307653017600,"km_value":290232307653017.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4218465504539054080,"description":"Unknown IO ID 45"} 
[2026-05-08 19:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231911936001,"power":27332,"unknown_193":206,"unknown_19":48128,"ignition":29,"odometer":null,"unknown_45":4218465504539054080}} 
[2026-05-08 19:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":66017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:47:00] local.INFO: GPS data processed {"connection_id":66017,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:47:00] local.INFO: Acknowledgment sent {"connection_id":66017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:47:35] local.INFO: TCP Data received {"connection_id":66017,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f27230012d3bddc006a68b60004400982c..."} 
[2026-05-08 19:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f27230012d3bddc006a68b60004400982c..."} 
[2026-05-08 19:47:35] local.INFO: Processing buffer {"connection_id":66017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f27230012d3bddc006a68b60004400982c..."} 
[2026-05-08 19:47:35] local.INFO: Packet analysis {"connection_id":66017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f2"} 
[2026-05-08 19:47:35] local.INFO: Extracted packet for processing {"connection_id":66017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f2"} 
[2026-05-08 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":758898112,"raw_latitude":111577952,"longitude_deg":75.8898112,"latitude_deg":11.1577952,"altitude":68,"angle":152,"satellites":44,"speed":37,"hex_longitude":"2d3bddc0","hex_latitude":"06a68b60","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:47:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231943680001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290237045001945088,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4309241184517844992,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:47:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778249790000,"timestamp_ms":1778249790000,"timestamp_seconds":1778249790,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f27230"} 
[2026-05-08 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-05-08 19:47:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 19:47:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":66017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":66017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":66017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:47:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:47:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:47:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231943680001,"66":27365,"11":206,"19":48128,"24":37,"16":290237045001945088,"45":4309241184517844992},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-05-08 19:47:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:47:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:47:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231943680001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:47:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-05-08 19:47:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:47:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290237045001945088,"km_value":290237045001945.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:47:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":4309241184517844992,"description":"Unknown IO ID 45"} 
[2026-05-08 19:47:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231943680001,"power":27365,"unknown_11":206,"unknown_19":48128,"ignition":37,"odometer":null,"unknown_45":4309241184517844992}} 
[2026-05-08 19:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":66017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:47:35] local.INFO: GPS data processed {"connection_id":66017,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:47:35] local.INFO: Acknowledgment sent {"connection_id":66017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:47:51] local.INFO: TCP Data received {"connection_id":66018,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:51] local.INFO: Processing buffer {"connection_id":66018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:51] local.INFO: IMEI packet received {"connection_id":66018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":66018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:47:55] local.INFO: TCP Data received {"connection_id":66018,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:55] local.INFO: Processing buffer {"connection_id":66018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:55] local.INFO: IMEI packet received {"connection_id":66018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":66018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:47:56] local.INFO: TCP Data received {"connection_id":66018,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:56] local.INFO: Processing buffer {"connection_id":66018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:47:56] local.INFO: IMEI packet received {"connection_id":66018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":66018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:47:58] local.INFO: TCP Data received {"connection_id":66018,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f29940012d3bf04006a66ae0004600952c..."} 
[2026-05-08 19:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f29940012d3bf04006a66ae0004600952c..."} 
[2026-05-08 19:47:58] local.INFO: Processing buffer {"connection_id":66018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f29940012d3bf04006a66ae0004600952c..."} 
[2026-05-08 19:47:58] local.INFO: Packet analysis {"connection_id":66018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f2"} 
[2026-05-08 19:47:58] local.INFO: Extracted packet for processing {"connection_id":66018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f2"} 
[2026-05-08 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":758902848,"raw_latitude":111569632,"longitude_deg":75.8902848,"latitude_deg":11.1569632,"altitude":70,"angle":149,"satellites":44,"speed":38,"hex_longitude":"2d3bf040","hex_latitude":"06a66ae0","is_valid_coordinates":true} 
[2026-05-08 19:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231946240001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290237508858413056,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4313815152887291904,"note":"Value kept but may cause issues"} 
[2026-05-08 19:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778249800000,"timestamp_ms":1778249800000,"timestamp_seconds":1778249800,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f29940"} 
[2026-05-08 19:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 19:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231946240001,"66":27365,"11":206,"19":48128,"24":38,"16":290237508858413056,"45":4313815152887291904},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-05-08 19:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231946240001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:47:58] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-05-08 19:47:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290237508858413056,"km_value":290237508858413.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4313815152887291904,"description":"Unknown IO ID 45"} 
[2026-05-08 19:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231946240001,"power":27365,"unknown_11":206,"unknown_19":48128,"ignition":38,"odometer":null,"unknown_45":4313815152887291904}} 
[2026-05-08 19:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":66018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:47:58] local.INFO: GPS data processed {"connection_id":66018,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:47:58] local.INFO: Acknowledgment sent {"connection_id":66018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:48:29] local.INFO: TCP Data received {"connection_id":66018,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f2c050012d3c050006a64a78004900922e..."} 
[2026-05-08 19:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f2c050012d3c050006a64a78004900922e..."} 
[2026-05-08 19:48:29] local.INFO: Processing buffer {"connection_id":66018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f2c050012d3c050006a64a78004900922e..."} 
[2026-05-08 19:48:29] local.INFO: Packet analysis {"connection_id":66018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f2"} 
[2026-05-08 19:48:29] local.INFO: Extracted packet for processing {"connection_id":66018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f2"} 
[2026-05-08 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":758908160,"raw_latitude":111561336,"longitude_deg":75.890816,"latitude_deg":11.1561336,"altitude":73,"angle":146,"satellites":46,"speed":40,"hex_longitude":"2d3c0500","hex_latitude":"06a64a78","is_valid_coordinates":true} 
[2026-05-08 19:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231948800001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290237981304815616,"note":"Value kept but may cause issues"} 
[2026-05-08 19:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4319022439954309120,"note":"Value kept but may cause issues"} 
[2026-05-08 19:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778249810000,"timestamp_ms":1778249810000,"timestamp_seconds":1778249810,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f2c050"} 
[2026-05-08 19:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 19:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":66018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":66018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":66018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231948800001,"66":27234,"11":206,"19":48128,"24":40,"16":290237981304815616,"45":4319022439954309120},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16,45]} 
[2026-05-08 19:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231948800001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:48:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-05-08 19:48:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290237981304815616,"km_value":290237981304815.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4319022439954309120,"description":"Unknown IO ID 45"} 
[2026-05-08 19:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231948800001,"power":27234,"unknown_11":206,"unknown_19":48128,"ignition":40,"odometer":null,"unknown_45":4319022439954309120}} 
[2026-05-08 19:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":66018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:48:29] local.INFO: GPS data processed {"connection_id":66018,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:48:29] local.INFO: Acknowledgment sent {"connection_id":66018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:48:55] local.INFO: TCP Data received {"connection_id":65240,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:48:55] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:48:55] local.INFO: IMEI packet received {"connection_id":65240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":65240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:48:56] local.INFO: TCP Data received {"connection_id":65240,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:48:56] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:48:56] local.INFO: IMEI packet received {"connection_id":65240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":65240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:49:00] local.INFO: TCP Data received {"connection_id":65240,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:00] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:00] local.INFO: IMEI packet received {"connection_id":65240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":65240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:49:01] local.INFO: TCP Data received {"connection_id":65240,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f3e548012d3cc74006a4f530003400ab2b..."} 
[2026-05-08 19:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f3e548012d3cc74006a4f530003400ab2b..."} 
[2026-05-08 19:49:01] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f3e548012d3cc74006a4f530003400ab2b..."} 
[2026-05-08 19:49:01] local.INFO: Packet analysis {"connection_id":65240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f3"} 
[2026-05-08 19:49:01] local.INFO: Extracted packet for processing {"connection_id":65240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f3"} 
[2026-05-08 19:49:01] local.INFO: GPS Element Parsed {"raw_longitude":758957888,"raw_latitude":111473968,"longitude_deg":75.8957888,"latitude_deg":11.1473968,"altitude":52,"angle":171,"satellites":43,"speed":62,"hex_longitude":"2d3cc740","hex_latitude":"06a4f530","is_valid_coordinates":true} 
[2026-05-08 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231969024001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290242929107140608,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4378061816297293824,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778249885000,"timestamp_ms":1778249885000,"timestamp_seconds":1778249885,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f3e548"} 
[2026-05-08 19:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:49: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-05-08 19:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 19:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231969024001,"66":27267,"12":206,"19":48128,"24":62,"16":290242929107140608,"45":4378061816297293824},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-05-08 19:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231969024001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:49:01] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-05-08 19:49:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290242929107140608,"km_value":290242929107140.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4378061816297293824,"description":"Unknown IO ID 45"} 
[2026-05-08 19:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231969024001,"power":27267,"unknown_12":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":4378061816297293824}} 
[2026-05-08 19:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":65240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:49:01] local.INFO: GPS data processed {"connection_id":65240,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:49:01] local.INFO: Acknowledgment sent {"connection_id":65240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:49:33] local.INFO: TCP Data received {"connection_id":65240,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f3fcb8012d3cccc006a4d150003200ac2c..."} 
[2026-05-08 19:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f3fcb8012d3cccc006a4d150003200ac2c..."} 
[2026-05-08 19:49:33] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f3fcb8012d3cccc006a4d150003200ac2c..."} 
[2026-05-08 19:49:33] local.INFO: Packet analysis {"connection_id":65240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f3"} 
[2026-05-08 19:49:33] local.INFO: Extracted packet for processing {"connection_id":65240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f3"} 
[2026-05-08 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":758959296,"raw_latitude":111464784,"longitude_deg":75.8959296,"latitude_deg":11.1464784,"altitude":50,"angle":172,"satellites":44,"speed":61,"hex_longitude":"2d3cccc0","hex_latitude":"06a4d150","is_valid_coordinates":true} 
[2026-05-08 19:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231970560001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290243380078706688,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4379539559922610176,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778249891000,"timestamp_ms":1778249891000,"timestamp_seconds":1778249891,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f3fcb8"} 
[2026-05-08 19:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 19:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231970560001,"66":27300,"12":206,"19":48128,"24":61,"16":290243380078706688,"45":4379539559922610176},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,19,24,16,45]} 
[2026-05-08 19:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231970560001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:49:33] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-05-08 19:49:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290243380078706688,"km_value":290243380078706.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4379539559922610176,"description":"Unknown IO ID 45"} 
[2026-05-08 19:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231970560001,"power":27300,"unknown_12":206,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4379539559922610176}} 
[2026-05-08 19:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":65240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:49:33] local.INFO: GPS data processed {"connection_id":65240,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:49:33] local.INFO: Acknowledgment sent {"connection_id":65240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:49:51] local.INFO: TCP Data received {"connection_id":65316,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:51] local.INFO: Processing buffer {"connection_id":65316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:51] local.INFO: IMEI packet received {"connection_id":65316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":65316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:49:56] local.INFO: TCP Data received {"connection_id":65316,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:56] local.INFO: Processing buffer {"connection_id":65316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:49:56] local.INFO: IMEI packet received {"connection_id":65316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":65316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:49:57] local.INFO: TCP Data received {"connection_id":65316,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f41428012d3ccf4006a4ae18003200b62d..."} 
[2026-05-08 19:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f41428012d3ccf4006a4ae18003200b62d..."} 
[2026-05-08 19:49:57] local.INFO: Processing buffer {"connection_id":65316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f41428012d3ccf4006a4ae18003200b62d..."} 
[2026-05-08 19:49:57] local.INFO: Packet analysis {"connection_id":65316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f4"} 
[2026-05-08 19:49:57] local.INFO: Extracted packet for processing {"connection_id":65316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f4"} 
[2026-05-08 19:49:57] local.INFO: GPS Element Parsed {"raw_longitude":758959936,"raw_latitude":111455768,"longitude_deg":75.8959936,"latitude_deg":11.1455768,"altitude":50,"angle":182,"satellites":45,"speed":57,"hex_longitude":"2d3ccf40","hex_latitude":"06a4ae18","is_valid_coordinates":true} 
[2026-05-08 19:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231972096001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290243818165370880,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4381087672292167680,"note":"Value kept but may cause issues"} 
[2026-05-08 19:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778249897000,"timestamp_ms":1778249897000,"timestamp_seconds":1778249897,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f41428"} 
[2026-05-08 19:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 19:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231972096001,"66":27234,"58":206,"19":48128,"24":57,"16":290243818165370880,"45":4381087672292167680},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-05-08 19:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231972096001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:49:57] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-05-08 19:49:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290243818165370880,"km_value":290243818165370.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4381087672292167680,"description":"Unknown IO ID 45"} 
[2026-05-08 19:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231972096001,"power":27234,"unknown_58":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4381087672292167680}} 
[2026-05-08 19:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":65316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:49:57] local.INFO: GPS data processed {"connection_id":65316,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:49:57] local.INFO: Acknowledgment sent {"connection_id":65316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:50:29] local.INFO: TCP Data received {"connection_id":65316,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f423c8012d3ccc0006a49878003300c22d..."} 
[2026-05-08 19:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f423c8012d3ccc0006a49878003300c22d..."} 
[2026-05-08 19:50:29] local.INFO: Processing buffer {"connection_id":65316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f423c8012d3ccc0006a49878003300c22d..."} 
[2026-05-08 19:50:29] local.INFO: Packet analysis {"connection_id":65316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f4"} 
[2026-05-08 19:50:29] local.INFO: Extracted packet for processing {"connection_id":65316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f4"} 
[2026-05-08 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":758959104,"raw_latitude":111450232,"longitude_deg":75.8959104,"latitude_deg":11.1450232,"altitude":51,"angle":194,"satellites":45,"speed":53,"hex_longitude":"2d3ccc00","hex_latitude":"06a49878","is_valid_coordinates":true} 
[2026-05-08 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231973632001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290244088748310528,"note":"Value kept but may cause issues"} 
[2026-05-08 19:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4381791359731636224,"note":"Value kept but may cause issues"} 
[2026-05-08 19:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778249901000,"timestamp_ms":1778249901000,"timestamp_seconds":1778249901,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f423c8"} 
[2026-05-08 19:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:50:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 19:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:50:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231973632001,"66":27332,"58":206,"19":48128,"24":53,"16":290244088748310528,"45":4381791359731636224},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-05-08 19:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231973632001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:50:29] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-05-08 19:50:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290244088748310528,"km_value":290244088748310.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4381791359731636224,"description":"Unknown IO ID 45"} 
[2026-05-08 19:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231973632001,"power":27332,"unknown_58":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4381791359731636224}} 
[2026-05-08 19:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":65316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:50:29] local.INFO: GPS data processed {"connection_id":65316,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:50:29] local.INFO: Acknowledgment sent {"connection_id":65316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:50:43] local.INFO: TCP Data received {"connection_id":65241,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65241,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:50:43] local.INFO: Processing buffer {"connection_id":65241,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:50:43] local.INFO: IMEI packet received {"connection_id":65241,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":65241,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:50:51] local.INFO: TCP Data received {"connection_id":65242,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:51] local.INFO: Processing buffer {"connection_id":65242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:51] local.INFO: IMEI packet received {"connection_id":65242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":65242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:50:53] local.INFO: TCP Data received {"connection_id":65242,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:53] local.INFO: Processing buffer {"connection_id":65242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:53] local.INFO: IMEI packet received {"connection_id":65242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":65242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:50:57] local.INFO: TCP Data received {"connection_id":65242,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:57] local.INFO: Processing buffer {"connection_id":65242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:50:57] local.INFO: IMEI packet received {"connection_id":65242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":65242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:50:58] local.INFO: TCP Data received {"connection_id":65242,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f58358012d3c8e0006a33488004200bd2d..."} 
[2026-05-08 19:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f58358012d3c8e0006a33488004200bd2d..."} 
[2026-05-08 19:50:58] local.INFO: Processing buffer {"connection_id":65242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f58358012d3c8e0006a33488004200bd2d..."} 
[2026-05-08 19:50:58] local.INFO: Packet analysis {"connection_id":65242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:50:58] local.INFO: Extracted packet for processing {"connection_id":65242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":758943232,"raw_latitude":111359112,"longitude_deg":75.8943232,"latitude_deg":11.1359112,"altitude":66,"angle":189,"satellites":45,"speed":53,"hex_longitude":"2d3c8e00","hex_latitude":"06a33488","is_valid_coordinates":true} 
[2026-05-08 19:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231995904001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290248641413644288,"note":"Value kept but may cause issues"} 
[2026-05-08 19:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4365043598594998272,"note":"Value kept but may cause issues"} 
[2026-05-08 19:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778249991000,"timestamp_ms":1778249991000,"timestamp_seconds":1778249991,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f58358"} 
[2026-05-08 19:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 19:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231995904001,"66":27343,"58":206,"19":48128,"24":53,"16":290248641413644288,"45":4365043598594998272},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-05-08 19:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231995904001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:50:58] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-05-08 19:50:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290248641413644288,"km_value":290248641413644.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4365043598594998272,"description":"Unknown IO ID 45"} 
[2026-05-08 19:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231995904001,"power":27343,"unknown_58":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":4365043598594998272}} 
[2026-05-08 19:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":65242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:50:58] local.INFO: GPS data processed {"connection_id":65242,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:50:58] local.INFO: Acknowledgment sent {"connection_id":65242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:51:32] local.INFO: TCP Data received {"connection_id":65242,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f59eb0012d3c88c006a31200004500bd2d..."} 
[2026-05-08 19:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f59eb0012d3c88c006a31200004500bd2d..."} 
[2026-05-08 19:51:32] local.INFO: Processing buffer {"connection_id":65242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f59eb0012d3c88c006a31200004500bd2d..."} 
[2026-05-08 19:51:32] local.INFO: Packet analysis {"connection_id":65242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:51:32] local.INFO: Extracted packet for processing {"connection_id":65242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:51:32] local.INFO: GPS Element Parsed {"raw_longitude":758941888,"raw_latitude":111350272,"longitude_deg":75.8941888,"latitude_deg":11.1350272,"altitude":69,"angle":189,"satellites":45,"speed":49,"hex_longitude":"2d3c88c0","hex_latitude":"06a31200","is_valid_coordinates":true} 
[2026-05-08 19:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231997696001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290249075205341184,"note":"Value kept but may cause issues"} 
[2026-05-08 19:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363425117476521984,"note":"Value kept but may cause issues"} 
[2026-05-08 19:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778249998000,"timestamp_ms":1778249998000,"timestamp_seconds":1778249998,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f59eb0"} 
[2026-05-08 19:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 19:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231997696001,"66":27300,"58":206,"19":48128,"24":49,"16":290249075205341184,"45":4363425117476521984},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-05-08 19:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231997696001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:51:32] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-05-08 19:51:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290249075205341184,"km_value":290249075205341.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363425117476521984,"description":"Unknown IO ID 45"} 
[2026-05-08 19:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231997696001,"power":27300,"unknown_58":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":4363425117476521984}} 
[2026-05-08 19:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":65242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:51:32] local.INFO: GPS data processed {"connection_id":65242,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:51:32] local.INFO: Acknowledgment sent {"connection_id":65242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:51:56] local.INFO: TCP Data received {"connection_id":65317,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:51:56] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:51:56] local.INFO: IMEI packet received {"connection_id":65317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":65317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:51:58] local.INFO: TCP Data received {"connection_id":65317,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:51:58] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:51:58] local.INFO: IMEI packet received {"connection_id":65317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":65317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:52:02] local.INFO: TCP Data received {"connection_id":65317,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:02] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:02] local.INFO: IMEI packet received {"connection_id":65317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":65317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:52:11] local.INFO: TCP Data received {"connection_id":65317,"ip":"117.224.107.64","data_length":1360,"data_hex":"000000000000030f8e0a0000019e07f5bdf0012d3c830006a2edc0004700bc2e..."} 
[2026-05-08 19:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019e07f5bdf0012d3c830006a2edc0004700bc2e..."} 
[2026-05-08 19:52:11] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019e07f5bdf0012d3c830006a2edc0004700bc2e..."} 
[2026-05-08 19:52:11] local.INFO: Packet analysis {"connection_id":65317,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:52:11] local.INFO: Extracted packet for processing {"connection_id":65317,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758940416,"raw_latitude":111340992,"longitude_deg":75.8940416,"latitude_deg":11.1340992,"altitude":71,"angle":188,"satellites":46,"speed":44,"hex_longitude":"2d3c8300","hex_latitude":"06a2edc0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455231999488001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290249530471874560,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361947373846528000,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1778250006000,"timestamp_ms":1778250006000,"timestamp_seconds":1778250006,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f5bdf0"} 
[2026-05-08 19:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 19:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":65317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455231999488001,"66":27376,"56":206,"19":48128,"24":44,"16":290249530471874560,"45":4361947373846528000},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-05-08 19:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455231999488001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:52:11] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-05-08 19:52:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290249530471874560,"km_value":290249530471874.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361947373846528000,"description":"Unknown IO ID 45"} 
[2026-05-08 19:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455231999488001,"power":27376,"unknown_56":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4361947373846528000}} 
[2026-05-08 19:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":65317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:52:11] local.INFO: GPS data processed {"connection_id":65317,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:52:11] local.INFO: Acknowledgment sent {"connection_id":65317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:52:11] local.INFO: Packet analysis {"connection_id":65317,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:52:11] local.INFO: Incomplete packet, waiting for more data {"connection_id":65317,"needed":795,"available":565} 
[2026-05-08 19:52:17] local.INFO: TCP Data received {"connection_id":65317,"ip":"117.224.107.64","data_length":1025,"data_hex":"2d3c9fc006a3c758004000b62500280000000a000400ef0100714e00f0010045..."} 
[2026-05-08 19:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":1025,"packet_hex":"2d3c9fc006a3c758004000b62500280000000a000400ef0100714e00f0010045..."} 
[2026-05-08 19:52:17] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e07f5e118012d3c7f8006a2c730004900b42b..."} 
[2026-05-08 19:52:17] local.INFO: Packet analysis {"connection_id":65317,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:52:17] local.INFO: Extracted packet for processing {"connection_id":65317,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f5"} 
[2026-05-08 19:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758939520,"raw_latitude":111331120,"longitude_deg":75.893952,"latitude_deg":11.133112,"altitude":73,"angle":180,"satellites":43,"speed":43,"hex_longitude":"2d3c7f80","hex_latitude":"06a2c730","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232001536001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290250011508211712,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360328892728066048,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1778250015000,"timestamp_ms":1778250015000,"timestamp_seconds":1778250015,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f5e118"} 
[2026-05-08 19:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:52: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-05-08 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 19:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":65317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232001536001,"66":27267,"56":206,"19":48128,"24":43,"16":290250011508211712,"45":4360328892728066048},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-05-08 19:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232001536001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:52:17] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-05-08 19:52:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290250011508211712,"km_value":290250011508211.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360328892728066048,"description":"Unknown IO ID 45"} 
[2026-05-08 19:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232001536001,"power":27267,"unknown_56":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4360328892728066048}} 
[2026-05-08 19:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":65317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:52:17] local.INFO: GPS data processed {"connection_id":65317,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:52:17] local.INFO: Acknowledgment sent {"connection_id":65317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:52:17] local.INFO: Packet analysis {"connection_id":65317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f6"} 
[2026-05-08 19:52:17] local.INFO: Extracted packet for processing {"connection_id":65317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f6"} 
[2026-05-08 19:52:17] local.INFO: GPS Element Parsed {"raw_longitude":758940352,"raw_latitude":111322320,"longitude_deg":75.8940352,"latitude_deg":11.132232,"altitude":74,"angle":169,"satellites":42,"speed":44,"hex_longitude":"2d3c82c0","hex_latitude":"06a2a4d0","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232003840001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290250441004941312,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4359343730307051520,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1778250023000,"timestamp_ms":1778250023000,"timestamp_seconds":1778250023,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f60058"} 
[2026-05-08 19:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:52: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-05-08 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 19:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":65317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232003840001,"66":27300,"56":206,"19":48128,"24":44,"16":290250441004941312,"45":4359343730307051520},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-05-08 19:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232003840001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:52:17] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-05-08 19:52:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290250441004941312,"km_value":290250441004941.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4359343730307051520,"description":"Unknown IO ID 45"} 
[2026-05-08 19:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232003840001,"power":27300,"unknown_56":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4359343730307051520}} 
[2026-05-08 19:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":65317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:52:17] local.INFO: GPS data processed {"connection_id":65317,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:52:17] local.INFO: Acknowledgment sent {"connection_id":65317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:52:52] local.INFO: TCP Data received {"connection_id":65318,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:52] local.INFO: Processing buffer {"connection_id":65318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:52] local.INFO: IMEI packet received {"connection_id":65318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":65318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:52:53] local.INFO: TCP Data received {"connection_id":65318,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:53] local.INFO: Processing buffer {"connection_id":65318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:53] local.INFO: IMEI packet received {"connection_id":65318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:52:53] local.INFO: IMEI acknowledgment sent {"connection_id":65318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:52:56] local.INFO: TCP Data received {"connection_id":65318,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:56] local.INFO: Processing buffer {"connection_id":65318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:52:56] local.INFO: IMEI packet received {"connection_id":65318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":65318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:52:57] local.INFO: TCP Data received {"connection_id":65318,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f734f0012d3c860006a0f1f0002e00c52e..."} 
[2026-05-08 19:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f734f0012d3c860006a0f1f0002e00c52e..."} 
[2026-05-08 19:52:57] local.INFO: Processing buffer {"connection_id":65318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f734f0012d3c860006a0f1f0002e00c52e..."} 
[2026-05-08 19:52:57] local.INFO: Packet analysis {"connection_id":65318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f7"} 
[2026-05-08 19:52:57] local.INFO: Extracted packet for processing {"connection_id":65318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f7"} 
[2026-05-08 19:52:57] local.INFO: GPS Element Parsed {"raw_longitude":758941184,"raw_latitude":111210992,"longitude_deg":75.8941184,"latitude_deg":11.1210992,"altitude":46,"angle":197,"satellites":46,"speed":68,"hex_longitude":"2d3c8600","hex_latitude":"06a0f1f0","is_valid_coordinates":true} 
[2026-05-08 19:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232024576001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290255951447982080,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364621386092075008,"note":"Value kept but may cause issues"} 
[2026-05-08 19:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778250102000,"timestamp_ms":1778250102000,"timestamp_seconds":1778250102,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f734f0"} 
[2026-05-08 19:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-05-08 19:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232024576001,"66":27332,"17":206,"19":48128,"24":68,"16":290255951447982080,"45":4364621386092075008},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-05-08 19:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232024576001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:52:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290255951447982080,"km_value":290255951447982.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364621386092075008,"description":"Unknown IO ID 45"} 
[2026-05-08 19:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232024576001,"power":27332,"axis_x":206,"unknown_19":48128,"ignition":68,"odometer":null,"unknown_45":4364621386092075008}} 
[2026-05-08 19:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":65318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:52:58] local.INFO: GPS data processed {"connection_id":65318,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:52:58] local.INFO: Acknowledgment sent {"connection_id":65318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:53:26] local.INFO: TCP Data received {"connection_id":65318,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f74c60012d3c794006a0ca98002c00c52e..."} 
[2026-05-08 19:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f74c60012d3c794006a0ca98002c00c52e..."} 
[2026-05-08 19:53:26] local.INFO: Processing buffer {"connection_id":65318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f74c60012d3c794006a0ca98002c00c52e..."} 
[2026-05-08 19:53:26] local.INFO: Packet analysis {"connection_id":65318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f7"} 
[2026-05-08 19:53:26] local.INFO: Extracted packet for processing {"connection_id":65318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f7"} 
[2026-05-08 19:53:26] local.INFO: GPS Element Parsed {"raw_longitude":758937920,"raw_latitude":111200920,"longitude_deg":75.893792,"latitude_deg":11.120092,"altitude":44,"angle":197,"satellites":46,"speed":70,"hex_longitude":"2d3c7940","hex_latitude":"06a0ca98","is_valid_coordinates":true} 
[2026-05-08 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232026112001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290256466844057600,"note":"Value kept but may cause issues"} 
[2026-05-08 19:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4361173317624918016,"note":"Value kept but may cause issues"} 
[2026-05-08 19:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1778250108000,"timestamp_ms":1778250108000,"timestamp_seconds":1778250108,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f74c60"} 
[2026-05-08 19:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:53: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-05-08 19:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 19:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:53:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":65318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":65318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":65318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232026112001,"66":27332,"17":206,"19":48128,"24":70,"16":290256466844057600,"45":4361173317624918016},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-05-08 19:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232026112001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:53:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290256466844057600,"km_value":290256466844057.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4361173317624918016,"description":"Unknown IO ID 45"} 
[2026-05-08 19:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232026112001,"power":27332,"axis_x":206,"unknown_19":48128,"ignition":70,"odometer":null,"unknown_45":4361173317624918016}} 
[2026-05-08 19:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":65318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:53:26] local.INFO: GPS data processed {"connection_id":65318,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:53:26] local.INFO: Acknowledgment sent {"connection_id":65318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:53:51] local.INFO: TCP Data received {"connection_id":65243,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:51] local.INFO: Processing buffer {"connection_id":65243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:51] local.INFO: IMEI packet received {"connection_id":65243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":65243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:53:55] local.INFO: TCP Data received {"connection_id":65243,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:55] local.INFO: Processing buffer {"connection_id":65243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:55] local.INFO: IMEI packet received {"connection_id":65243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":65243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:53:58] local.INFO: TCP Data received {"connection_id":65243,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65243,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:58] local.INFO: Processing buffer {"connection_id":65243,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:53:58] local.INFO: IMEI packet received {"connection_id":65243,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":65243,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:53:59] local.INFO: TCP Data received {"connection_id":65243,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f75fe8012d3c6e8006a0a998002b00c52e..."} 
[2026-05-08 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f75fe8012d3c6e8006a0a998002b00c52e..."} 
[2026-05-08 19:53:59] local.INFO: Processing buffer {"connection_id":65243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f75fe8012d3c6e8006a0a998002b00c52e..."} 
[2026-05-08 19:53:59] local.INFO: Packet analysis {"connection_id":65243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f7"} 
[2026-05-08 19:53:59] local.INFO: Extracted packet for processing {"connection_id":65243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f7"} 
[2026-05-08 19:53:59] local.INFO: GPS Element Parsed {"raw_longitude":758935168,"raw_latitude":111192472,"longitude_deg":75.8935168,"latitude_deg":11.1192472,"altitude":43,"angle":197,"satellites":46,"speed":69,"hex_longitude":"2d3c6e80","hex_latitude":"06a0a998","is_valid_coordinates":true} 
[2026-05-08 19:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232027648001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290256896340787200,"note":"Value kept but may cause issues"} 
[2026-05-08 19:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4357584511669278720,"note":"Value kept but may cause issues"} 
[2026-05-08 19:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778250113000,"timestamp_ms":1778250113000,"timestamp_seconds":1778250113,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f75fe8"} 
[2026-05-08 19:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 19:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232027648001,"66":27343,"17":206,"19":48128,"24":69,"16":290256896340787200,"45":4357584511669278720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-05-08 19:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232027648001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:53:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290256896340787200,"km_value":290256896340787.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4357584511669278720,"description":"Unknown IO ID 45"} 
[2026-05-08 19:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232027648001,"power":27343,"axis_x":206,"unknown_19":48128,"ignition":69,"odometer":null,"unknown_45":4357584511669278720}} 
[2026-05-08 19:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":65243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:53:59] local.INFO: GPS data processed {"connection_id":65243,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:53:59] local.INFO: Acknowledgment sent {"connection_id":65243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:54:01] local.INFO: TCP Data received {"connection_id":65243,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f77758012d3c628006a08410002d00c62e..."} 
[2026-05-08 19:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f77758012d3c628006a08410002d00c62e..."} 
[2026-05-08 19:54:01] local.INFO: Processing buffer {"connection_id":65243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f77758012d3c628006a08410002d00c62e..."} 
[2026-05-08 19:54:01] local.INFO: Packet analysis {"connection_id":65243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f7"} 
[2026-05-08 19:54:01] local.INFO: Extracted packet for processing {"connection_id":65243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f7"} 
[2026-05-08 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":758932096,"raw_latitude":111182864,"longitude_deg":75.8932096,"latitude_deg":11.1182864,"altitude":45,"angle":198,"satellites":46,"speed":63,"hex_longitude":"2d3c6280","hex_latitude":"06a08410","is_valid_coordinates":true} 
[2026-05-08 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232028928001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290257381672091648,"note":"Value kept but may cause issues"} 
[2026-05-08 19:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4354558655667476480,"note":"Value kept but may cause issues"} 
[2026-05-08 19:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778250119000,"timestamp_ms":1778250119000,"timestamp_seconds":1778250119,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f77758"} 
[2026-05-08 19:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 19:54:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:54:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232028928001,"66":27321,"17":206,"19":48128,"24":63,"16":290257381672091648,"45":4354558655667476480},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-05-08 19:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232028928001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:54:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290257381672091648,"km_value":290257381672091.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4354558655667476480,"description":"Unknown IO ID 45"} 
[2026-05-08 19:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232028928001,"power":27321,"axis_x":206,"unknown_19":48128,"ignition":63,"odometer":null,"unknown_45":4354558655667476480}} 
[2026-05-08 19:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":65243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:54:01] local.INFO: GPS data processed {"connection_id":65243,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:54:01] local.INFO: Acknowledgment sent {"connection_id":65243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:54:33] local.INFO: TCP Data received {"connection_id":65243,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f8fa10012d3beb40069f1400004500ac2b..."} 
[2026-05-08 19:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f8fa10012d3beb40069f1400004500ac2b..."} 
[2026-05-08 19:54:33] local.INFO: Processing buffer {"connection_id":65243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f8fa10012d3beb40069f1400004500ac2b..."} 
[2026-05-08 19:54:33] local.INFO: Packet analysis {"connection_id":65243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f8"} 
[2026-05-08 19:54:33] local.INFO: Extracted packet for processing {"connection_id":65243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f8"} 
[2026-05-08 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":758901568,"raw_latitude":111088640,"longitude_deg":75.8901568,"latitude_deg":11.108864,"altitude":69,"angle":172,"satellites":43,"speed":52,"hex_longitude":"2d3beb40","hex_latitude":"069f1400","is_valid_coordinates":true} 
[2026-05-08 19:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232053760001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290262307999580160,"note":"Value kept but may cause issues"} 
[2026-05-08 19:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4316700271275839488,"note":"Value kept but may cause issues"} 
[2026-05-08 19:54:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 19:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778250218000,"timestamp_ms":1778250218000,"timestamp_seconds":1778250218,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f8fa10"} 
[2026-05-08 19:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 19:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65243,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232053760001,"66":27397,"19":48128,"24":52,"16":290262307999580160,"45":4316700271275839488},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 19:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232053760001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290262307999580160,"km_value":290262307999580.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4316700271275839488,"description":"Unknown IO ID 45"} 
[2026-05-08 19:54:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232053760001,"power":27397,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":4316700271275839488}} 
[2026-05-08 19:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":65243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:54:33] local.INFO: GPS data processed {"connection_id":65243,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:54:33] local.INFO: Acknowledgment sent {"connection_id":65243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:54:51] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:51] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:51] local.INFO: IMEI packet received {"connection_id":65244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":65244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:54:53] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:53] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:53] local.INFO: IMEI packet received {"connection_id":65244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":65244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:54:56] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:56] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:54:56] local.INFO: IMEI packet received {"connection_id":65244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":65244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:55:16] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f91568012d3bf3c0069eef38004400a42d..."} 
[2026-05-08 19:55:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f91568012d3bf3c0069eef38004400a42d..."} 
[2026-05-08 19:55:16] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f91568012d3bf3c0069eef38004400a42d..."} 
[2026-05-08 19:55:16] local.INFO: Packet analysis {"connection_id":65244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f9"} 
[2026-05-08 19:55:16] local.INFO: Extracted packet for processing {"connection_id":65244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f9"} 
[2026-05-08 19:55:16] local.INFO: GPS Element Parsed {"raw_longitude":758903744,"raw_latitude":111079224,"longitude_deg":75.8903744,"latitude_deg":11.1079224,"altitude":68,"angle":164,"satellites":45,"speed":57,"hex_longitude":"2d3bf3c0","hex_latitude":"069eef38","is_valid_coordinates":true} 
[2026-05-08 19:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:55:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232055808001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:55:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290262771856048128,"note":"Value kept but may cause issues"} 
[2026-05-08 19:55:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4317615064947621888,"note":"Value kept but may cause issues"} 
[2026-05-08 19:55:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 19:55:16] local.INFO: AVL Record Parsed {"raw_timestamp":1778250225000,"timestamp_ms":1778250225000,"timestamp_seconds":1778250225,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f91568"} 
[2026-05-08 19:55:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:55: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-05-08 19:55:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 19:55:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:55:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:55:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:55:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:55:16] local.INFO: Teltonika packet parsed successfully {"connection_id":65244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:55:16] local.INFO: Passing IMEI to GPS processor {"connection_id":65244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:55:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":65244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:55:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:55:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:55:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:55:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232055808001,"66":27376,"19":48128,"24":57,"16":290262771856048128,"45":4317615064947621888},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 19:55:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:55:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:55:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232055808001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:55:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:55:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290262771856048128,"km_value":290262771856048.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:55:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4317615064947621888,"description":"Unknown IO ID 45"} 
[2026-05-08 19:55:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232055808001,"power":27376,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":4317615064947621888}} 
[2026-05-08 19:55:16] local.INFO: DEBUG: GPS processor result {"connection_id":65244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:55:16] local.INFO: GPS data processed {"connection_id":65244,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:55:16] local.INFO: Acknowledgment sent {"connection_id":65244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:55:18] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07f92cd8012d3c0000069ecdc80041009c2e..."} 
[2026-05-08 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07f92cd8012d3c0000069ecdc80041009c2e..."} 
[2026-05-08 19:55:18] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07f92cd8012d3c0000069ecdc80041009c2e..."} 
[2026-05-08 19:55:18] local.INFO: Packet analysis {"connection_id":65244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07f9"} 
[2026-05-08 19:55:18] local.INFO: Extracted packet for processing {"connection_id":65244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07f9"} 
[2026-05-08 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758906880,"raw_latitude":111070664,"longitude_deg":75.890688,"latitude_deg":11.1070664,"altitude":65,"angle":156,"satellites":46,"speed":61,"hex_longitude":"2d3c0000","hex_latitude":"069ecdc8","is_valid_coordinates":true} 
[2026-05-08 19:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232057600001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290263214237679616,"note":"Value kept but may cause issues"} 
[2026-05-08 19:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4320007602247251968,"note":"Value kept but may cause issues"} 
[2026-05-08 19:55:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 19:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1778250231000,"timestamp_ms":1778250231000,"timestamp_seconds":1778250231,"priority":1,"record_length":96,"hex_timestamp":"0000019e07f92cd8"} 
[2026-05-08 19:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 19:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":65244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":65244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":65244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232057600001,"66":27343,"19":48128,"24":61,"16":290263214237679616,"45":4320007602247251968},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 19:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232057600001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:55:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290263214237679616,"km_value":290263214237679.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4320007602247251968,"description":"Unknown IO ID 45"} 
[2026-05-08 19:55:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232057600001,"power":27343,"unknown_19":48128,"ignition":61,"odometer":null,"unknown_45":4320007602247251968}} 
[2026-05-08 19:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":65244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:55:18] local.INFO: GPS data processed {"connection_id":65244,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:55:18] local.INFO: Acknowledgment sent {"connection_id":65244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:56:01] local.INFO: TCP Data received {"connection_id":65319,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:01] local.INFO: Processing buffer {"connection_id":65319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:01] local.INFO: IMEI packet received {"connection_id":65319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":65319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:56:06] local.INFO: TCP Data received {"connection_id":65319,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:06] local.INFO: Processing buffer {"connection_id":65319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:06] local.INFO: IMEI packet received {"connection_id":65319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":65319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:56:08] local.INFO: TCP Data received {"connection_id":65319,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fa1738012d3cc740069da2b80030008030..."} 
[2026-05-08 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fa1738012d3cc740069da2b80030008030..."} 
[2026-05-08 19:56:08] local.INFO: Processing buffer {"connection_id":65319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fa1738012d3cc740069da2b80030008030..."} 
[2026-05-08 19:56:08] local.INFO: Packet analysis {"connection_id":65319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fa"} 
[2026-05-08 19:56:08] local.INFO: Extracted packet for processing {"connection_id":65319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fa"} 
[2026-05-08 19:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758957888,"raw_latitude":110994104,"longitude_deg":75.8957888,"latitude_deg":11.0994104,"altitude":48,"angle":128,"satellites":48,"speed":63,"hex_longitude":"2d3cc740","hex_latitude":"069da2b8","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232072960001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290267711068438528,"note":"Value kept but may cause issues"} 
[2026-05-08 19:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370884204267429888,"note":"Value kept but may cause issues"} 
[2026-05-08 19:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,213,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778250291000,"timestamp_ms":1778250291000,"timestamp_seconds":1778250291,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fa1738"} 
[2026-05-08 19:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:56:08] 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-05-08 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 19:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232072960001,"66":27234,"213":206,"19":48128,"24":63,"16":290267711068438528,"45":4370884204267429888},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,213,19,24,16,45]} 
[2026-05-08 19:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232072960001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:56:08] local.INFO: Unknown IO ID detected {"io_id":213,"value":206,"description":"Unknown IO ID 213"} 
[2026-05-08 19:56:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290267711068438528,"km_value":290267711068438.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370884204267429888,"description":"Unknown IO ID 45"} 
[2026-05-08 19:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232072960001,"power":27234,"unknown_213":206,"unknown_19":48128,"ignition":63,"odometer":null,"unknown_45":4370884204267429888}} 
[2026-05-08 19:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":65319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:56:08] local.INFO: GPS data processed {"connection_id":65319,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:56:08] local.INFO: Acknowledgment sent {"connection_id":65319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:56:16] local.INFO: TCP Data received {"connection_id":65185,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65185,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:56:16] local.INFO: Processing buffer {"connection_id":65185,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:56:16] local.INFO: IMEI packet received {"connection_id":65185,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":65185,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:56:40] local.INFO: TCP Data received {"connection_id":65320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:56:40] local.INFO: Processing buffer {"connection_id":65320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 19:56:40] local.INFO: IMEI packet received {"connection_id":65320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 19:56:40] local.INFO: IMEI acknowledgment sent {"connection_id":65320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:56:51] local.INFO: TCP Data received {"connection_id":65245,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:51] local.INFO: Processing buffer {"connection_id":65245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:51] local.INFO: IMEI packet received {"connection_id":65245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":65245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:56:55] local.INFO: TCP Data received {"connection_id":65245,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:55] local.INFO: Processing buffer {"connection_id":65245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:55] local.INFO: IMEI packet received {"connection_id":65245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":65245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:56:57] local.INFO: TCP Data received {"connection_id":65245,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:57] local.INFO: Processing buffer {"connection_id":65245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:56:57] local.INFO: IMEI packet received {"connection_id":65245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":65245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:56:59] local.INFO: TCP Data received {"connection_id":65245,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fb1908012d3d58c0069c5a10002b00a330..."} 
[2026-05-08 19:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fb1908012d3d58c0069c5a10002b00a330..."} 
[2026-05-08 19:56:59] local.INFO: Processing buffer {"connection_id":65245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fb1908012d3d58c0069c5a10002b00a330..."} 
[2026-05-08 19:56:59] local.INFO: Packet analysis {"connection_id":65245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fb"} 
[2026-05-08 19:56:59] local.INFO: Extracted packet for processing {"connection_id":65245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fb"} 
[2026-05-08 19:56:59] local.INFO: GPS Element Parsed {"raw_longitude":758995136,"raw_latitude":110909968,"longitude_deg":75.8995136,"latitude_deg":11.0909968,"altitude":43,"angle":163,"satellites":48,"speed":64,"hex_longitude":"2d3d58c0","hex_latitude":"069c5a10","is_valid_coordinates":true} 
[2026-05-08 19:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232089856001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290272246553903104,"note":"Value kept but may cause issues"} 
[2026-05-08 19:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4417046100427245568,"note":"Value kept but may cause issues"} 
[2026-05-08 19:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,161,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778250357000,"timestamp_ms":1778250357000,"timestamp_seconds":1778250357,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fb1908"} 
[2026-05-08 19:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:56:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 19:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232089856001,"66":27169,"161":206,"19":48128,"24":64,"16":290272246553903104,"45":4417046100427245568},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,161,19,24,16,45]} 
[2026-05-08 19:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232089856001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:56:59] local.INFO: Unknown IO ID detected {"io_id":161,"value":206,"description":"Unknown IO ID 161"} 
[2026-05-08 19:56:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290272246553903104,"km_value":290272246553903.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":4417046100427245568,"description":"Unknown IO ID 45"} 
[2026-05-08 19:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232089856001,"power":27169,"unknown_161":206,"unknown_19":48128,"ignition":64,"odometer":null,"unknown_45":4417046100427245568}} 
[2026-05-08 19:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":65245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:56:59] local.INFO: GPS data processed {"connection_id":65245,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:56:59] local.INFO: Acknowledgment sent {"connection_id":65245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:57:31] local.INFO: TCP Data received {"connection_id":65245,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fb3078012d3d63c0069c3548002900a330..."} 
[2026-05-08 19:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fb3078012d3d63c0069c3548002900a330..."} 
[2026-05-08 19:57:31] local.INFO: Processing buffer {"connection_id":65245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fb3078012d3d63c0069c3548002900a330..."} 
[2026-05-08 19:57:31] local.INFO: Packet analysis {"connection_id":65245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fb"} 
[2026-05-08 19:57:31] local.INFO: Extracted packet for processing {"connection_id":65245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fb"} 
[2026-05-08 19:57:31] local.INFO: GPS Element Parsed {"raw_longitude":758997952,"raw_latitude":110900552,"longitude_deg":75.8997952,"latitude_deg":11.0900552,"altitude":41,"angle":163,"satellites":48,"speed":65,"hex_longitude":"2d3d63c0","hex_latitude":"069c3548","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:57:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232091392001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:57:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290272723295272960,"note":"Value kept but may cause issues"} 
[2026-05-08 19:57:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4420494168889626624,"note":"Value kept but may cause issues"} 
[2026-05-08 19:57:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:57:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778250363000,"timestamp_ms":1778250363000,"timestamp_seconds":1778250363,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fb3078"} 
[2026-05-08 19:57:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:57: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-05-08 19: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-05-08 19:57:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:57:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:57:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:57:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:57:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:57:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:57:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:57:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:57:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:57:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232091392001,"66":27126,"81":206,"19":48128,"24":65,"16":290272723295272960,"45":4420494168889626624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-05-08 19:57:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:57:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:57:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232091392001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:57:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-05-08 19:57:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:57:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290272723295272960,"km_value":290272723295272.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:57:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4420494168889626624,"description":"Unknown IO ID 45"} 
[2026-05-08 19:57:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232091392001,"power":27126,"unknown_81":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":4420494168889626624}} 
[2026-05-08 19:57:31] local.INFO: DEBUG: GPS processor result {"connection_id":65245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:57:31] local.INFO: GPS data processed {"connection_id":65245,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:57:31] local.INFO: Acknowledgment sent {"connection_id":65245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:57:57] local.INFO: TCP Data received {"connection_id":65321,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:57:57] local.INFO: Processing buffer {"connection_id":65321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:57:57] local.INFO: IMEI packet received {"connection_id":65321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":65321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:58:02] local.INFO: TCP Data received {"connection_id":65321,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:02] local.INFO: Processing buffer {"connection_id":65321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:02] local.INFO: IMEI packet received {"connection_id":65321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":65321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:58:14] local.INFO: TCP Data received {"connection_id":65321,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fc3248012d3dbc40069ad1c80026009d2d..."} 
[2026-05-08 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fc3248012d3dbc40069ad1c80026009d2d..."} 
[2026-05-08 19:58:14] local.INFO: Processing buffer {"connection_id":65321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fc3248012d3dbc40069ad1c80026009d2d..."} 
[2026-05-08 19:58:14] local.INFO: Packet analysis {"connection_id":65321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fc"} 
[2026-05-08 19:58:14] local.INFO: Extracted packet for processing {"connection_id":65321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fc"} 
[2026-05-08 19:58:14] local.INFO: GPS Element Parsed {"raw_longitude":759020608,"raw_latitude":110809544,"longitude_deg":75.9020608,"latitude_deg":11.0809544,"altitude":38,"angle":157,"satellites":45,"speed":59,"hex_longitude":"2d3dbc40","hex_latitude":"069ad1c8","is_valid_coordinates":true} 
[2026-05-08 19:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232108288001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290277293140475904,"note":"Value kept but may cause issues"} 
[2026-05-08 19:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4444630648119017472,"note":"Value kept but may cause issues"} 
[2026-05-08 19:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1778250429000,"timestamp_ms":1778250429000,"timestamp_seconds":1778250429,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fc3248"} 
[2026-05-08 19:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 19:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":65321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":65321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":65321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232108288001,"66":27376,"81":206,"19":48128,"24":59,"16":290277293140475904,"45":4444630648119017472},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-05-08 19:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232108288001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-05-08 19:58:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290277293140475904,"km_value":290277293140475.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4444630648119017472,"description":"Unknown IO ID 45"} 
[2026-05-08 19:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232108288001,"power":27376,"unknown_81":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4444630648119017472}} 
[2026-05-08 19:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":65321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:58:14] local.INFO: GPS data processed {"connection_id":65321,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:58:14] local.INFO: Acknowledgment sent {"connection_id":65321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:58:16] local.INFO: TCP Data received {"connection_id":65321,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fc49b8012d3dc9c0069ab1b00025009d2f..."} 
[2026-05-08 19:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fc49b8012d3dc9c0069ab1b00025009d2f..."} 
[2026-05-08 19:58:16] local.INFO: Processing buffer {"connection_id":65321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fc49b8012d3dc9c0069ab1b00025009d2f..."} 
[2026-05-08 19:58:16] local.INFO: Packet analysis {"connection_id":65321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fc"} 
[2026-05-08 19:58:16] local.INFO: Extracted packet for processing {"connection_id":65321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fc"} 
[2026-05-08 19:58:16] local.INFO: GPS Element Parsed {"raw_longitude":759024064,"raw_latitude":110801328,"longitude_deg":75.9024064,"latitude_deg":11.0801328,"altitude":37,"angle":157,"satellites":47,"speed":59,"hex_longitude":"2d3dc9c0","hex_latitude":"069ab1b0","is_valid_coordinates":true} 
[2026-05-08 19:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232109824001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290277722637205504,"note":"Value kept but may cause issues"} 
[2026-05-08 19:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4448500929046628352,"note":"Value kept but may cause issues"} 
[2026-05-08 19:58:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1778250435000,"timestamp_ms":1778250435000,"timestamp_seconds":1778250435,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fc49b8"} 
[2026-05-08 19:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:58: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-05-08 19:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 19:58:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":65321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":65321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":65321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232109824001,"66":27397,"81":206,"19":48128,"24":59,"16":290277722637205504,"45":4448500929046628352},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-05-08 19:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232109824001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:58:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-05-08 19:58:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290277722637205504,"km_value":290277722637205.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4448500929046628352,"description":"Unknown IO ID 45"} 
[2026-05-08 19:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232109824001,"power":27397,"unknown_81":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":4448500929046628352}} 
[2026-05-08 19:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":65321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:58:16] local.INFO: GPS data processed {"connection_id":65321,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:58:16] local.INFO: Acknowledgment sent {"connection_id":65321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:58:55] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:55] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:55] local.INFO: IMEI packet received {"connection_id":65246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 19:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":65246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 19:58:57] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:57] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:58:57] local.INFO: IMEI packet received {"connection_id":65246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":65246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:59:02] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:59:02] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 19:59:02] local.INFO: IMEI packet received {"connection_id":65246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 19:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":65246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 19:59:03] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fd2090012d3e084006995d38001000842f..."} 
[2026-05-08 19:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fd2090012d3e084006995d38001000842f..."} 
[2026-05-08 19:59:03] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fd2090012d3e084006995d38001000842f..."} 
[2026-05-08 19:59:03] local.INFO: Packet analysis {"connection_id":65246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fd"} 
[2026-05-08 19:59:03] local.INFO: Extracted packet for processing {"connection_id":65246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fd"} 
[2026-05-08 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":759040064,"raw_latitude":110714168,"longitude_deg":75.9040064,"latitude_deg":11.0714168,"altitude":16,"angle":132,"satellites":47,"speed":65,"hex_longitude":"2d3e0840","hex_latitude":"06995d38","is_valid_coordinates":true} 
[2026-05-08 19: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-05-08 19:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232124672001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290282116388749312,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4466304221300105216,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778250490000,"timestamp_ms":1778250490000,"timestamp_seconds":1778250490,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fd2090"} 
[2026-05-08 19:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:59:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-05-08 19:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19: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-05-08 19:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232124672001,"66":27234,"79":206,"19":48128,"24":65,"16":290282116388749312,"45":4466304221300105216},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 19:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232124672001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:59:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 19:59:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290282116388749312,"km_value":290282116388749.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4466304221300105216,"description":"Unknown IO ID 45"} 
[2026-05-08 19:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232124672001,"power":27234,"unknown_79":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":4466304221300105216}} 
[2026-05-08 19:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":65246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:59:03] local.INFO: GPS data processed {"connection_id":65246,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:59:03] local.INFO: Acknowledgment sent {"connection_id":65246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:59:04] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fd2c48012d3e180006995200000f00772f..."} 
[2026-05-08 19:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fd2c48012d3e180006995200000f00772f..."} 
[2026-05-08 19:59:04] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fd2c48012d3e180006995200000f00772f..."} 
[2026-05-08 19:59:04] local.INFO: Packet analysis {"connection_id":65246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fd"} 
[2026-05-08 19:59:04] local.INFO: Extracted packet for processing {"connection_id":65246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fd"} 
[2026-05-08 19:59:04] local.INFO: GPS Element Parsed {"raw_longitude":759044096,"raw_latitude":110711296,"longitude_deg":75.9044096,"latitude_deg":11.0711296,"altitude":15,"angle":119,"satellites":47,"speed":65,"hex_longitude":"2d3e1800","hex_latitude":"06995200","is_valid_coordinates":true} 
[2026-05-08 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-05-08 19:59:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232125440001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290282356906917888,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4469893027252221952,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:59:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778250493000,"timestamp_ms":1778250493000,"timestamp_seconds":1778250493,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fd2c48"} 
[2026-05-08 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-05-08 19:59:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 19:59:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 19:59:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:59:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:59:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:59:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:59:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:59:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:59:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:59:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232125440001,"66":27115,"79":206,"19":48128,"24":65,"16":290282356906917888,"45":4469893027252221952},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 19:59:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:59:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:59:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232125440001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:59:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 19:59:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:59:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290282356906917888,"km_value":290282356906917.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:59:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":4469893027252221952,"description":"Unknown IO ID 45"} 
[2026-05-08 19:59:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232125440001,"power":27115,"unknown_79":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":4469893027252221952}} 
[2026-05-08 19:59:04] local.INFO: DEBUG: GPS processor result {"connection_id":65246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:59:04] local.INFO: GPS data processed {"connection_id":65246,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:59:04] local.INFO: Acknowledgment sent {"connection_id":65246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 19:59:46] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fd3be8012d3e304006994840000e006a2f..."} 
[2026-05-08 19:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fd3be8012d3e304006994840000e006a2f..."} 
[2026-05-08 19:59:46] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fd3be8012d3e304006994840000e006a2f..."} 
[2026-05-08 19:59:46] local.INFO: Packet analysis {"connection_id":65246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fd"} 
[2026-05-08 19:59:46] local.INFO: Extracted packet for processing {"connection_id":65246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fd"} 
[2026-05-08 19:59:46] local.INFO: GPS Element Parsed {"raw_longitude":759050304,"raw_latitude":110708800,"longitude_deg":75.9050304,"latitude_deg":11.07088,"altitude":14,"angle":106,"satellites":47,"speed":65,"hex_longitude":"2d3e3040","hex_latitude":"06994840","is_valid_coordinates":true} 
[2026-05-08 19:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 19:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232126208001,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290282674734497792,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4474326258134679552,"note":"Value kept but may cause issues"} 
[2026-05-08 19:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 19:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1778250497000,"timestamp_ms":1778250497000,"timestamp_seconds":1778250497,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fd3be8"} 
[2026-05-08 19:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 19:59:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 19:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 19:59:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 19:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 19:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 19:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 19:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":65246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 19:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 19:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 19:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 19:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 19:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232126208001,"66":27267,"79":206,"19":48128,"24":65,"16":290282674734497792,"45":4474326258134679552},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 19:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 19:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 19:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232126208001,"description":"Unknown IO ID 0"} 
[2026-05-08 19:59:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 19:59:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 19:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290282674734497792,"km_value":290282674734497.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 19:59:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4474326258134679552,"description":"Unknown IO ID 45"} 
[2026-05-08 19:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232126208001,"power":27267,"unknown_79":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":4474326258134679552}} 
[2026-05-08 19:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":65246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 19:59:46] local.INFO: GPS data processed {"connection_id":65246,"processed":1,"errors":0,"total":1} 
[2026-05-08 19:59:46] local.INFO: Acknowledgment sent {"connection_id":65246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:00:01] local.INFO: TCP Data received {"connection_id":65322,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:01] local.INFO: Processing buffer {"connection_id":65322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:01] local.INFO: IMEI packet received {"connection_id":65322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":65322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:00:06] local.INFO: TCP Data received {"connection_id":65322,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:06] local.INFO: Processing buffer {"connection_id":65322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:06] local.INFO: IMEI packet received {"connection_id":65322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":65322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:00:22] local.INFO: TCP Data received {"connection_id":65322,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fd5358012d3e56c006994118000d00632f..."} 
[2026-05-08 20:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fd5358012d3e56c006994118000d00632f..."} 
[2026-05-08 20:00:22] local.INFO: Processing buffer {"connection_id":65322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fd5358012d3e56c006994118000d00632f..."} 
[2026-05-08 20:00:22] local.INFO: Packet analysis {"connection_id":65322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fd"} 
[2026-05-08 20:00:22] local.INFO: Extracted packet for processing {"connection_id":65322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fd"} 
[2026-05-08 20:00:22] local.INFO: GPS Element Parsed {"raw_longitude":759060160,"raw_latitude":110706968,"longitude_deg":75.906016,"latitude_deg":11.0706968,"altitude":13,"angle":99,"satellites":47,"speed":64,"hex_longitude":"2d3e56c0","hex_latitude":"06994118","is_valid_coordinates":true} 
[2026-05-08 20:00: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-05-08 20:00:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232127232001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:00:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290283151475867648,"note":"Value kept but may cause issues"} 
[2026-05-08 20:00:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4481152026319273984,"note":"Value kept but may cause issues"} 
[2026-05-08 20:00:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:00:22] local.INFO: AVL Record Parsed {"raw_timestamp":1778250503000,"timestamp_ms":1778250503000,"timestamp_seconds":1778250503,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fd5358"} 
[2026-05-08 20:00:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:00: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-05-08 20:00:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 20:00:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:00: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-05-08 20:00:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:00:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:00:22] local.INFO: Teltonika packet parsed successfully {"connection_id":65322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:00:22] local.INFO: Passing IMEI to GPS processor {"connection_id":65322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:00:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":65322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:00:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:00:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:00:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:00:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232127232001,"66":27234,"79":206,"19":48128,"24":64,"16":290283151475867648,"45":4481152026319273984},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 20:00:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:00:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:00:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232127232001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:00:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 20:00:22] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:00:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290283151475867648,"km_value":290283151475867.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:00:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":4481152026319273984,"description":"Unknown IO ID 45"} 
[2026-05-08 20:00:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232127232001,"power":27234,"unknown_79":206,"unknown_19":48128,"ignition":64,"odometer":null,"unknown_45":4481152026319273984}} 
[2026-05-08 20:00:22] local.INFO: DEBUG: GPS processor result {"connection_id":65322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:00:22] local.INFO: GPS data processed {"connection_id":65322,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:00:22] local.INFO: Acknowledgment sent {"connection_id":65322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:00:51] local.INFO: TCP Data received {"connection_id":65247,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:51] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:51] local.INFO: IMEI packet received {"connection_id":65247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":65247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:00:52] local.INFO: TCP Data received {"connection_id":66022,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 20:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66022,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 20:00:52] local.INFO: Processing buffer {"connection_id":66022,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 20:00:52] local.INFO: Packet analysis {"connection_id":66022,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-05-08 20:00:52] local.INFO: Extracted packet for processing {"connection_id":66022,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-05-08 20:00: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-05-08 20:00:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-05-08 20:00:52] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-05-08 20:00:52] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-05-08 20:00:52] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-05-08 20:00:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-05-08 20:00:52] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:00:52] local.INFO: Teltonika packet parsed successfully {"connection_id":66022,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-05-08 20:00:52] local.INFO: Passing IMEI to GPS processor {"connection_id":66022,"device_imei":null,"avl_records_count":1} 
[2026-05-08 20:00:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":66022,"device_imei":null,"avl_records_count":1} 
[2026-05-08 20:00:52] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:00:52] local.INFO: DEBUG: GPS processor result {"connection_id":66022,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 20:00:52] local.INFO: GPS data processed {"connection_id":66022,"processed":0,"errors":0,"total":1} 
[2026-05-08 20:00:52] local.INFO: Acknowledgment sent {"connection_id":66022,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:00:54] local.INFO: TCP Data received {"connection_id":65247,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:54] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:00:54] local.INFO: IMEI packet received {"connection_id":65247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":65247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:00:56] local.INFO: TCP Data received {"connection_id":65323,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 20:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65323,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 20:00:56] local.INFO: Processing buffer {"connection_id":65323,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-05-08 20:00:56] local.INFO: Packet analysis {"connection_id":65323,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-05-08 20:00:56] local.INFO: Extracted packet for processing {"connection_id":65323,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-05-08 20:00:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-05-08 20:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-05-08 20:00:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-05-08 20:00:56] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-05-08 20:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-05-08 20:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-05-08 20:00:56] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":65323,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-05-08 20:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":65323,"device_imei":null,"avl_records_count":1} 
[2026-05-08 20:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":65323,"device_imei":null,"avl_records_count":1} 
[2026-05-08 20:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":65323,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-05-08 20:00:56] local.INFO: GPS data processed {"connection_id":65323,"processed":0,"errors":0,"total":1} 
[2026-05-08 20:00:56] local.INFO: Acknowledgment sent {"connection_id":65323,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:01:03] local.INFO: TCP Data received {"connection_id":65247,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fea730012d40270006994eb8001600712e..."} 
[2026-05-08 20:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fea730012d40270006994eb8001600712e..."} 
[2026-05-08 20:01:03] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fea730012d40270006994eb8001600712e..."} 
[2026-05-08 20:01:03] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fe"} 
[2026-05-08 20:01:03] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fe"} 
[2026-05-08 20:01:03] local.INFO: GPS Element Parsed {"raw_longitude":759179008,"raw_latitude":110710456,"longitude_deg":75.9179008,"latitude_deg":11.0710456,"altitude":22,"angle":113,"satellites":46,"speed":50,"hex_longitude":"2d402700","hex_latitude":"06994eb8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232151040001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290288971156553728,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4622663570860980224,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778250590000,"timestamp_ms":1778250590000,"timestamp_seconds":1778250590,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fea730"} 
[2026-05-08 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-05-08 20:01: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-05-08 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232151040001,"66":27213,"79":206,"19":48128,"24":50,"16":290288971156553728,"45":4622663570860980224},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 20:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232151040001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:01:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 20:01:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290288971156553728,"km_value":290288971156553.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4622663570860980224,"description":"Unknown IO ID 45"} 
[2026-05-08 20:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232151040001,"power":27213,"unknown_79":206,"unknown_19":48128,"ignition":50,"odometer":null,"unknown_45":4622663570860980224}} 
[2026-05-08 20:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:01:03] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:01:03] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:01:05] local.INFO: TCP Data received {"connection_id":65247,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fec670012d40474006993d080019007c2d..."} 
[2026-05-08 20:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fec670012d40474006993d080019007c2d..."} 
[2026-05-08 20:01:05] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fec670012d40474006993d080019007c2d..."} 
[2026-05-08 20:01:05] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fe"} 
[2026-05-08 20:01:05] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fe"} 
[2026-05-08 20:01:05] local.INFO: GPS Element Parsed {"raw_longitude":759187264,"raw_latitude":110705928,"longitude_deg":75.9187264,"latitude_deg":11.0705928,"altitude":25,"angle":124,"satellites":45,"speed":44,"hex_longitude":"2d404740","hex_latitude":"06993d08","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232151040001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290289417833152512,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4622663570860980224,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778250598000,"timestamp_ms":1778250598000,"timestamp_seconds":1778250598,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fec670"} 
[2026-05-08 20:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:01:05] 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-05-08 20:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232151040001,"66":27376,"79":206,"19":48128,"24":44,"16":290289417833152512,"45":4622663570860980224},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 20:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232151040001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:01:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 20:01:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290289417833152512,"km_value":290289417833152.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4622663570860980224,"description":"Unknown IO ID 45"} 
[2026-05-08 20:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232151040001,"power":27376,"unknown_79":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4622663570860980224}} 
[2026-05-08 20:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:01:05] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:01:05] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:01:36] local.INFO: TCP Data received {"connection_id":65247,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fec670012d40474006993d080019007c2d..."} 
[2026-05-08 20:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fec670012d40474006993d080019007c2d..."} 
[2026-05-08 20:01:36] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fec670012d40474006993d080019007c2d..."} 
[2026-05-08 20:01:36] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fe"} 
[2026-05-08 20:01:36] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fe"} 
[2026-05-08 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":759187264,"raw_latitude":110705928,"longitude_deg":75.9187264,"latitude_deg":11.0705928,"altitude":25,"angle":124,"satellites":45,"speed":44,"hex_longitude":"2d404740","hex_latitude":"06993d08","is_valid_coordinates":true} 
[2026-05-08 20:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232153088001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290289417833152512,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4631741138858739712,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778250598000,"timestamp_ms":1778250598000,"timestamp_seconds":1778250598,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fec670"} 
[2026-05-08 20:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:01:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:01:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 20:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:01:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232153088001,"66":27376,"79":206,"19":48128,"24":44,"16":290289417833152512,"45":4631741138858739712},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 20:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232153088001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:01:36] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 20:01:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290289417833152512,"km_value":290289417833152.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4631741138858739712,"description":"Unknown IO ID 45"} 
[2026-05-08 20:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232153088001,"power":27376,"unknown_79":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4631741138858739712}} 
[2026-05-08 20:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:01:37] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:01:37] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:01:51] local.INFO: TCP Data received {"connection_id":66023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:51] local.INFO: Processing buffer {"connection_id":66023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:51] local.INFO: IMEI packet received {"connection_id":66023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":66023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:01:53] local.INFO: TCP Data received {"connection_id":66023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:53] local.INFO: Processing buffer {"connection_id":66023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:53] local.INFO: IMEI packet received {"connection_id":66023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":66023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:01:56] local.INFO: TCP Data received {"connection_id":66023,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:56] local.INFO: Processing buffer {"connection_id":66023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:01:56] local.INFO: IMEI packet received {"connection_id":66023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":66023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:01:57] local.INFO: TCP Data received {"connection_id":66023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07fee998012d40658006992598001b008030..."} 
[2026-05-08 20:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07fee998012d40658006992598001b008030..."} 
[2026-05-08 20:01:57] local.INFO: Processing buffer {"connection_id":66023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07fee998012d40658006992598001b008030..."} 
[2026-05-08 20:01:57] local.INFO: Packet analysis {"connection_id":66023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07fe"} 
[2026-05-08 20:01:57] local.INFO: Extracted packet for processing {"connection_id":66023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07fe"} 
[2026-05-08 20:01:57] local.INFO: GPS Element Parsed {"raw_longitude":759195008,"raw_latitude":110699928,"longitude_deg":75.9195008,"latitude_deg":11.0699928,"altitude":27,"angle":128,"satellites":48,"speed":42,"hex_longitude":"2d406580","hex_latitude":"06992598","is_valid_coordinates":true} 
[2026-05-08 20:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232153088001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290289890279555072,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4631741138858739712,"note":"Value kept but may cause issues"} 
[2026-05-08 20:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778250607000,"timestamp_ms":1778250607000,"timestamp_seconds":1778250607,"priority":1,"record_length":96,"hex_timestamp":"0000019e07fee998"} 
[2026-05-08 20:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 20:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":66023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":66023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":66023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232153088001,"66":27245,"79":206,"19":48128,"24":42,"16":290289890279555072,"45":4631741138858739712},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 20:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232153088001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:01:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 20:01:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290289890279555072,"km_value":290289890279555.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4631741138858739712,"description":"Unknown IO ID 45"} 
[2026-05-08 20:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232153088001,"power":27245,"unknown_79":206,"unknown_19":48128,"ignition":42,"odometer":null,"unknown_45":4631741138858739712}} 
[2026-05-08 20:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":66023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:01:57] local.INFO: GPS data processed {"connection_id":66023,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:01:57] local.INFO: Acknowledgment sent {"connection_id":66023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:02:00] local.INFO: TCP Data received {"connection_id":66023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ff0cc0012d40824006990e80001d008131..."} 
[2026-05-08 20:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ff0cc0012d40824006990e80001d008131..."} 
[2026-05-08 20:02:00] local.INFO: Processing buffer {"connection_id":66023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ff0cc0012d40824006990e80001d008131..."} 
[2026-05-08 20:02:00] local.INFO: Packet analysis {"connection_id":66023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ff"} 
[2026-05-08 20:02:00] local.INFO: Extracted packet for processing {"connection_id":66023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ff"} 
[2026-05-08 20:02:00] local.INFO: GPS Element Parsed {"raw_longitude":759202368,"raw_latitude":110694016,"longitude_deg":75.9202368,"latitude_deg":11.0694016,"altitude":29,"angle":129,"satellites":49,"speed":40,"hex_longitude":"2d408240","hex_latitude":"06990e80","is_valid_coordinates":true} 
[2026-05-08 20:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:02:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232155392001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290290341251121152,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4640255756902701056,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,79,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:02:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778250616000,"timestamp_ms":1778250616000,"timestamp_seconds":1778250616,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ff0cc0"} 
[2026-05-08 20:02:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:02:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:02:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 20:02:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:02:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:02:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:02:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:02:00] local.INFO: Teltonika packet parsed successfully {"connection_id":66023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:02:00] local.INFO: Passing IMEI to GPS processor {"connection_id":66023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:02:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":66023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:02:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:02:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:02:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:02:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232155392001,"66":27300,"79":206,"19":48128,"24":40,"16":290290341251121152,"45":4640255756902701056},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-05-08 20:02:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:02:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:02:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232155392001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:02:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-05-08 20:02:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:02:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290290341251121152,"km_value":290290341251121.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:02:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":4640255756902701056,"description":"Unknown IO ID 45"} 
[2026-05-08 20:02:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232155392001,"power":27300,"unknown_79":206,"unknown_19":48128,"ignition":40,"odometer":null,"unknown_45":4640255756902701056}} 
[2026-05-08 20:02:00] local.INFO: DEBUG: GPS processor result {"connection_id":66023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:02:00] local.INFO: GPS data processed {"connection_id":66023,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:02:00] local.INFO: Acknowledgment sent {"connection_id":66023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:02:01] local.INFO: TCP Data received {"connection_id":65324,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:02:01] local.INFO: Processing buffer {"connection_id":65324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:02:01] local.INFO: IMEI packet received {"connection_id":65324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":65324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:02:31] local.INFO: TCP Data received {"connection_id":66023,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e07ff2fe8012d409e000698f8800020007f2f..."} 
[2026-05-08 20:02:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e07ff2fe8012d409e000698f8800020007f2f..."} 
[2026-05-08 20:02:31] local.INFO: Processing buffer {"connection_id":66023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e07ff2fe8012d409e000698f8800020007f2f..."} 
[2026-05-08 20:02:31] local.INFO: Packet analysis {"connection_id":66023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e07ff"} 
[2026-05-08 20:02:31] local.INFO: Extracted packet for processing {"connection_id":66023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e07ff"} 
[2026-05-08 20:02:31] local.INFO: GPS Element Parsed {"raw_longitude":759209472,"raw_latitude":110688384,"longitude_deg":75.9209472,"latitude_deg":11.0688384,"altitude":32,"angle":127,"satellites":47,"speed":39,"hex_longitude":"2d409e00","hex_latitude":"0698f880","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:02:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232157696001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290290775042818048,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4648348162481618944,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:02:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778250625000,"timestamp_ms":1778250625000,"timestamp_seconds":1778250625,"priority":1,"record_length":96,"hex_timestamp":"0000019e07ff2fe8"} 
[2026-05-08 20:02:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:02: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-05-08 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 20:02:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:02:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:02:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:02:31] local.INFO: Teltonika packet parsed successfully {"connection_id":66023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:02:31] local.INFO: Passing IMEI to GPS processor {"connection_id":66023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:02:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":66023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:02:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:02:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:02:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:02:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232157696001,"66":27321,"29":206,"19":48128,"24":39,"16":290290775042818048,"45":4648348162481618944},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:02:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:02:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:02:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232157696001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:02:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:02:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:02:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290290775042818048,"km_value":290290775042818.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:02:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4648348162481618944,"description":"Unknown IO ID 45"} 
[2026-05-08 20:02:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232157696001,"power":27321,"unknown_29":206,"unknown_19":48128,"ignition":39,"odometer":null,"unknown_45":4648348162481618944}} 
[2026-05-08 20:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":66023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:02:31] local.INFO: GPS data processed {"connection_id":66023,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:02:31] local.INFO: Acknowledgment sent {"connection_id":66023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:02:40] local.INFO: TCP Data received {"connection_id":65190,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:02:40] local.INFO: Processing buffer {"connection_id":65190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:02:40] local.INFO: IMEI packet received {"connection_id":65190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:02:40] local.INFO: IMEI acknowledgment sent {"connection_id":65190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:02:51] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:02:51] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:02:51] local.INFO: IMEI packet received {"connection_id":65191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":65191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:02:57] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:02:57] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:02:57] local.INFO: IMEI packet received {"connection_id":65191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":65191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:02:58] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08007808012d41f60006981ea0002400642e..."} 
[2026-05-08 20:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08007808012d41f60006981ea0002400642e..."} 
[2026-05-08 20:02:58] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08007808012d41f60006981ea0002400642e..."} 
[2026-05-08 20:02:58] local.INFO: Packet analysis {"connection_id":65191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0800"} 
[2026-05-08 20:02:58] local.INFO: Extracted packet for processing {"connection_id":65191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0800"} 
[2026-05-08 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":759297536,"raw_latitude":110632608,"longitude_deg":75.9297536,"latitude_deg":11.0632608,"altitude":36,"angle":100,"satellites":46,"speed":26,"hex_longitude":"2d41f600","hex_latitude":"06981ea0","is_valid_coordinates":true} 
[2026-05-08 20:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232179712001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290295774384750592,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4746301454361808896,"note":"Value kept but may cause issues"} 
[2026-05-08 20:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778250709000,"timestamp_ms":1778250709000,"timestamp_seconds":1778250709,"priority":1,"record_length":96,"hex_timestamp":"0000019e08007808"} 
[2026-05-08 20:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 20:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232179712001,"66":27376,"29":206,"19":48128,"24":26,"16":290295774384750592,"45":4746301454361808896},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232179712001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:02:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:02:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290295774384750592,"km_value":290295774384750.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4746301454361808896,"description":"Unknown IO ID 45"} 
[2026-05-08 20:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232179712001,"power":27376,"unknown_29":206,"unknown_19":48128,"ignition":26,"odometer":null,"unknown_45":4746301454361808896}} 
[2026-05-08 20:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":65191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:02:58] local.INFO: GPS data processed {"connection_id":65191,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:02:58] local.INFO: Acknowledgment sent {"connection_id":65191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:03:29] local.INFO: TCP Data received {"connection_id":65191,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08008b90012d4201c006981c10002500702f..."} 
[2026-05-08 20:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08008b90012d4201c006981c10002500702f..."} 
[2026-05-08 20:03:29] local.INFO: Processing buffer {"connection_id":65191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08008b90012d4201c006981c10002500702f..."} 
[2026-05-08 20:03:29] local.INFO: Packet analysis {"connection_id":65191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0800"} 
[2026-05-08 20:03:29] local.INFO: Extracted packet for processing {"connection_id":65191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0800"} 
[2026-05-08 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":759300544,"raw_latitude":110631952,"longitude_deg":75.9300544,"latitude_deg":11.0631952,"altitude":37,"angle":112,"satellites":47,"speed":23,"hex_longitude":"2d4201c0","hex_latitude":"06981c10","is_valid_coordinates":true} 
[2026-05-08 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232181504001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290295920413638656,"note":"Value kept but may cause issues"} 
[2026-05-08 20:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4752986485058084864,"note":"Value kept but may cause issues"} 
[2026-05-08 20:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778250714000,"timestamp_ms":1778250714000,"timestamp_seconds":1778250714,"priority":1,"record_length":96,"hex_timestamp":"0000019e08008b90"} 
[2026-05-08 20:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 20:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:03:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232181504001,"66":27234,"29":206,"19":48128,"24":23,"16":290295920413638656,"45":4752986485058084864},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232181504001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:03:29] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:03:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290295920413638656,"km_value":290295920413638.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4752986485058084864,"description":"Unknown IO ID 45"} 
[2026-05-08 20:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232181504001,"power":27234,"unknown_29":206,"unknown_19":48128,"ignition":23,"odometer":null,"unknown_45":4752986485058084864}} 
[2026-05-08 20:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":65191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:03:29] local.INFO: GPS data processed {"connection_id":65191,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:03:29] local.INFO: Acknowledgment sent {"connection_id":65191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:04:07] local.INFO: TCP Data received {"connection_id":66024,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:07] local.INFO: Processing buffer {"connection_id":66024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:07] local.INFO: IMEI packet received {"connection_id":66024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":66024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:04:17] local.INFO: TCP Data received {"connection_id":66024,"ip":"117.224.107.64","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66024,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:04:17] local.INFO: Processing buffer {"connection_id":66024,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:04:17] local.INFO: IMEI packet received {"connection_id":66024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":66024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:04:18] local.INFO: TCP Data received {"connection_id":66024,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:18] local.INFO: Processing buffer {"connection_id":66024,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:04:18] local.INFO: IMEI packet received {"connection_id":66024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":66024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:04:19] local.INFO: TCP Data received {"connection_id":66024,"ip":"117.224.107.64","data_length":1360,"data_hex":"000000000000030f8e0a0000019e0800c628012d4222c0069810100029006d2c..."} 
[2026-05-08 20:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66024,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019e0800c628012d4222c0069810100029006d2c..."} 
[2026-05-08 20:04:19] local.INFO: Processing buffer {"connection_id":66024,"buffer_length":1377,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 20:04:19] local.INFO: IMEI packet received {"connection_id":66024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":66024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:04:20] local.INFO: TCP Data received {"connection_id":66024,"ip":"117.224.107.64","data_length":1025,"data_hex":"2d417dc006986498001e007b2d003d0000000a000400ef0100714f00f0010045..."} 
[2026-05-08 20:04:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66024,"packet_length":1025,"packet_hex":"2d417dc006986498001e007b2d003d0000000a000400ef0100714f00f0010045..."} 
[2026-05-08 20:04:20] local.INFO: Processing buffer {"connection_id":66024,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019e0800c628012d4222c0069810100029006d2c..."} 
[2026-05-08 20:04:20] local.INFO: Packet analysis {"connection_id":66024,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019e0800"} 
[2026-05-08 20:04:20] local.INFO: Extracted packet for processing {"connection_id":66024,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e0800"} 
[2026-05-08 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":759308992,"raw_latitude":110628880,"longitude_deg":75.9308992,"latitude_deg":11.062888,"altitude":41,"angle":109,"satellites":44,"speed":24,"hex_longitude":"2d4222c0","hex_latitude":"06981010","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232182784001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290296349910368256,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4756293816034267136,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778250729000,"timestamp_ms":1778250729000,"timestamp_seconds":1778250729,"priority":1,"record_length":96,"hex_timestamp":"0000019e0800c628"} 
[2026-05-08 20:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 20:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":66024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":66024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":66024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232182784001,"66":27321,"29":206,"19":48128,"24":24,"16":290296349910368256,"45":4756293816034267136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232182784001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290296349910368256,"km_value":290296349910368.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4756293816034267136,"description":"Unknown IO ID 45"} 
[2026-05-08 20:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232182784001,"power":27321,"unknown_29":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":4756293816034267136}} 
[2026-05-08 20:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":66024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:04:20] local.INFO: GPS data processed {"connection_id":66024,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:04:20] local.INFO: Acknowledgment sent {"connection_id":66024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:04:20] local.INFO: Packet analysis {"connection_id":66024,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:04:20] local.INFO: Extracted packet for processing {"connection_id":66024,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":759318016,"raw_latitude":110625648,"longitude_deg":75.9318016,"latitude_deg":11.0625648,"altitude":45,"angle":110,"satellites":46,"speed":26,"hex_longitude":"2d424600","hex_latitude":"06980370","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232186624001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290296805176901632,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4765582490264932352,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778250744000,"timestamp_ms":1778250744000,"timestamp_seconds":1778250744,"priority":1,"record_length":96,"hex_timestamp":"0000019e080100c0"} 
[2026-05-08 20:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 20:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":66024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":66024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":66024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232186624001,"66":27267,"29":206,"19":48128,"24":26,"16":290296805176901632,"45":4765582490264932352},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232186624001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290296805176901632,"km_value":290296805176901.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4765582490264932352,"description":"Unknown IO ID 45"} 
[2026-05-08 20:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232186624001,"power":27267,"unknown_29":206,"unknown_19":48128,"ignition":26,"odometer":null,"unknown_45":4765582490264932352}} 
[2026-05-08 20:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":66024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:04:20] local.INFO: GPS data processed {"connection_id":66024,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:04:20] local.INFO: Acknowledgment sent {"connection_id":66024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:04:20] local.INFO: Packet analysis {"connection_id":66024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:04:20] local.INFO: Extracted packet for processing {"connection_id":66024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":759327232,"raw_latitude":110622336,"longitude_deg":75.9327232,"latitude_deg":11.0622336,"altitude":46,"angle":108,"satellites":47,"speed":33,"hex_longitude":"2d426a00","hex_latitude":"0697f680","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232190464001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290297273328336896,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4775504483193155584,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:04:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778250757000,"timestamp_ms":1778250757000,"timestamp_seconds":1778250757,"priority":1,"record_length":96,"hex_timestamp":"0000019e08013388"} 
[2026-05-08 20:04:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:04:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 20:04:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:04:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:04:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:04:20] local.INFO: Teltonika packet parsed successfully {"connection_id":66024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:04:20] local.INFO: Passing IMEI to GPS processor {"connection_id":66024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":66024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232190464001,"66":27343,"29":206,"19":48128,"24":33,"16":290297273328336896,"45":4775504483193155584},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:04:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232190464001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:04:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290297273328336896,"km_value":290297273328336.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:04:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4775504483193155584,"description":"Unknown IO ID 45"} 
[2026-05-08 20:04:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232190464001,"power":27343,"unknown_29":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":4775504483193155584}} 
[2026-05-08 20:04:20] local.INFO: DEBUG: GPS processor result {"connection_id":66024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:04:20] local.INFO: GPS data processed {"connection_id":66024,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:04:20] local.INFO: Acknowledgment sent {"connection_id":66024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:04:24] local.INFO: TCP Data received {"connection_id":66024,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08015e80012d428d800697e9800033006f2f..."} 
[2026-05-08 20:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08015e80012d428d800697e9800033006f2f..."} 
[2026-05-08 20:04:24] local.INFO: Processing buffer {"connection_id":66024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08015e80012d428d800697e9800033006f2f..."} 
[2026-05-08 20:04:24] local.INFO: Packet analysis {"connection_id":66024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:04:24] local.INFO: Extracted packet for processing {"connection_id":66024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:04:24] local.INFO: GPS Element Parsed {"raw_longitude":759336320,"raw_latitude":110619008,"longitude_deg":75.933632,"latitude_deg":11.0619008,"altitude":51,"angle":111,"satellites":47,"speed":34,"hex_longitude":"2d428d80","hex_latitude":"0697e980","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232193792001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290297732889837568,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4785637582353891328,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778250768000,"timestamp_ms":1778250768000,"timestamp_seconds":1778250768,"priority":1,"record_length":96,"hex_timestamp":"0000019e08015e80"} 
[2026-05-08 20:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:04:24] 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-05-08 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 20:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":66024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":66024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":66024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232193792001,"66":27365,"29":206,"19":48128,"24":34,"16":290297732889837568,"45":4785637582353891328},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232193792001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:04:24] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:04:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290297732889837568,"km_value":290297732889837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4785637582353891328,"description":"Unknown IO ID 45"} 
[2026-05-08 20:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232193792001,"power":27365,"unknown_29":206,"unknown_19":48128,"ignition":34,"odometer":null,"unknown_45":4785637582353891328}} 
[2026-05-08 20:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":66024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:04:24] local.INFO: GPS data processed {"connection_id":66024,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:04:24] local.INFO: Acknowledgment sent {"connection_id":66024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:04:51] local.INFO: TCP Data received {"connection_id":65325,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:51] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:51] local.INFO: IMEI packet received {"connection_id":65325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":65325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:04:57] local.INFO: TCP Data received {"connection_id":65325,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:57] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:04:57] local.INFO: IMEI packet received {"connection_id":65325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":65325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:04:58] local.INFO: TCP Data received {"connection_id":65325,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08018978012d42ae400697d9480035007b2f..."} 
[2026-05-08 20:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08018978012d42ae400697d9480035007b2f..."} 
[2026-05-08 20:04:58] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08018978012d42ae400697d9480035007b2f..."} 
[2026-05-08 20:04:58] local.INFO: Packet analysis {"connection_id":65325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:04:58] local.INFO: Extracted packet for processing {"connection_id":65325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:04:58] local.INFO: GPS Element Parsed {"raw_longitude":759344704,"raw_latitude":110614856,"longitude_deg":75.9344704,"latitude_deg":11.0614856,"altitude":53,"angle":123,"satellites":47,"speed":32,"hex_longitude":"2d42ae40","hex_latitude":"0697d948","is_valid_coordinates":true} 
[2026-05-08 20:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232196608001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290298183861403648,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4795629944026267648,"note":"Value kept but may cause issues"} 
[2026-05-08 20:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778250779000,"timestamp_ms":1778250779000,"timestamp_seconds":1778250779,"priority":1,"record_length":96,"hex_timestamp":"0000019e08018978"} 
[2026-05-08 20:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 20:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232196608001,"66":27234,"29":206,"19":48128,"24":32,"16":290298183861403648,"45":4795629944026267648},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232196608001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:04:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:04:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290298183861403648,"km_value":290298183861403.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4795629944026267648,"description":"Unknown IO ID 45"} 
[2026-05-08 20:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232196608001,"power":27234,"unknown_29":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4795629944026267648}} 
[2026-05-08 20:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":65325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:04:58] local.INFO: GPS data processed {"connection_id":65325,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:04:58] local.INFO: Acknowledgment sent {"connection_id":65325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:05:31] local.INFO: TCP Data received {"connection_id":65325,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08018978012d42ae400697d9480035007b2f..."} 
[2026-05-08 20:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08018978012d42ae400697d9480035007b2f..."} 
[2026-05-08 20:05:31] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08018978012d42ae400697d9480035007b2f..."} 
[2026-05-08 20:05:31] local.INFO: Packet analysis {"connection_id":65325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:05:31] local.INFO: Extracted packet for processing {"connection_id":65325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:05:31] local.INFO: GPS Element Parsed {"raw_longitude":759344704,"raw_latitude":110614856,"longitude_deg":75.9344704,"latitude_deg":11.0614856,"altitude":53,"angle":123,"satellites":47,"speed":32,"hex_longitude":"2d42ae40","hex_latitude":"0697d948","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232199424001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290298183861403648,"note":"Value kept but may cause issues"} 
[2026-05-08 20:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4804848249512478720,"note":"Value kept but may cause issues"} 
[2026-05-08 20:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778250779000,"timestamp_ms":1778250779000,"timestamp_seconds":1778250779,"priority":1,"record_length":96,"hex_timestamp":"0000019e08018978"} 
[2026-05-08 20:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:05: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-05-08 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 20:05:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:05:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232199424001,"66":27234,"29":206,"19":48128,"24":32,"16":290298183861403648,"45":4804848249512478720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232199424001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:05:31] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:05:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290298183861403648,"km_value":290298183861403.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4804848249512478720,"description":"Unknown IO ID 45"} 
[2026-05-08 20:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232199424001,"power":27234,"unknown_29":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4804848249512478720}} 
[2026-05-08 20:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":65325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:05:31] local.INFO: GPS data processed {"connection_id":65325,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:05:31] local.INFO: Acknowledgment sent {"connection_id":65325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:05:57] local.INFO: TCP Data received {"connection_id":65248,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:05:57] local.INFO: Processing buffer {"connection_id":65248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:05:57] local.INFO: IMEI packet received {"connection_id":65248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":65248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:06:01] local.INFO: TCP Data received {"connection_id":65248,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:06:01] local.INFO: Processing buffer {"connection_id":65248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:06:01] local.INFO: IMEI packet received {"connection_id":65248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":65248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:06:02] local.INFO: TCP Data received {"connection_id":65248,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08019d00012d42ba400697cf380037008730..."} 
[2026-05-08 20:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08019d00012d42ba400697cf380037008730..."} 
[2026-05-08 20:06:02] local.INFO: Processing buffer {"connection_id":65248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08019d00012d42ba400697cf380037008730..."} 
[2026-05-08 20:06:02] local.INFO: Packet analysis {"connection_id":65248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:06:02] local.INFO: Extracted packet for processing {"connection_id":65248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:06:02] local.INFO: GPS Element Parsed {"raw_longitude":759347776,"raw_latitude":110612280,"longitude_deg":75.9347776,"latitude_deg":11.061228,"altitude":55,"angle":135,"satellites":48,"speed":31,"hex_longitude":"2d42ba40","hex_latitude":"0697cf38","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232199424001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290298372839964672,"note":"Value kept but may cause issues"} 
[2026-05-08 20:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4804848249512478720,"note":"Value kept but may cause issues"} 
[2026-05-08 20:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778250784000,"timestamp_ms":1778250784000,"timestamp_seconds":1778250784,"priority":1,"record_length":96,"hex_timestamp":"0000019e08019d00"} 
[2026-05-08 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-05-08 20:06: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-05-08 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 20:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232199424001,"66":27071,"29":206,"19":48128,"24":31,"16":290298372839964672,"45":4804848249512478720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232199424001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:06:02] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:06:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290298372839964672,"km_value":290298372839964.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4804848249512478720,"description":"Unknown IO ID 45"} 
[2026-05-08 20:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232199424001,"power":27071,"unknown_29":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":4804848249512478720}} 
[2026-05-08 20:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":65248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:06:02] local.INFO: GPS data processed {"connection_id":65248,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:06:02] local.INFO: Acknowledgment sent {"connection_id":65248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:06:08] local.INFO: TCP Data received {"connection_id":65248,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0801bc40012d42c7800697be10003800932f..."} 
[2026-05-08 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0801bc40012d42c7800697be10003800932f..."} 
[2026-05-08 20:06:08] local.INFO: Processing buffer {"connection_id":65248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0801bc40012d42c7800697be10003800932f..."} 
[2026-05-08 20:06:08] local.INFO: Packet analysis {"connection_id":65248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:06:08] local.INFO: Extracted packet for processing {"connection_id":65248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0801"} 
[2026-05-08 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":759351168,"raw_latitude":110607888,"longitude_deg":75.9351168,"latitude_deg":11.0607888,"altitude":56,"angle":147,"satellites":47,"speed":24,"hex_longitude":"2d42c780","hex_latitude":"0697be10","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232200704001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290298643422904320,"note":"Value kept but may cause issues"} 
[2026-05-08 20:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4808225949232347136,"note":"Value kept but may cause issues"} 
[2026-05-08 20:06:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1778250792000,"timestamp_ms":1778250792000,"timestamp_seconds":1778250792,"priority":1,"record_length":96,"hex_timestamp":"0000019e0801bc40"} 
[2026-05-08 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-05-08 20:06:08] 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-05-08 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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-05-08 20:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":65248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":65248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":65248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232200704001,"66":27365,"29":206,"19":48128,"24":24,"16":290298643422904320,"45":4808225949232347136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,19,24,16,45]} 
[2026-05-08 20:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232200704001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:06:08] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 20:06:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290298643422904320,"km_value":290298643422904.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":4808225949232347136,"description":"Unknown IO ID 45"} 
[2026-05-08 20:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232200704001,"power":27365,"unknown_29":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":4808225949232347136}} 
[2026-05-08 20:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":65248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:06:08] local.INFO: GPS data processed {"connection_id":65248,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:06:08] local.INFO: Acknowledgment sent {"connection_id":65248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:06:57] local.INFO: TCP Data received {"connection_id":66026,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:06:57] local.INFO: Processing buffer {"connection_id":66026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:06:57] local.INFO: IMEI packet received {"connection_id":66026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":66026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:06:58] local.INFO: TCP Data received {"connection_id":66026,"ip":"117.224.107.64","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66026,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:06:58] local.INFO: Processing buffer {"connection_id":66026,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:06:58] local.INFO: IMEI packet received {"connection_id":66026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:06:58] local.INFO: IMEI acknowledgment sent {"connection_id":66026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:06:59] local.INFO: TCP Data received {"connection_id":66026,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0803df20012d43004006967158000b00a22d..."} 
[2026-05-08 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0803df20012d43004006967158000b00a22d..."} 
[2026-05-08 20:06:59] local.INFO: Processing buffer {"connection_id":66026,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 20:06:59] local.INFO: IMEI packet received {"connection_id":66026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:06:59] local.INFO: IMEI acknowledgment sent {"connection_id":66026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:07:02] local.INFO: TCP Data received {"connection_id":66026,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08043128012d43028006966a18000c00a02d..."} 
[2026-05-08 20:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08043128012d43028006966a18000c00a02d..."} 
[2026-05-08 20:07:02] local.INFO: Processing buffer {"connection_id":66026,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e0803df20012d43004006967158000b00a22d..."} 
[2026-05-08 20:07:02] local.INFO: Packet analysis {"connection_id":66026,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e0803"} 
[2026-05-08 20:07:02] local.INFO: Extracted packet for processing {"connection_id":66026,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0803"} 
[2026-05-08 20:07:02] local.INFO: GPS Element Parsed {"raw_longitude":759365696,"raw_latitude":110522712,"longitude_deg":75.9365696,"latitude_deg":11.0522712,"altitude":11,"angle":162,"satellites":45,"speed":5,"hex_longitude":"2d430040","hex_latitude":"06967158","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232233216001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290302861080788992,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4826521822696734720,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778250932000,"timestamp_ms":1778250932000,"timestamp_seconds":1778250932,"priority":1,"record_length":96,"hex_timestamp":"0000019e0803df20"} 
[2026-05-08 20:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:07: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-05-08 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":66026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":66026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":66026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232233216001,"66":27223,"28":206,"19":48128,"24":5,"16":290302861080788992,"45":4826521822696734720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232233216001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:07:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:07:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290302861080788992,"km_value":290302861080789.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4826521822696734720,"description":"Unknown IO ID 45"} 
[2026-05-08 20:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232233216001,"power":27223,"unknown_28":206,"unknown_19":48128,"ignition":5,"odometer":null,"unknown_45":4826521822696734720}} 
[2026-05-08 20:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":66026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:07:02] local.INFO: GPS data processed {"connection_id":66026,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:07:02] local.INFO: Acknowledgment sent {"connection_id":66026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:07:02] local.INFO: Packet analysis {"connection_id":66026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0804"} 
[2026-05-08 20:07:02] local.INFO: Extracted packet for processing {"connection_id":66026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0804"} 
[2026-05-08 20:07:02] local.INFO: GPS Element Parsed {"raw_longitude":759366272,"raw_latitude":110520856,"longitude_deg":75.9366272,"latitude_deg":11.0520856,"altitude":12,"angle":160,"satellites":45,"speed":3,"hex_longitude":"2d430280","hex_latitude":"06966a18","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:07:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232238592001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290302964160004096,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4827929197579163648,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:07:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778250953000,"timestamp_ms":1778250953000,"timestamp_seconds":1778250953,"priority":1,"record_length":96,"hex_timestamp":"0000019e08043128"} 
[2026-05-08 20:07:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:07: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-05-08 20: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-05-08 20:07:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:07:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:07:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:07:02] local.INFO: Teltonika packet parsed successfully {"connection_id":66026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:07:02] local.INFO: Passing IMEI to GPS processor {"connection_id":66026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:07:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":66026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:07:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:07:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:07:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:07:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232238592001,"66":27376,"28":206,"19":48128,"24":3,"16":290302964160004096,"45":4827929197579163648},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:07:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:07:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:07:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232238592001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:07:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:07:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:07:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290302964160004096,"km_value":290302964160004.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:07:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4827929197579163648,"description":"Unknown IO ID 45"} 
[2026-05-08 20:07:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232238592001,"power":27376,"unknown_28":206,"unknown_19":48128,"ignition":3,"odometer":null,"unknown_45":4827929197579163648}} 
[2026-05-08 20:07:02] local.INFO: DEBUG: GPS processor result {"connection_id":66026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:07:02] local.INFO: GPS data processed {"connection_id":66026,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:07:02] local.INFO: Acknowledgment sent {"connection_id":66026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:07:07] local.INFO: TCP Data received {"connection_id":66026,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08048330012d43040006966700000c00a02f..."} 
[2026-05-08 20:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08048330012d43040006966700000c00a02f..."} 
[2026-05-08 20:07:07] local.INFO: Processing buffer {"connection_id":66026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08048330012d43040006966700000c00a02f..."} 
[2026-05-08 20:07:07] local.INFO: Packet analysis {"connection_id":66026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0804"} 
[2026-05-08 20:07:07] local.INFO: Extracted packet for processing {"connection_id":66026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0804"} 
[2026-05-08 20:07:07] local.INFO: GPS Element Parsed {"raw_longitude":759366656,"raw_latitude":110520064,"longitude_deg":75.9366656,"latitude_deg":11.0520064,"altitude":12,"angle":160,"satellites":47,"speed":0,"hex_longitude":"2d430400","hex_latitude":"06966700","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:07:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232243968001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290303007109677056,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4828562516276287488,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:07:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778250974000,"timestamp_ms":1778250974000,"timestamp_seconds":1778250974,"priority":1,"record_length":96,"hex_timestamp":"0000019e08048330"} 
[2026-05-08 20:07:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:07:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 20:07:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:07:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:07:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:07:07] local.INFO: Teltonika packet parsed successfully {"connection_id":66026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:07:07] local.INFO: Passing IMEI to GPS processor {"connection_id":66026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:07:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":66026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:07:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:07:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:07:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:07:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232243968001,"66":27245,"28":206,"19":48128,"24":0,"16":290303007109677056,"45":4828562516276287488},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:07:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:07:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:07:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232243968001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:07:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:07:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:07:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290303007109677056,"km_value":290303007109677.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:07:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4828562516276287488,"description":"Unknown IO ID 45"} 
[2026-05-08 20:07:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232243968001,"power":27245,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4828562516276287488}} 
[2026-05-08 20:07:07] local.INFO: DEBUG: GPS processor result {"connection_id":66026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:07:07] local.INFO: GPS data processed {"connection_id":66026,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:07:07] local.INFO: Acknowledgment sent {"connection_id":66026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:07:51] local.INFO: TCP Data received {"connection_id":65249,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:07:51] local.INFO: Processing buffer {"connection_id":65249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:07:51] local.INFO: IMEI packet received {"connection_id":65249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":65249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:07:55] local.INFO: TCP Data received {"connection_id":65326,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65326,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:07:55] local.INFO: Processing buffer {"connection_id":65326,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:07:55] local.INFO: IMEI packet received {"connection_id":65326,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":65326,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:07:56] local.INFO: TCP Data received {"connection_id":65249,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:07:56] local.INFO: Processing buffer {"connection_id":65249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:07:56] local.INFO: IMEI packet received {"connection_id":65249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":65249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:07:58] local.INFO: TCP Data received {"connection_id":65249,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0804d538012d43080006965e90000d009e2f..."} 
[2026-05-08 20:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0804d538012d43080006965e90000d009e2f..."} 
[2026-05-08 20:07:58] local.INFO: Processing buffer {"connection_id":65249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0804d538012d43080006965e90000d009e2f..."} 
[2026-05-08 20:07:58] local.INFO: Packet analysis {"connection_id":65249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0804"} 
[2026-05-08 20:07:58] local.INFO: Extracted packet for processing {"connection_id":65249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0804"} 
[2026-05-08 20:07:58] local.INFO: GPS Element Parsed {"raw_longitude":759367680,"raw_latitude":110517904,"longitude_deg":75.936768,"latitude_deg":11.0517904,"altitude":13,"angle":158,"satellites":47,"speed":4,"hex_longitude":"2d430800","hex_latitude":"06965e90","is_valid_coordinates":true} 
[2026-05-08 20:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232249344001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290303127368761344,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4828984728741150720,"note":"Value kept but may cause issues"} 
[2026-05-08 20:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778250995000,"timestamp_ms":1778250995000,"timestamp_seconds":1778250995,"priority":1,"record_length":96,"hex_timestamp":"0000019e0804d538"} 
[2026-05-08 20:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 20:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:07:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232249344001,"66":27245,"28":206,"19":48128,"24":4,"16":290303127368761344,"45":4828984728741150720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232249344001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:07:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:07:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290303127368761344,"km_value":290303127368761.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4828984728741150720,"description":"Unknown IO ID 45"} 
[2026-05-08 20:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232249344001,"power":27245,"unknown_28":206,"unknown_19":48128,"ignition":4,"odometer":null,"unknown_45":4828984728741150720}} 
[2026-05-08 20:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":65249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:07:58] local.INFO: GPS data processed {"connection_id":65249,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:07:58] local.INFO: Acknowledgment sent {"connection_id":65249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:08:30] local.INFO: TCP Data received {"connection_id":65249,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08052740012d43104006964eb8000d00942f..."} 
[2026-05-08 20:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08052740012d43104006964eb8000d00942f..."} 
[2026-05-08 20:08:30] local.INFO: Processing buffer {"connection_id":65249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08052740012d43104006964eb8000d00942f..."} 
[2026-05-08 20:08:30] local.INFO: Packet analysis {"connection_id":65249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0805"} 
[2026-05-08 20:08:30] local.INFO: Extracted packet for processing {"connection_id":65249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0805"} 
[2026-05-08 20:08:30] local.INFO: GPS Element Parsed {"raw_longitude":759369792,"raw_latitude":110513848,"longitude_deg":75.9369792,"latitude_deg":11.0513848,"altitude":13,"angle":148,"satellites":47,"speed":9,"hex_longitude":"2d431040","hex_latitude":"06964eb8","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232254720001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290303350707060736,"note":"Value kept but may cause issues"} 
[2026-05-08 20:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4830110628647440384,"note":"Value kept but may cause issues"} 
[2026-05-08 20:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778251016000,"timestamp_ms":1778251016000,"timestamp_seconds":1778251016,"priority":1,"record_length":96,"hex_timestamp":"0000019e08052740"} 
[2026-05-08 20:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:08:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 20:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:08:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232254720001,"66":27180,"28":206,"19":48128,"24":9,"16":290303350707060736,"45":4830110628647440384},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232254720001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:08:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:08:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290303350707060736,"km_value":290303350707060.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4830110628647440384,"description":"Unknown IO ID 45"} 
[2026-05-08 20:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232254720001,"power":27180,"unknown_28":206,"unknown_19":48128,"ignition":9,"odometer":null,"unknown_45":4830110628647440384}} 
[2026-05-08 20:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":65249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:08:30] local.INFO: GPS data processed {"connection_id":65249,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:08:30] local.INFO: Acknowledgment sent {"connection_id":65249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:08:41] local.INFO: TCP Data received {"connection_id":66027,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66027,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:08:41] local.INFO: Processing buffer {"connection_id":66027,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:08:41] local.INFO: IMEI packet received {"connection_id":66027,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:08:41] local.INFO: IMEI acknowledgment sent {"connection_id":66027,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:08:51] local.INFO: TCP Data received {"connection_id":65327,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:08:51] local.INFO: Processing buffer {"connection_id":65327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:08:51] local.INFO: IMEI packet received {"connection_id":65327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":65327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:08:57] local.INFO: TCP Data received {"connection_id":65327,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:08:57] local.INFO: Processing buffer {"connection_id":65327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:08:57] local.INFO: IMEI packet received {"connection_id":65327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":65327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:08:58] local.INFO: TCP Data received {"connection_id":65327,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08057948012d431980069640e0000e009130..."} 
[2026-05-08 20:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08057948012d431980069640e0000e009130..."} 
[2026-05-08 20:08:58] local.INFO: Processing buffer {"connection_id":65327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08057948012d431980069640e0000e009130..."} 
[2026-05-08 20:08:58] local.INFO: Packet analysis {"connection_id":65327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0805"} 
[2026-05-08 20:08:58] local.INFO: Extracted packet for processing {"connection_id":65327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0805"} 
[2026-05-08 20:08:58] local.INFO: GPS Element Parsed {"raw_longitude":759372160,"raw_latitude":110510304,"longitude_deg":75.937216,"latitude_deg":11.0510304,"altitude":14,"angle":145,"satellites":48,"speed":8,"hex_longitude":"2d431980","hex_latitude":"069640e0","is_valid_coordinates":true} 
[2026-05-08 20:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232260096001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290303556865490944,"note":"Value kept but may cause issues"} 
[2026-05-08 20:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4832432797204264960,"note":"Value kept but may cause issues"} 
[2026-05-08 20:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778251037000,"timestamp_ms":1778251037000,"timestamp_seconds":1778251037,"priority":1,"record_length":96,"hex_timestamp":"0000019e08057948"} 
[2026-05-08 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-05-08 20:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 20:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232260096001,"66":27484,"28":206,"19":48128,"24":8,"16":290303556865490944,"45":4832432797204264960},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232260096001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:08:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:08:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290303556865490944,"km_value":290303556865490.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4832432797204264960,"description":"Unknown IO ID 45"} 
[2026-05-08 20:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232260096001,"power":27484,"unknown_28":206,"unknown_19":48128,"ignition":8,"odometer":null,"unknown_45":4832432797204264960}} 
[2026-05-08 20:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":65327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:08:58] local.INFO: GPS data processed {"connection_id":65327,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:08:58] local.INFO: Acknowledgment sent {"connection_id":65327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:09:29] local.INFO: TCP Data received {"connection_id":65327,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0805cb50012d431c0006963d70000e008f2d..."} 
[2026-05-08 20:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0805cb50012d431c0006963d70000e008f2d..."} 
[2026-05-08 20:09:29] local.INFO: Processing buffer {"connection_id":65327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0805cb50012d431c0006963d70000e008f2d..."} 
[2026-05-08 20:09:29] local.INFO: Packet analysis {"connection_id":65327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0805"} 
[2026-05-08 20:09:29] local.INFO: Extracted packet for processing {"connection_id":65327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0805"} 
[2026-05-08 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":759372800,"raw_latitude":110509424,"longitude_deg":75.93728,"latitude_deg":11.0509424,"altitude":14,"angle":143,"satellites":45,"speed":0,"hex_longitude":"2d431c00","hex_latitude":"06963d70","is_valid_coordinates":true} 
[2026-05-08 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232265472001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290303608405098496,"note":"Value kept but may cause issues"} 
[2026-05-08 20:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4835036440737931264,"note":"Value kept but may cause issues"} 
[2026-05-08 20:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778251058000,"timestamp_ms":1778251058000,"timestamp_seconds":1778251058,"priority":1,"record_length":96,"hex_timestamp":"0000019e0805cb50"} 
[2026-05-08 20:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:09:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 20:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:09:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:09:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232265472001,"66":27343,"28":206,"19":48128,"24":0,"16":290303608405098496,"45":4835036440737931264},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232265472001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:09:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:09:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290303608405098496,"km_value":290303608405098.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4835036440737931264,"description":"Unknown IO ID 45"} 
[2026-05-08 20:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232265472001,"power":27343,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4835036440737931264}} 
[2026-05-08 20:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":65327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:09:29] local.INFO: GPS data processed {"connection_id":65327,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:09:29] local.INFO: Acknowledgment sent {"connection_id":65327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:09:51] local.INFO: TCP Data received {"connection_id":65328,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:09:51] local.INFO: Processing buffer {"connection_id":65328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:09:51] local.INFO: IMEI packet received {"connection_id":65328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":65328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:09:56] local.INFO: TCP Data received {"connection_id":65328,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:09:56] local.INFO: Processing buffer {"connection_id":65328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:09:56] local.INFO: IMEI packet received {"connection_id":65328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":65328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:09:58] local.INFO: TCP Data received {"connection_id":65328,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08061d58012d432200069635b8000f00902d..."} 
[2026-05-08 20:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08061d58012d432200069635b8000f00902d..."} 
[2026-05-08 20:09:58] local.INFO: Processing buffer {"connection_id":65328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08061d58012d432200069635b8000f00902d..."} 
[2026-05-08 20:09:58] local.INFO: Packet analysis {"connection_id":65328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0806"} 
[2026-05-08 20:09:58] local.INFO: Extracted packet for processing {"connection_id":65328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0806"} 
[2026-05-08 20:09:58] local.INFO: GPS Element Parsed {"raw_longitude":759374336,"raw_latitude":110507448,"longitude_deg":75.9374336,"latitude_deg":11.0507448,"altitude":15,"angle":144,"satellites":45,"speed":0,"hex_longitude":"2d432200","hex_latitude":"069635b8","is_valid_coordinates":true} 
[2026-05-08 20:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232270848001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290303732959150080,"note":"Value kept but may cause issues"} 
[2026-05-08 20:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4835740128179482624,"note":"Value kept but may cause issues"} 
[2026-05-08 20:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778251079000,"timestamp_ms":1778251079000,"timestamp_seconds":1778251079,"priority":1,"record_length":96,"hex_timestamp":"0000019e08061d58"} 
[2026-05-08 20:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 20:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232270848001,"66":27463,"28":206,"19":48128,"24":0,"16":290303732959150080,"45":4835740128179482624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232270848001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:09:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290303732959150080,"km_value":290303732959150.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4835740128179482624,"description":"Unknown IO ID 45"} 
[2026-05-08 20:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232270848001,"power":27463,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4835740128179482624}} 
[2026-05-08 20:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":65328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:09:58] local.INFO: GPS data processed {"connection_id":65328,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:09:58] local.INFO: Acknowledgment sent {"connection_id":65328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:10:30] local.INFO: TCP Data received {"connection_id":65328,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08066f60012d43288006962da80010008f2d..."} 
[2026-05-08 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08066f60012d43288006962da80010008f2d..."} 
[2026-05-08 20:10:30] local.INFO: Processing buffer {"connection_id":65328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08066f60012d43288006962da80010008f2d..."} 
[2026-05-08 20:10:30] local.INFO: Packet analysis {"connection_id":65328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0806"} 
[2026-05-08 20:10:30] local.INFO: Extracted packet for processing {"connection_id":65328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0806"} 
[2026-05-08 20:10:30] local.INFO: GPS Element Parsed {"raw_longitude":759376000,"raw_latitude":110505384,"longitude_deg":75.9376,"latitude_deg":11.0505384,"altitude":16,"angle":143,"satellites":45,"speed":5,"hex_longitude":"2d432880","hex_latitude":"06962da8","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232276224001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290303861808168960,"note":"Value kept but may cause issues"} 
[2026-05-08 20:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4837428978039240704,"note":"Value kept but may cause issues"} 
[2026-05-08 20:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778251100000,"timestamp_ms":1778251100000,"timestamp_seconds":1778251100,"priority":1,"record_length":96,"hex_timestamp":"0000019e08066f60"} 
[2026-05-08 20:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 20:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232276224001,"66":27267,"28":206,"19":48128,"24":5,"16":290303861808168960,"45":4837428978039240704},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232276224001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:10:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290303861808168960,"km_value":290303861808168.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4837428978039240704,"description":"Unknown IO ID 45"} 
[2026-05-08 20:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232276224001,"power":27267,"unknown_28":206,"unknown_19":48128,"ignition":5,"odometer":null,"unknown_45":4837428978039240704}} 
[2026-05-08 20:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":65328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:10:30] local.INFO: GPS data processed {"connection_id":65328,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:10:30] local.INFO: Acknowledgment sent {"connection_id":65328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:10:57] local.INFO: TCP Data received {"connection_id":66029,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:10:57] local.INFO: Processing buffer {"connection_id":66029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:10:57] local.INFO: IMEI packet received {"connection_id":66029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":66029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:11:01] local.INFO: TCP Data received {"connection_id":66029,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:01] local.INFO: Processing buffer {"connection_id":66029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:01] local.INFO: IMEI packet received {"connection_id":66029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":66029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:11:03] local.INFO: TCP Data received {"connection_id":66029,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0806c168012d432b4006962a380010008e2a..."} 
[2026-05-08 20:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0806c168012d432b4006962a380010008e2a..."} 
[2026-05-08 20:11:03] local.INFO: Processing buffer {"connection_id":66029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0806c168012d432b4006962a380010008e2a..."} 
[2026-05-08 20:11:03] local.INFO: Packet analysis {"connection_id":66029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0806"} 
[2026-05-08 20:11:03] local.INFO: Extracted packet for processing {"connection_id":66029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0806"} 
[2026-05-08 20:11:03] local.INFO: GPS Element Parsed {"raw_longitude":759376704,"raw_latitude":110504504,"longitude_deg":75.9376704,"latitude_deg":11.0504504,"altitude":16,"angle":142,"satellites":42,"speed":6,"hex_longitude":"2d432b40","hex_latitude":"06962a38","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232281600001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290303917642743808,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4839258565387331584,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778251121000,"timestamp_ms":1778251121000,"timestamp_seconds":1778251121,"priority":1,"record_length":96,"hex_timestamp":"0000019e0806c168"} 
[2026-05-08 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-05-08 20:11: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-05-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 20:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":66029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":66029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":66029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232281600001,"66":27289,"28":206,"19":48128,"24":6,"16":290303917642743808,"45":4839258565387331584},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232281600001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:11:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:11:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290303917642743808,"km_value":290303917642743.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4839258565387331584,"description":"Unknown IO ID 45"} 
[2026-05-08 20:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232281600001,"power":27289,"unknown_28":206,"unknown_19":48128,"ignition":6,"odometer":null,"unknown_45":4839258565387331584}} 
[2026-05-08 20:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":66029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:11:03] local.INFO: GPS data processed {"connection_id":66029,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:11:03] local.INFO: Acknowledgment sent {"connection_id":66029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:11:05] local.INFO: TCP Data received {"connection_id":66029,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08071370012d433b80069615200010008929..."} 
[2026-05-08 20:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08071370012d433b80069615200010008929..."} 
[2026-05-08 20:11:05] local.INFO: Processing buffer {"connection_id":66029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08071370012d433b80069615200010008929..."} 
[2026-05-08 20:11:05] local.INFO: Packet analysis {"connection_id":66029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0807"} 
[2026-05-08 20:11:05] local.INFO: Extracted packet for processing {"connection_id":66029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0807"} 
[2026-05-08 20:11:05] local.INFO: GPS Element Parsed {"raw_longitude":759380864,"raw_latitude":110499104,"longitude_deg":75.9380864,"latitude_deg":11.0499104,"altitude":16,"angle":137,"satellites":41,"speed":0,"hex_longitude":"2d433b80","hex_latitude":"06961520","is_valid_coordinates":true} 
[2026-05-08 20:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:11:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232286976001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290304248355225600,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4840032621573060608,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:11:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778251142000,"timestamp_ms":1778251142000,"timestamp_seconds":1778251142,"priority":1,"record_length":96,"hex_timestamp":"0000019e08071370"} 
[2026-05-08 20:11:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:11:05] 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-05-08 20:11:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-05-08 20:11:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:11:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:11:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:11:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:11:05] local.INFO: Teltonika packet parsed successfully {"connection_id":66029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:11:05] local.INFO: Passing IMEI to GPS processor {"connection_id":66029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:11:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":66029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:11:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:11:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:11:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:11:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232286976001,"66":27267,"28":206,"19":48128,"24":0,"16":290304248355225600,"45":4840032621573060608},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:11:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:11:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:11:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232286976001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:11:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:11:05] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:11:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290304248355225600,"km_value":290304248355225.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:11:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4840032621573060608,"description":"Unknown IO ID 45"} 
[2026-05-08 20:11:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232286976001,"power":27267,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4840032621573060608}} 
[2026-05-08 20:11:05] local.INFO: DEBUG: GPS processor result {"connection_id":66029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:11:05] local.INFO: GPS data processed {"connection_id":66029,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:11:05] local.INFO: Acknowledgment sent {"connection_id":66029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:11:37] local.INFO: TCP Data received {"connection_id":66029,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08076578012d433dc0069612080010009028..."} 
[2026-05-08 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08076578012d433dc0069612080010009028..."} 
[2026-05-08 20:11:37] local.INFO: Processing buffer {"connection_id":66029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08076578012d433dc0069612080010009028..."} 
[2026-05-08 20:11:37] local.INFO: Packet analysis {"connection_id":66029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0807"} 
[2026-05-08 20:11:37] local.INFO: Extracted packet for processing {"connection_id":66029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0807"} 
[2026-05-08 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":759381440,"raw_latitude":110498312,"longitude_deg":75.938144,"latitude_deg":11.0498312,"altitude":16,"angle":144,"satellites":40,"speed":0,"hex_longitude":"2d433dc0","hex_latitude":"06961208","is_valid_coordinates":true} 
[2026-05-08 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232292352001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290304295599865856,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4844606589943226368,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778251163000,"timestamp_ms":1778251163000,"timestamp_seconds":1778251163,"priority":1,"record_length":96,"hex_timestamp":"0000019e08076578"} 
[2026-05-08 20:11:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:11:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 20:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:11:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:11:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":66029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":66029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":66029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232292352001,"66":27300,"28":206,"19":48128,"24":0,"16":290304295599865856,"45":4844606589943226368},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232292352001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:11:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290304295599865856,"km_value":290304295599865.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4844606589943226368,"description":"Unknown IO ID 45"} 
[2026-05-08 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232292352001,"power":27300,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4844606589943226368}} 
[2026-05-08 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":66029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:11:37] local.INFO: GPS data processed {"connection_id":66029,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:11:37] local.INFO: Acknowledgment sent {"connection_id":66029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:11:51] local.INFO: TCP Data received {"connection_id":65329,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:51] local.INFO: Processing buffer {"connection_id":65329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:51] local.INFO: IMEI packet received {"connection_id":65329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":65329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:11:57] local.INFO: TCP Data received {"connection_id":65329,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:57] local.INFO: Processing buffer {"connection_id":65329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:11:57] local.INFO: IMEI packet received {"connection_id":65329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:11:58] local.INFO: TCP Data received {"connection_id":65329,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0807b780012d4344c0069609100011009226..."} 
[2026-05-08 20:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0807b780012d4344c0069609100011009226..."} 
[2026-05-08 20:11:58] local.INFO: Processing buffer {"connection_id":65329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0807b780012d4344c0069609100011009226..."} 
[2026-05-08 20:11:58] local.INFO: Packet analysis {"connection_id":65329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0807"} 
[2026-05-08 20:11:58] local.INFO: Extracted packet for processing {"connection_id":65329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0807"} 
[2026-05-08 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":759383232,"raw_latitude":110496016,"longitude_deg":75.9383232,"latitude_deg":11.0496016,"altitude":17,"angle":146,"satellites":38,"speed":0,"hex_longitude":"2d4344c0","hex_latitude":"06960910","is_valid_coordinates":true} 
[2026-05-08 20:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232297728001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290304441628753920,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4845239908640622592,"note":"Value kept but may cause issues"} 
[2026-05-08 20:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778251184000,"timestamp_ms":1778251184000,"timestamp_seconds":1778251184,"priority":1,"record_length":96,"hex_timestamp":"0000019e0807b780"} 
[2026-05-08 20:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 20:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:11:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232297728001,"66":27180,"28":206,"19":48128,"24":0,"16":290304441628753920,"45":4845239908640622592},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232297728001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:11:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290304441628753920,"km_value":290304441628753.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4845239908640622592,"description":"Unknown IO ID 45"} 
[2026-05-08 20:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232297728001,"power":27180,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4845239908640622592}} 
[2026-05-08 20:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":65329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:11:58] local.INFO: GPS data processed {"connection_id":65329,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:11:58] local.INFO: Acknowledgment sent {"connection_id":65329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:12:30] local.INFO: TCP Data received {"connection_id":65329,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08080988012d434b40069601180012008f2c..."} 
[2026-05-08 20:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08080988012d434b40069601180012008f2c..."} 
[2026-05-08 20:12:30] local.INFO: Processing buffer {"connection_id":65329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08080988012d434b40069601180012008f2c..."} 
[2026-05-08 20:12:30] local.INFO: Packet analysis {"connection_id":65329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0808"} 
[2026-05-08 20:12:30] local.INFO: Extracted packet for processing {"connection_id":65329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0808"} 
[2026-05-08 20:12:30] local.INFO: GPS Element Parsed {"raw_longitude":759384896,"raw_latitude":110493976,"longitude_deg":75.9384896,"latitude_deg":11.0493976,"altitude":18,"angle":143,"satellites":44,"speed":5,"hex_longitude":"2d434b40","hex_latitude":"06960118","is_valid_coordinates":true} 
[2026-05-08 20:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232303104001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290304570477772800,"note":"Value kept but may cause issues"} 
[2026-05-08 20:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4847210233477009408,"note":"Value kept but may cause issues"} 
[2026-05-08 20:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778251205000,"timestamp_ms":1778251205000,"timestamp_seconds":1778251205,"priority":1,"record_length":96,"hex_timestamp":"0000019e08080988"} 
[2026-05-08 20:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:12: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-05-08 20:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 20:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:12:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232303104001,"66":27180,"28":206,"19":48128,"24":5,"16":290304570477772800,"45":4847210233477009408},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232303104001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:12:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290304570477772800,"km_value":290304570477772.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4847210233477009408,"description":"Unknown IO ID 45"} 
[2026-05-08 20:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232303104001,"power":27180,"unknown_28":206,"unknown_19":48128,"ignition":5,"odometer":null,"unknown_45":4847210233477009408}} 
[2026-05-08 20:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":65329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:12:30] local.INFO: GPS data processed {"connection_id":65329,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:12:30] local.INFO: Acknowledgment sent {"connection_id":65329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:12:51] local.INFO: TCP Data received {"connection_id":65330,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:12:51] local.INFO: Processing buffer {"connection_id":65330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:12:51] local.INFO: IMEI packet received {"connection_id":65330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":65330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:12:57] local.INFO: TCP Data received {"connection_id":65330,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:12:57] local.INFO: Processing buffer {"connection_id":65330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:12:57] local.INFO: IMEI packet received {"connection_id":65330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":65330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:12:58] local.INFO: TCP Data received {"connection_id":65330,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08085b90012d434e400695fcb8001200922a..."} 
[2026-05-08 20:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08085b90012d434e400695fcb8001200922a..."} 
[2026-05-08 20:12:58] local.INFO: Processing buffer {"connection_id":65330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08085b90012d434e400695fcb8001200922a..."} 
[2026-05-08 20:12:58] local.INFO: Packet analysis {"connection_id":65330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0808"} 
[2026-05-08 20:12:58] local.INFO: Extracted packet for processing {"connection_id":65330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0808"} 
[2026-05-08 20:12:58] local.INFO: GPS Element Parsed {"raw_longitude":759385664,"raw_latitude":110492856,"longitude_deg":75.9385664,"latitude_deg":11.0492856,"altitude":18,"angle":146,"satellites":42,"speed":0,"hex_longitude":"2d434e40","hex_latitude":"0695fcb8","is_valid_coordinates":true} 
[2026-05-08 20:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232308480001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290304634902282240,"note":"Value kept but may cause issues"} 
[2026-05-08 20:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4849039820825106432,"note":"Value kept but may cause issues"} 
[2026-05-08 20:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778251226000,"timestamp_ms":1778251226000,"timestamp_seconds":1778251226,"priority":1,"record_length":96,"hex_timestamp":"0000019e08085b90"} 
[2026-05-08 20:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 20:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232308480001,"66":27376,"28":206,"19":48128,"24":0,"16":290304634902282240,"45":4849039820825106432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232308480001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:12:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:12:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290304634902282240,"km_value":290304634902282.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4849039820825106432,"description":"Unknown IO ID 45"} 
[2026-05-08 20:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232308480001,"power":27376,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4849039820825106432}} 
[2026-05-08 20:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":65330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:12:58] local.INFO: GPS data processed {"connection_id":65330,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:12:58] local.INFO: Acknowledgment sent {"connection_id":65330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:13:30] local.INFO: TCP Data received {"connection_id":65330,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0808ad98012d4354c00695f3780013008e2b..."} 
[2026-05-08 20:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0808ad98012d4354c00695f3780013008e2b..."} 
[2026-05-08 20:13:30] local.INFO: Processing buffer {"connection_id":65330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0808ad98012d4354c00695f3780013008e2b..."} 
[2026-05-08 20:13:30] local.INFO: Packet analysis {"connection_id":65330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0808"} 
[2026-05-08 20:13:30] local.INFO: Extracted packet for processing {"connection_id":65330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0808"} 
[2026-05-08 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":759387328,"raw_latitude":110490488,"longitude_deg":75.9387328,"latitude_deg":11.0490488,"altitude":19,"angle":142,"satellites":43,"speed":6,"hex_longitude":"2d4354c0","hex_latitude":"0695f378","is_valid_coordinates":true} 
[2026-05-08 20:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232313856001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290304776636203008,"note":"Value kept but may cause issues"} 
[2026-05-08 20:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4849884245754951680,"note":"Value kept but may cause issues"} 
[2026-05-08 20:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778251247000,"timestamp_ms":1778251247000,"timestamp_seconds":1778251247,"priority":1,"record_length":96,"hex_timestamp":"0000019e0808ad98"} 
[2026-05-08 20:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:13:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 20:13:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:13:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:13:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232313856001,"66":27158,"28":206,"19":48128,"24":6,"16":290304776636203008,"45":4849884245754951680},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232313856001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:13:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:13:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290304776636203008,"km_value":290304776636203.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4849884245754951680,"description":"Unknown IO ID 45"} 
[2026-05-08 20:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232313856001,"power":27158,"unknown_28":206,"unknown_19":48128,"ignition":6,"odometer":null,"unknown_45":4849884245754951680}} 
[2026-05-08 20:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":65330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:13:30] local.INFO: GPS data processed {"connection_id":65330,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:13:30] local.INFO: Acknowledgment sent {"connection_id":65330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:13:51] local.INFO: TCP Data received {"connection_id":65197,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:13:51] local.INFO: Processing buffer {"connection_id":65197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:13:51] local.INFO: IMEI packet received {"connection_id":65197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":65197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:13:55] local.INFO: TCP Data received {"connection_id":65252,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:13:55] local.INFO: Processing buffer {"connection_id":65252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:13:55] local.INFO: IMEI packet received {"connection_id":65252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":65252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:13:57] local.INFO: TCP Data received {"connection_id":65197,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:13:57] local.INFO: Processing buffer {"connection_id":65197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:13:57] local.INFO: IMEI packet received {"connection_id":65197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":65197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:13:58] local.INFO: TCP Data received {"connection_id":65197,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0808ffa0012d435d800695e748000f008b2d..."} 
[2026-05-08 20:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0808ffa0012d435d800695e748000f008b2d..."} 
[2026-05-08 20:13:58] local.INFO: Processing buffer {"connection_id":65197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0808ffa0012d435d800695e748000f008b2d..."} 
[2026-05-08 20:13:58] local.INFO: Packet analysis {"connection_id":65197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0808"} 
[2026-05-08 20:13:58] local.INFO: Extracted packet for processing {"connection_id":65197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0808"} 
[2026-05-08 20:13:58] local.INFO: GPS Element Parsed {"raw_longitude":759389568,"raw_latitude":110487368,"longitude_deg":75.9389568,"latitude_deg":11.0487368,"altitude":15,"angle":139,"satellites":45,"speed":7,"hex_longitude":"2d435d80","hex_latitude":"0695e748","is_valid_coordinates":true} 
[2026-05-08 20:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232319232001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290304965614764032,"note":"Value kept but may cause issues"} 
[2026-05-08 20:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4851713833102964736,"note":"Value kept but may cause issues"} 
[2026-05-08 20:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778251268000,"timestamp_ms":1778251268000,"timestamp_seconds":1778251268,"priority":1,"record_length":96,"hex_timestamp":"0000019e0808ffa0"} 
[2026-05-08 20:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 20:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232319232001,"66":27343,"28":206,"19":48128,"24":7,"16":290304965614764032,"45":4851713833102964736},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232319232001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:13:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:13:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290304965614764032,"km_value":290304965614764.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4851713833102964736,"description":"Unknown IO ID 45"} 
[2026-05-08 20:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232319232001,"power":27343,"unknown_28":206,"unknown_19":48128,"ignition":7,"odometer":null,"unknown_45":4851713833102964736}} 
[2026-05-08 20:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":65197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:13:58] local.INFO: GPS data processed {"connection_id":65197,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:13:58] local.INFO: Acknowledgment sent {"connection_id":65197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:14:30] local.INFO: TCP Data received {"connection_id":65197,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e080b5d18012d438d4006959ff0000c00a32e..."} 
[2026-05-08 20:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e080b5d18012d438d4006959ff0000c00a32e..."} 
[2026-05-08 20:14:30] local.INFO: Processing buffer {"connection_id":65197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e080b5d18012d438d4006959ff0000c00a32e..."} 
[2026-05-08 20:14:30] local.INFO: Packet analysis {"connection_id":65197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e080b"} 
[2026-05-08 20:14:30] local.INFO: Extracted packet for processing {"connection_id":65197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e080b"} 
[2026-05-08 20:14:30] local.INFO: GPS Element Parsed {"raw_longitude":759401792,"raw_latitude":110469104,"longitude_deg":75.9401792,"latitude_deg":11.0469104,"altitude":12,"angle":163,"satellites":46,"speed":7,"hex_longitude":"2d438d40","hex_latitude":"06959ff0","is_valid_coordinates":true} 
[2026-05-08 20:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232362240001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290306052241489920,"note":"Value kept but may cause issues"} 
[2026-05-08 20:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4866843113096034304,"note":"Value kept but may cause issues"} 
[2026-05-08 20:14:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778251423000,"timestamp_ms":1778251423000,"timestamp_seconds":1778251423,"priority":1,"record_length":96,"hex_timestamp":"0000019e080b5d18"} 
[2026-05-08 20:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:14: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-05-08 20:14:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 20:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:14:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:14:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232362240001,"66":27321,"28":206,"19":48128,"24":7,"16":290306052241489920,"45":4866843113096034304},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232362240001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:14:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:14:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290306052241489920,"km_value":290306052241489.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4866843113096034304,"description":"Unknown IO ID 45"} 
[2026-05-08 20:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232362240001,"power":27321,"unknown_28":206,"unknown_19":48128,"ignition":7,"odometer":null,"unknown_45":4866843113096034304}} 
[2026-05-08 20:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":65197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:14:30] local.INFO: GPS data processed {"connection_id":65197,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:14:30] local.INFO: Acknowledgment sent {"connection_id":65197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:14:40] local.INFO: TCP Data received {"connection_id":65198,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:14:40] local.INFO: Processing buffer {"connection_id":65198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:14:40] local.INFO: IMEI packet received {"connection_id":65198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:14:40] local.INFO: IMEI acknowledgment sent {"connection_id":65198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:14:56] local.INFO: TCP Data received {"connection_id":65331,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:14:56] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:14:56] local.INFO: IMEI packet received {"connection_id":65331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":65331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:15:01] local.INFO: TCP Data received {"connection_id":65331,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:01] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:01] local.INFO: IMEI packet received {"connection_id":65331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":65331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:15:02] local.INFO: TCP Data received {"connection_id":65331,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e080b68d0012d438e0006959e48000c00972e..."} 
[2026-05-08 20:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e080b68d0012d438e0006959e48000c00972e..."} 
[2026-05-08 20:15:02] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e080b68d0012d438e0006959e48000c00972e..."} 
[2026-05-08 20:15:02] local.INFO: Packet analysis {"connection_id":65331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e080b"} 
[2026-05-08 20:15:02] local.INFO: Extracted packet for processing {"connection_id":65331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e080b"} 
[2026-05-08 20:15:02] local.INFO: GPS Element Parsed {"raw_longitude":759401984,"raw_latitude":110468680,"longitude_deg":75.9401984,"latitude_deg":11.046868,"altitude":12,"angle":151,"satellites":46,"speed":7,"hex_longitude":"2d438e00","hex_latitude":"06959e48","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232364288001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290306073716326400,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4867617169281642496,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778251426000,"timestamp_ms":1778251426000,"timestamp_seconds":1778251426,"priority":1,"record_length":96,"hex_timestamp":"0000019e080b68d0"} 
[2026-05-08 20:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:15: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-05-08 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 20:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:15:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232364288001,"66":27343,"28":206,"19":48128,"24":7,"16":290306073716326400,"45":4867617169281642496},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232364288001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:15:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:15:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290306073716326400,"km_value":290306073716326.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4867617169281642496,"description":"Unknown IO ID 45"} 
[2026-05-08 20:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232364288001,"power":27343,"unknown_28":206,"unknown_19":48128,"ignition":7,"odometer":null,"unknown_45":4867617169281642496}} 
[2026-05-08 20:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":65331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:15:02] local.INFO: GPS data processed {"connection_id":65331,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:15:02] local.INFO: Acknowledgment sent {"connection_id":65331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:15:07] local.INFO: TCP Data received {"connection_id":65331,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e080b7488012d438f0006959c38000c00a42f..."} 
[2026-05-08 20:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e080b7488012d438f0006959c38000c00a42f..."} 
[2026-05-08 20:15:07] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e080b7488012d438f0006959c38000c00a42f..."} 
[2026-05-08 20:15:07] local.INFO: Packet analysis {"connection_id":65331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e080b"} 
[2026-05-08 20:15:07] local.INFO: Extracted packet for processing {"connection_id":65331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e080b"} 
[2026-05-08 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":759402240,"raw_latitude":110468152,"longitude_deg":75.940224,"latitude_deg":11.0468152,"altitude":12,"angle":164,"satellites":47,"speed":5,"hex_longitude":"2d438f00","hex_latitude":"06959c38","is_valid_coordinates":true} 
[2026-05-08 20:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232365056001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290306099486130176,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4867828275514066944,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778251429000,"timestamp_ms":1778251429000,"timestamp_seconds":1778251429,"priority":1,"record_length":96,"hex_timestamp":"0000019e080b7488"} 
[2026-05-08 20:15:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:15:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 20:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:15:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:15:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:15:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232365056001,"66":26984,"28":206,"19":48128,"24":5,"16":290306099486130176,"45":4867828275514066944},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232365056001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:15:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290306099486130176,"km_value":290306099486130.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":4867828275514066944,"description":"Unknown IO ID 45"} 
[2026-05-08 20:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232365056001,"power":26984,"unknown_28":206,"unknown_19":48128,"ignition":5,"odometer":null,"unknown_45":4867828275514066944}} 
[2026-05-08 20:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":65331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:15:07] local.INFO: GPS data processed {"connection_id":65331,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:15:07] local.INFO: Acknowledgment sent {"connection_id":65331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:15:52] local.INFO: TCP Data received {"connection_id":65333,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:52] local.INFO: Processing buffer {"connection_id":65333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:52] local.INFO: IMEI packet received {"connection_id":65333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":65333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:15:56] local.INFO: TCP Data received {"connection_id":65333,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:56] local.INFO: Processing buffer {"connection_id":65333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:15:56] local.INFO: IMEI packet received {"connection_id":65333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":65333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:15:57] local.INFO: TCP Data received {"connection_id":65333,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e080bc690012d439140069594b8000c00a32f..."} 
[2026-05-08 20:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e080bc690012d439140069594b8000c00a32f..."} 
[2026-05-08 20:15:57] local.INFO: Processing buffer {"connection_id":65333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e080bc690012d439140069594b8000c00a32f..."} 
[2026-05-08 20:15:57] local.INFO: Packet analysis {"connection_id":65333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e080b"} 
[2026-05-08 20:15:57] local.INFO: Extracted packet for processing {"connection_id":65333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e080b"} 
[2026-05-08 20:15:57] local.INFO: GPS Element Parsed {"raw_longitude":759402816,"raw_latitude":110466232,"longitude_deg":75.9402816,"latitude_deg":11.0466232,"altitude":12,"angle":163,"satellites":47,"speed":9,"hex_longitude":"2d439140","hex_latitude":"069594b8","is_valid_coordinates":true} 
[2026-05-08 20:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232365824001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290306202565345280,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868109750490642432,"note":"Value kept but may cause issues"} 
[2026-05-08 20:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778251450000,"timestamp_ms":1778251450000,"timestamp_seconds":1778251450,"priority":1,"record_length":96,"hex_timestamp":"0000019e080bc690"} 
[2026-05-08 20:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-05-08 20:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232365824001,"66":27213,"28":206,"19":48128,"24":9,"16":290306202565345280,"45":4868109750490642432},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232365824001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:15:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:15:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290306202565345280,"km_value":290306202565345.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868109750490642432,"description":"Unknown IO ID 45"} 
[2026-05-08 20:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232365824001,"power":27213,"unknown_28":206,"unknown_19":48128,"ignition":9,"odometer":null,"unknown_45":4868109750490642432}} 
[2026-05-08 20:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":65333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:15:57] local.INFO: GPS data processed {"connection_id":65333,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:15:57] local.INFO: Acknowledgment sent {"connection_id":65333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:16:02] local.INFO: TCP Data received {"connection_id":65333,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e080c1898012d43958006958440000c00ad2c..."} 
[2026-05-08 20:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e080c1898012d43958006958440000c00ad2c..."} 
[2026-05-08 20:16:02] local.INFO: Processing buffer {"connection_id":65333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e080c1898012d43958006958440000c00ad2c..."} 
[2026-05-08 20:16:02] local.INFO: Packet analysis {"connection_id":65333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e080c"} 
[2026-05-08 20:16:02] local.INFO: Extracted packet for processing {"connection_id":65333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e080c"} 
[2026-05-08 20:16:02] local.INFO: GPS Element Parsed {"raw_longitude":759403904,"raw_latitude":110462016,"longitude_deg":75.9403904,"latitude_deg":11.0462016,"altitude":12,"angle":173,"satellites":44,"speed":0,"hex_longitude":"2d439580","hex_latitude":"06958440","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232371200001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290306421608677376,"note":"Value kept but may cause issues"} 
[2026-05-08 20:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4868743069187749888,"note":"Value kept but may cause issues"} 
[2026-05-08 20:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778251471000,"timestamp_ms":1778251471000,"timestamp_seconds":1778251471,"priority":1,"record_length":96,"hex_timestamp":"0000019e080c1898"} 
[2026-05-08 20:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:16: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-05-08 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232371200001,"66":27300,"28":206,"19":48128,"24":0,"16":290306421608677376,"45":4868743069187749888},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232371200001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:16:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:16:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290306421608677376,"km_value":290306421608677.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":4868743069187749888,"description":"Unknown IO ID 45"} 
[2026-05-08 20:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232371200001,"power":27300,"unknown_28":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4868743069187749888}} 
[2026-05-08 20:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":65333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:16:02] local.INFO: GPS data processed {"connection_id":65333,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:16:02] local.INFO: Acknowledgment sent {"connection_id":65333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:16:36] local.INFO: TCP Data received {"connection_id":65333,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e080c6aa0012d4398c0069573c0001000ad2f..."} 
[2026-05-08 20:16:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e080c6aa0012d4398c0069573c0001000ad2f..."} 
[2026-05-08 20:16:36] local.INFO: Processing buffer {"connection_id":65333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e080c6aa0012d4398c0069573c0001000ad2f..."} 
[2026-05-08 20:16:36] local.INFO: Packet analysis {"connection_id":65333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e080c"} 
[2026-05-08 20:16:36] local.INFO: Extracted packet for processing {"connection_id":65333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e080c"} 
[2026-05-08 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":759404736,"raw_latitude":110457792,"longitude_deg":75.9404736,"latitude_deg":11.0457792,"altitude":16,"angle":173,"satellites":47,"speed":3,"hex_longitude":"2d4398c0","hex_latitude":"069573c0","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:16:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232376576001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:16:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290306632062074880,"note":"Value kept but may cause issues"} 
[2026-05-08 20:16:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4869939337837690880,"note":"Value kept but may cause issues"} 
[2026-05-08 20:16:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:16:36] local.INFO: AVL Record Parsed {"raw_timestamp":1778251492000,"timestamp_ms":1778251492000,"timestamp_seconds":1778251492,"priority":1,"record_length":96,"hex_timestamp":"0000019e080c6aa0"} 
[2026-05-08 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-05-08 20:16:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 20:16:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:16:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:16:36] local.INFO: Teltonika packet parsed successfully {"connection_id":65333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:16:36] local.INFO: Passing IMEI to GPS processor {"connection_id":65333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:16:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":65333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:16:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:16:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:16:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:16:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232376576001,"66":27343,"28":206,"19":48128,"24":3,"16":290306632062074880,"45":4869939337837690880},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,19,24,16,45]} 
[2026-05-08 20:16:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:16:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:16:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232376576001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:16:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-05-08 20:16:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:16:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290306632062074880,"km_value":290306632062074.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:16:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":4869939337837690880,"description":"Unknown IO ID 45"} 
[2026-05-08 20:16:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232376576001,"power":27343,"unknown_28":206,"unknown_19":48128,"ignition":3,"odometer":null,"unknown_45":4869939337837690880}} 
[2026-05-08 20:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":65333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:16:36] local.INFO: GPS data processed {"connection_id":65333,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:16:36] local.INFO: Acknowledgment sent {"connection_id":65333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:17:39] local.INFO: TCP Data received {"connection_id":65199,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:17:39] local.INFO: Processing buffer {"connection_id":65199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:17:39] local.INFO: IMEI packet received {"connection_id":65199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:17:39] local.INFO: IMEI acknowledgment sent {"connection_id":65199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:17:42] local.INFO: TCP Data received {"connection_id":65199,"ip":"117.224.107.64","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65199,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:17:42] local.INFO: Processing buffer {"connection_id":65199,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:17:42] local.INFO: IMEI packet received {"connection_id":65199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":65199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:17:51] local.INFO: TCP Data received {"connection_id":65254,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:17:51] local.INFO: Processing buffer {"connection_id":65254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:17:51] local.INFO: IMEI packet received {"connection_id":65254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":65254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:20:01] local.INFO: TCP Data received {"connection_id":66030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:20:01] local.INFO: Processing buffer {"connection_id":66030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:20:01] local.INFO: IMEI packet received {"connection_id":66030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":66030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:20:40] local.INFO: TCP Data received {"connection_id":65204,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65204,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:20:40] local.INFO: Processing buffer {"connection_id":65204,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:20:40] local.INFO: IMEI packet received {"connection_id":65204,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:20:40] local.INFO: IMEI acknowledgment sent {"connection_id":65204,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:22:56] local.INFO: TCP Data received {"connection_id":65207,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:22:56] local.INFO: Processing buffer {"connection_id":65207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:22:56] local.INFO: IMEI packet received {"connection_id":65207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":65207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:22:57] local.INFO: TCP Data received {"connection_id":65207,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0812f668012d44bb800691a6c0003200ad30..."} 
[2026-05-08 20:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0812f668012d44bb800691a6c0003200ad30..."} 
[2026-05-08 20:22:57] local.INFO: Processing buffer {"connection_id":65207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0812f668012d44bb800691a6c0003200ad30..."} 
[2026-05-08 20:22:57] local.INFO: Packet analysis {"connection_id":65207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0812"} 
[2026-05-08 20:22:57] local.INFO: Extracted packet for processing {"connection_id":65207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0812"} 
[2026-05-08 20:22:57] local.INFO: GPS Element Parsed {"raw_longitude":759479168,"raw_latitude":110208704,"longitude_deg":75.9479168,"latitude_deg":11.0208704,"altitude":50,"angle":173,"satellites":48,"speed":45,"hex_longitude":"2d44bb80","hex_latitude":"0691a6c0","is_valid_coordinates":true} 
[2026-05-08 20:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232489728001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290321067447156736,"note":"Value kept but may cause issues"} 
[2026-05-08 20:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4952059662230525952,"note":"Value kept but may cause issues"} 
[2026-05-08 20:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778251921000,"timestamp_ms":1778251921000,"timestamp_seconds":1778251921,"priority":1,"record_length":96,"hex_timestamp":"0000019e0812f668"} 
[2026-05-08 20:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:22:57] 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-05-08 20:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 20:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:22:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232489728001,"66":27343,"177":206,"19":48128,"24":45,"16":290321067447156736,"45":4952059662230525952},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-05-08 20:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232489728001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:22:57] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-05-08 20:22:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290321067447156736,"km_value":290321067447156.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4952059662230525952,"description":"Unknown IO ID 45"} 
[2026-05-08 20:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232489728001,"power":27343,"unknown_177":206,"unknown_19":48128,"ignition":45,"odometer":null,"unknown_45":4952059662230525952}} 
[2026-05-08 20:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":65207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:22:57] local.INFO: GPS data processed {"connection_id":65207,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:22:57] local.INFO: Acknowledgment sent {"connection_id":65207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:23:29] local.INFO: TCP Data received {"connection_id":65207,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081315a8012d44c100069183c0003400a732..."} 
[2026-05-08 20:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081315a8012d44c100069183c0003400a732..."} 
[2026-05-08 20:23:29] local.INFO: Processing buffer {"connection_id":65207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081315a8012d44c100069183c0003400a732..."} 
[2026-05-08 20:23:29] local.INFO: Packet analysis {"connection_id":65207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0813"} 
[2026-05-08 20:23:29] local.INFO: Extracted packet for processing {"connection_id":65207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0813"} 
[2026-05-08 20:23:29] local.INFO: GPS Element Parsed {"raw_longitude":759480576,"raw_latitude":110199744,"longitude_deg":75.9480576,"latitude_deg":11.0199744,"altitude":52,"angle":167,"satellites":50,"speed":44,"hex_longitude":"2d44c100","hex_latitude":"069183c0","is_valid_coordinates":true} 
[2026-05-08 20:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232491776001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290321505533820928,"note":"Value kept but may cause issues"} 
[2026-05-08 20:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4952692980925775872,"note":"Value kept but may cause issues"} 
[2026-05-08 20:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778251929000,"timestamp_ms":1778251929000,"timestamp_seconds":1778251929,"priority":1,"record_length":96,"hex_timestamp":"0000019e081315a8"} 
[2026-05-08 20:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:23:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 20:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:23:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232491776001,"66":27376,"177":206,"19":48128,"24":44,"16":290321505533820928,"45":4952692980925775872},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-05-08 20:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232491776001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:23:29] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-05-08 20:23:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290321505533820928,"km_value":290321505533820.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4952692980925775872,"description":"Unknown IO ID 45"} 
[2026-05-08 20:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232491776001,"power":27376,"unknown_177":206,"unknown_19":48128,"ignition":44,"odometer":null,"unknown_45":4952692980925775872}} 
[2026-05-08 20:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":65207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:23:29] local.INFO: GPS data processed {"connection_id":65207,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:23:29] local.INFO: Acknowledgment sent {"connection_id":65207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:23:51] local.INFO: TCP Data received {"connection_id":66031,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:23:51] local.INFO: Processing buffer {"connection_id":66031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:23:51] local.INFO: IMEI packet received {"connection_id":66031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":66031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:24:10] local.INFO: TCP Data received {"connection_id":66031,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:24:10] local.INFO: Processing buffer {"connection_id":66031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:24:10] local.INFO: IMEI packet received {"connection_id":66031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":66031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:24:24] local.INFO: TCP Data received {"connection_id":66031,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081334e8012d44ca8006916258003600a033..."} 
[2026-05-08 20:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081334e8012d44ca8006916258003600a033..."} 
[2026-05-08 20:24:24] local.INFO: Processing buffer {"connection_id":66031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081334e8012d44ca8006916258003600a033..."} 
[2026-05-08 20:24:24] local.INFO: Packet analysis {"connection_id":66031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0813"} 
[2026-05-08 20:24:24] local.INFO: Extracted packet for processing {"connection_id":66031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0813"} 
[2026-05-08 20:24:24] local.INFO: GPS Element Parsed {"raw_longitude":759483008,"raw_latitude":110191192,"longitude_deg":75.9483008,"latitude_deg":11.0191192,"altitude":54,"angle":160,"satellites":51,"speed":43,"hex_longitude":"2d44ca80","hex_latitude":"06916258","is_valid_coordinates":true} 
[2026-05-08 20:24: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-05-08 20:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232493824001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290321939325517824,"note":"Value kept but may cause issues"} 
[2026-05-08 20:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4954241093295390720,"note":"Value kept but may cause issues"} 
[2026-05-08 20:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778251937000,"timestamp_ms":1778251937000,"timestamp_seconds":1778251937,"priority":1,"record_length":96,"hex_timestamp":"0000019e081334e8"} 
[2026-05-08 20:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:24:24] 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-05-08 20:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 20:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:24: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-05-08 20:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":66031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":66031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":66031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232493824001,"66":27376,"177":206,"19":48128,"24":43,"16":290321939325517824,"45":4954241093295390720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-05-08 20:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232493824001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:24:24] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-05-08 20:24:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290321939325517824,"km_value":290321939325517.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":4954241093295390720,"description":"Unknown IO ID 45"} 
[2026-05-08 20:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232493824001,"power":27376,"unknown_177":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":4954241093295390720}} 
[2026-05-08 20:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":66031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:24:24] local.INFO: GPS data processed {"connection_id":66031,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:24:24] local.INFO: Acknowledgment sent {"connection_id":66031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:25:00] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:00] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:00] local.INFO: IMEI packet received {"connection_id":65208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":65208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:25:02] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:02] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:02] local.INFO: IMEI packet received {"connection_id":65208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":65208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:25:03] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:03] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:03] local.INFO: IMEI packet received {"connection_id":65208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":65208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:25:07] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 20:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 20:25:07] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 20:25:07] local.INFO: IMEI packet received {"connection_id":65208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":65208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:25:10] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08148ca8012d45d2c0068ffa780043008f2f..."} 
[2026-05-08 20:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08148ca8012d45d2c0068ffa780043008f2f..."} 
[2026-05-08 20:25:10] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e08147538012d45bdc0069016b80042009131..."} 
[2026-05-08 20:25:10] local.INFO: Packet analysis {"connection_id":65208,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:25:10] local.INFO: Extracted packet for processing {"connection_id":65208,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":759545280,"raw_latitude":110106296,"longitude_deg":75.954528,"latitude_deg":11.0106296,"altitude":66,"angle":145,"satellites":49,"speed":60,"hex_longitude":"2d45bdc0","hex_latitude":"069016b8","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232515072001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290327058926534656,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5018065544242671616,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778252019000,"timestamp_ms":1778252019000,"timestamp_seconds":1778252019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08147538"} 
[2026-05-08 20:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 20:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232515072001,"66":27343,"37":206,"19":48128,"24":60,"16":290327058926534656,"45":5018065544242671616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-05-08 20:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232515072001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-05-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290327058926534656,"km_value":290327058926534.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5018065544242671616,"description":"Unknown IO ID 45"} 
[2026-05-08 20:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232515072001,"power":27343,"unknown_37":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":5018065544242671616}} 
[2026-05-08 20:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":65208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:25:10] local.INFO: GPS data processed {"connection_id":65208,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:25:10] local.INFO: Acknowledgment sent {"connection_id":65208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:25:10] local.INFO: Packet analysis {"connection_id":65208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:25:10] local.INFO: Extracted packet for processing {"connection_id":65208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":759550656,"raw_latitude":110099064,"longitude_deg":75.9550656,"latitude_deg":11.0099064,"altitude":67,"angle":143,"satellites":47,"speed":58,"hex_longitude":"2d45d2c0","hex_latitude":"068ffa78","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232516864001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290327492718231552,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5025383893635086336,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1778252025000,"timestamp_ms":1778252025000,"timestamp_seconds":1778252025,"priority":1,"record_length":96,"hex_timestamp":"0000019e08148ca8"} 
[2026-05-08 20:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 20:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":65208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232516864001,"66":27463,"37":206,"19":48128,"24":58,"16":290327492718231552,"45":5025383893635086336},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-05-08 20:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232516864001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-05-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290327492718231552,"km_value":290327492718231.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5025383893635086336,"description":"Unknown IO ID 45"} 
[2026-05-08 20:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232516864001,"power":27463,"unknown_37":206,"unknown_19":48128,"ignition":58,"odometer":null,"unknown_45":5025383893635086336}} 
[2026-05-08 20:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":65208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:25:10] local.INFO: GPS data processed {"connection_id":65208,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:25:10] local.INFO: Acknowledgment sent {"connection_id":65208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:25:13] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0814a800012d45eac0068fda480046008f2f..."} 
[2026-05-08 20:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0814a800012d45eac0068fda480046008f2f..."} 
[2026-05-08 20:25:13] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0814a800012d45eac0068fda480046008f2f..."} 
[2026-05-08 20:25:13] local.INFO: Packet analysis {"connection_id":65208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:25:13] local.INFO: Extracted packet for processing {"connection_id":65208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:25:13] local.INFO: GPS Element Parsed {"raw_longitude":759556800,"raw_latitude":110090824,"longitude_deg":75.95568,"latitude_deg":11.0090824,"altitude":70,"angle":143,"satellites":47,"speed":57,"hex_longitude":"2d45eac0","hex_latitude":"068fda48","is_valid_coordinates":true} 
[2026-05-08 20:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232518400001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290327990934437888,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5031294868144158720,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778252032000,"timestamp_ms":1778252032000,"timestamp_seconds":1778252032,"priority":1,"record_length":96,"hex_timestamp":"0000019e0814a800"} 
[2026-05-08 20:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 20:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232518400001,"66":27245,"37":206,"19":48128,"24":57,"16":290327990934437888,"45":5031294868144158720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-05-08 20:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232518400001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:25:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-05-08 20:25:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290327990934437888,"km_value":290327990934437.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5031294868144158720,"description":"Unknown IO ID 45"} 
[2026-05-08 20:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232518400001,"power":27245,"unknown_37":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":5031294868144158720}} 
[2026-05-08 20:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":65208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:25:13] local.INFO: GPS data processed {"connection_id":65208,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:25:13] local.INFO: Acknowledgment sent {"connection_id":65208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:25:18] local.INFO: TCP Data received {"connection_id":65208,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0814c358012d460040068fb9800047009930..."} 
[2026-05-08 20:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0814c358012d460040068fb9800047009930..."} 
[2026-05-08 20:25:18] local.INFO: Processing buffer {"connection_id":65208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0814c358012d460040068fb9800047009930..."} 
[2026-05-08 20:25:18] local.INFO: Packet analysis {"connection_id":65208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:25:18] local.INFO: Extracted packet for processing {"connection_id":65208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":759562304,"raw_latitude":110082432,"longitude_deg":75.9562304,"latitude_deg":11.0082432,"altitude":71,"angle":153,"satellites":48,"speed":56,"hex_longitude":"2d460040","hex_latitude":"068fb980","is_valid_coordinates":true} 
[2026-05-08 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232520192001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290328476265742336,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5038050267583105024,"note":"Value kept but may cause issues"} 
[2026-05-08 20:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1778252039000,"timestamp_ms":1778252039000,"timestamp_seconds":1778252039,"priority":1,"record_length":96,"hex_timestamp":"0000019e0814c358"} 
[2026-05-08 20:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 20:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":65208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":65208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232520192001,"66":27332,"37":206,"19":48128,"24":56,"16":290328476265742336,"45":5038050267583105024},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-05-08 20:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232520192001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:25:18] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-05-08 20:25:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290328476265742336,"km_value":290328476265742.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":5038050267583105024,"description":"Unknown IO ID 45"} 
[2026-05-08 20:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232520192001,"power":27332,"unknown_37":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":5038050267583105024}} 
[2026-05-08 20:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":65208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:25:18] local.INFO: GPS data processed {"connection_id":65208,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:25:18] local.INFO: Acknowledgment sent {"connection_id":65208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:25:50] local.INFO: TCP Data received {"connection_id":65338,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:50] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:50] local.INFO: IMEI packet received {"connection_id":65338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":65338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:25:51] local.INFO: TCP Data received {"connection_id":65338,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:51] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:25:51] local.INFO: IMEI packet received {"connection_id":65338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":65338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:26:01] local.INFO: TCP Data received {"connection_id":65256,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65256,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:26:01] local.INFO: Processing buffer {"connection_id":65256,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:26:01] local.INFO: IMEI packet received {"connection_id":65256,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":65256,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:26:03] local.INFO: TCP Data received {"connection_id":65338,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:03] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:03] local.INFO: IMEI packet received {"connection_id":65338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":65338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:26:13] local.INFO: TCP Data received {"connection_id":65338,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0814deb0012d460d40068f94e8004700a333..."} 
[2026-05-08 20:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0814deb0012d460d40068f94e8004700a333..."} 
[2026-05-08 20:26:13] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0814deb0012d460d40068f94e8004700a333..."} 
[2026-05-08 20:26:13] local.INFO: Packet analysis {"connection_id":65338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:26:13] local.INFO: Extracted packet for processing {"connection_id":65338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0814"} 
[2026-05-08 20:26:13] local.INFO: GPS Element Parsed {"raw_longitude":759565632,"raw_latitude":110073064,"longitude_deg":75.9565632,"latitude_deg":11.0073064,"altitude":71,"angle":163,"satellites":51,"speed":57,"hex_longitude":"2d460d40","hex_latitude":"068f94e8","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232521984001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290328957302079488,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5044101979580235776,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,37,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778252046000,"timestamp_ms":1778252046000,"timestamp_seconds":1778252046,"priority":1,"record_length":96,"hex_timestamp":"0000019e0814deb0"} 
[2026-05-08 20:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 20:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232521984001,"66":27300,"37":206,"19":48128,"24":57,"16":290328957302079488,"45":5044101979580235776},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-05-08 20:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232521984001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:26:13] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-05-08 20:26:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290328957302079488,"km_value":290328957302079.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5044101979580235776,"description":"Unknown IO ID 45"} 
[2026-05-08 20:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232521984001,"power":27300,"unknown_37":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":5044101979580235776}} 
[2026-05-08 20:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":65338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:26:13] local.INFO: GPS data processed {"connection_id":65338,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:26:13] local.INFO: Acknowledgment sent {"connection_id":65338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:26:38] local.INFO: TCP Data received {"connection_id":65339,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:26:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:26:38] local.INFO: Processing buffer {"connection_id":65339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:26:38] local.INFO: IMEI packet received {"connection_id":65339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:26:38] local.INFO: IMEI acknowledgment sent {"connection_id":65339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:26:51] local.INFO: TCP Data received {"connection_id":65340,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:51] local.INFO: Processing buffer {"connection_id":65340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:51] local.INFO: IMEI packet received {"connection_id":65340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":65340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:26:53] local.INFO: TCP Data received {"connection_id":65340,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:53] local.INFO: Processing buffer {"connection_id":65340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:53] local.INFO: IMEI packet received {"connection_id":65340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:26:53] local.INFO: IMEI acknowledgment sent {"connection_id":65340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:26:56] local.INFO: TCP Data received {"connection_id":65340,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:56] local.INFO: Processing buffer {"connection_id":65340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:26:56] local.INFO: IMEI packet received {"connection_id":65340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":65340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:26:57] local.INFO: TCP Data received {"connection_id":65340,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08165d80012d46a100068debc0005d00722e..."} 
[2026-05-08 20:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08165d80012d46a100068debc0005d00722e..."} 
[2026-05-08 20:26:57] local.INFO: Processing buffer {"connection_id":65340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08165d80012d46a100068debc0005d00722e..."} 
[2026-05-08 20:26:57] local.INFO: Packet analysis {"connection_id":65340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0816"} 
[2026-05-08 20:26:57] local.INFO: Extracted packet for processing {"connection_id":65340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0816"} 
[2026-05-08 20:26:57] local.INFO: GPS Element Parsed {"raw_longitude":759603456,"raw_latitude":109964224,"longitude_deg":75.9603456,"latitude_deg":10.9964224,"altitude":93,"angle":114,"satellites":46,"speed":43,"hex_longitude":"2d46a100","hex_latitude":"068debc0","is_valid_coordinates":true} 
[2026-05-08 20:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232547584001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290334734033092608,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5084141794987796480,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778252144000,"timestamp_ms":1778252144000,"timestamp_seconds":1778252144,"priority":1,"record_length":96,"hex_timestamp":"0000019e08165d80"} 
[2026-05-08 20:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:26:57] 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-05-08 20:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-05-08 20:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232547584001,"66":27484,"36":206,"19":48128,"24":43,"16":290334734033092608,"45":5084141794987796480},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-05-08 20:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232547584001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:26:57] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-05-08 20:26:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290334734033092608,"km_value":290334734033092.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5084141794987796480,"description":"Unknown IO ID 45"} 
[2026-05-08 20:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232547584001,"power":27484,"unknown_36":206,"unknown_19":48128,"ignition":43,"odometer":null,"unknown_45":5084141794987796480}} 
[2026-05-08 20:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":65340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:26:57] local.INFO: GPS data processed {"connection_id":65340,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:26:57] local.INFO: Acknowledgment sent {"connection_id":65340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:26:58] local.INFO: TCP Data received {"connection_id":65340,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081674f0012d46bac0068de380005d00672f..."} 
[2026-05-08 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081674f0012d46bac0068de380005d00672f..."} 
[2026-05-08 20:26:58] local.INFO: Processing buffer {"connection_id":65340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081674f0012d46bac0068de380005d00672f..."} 
[2026-05-08 20:26:58] local.INFO: Packet analysis {"connection_id":65340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0816"} 
[2026-05-08 20:26:58] local.INFO: Extracted packet for processing {"connection_id":65340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0816"} 
[2026-05-08 20:26:58] local.INFO: GPS Element Parsed {"raw_longitude":759610048,"raw_latitude":109962112,"longitude_deg":75.9610048,"latitude_deg":10.9962112,"altitude":93,"angle":103,"satellites":47,"speed":47,"hex_longitude":"2d46bac0","hex_latitude":"068de380","is_valid_coordinates":true} 
[2026-05-08 20:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232548864001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290335069040541696,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5089349082056212480,"note":"Value kept but may cause issues"} 
[2026-05-08 20:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778252150000,"timestamp_ms":1778252150000,"timestamp_seconds":1778252150,"priority":1,"record_length":96,"hex_timestamp":"0000019e081674f0"} 
[2026-05-08 20:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 20:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232548864001,"66":27484,"36":206,"19":48128,"24":47,"16":290335069040541696,"45":5089349082056212480},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-05-08 20:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232548864001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:26:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-05-08 20:26:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290335069040541696,"km_value":290335069040541.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5089349082056212480,"description":"Unknown IO ID 45"} 
[2026-05-08 20:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232548864001,"power":27484,"unknown_36":206,"unknown_19":48128,"ignition":47,"odometer":null,"unknown_45":5089349082056212480}} 
[2026-05-08 20:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":65340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:26:58] local.INFO: GPS data processed {"connection_id":65340,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:26:58] local.INFO: Acknowledgment sent {"connection_id":65340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:27:33] local.INFO: TCP Data received {"connection_id":65340,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08169048012d46de00068ddb90005b00662d..."} 
[2026-05-08 20:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08169048012d46de00068ddb90005b00662d..."} 
[2026-05-08 20:27:33] local.INFO: Processing buffer {"connection_id":65340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08169048012d46de00068ddb90005b00662d..."} 
[2026-05-08 20:27:33] local.INFO: Packet analysis {"connection_id":65340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0816"} 
[2026-05-08 20:27:33] local.INFO: Extracted packet for processing {"connection_id":65340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0816"} 
[2026-05-08 20:27:33] local.INFO: GPS Element Parsed {"raw_longitude":759619072,"raw_latitude":109960080,"longitude_deg":75.9619072,"latitude_deg":10.996008,"altitude":91,"angle":102,"satellites":45,"speed":55,"hex_longitude":"2d46de00","hex_latitude":"068ddb90","is_valid_coordinates":true} 
[2026-05-08 20:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232550400001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290335507127205888,"note":"Value kept but may cause issues"} 
[2026-05-08 20:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5096597062705971200,"note":"Value kept but may cause issues"} 
[2026-05-08 20:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778252157000,"timestamp_ms":1778252157000,"timestamp_seconds":1778252157,"priority":1,"record_length":96,"hex_timestamp":"0000019e08169048"} 
[2026-05-08 20:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:27:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 20:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:27:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232550400001,"66":27484,"36":206,"19":48128,"24":55,"16":290335507127205888,"45":5096597062705971200},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,19,24,16,45]} 
[2026-05-08 20:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232550400001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:27:33] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-05-08 20:27:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290335507127205888,"km_value":290335507127205.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5096597062705971200,"description":"Unknown IO ID 45"} 
[2026-05-08 20:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232550400001,"power":27484,"unknown_36":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":5096597062705971200}} 
[2026-05-08 20:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":65340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:27:33] local.INFO: GPS data processed {"connection_id":65340,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:27:33] local.INFO: Acknowledgment sent {"connection_id":65340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:27:49] local.INFO: TCP Data received {"connection_id":66033,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:49] local.INFO: Processing buffer {"connection_id":66033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:49] local.INFO: IMEI packet received {"connection_id":66033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":66033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:27:51] local.INFO: TCP Data received {"connection_id":66033,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:51] local.INFO: Processing buffer {"connection_id":66033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:51] local.INFO: IMEI packet received {"connection_id":66033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":66033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:27:52] local.INFO: TCP Data received {"connection_id":66033,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:52] local.INFO: Processing buffer {"connection_id":66033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:52] local.INFO: IMEI packet received {"connection_id":66033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":66033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:27:54] local.INFO: TCP Data received {"connection_id":66033,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:54] local.INFO: Processing buffer {"connection_id":66033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:27:54] local.INFO: IMEI packet received {"connection_id":66033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":66033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:31:46] local.INFO: TCP Data received {"connection_id":65342,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:31:46] local.INFO: Processing buffer {"connection_id":65342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:31:46] local.INFO: IMEI packet received {"connection_id":65342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:31:46] local.INFO: IMEI acknowledgment sent {"connection_id":65342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:32:57] local.INFO: TCP Data received {"connection_id":65212,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:32:57] local.INFO: Processing buffer {"connection_id":65212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:32:57] local.INFO: IMEI packet received {"connection_id":65212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":65212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:33:00] local.INFO: TCP Data received {"connection_id":65212,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0819fb48012d4b7840068b20000025006333..."} 
[2026-05-08 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0819fb48012d4b7840068b20000025006333..."} 
[2026-05-08 20:33:00] local.INFO: Processing buffer {"connection_id":65212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0819fb48012d4b7840068b20000025006333..."} 
[2026-05-08 20:33:00] local.INFO: Packet analysis {"connection_id":65212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0819"} 
[2026-05-08 20:33:00] local.INFO: Extracted packet for processing {"connection_id":65212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0819"} 
[2026-05-08 20:33:00] local.INFO: GPS Element Parsed {"raw_longitude":759920704,"raw_latitude":109780992,"longitude_deg":75.9920704,"latitude_deg":10.9780992,"altitude":37,"angle":99,"satellites":51,"speed":30,"hex_longitude":"2d4b7840","hex_latitude":"068b2000","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232606720001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290354246069518336,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5428385691457712128,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778252381000,"timestamp_ms":1778252381000,"timestamp_seconds":1778252381,"priority":1,"record_length":96,"hex_timestamp":"0000019e0819fb48"} 
[2026-05-08 20:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:33:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-05-08 20:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232606720001,"66":27332,"67":206,"19":48128,"24":30,"16":290354246069518336,"45":5428385691457712128},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-05-08 20:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232606720001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:33:00] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-05-08 20:33:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290354246069518336,"km_value":290354246069518.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5428385691457712128,"description":"Unknown IO ID 45"} 
[2026-05-08 20:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232606720001,"power":27332,"unknown_67":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":5428385691457712128}} 
[2026-05-08 20:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":65212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:33:00] local.INFO: GPS data processed {"connection_id":65212,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:33:00] local.INFO: Acknowledgment sent {"connection_id":65212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:33:35] local.INFO: TCP Data received {"connection_id":65212,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081a2a28012d4b9b40068b1a600029006332..."} 
[2026-05-08 20:33:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081a2a28012d4b9b40068b1a600029006332..."} 
[2026-05-08 20:33:35] local.INFO: Processing buffer {"connection_id":65212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081a2a28012d4b9b40068b1a600029006332..."} 
[2026-05-08 20:33:35] local.INFO: Packet analysis {"connection_id":65212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081a"} 
[2026-05-08 20:33:35] local.INFO: Extracted packet for processing {"connection_id":65212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081a"} 
[2026-05-08 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":759929664,"raw_latitude":109779552,"longitude_deg":75.9929664,"latitude_deg":10.9779552,"altitude":41,"angle":99,"satellites":50,"speed":28,"hex_longitude":"2d4b9b40","hex_latitude":"068b1a60","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:33:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232609536001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290354675566247936,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5438166946897985536,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:33:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778252393000,"timestamp_ms":1778252393000,"timestamp_seconds":1778252393,"priority":1,"record_length":96,"hex_timestamp":"0000019e081a2a28"} 
[2026-05-08 20:33:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:33:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 20:33:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:33:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:33:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:33:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:33:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:33:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:33:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:33:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:33:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:33:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232609536001,"66":27376,"67":206,"19":48128,"24":28,"16":290354675566247936,"45":5438166946897985536},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-05-08 20:33:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:33:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:33:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232609536001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:33:35] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-05-08 20:33:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:33:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290354675566247936,"km_value":290354675566247.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:33:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5438166946897985536,"description":"Unknown IO ID 45"} 
[2026-05-08 20:33:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232609536001,"power":27376,"unknown_67":206,"unknown_19":48128,"ignition":28,"odometer":null,"unknown_45":5438166946897985536}} 
[2026-05-08 20:33:35] local.INFO: DEBUG: GPS processor result {"connection_id":65212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:33:35] local.INFO: GPS data processed {"connection_id":65212,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:33:35] local.INFO: Acknowledgment sent {"connection_id":65212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:33:51] local.INFO: TCP Data received {"connection_id":66038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:51] local.INFO: Processing buffer {"connection_id":66038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:51] local.INFO: IMEI packet received {"connection_id":66038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":66038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:33:52] local.INFO: TCP Data received {"connection_id":66038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:52] local.INFO: Processing buffer {"connection_id":66038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:52] local.INFO: IMEI packet received {"connection_id":66038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":66038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:33:57] local.INFO: TCP Data received {"connection_id":66038,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:57] local.INFO: Processing buffer {"connection_id":66038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:33:57] local.INFO: IMEI packet received {"connection_id":66038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":66038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:33:59] local.INFO: TCP Data received {"connection_id":66038,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081cba68012d4d2680068adaf8005700632c..."} 
[2026-05-08 20:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081cba68012d4d2680068adaf8005700632c..."} 
[2026-05-08 20:33:59] local.INFO: Processing buffer {"connection_id":66038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081cba68012d4d2680068adaf8005700632c..."} 
[2026-05-08 20:33:59] local.INFO: Packet analysis {"connection_id":66038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081c"} 
[2026-05-08 20:33:59] local.INFO: Extracted packet for processing {"connection_id":66038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081c"} 
[2026-05-08 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":760030848,"raw_latitude":109763320,"longitude_deg":76.0030848,"latitude_deg":10.976332,"altitude":87,"angle":99,"satellites":44,"speed":21,"hex_longitude":"2d4d2680","hex_latitude":"068adaf8","is_valid_coordinates":true} 
[2026-05-08 20:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232651520001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290359554649096192,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5549068087717820416,"note":"Value kept but may cause issues"} 
[2026-05-08 20:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778252561000,"timestamp_ms":1778252561000,"timestamp_seconds":1778252561,"priority":1,"record_length":96,"hex_timestamp":"0000019e081cba68"} 
[2026-05-08 20:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 20:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":66038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":66038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":66038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232651520001,"66":27397,"67":206,"19":48128,"24":21,"16":290359554649096192,"45":5549068087717820416},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-05-08 20:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232651520001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:33:59] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-05-08 20:33:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290359554649096192,"km_value":290359554649096.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5549068087717820416,"description":"Unknown IO ID 45"} 
[2026-05-08 20:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232651520001,"power":27397,"unknown_67":206,"unknown_19":48128,"ignition":21,"odometer":null,"unknown_45":5549068087717820416}} 
[2026-05-08 20:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":66038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:33:59] local.INFO: GPS data processed {"connection_id":66038,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:33:59] local.INFO: Acknowledgment sent {"connection_id":66038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:34:31] local.INFO: TCP Data received {"connection_id":66038,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081cfcd0012d4d49c0068ad598005a006331..."} 
[2026-05-08 20:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081cfcd0012d4d49c0068ad598005a006331..."} 
[2026-05-08 20:34:31] local.INFO: Processing buffer {"connection_id":66038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081cfcd0012d4d49c0068ad598005a006331..."} 
[2026-05-08 20:34:31] local.INFO: Packet analysis {"connection_id":66038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081c"} 
[2026-05-08 20:34:31] local.INFO: Extracted packet for processing {"connection_id":66038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081c"} 
[2026-05-08 20:34:31] local.INFO: GPS Element Parsed {"raw_longitude":760039872,"raw_latitude":109761944,"longitude_deg":76.0039872,"latitude_deg":10.9761944,"altitude":90,"angle":99,"satellites":49,"speed":23,"hex_longitude":"2d4d49c0","hex_latitude":"068ad598","is_valid_coordinates":true} 
[2026-05-08 20:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:34:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232655616001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:34:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290359992735760384,"note":"Value kept but may cause issues"} 
[2026-05-08 20:34:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5559271555623221248,"note":"Value kept but may cause issues"} 
[2026-05-08 20:34:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:34:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778252578000,"timestamp_ms":1778252578000,"timestamp_seconds":1778252578,"priority":1,"record_length":96,"hex_timestamp":"0000019e081cfcd0"} 
[2026-05-08 20:34:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:34: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-05-08 20:34:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 20:34:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:34:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:34:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:34:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:34:31] local.INFO: Teltonika packet parsed successfully {"connection_id":66038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:34:31] local.INFO: Passing IMEI to GPS processor {"connection_id":66038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:34:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":66038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:34:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:34:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:34:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:34:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232655616001,"66":27365,"67":206,"19":48128,"24":23,"16":290359992735760384,"45":5559271555623221248},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16,45]} 
[2026-05-08 20:34:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:34:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:34:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232655616001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:34:31] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-05-08 20:34:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:34:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290359992735760384,"km_value":290359992735760.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:34:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5559271555623221248,"description":"Unknown IO ID 45"} 
[2026-05-08 20:34:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232655616001,"power":27365,"unknown_67":206,"unknown_19":48128,"ignition":23,"odometer":null,"unknown_45":5559271555623221248}} 
[2026-05-08 20:34:31] local.INFO: DEBUG: GPS processor result {"connection_id":66038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:34:31] local.INFO: GPS data processed {"connection_id":66038,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:34:31] local.INFO: Acknowledgment sent {"connection_id":66038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:34:51] local.INFO: TCP Data received {"connection_id":65259,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:34:51] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:34:51] local.INFO: IMEI packet received {"connection_id":65259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":65259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:35:00] local.INFO: TCP Data received {"connection_id":65259,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:00] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:00] local.INFO: IMEI packet received {"connection_id":65259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":65259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:35:02] local.INFO: TCP Data received {"connection_id":65259,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081d3768012d4d6cc0068acf40005e006731..."} 
[2026-05-08 20:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081d3768012d4d6cc0068acf40005e006731..."} 
[2026-05-08 20:35:02] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081d3768012d4d6cc0068acf40005e006731..."} 
[2026-05-08 20:35:02] local.INFO: Packet analysis {"connection_id":65259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081d"} 
[2026-05-08 20:35:02] local.INFO: Extracted packet for processing {"connection_id":65259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081d"} 
[2026-05-08 20:35:02] local.INFO: GPS Element Parsed {"raw_longitude":760048832,"raw_latitude":109760320,"longitude_deg":76.0048832,"latitude_deg":10.976032,"altitude":94,"angle":103,"satellites":49,"speed":24,"hex_longitude":"2d4d6cc0","hex_latitude":"068acf40","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232659968001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290360422232489984,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5569193548551919616,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778252593000,"timestamp_ms":1778252593000,"timestamp_seconds":1778252593,"priority":1,"record_length":96,"hex_timestamp":"0000019e081d3768"} 
[2026-05-08 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-05-08 20:35: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-05-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 20:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":65259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":65259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":65259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:35:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232659968001,"66":27365,"68":206,"19":48128,"24":24,"16":290360422232489984,"45":5569193548551919616},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-05-08 20:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232659968001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:35:02] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-05-08 20:35:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290360422232489984,"km_value":290360422232490.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5569193548551919616,"description":"Unknown IO ID 45"} 
[2026-05-08 20:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232659968001,"power":27365,"unknown_68":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":5569193548551919616}} 
[2026-05-08 20:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":65259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:35:02] local.INFO: GPS data processed {"connection_id":65259,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:35:02] local.INFO: Acknowledgment sent {"connection_id":65259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:35:34] local.INFO: TCP Data received {"connection_id":65259,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081d7200012d4d8ec0068ac4880062007230..."} 
[2026-05-08 20:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081d7200012d4d8ec0068ac4880062007230..."} 
[2026-05-08 20:35:34] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081d7200012d4d8ec0068ac4880062007230..."} 
[2026-05-08 20:35:34] local.INFO: Packet analysis {"connection_id":65259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081d"} 
[2026-05-08 20:35:34] local.INFO: Extracted packet for processing {"connection_id":65259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081d"} 
[2026-05-08 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":760057536,"raw_latitude":109757576,"longitude_deg":76.0057536,"latitude_deg":10.9757576,"altitude":98,"angle":114,"satellites":48,"speed":23,"hex_longitude":"2d4d8ec0","hex_latitude":"068ac488","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232663808001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290360860319154176,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5579045172736376832,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,68,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778252608000,"timestamp_ms":1778252608000,"timestamp_seconds":1778252608,"priority":1,"record_length":96,"hex_timestamp":"0000019e081d7200"} 
[2026-05-08 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-05-08 20:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 20:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232663808001,"66":27321,"68":206,"19":48128,"24":23,"16":290360860319154176,"45":5579045172736376832},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16,45]} 
[2026-05-08 20:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232663808001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:35:34] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-05-08 20:35:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290360860319154176,"km_value":290360860319154.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5579045172736376832,"description":"Unknown IO ID 45"} 
[2026-05-08 20:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232663808001,"power":27321,"unknown_68":206,"unknown_19":48128,"ignition":23,"odometer":null,"unknown_45":5579045172736376832}} 
[2026-05-08 20:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":65259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:35:34] local.INFO: GPS data processed {"connection_id":65259,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:35:34] local.INFO: Acknowledgment sent {"connection_id":65259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:35:52] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:52] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:52] local.INFO: IMEI packet received {"connection_id":65261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":65261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:35:56] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:56] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:56] local.INFO: IMEI packet received {"connection_id":65261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":65261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:35:57] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:57] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:35:57] local.INFO: IMEI packet received {"connection_id":65261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":65261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:35:58] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081ecda8012d4e0a800689ba50006700be2c..."} 
[2026-05-08 20:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081ecda8012d4e0a800689ba50006700be2c..."} 
[2026-05-08 20:35:58] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081ecda8012d4e0a800689ba50006700be2c..."} 
[2026-05-08 20:35:58] local.INFO: Packet analysis {"connection_id":65261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081e"} 
[2026-05-08 20:35:58] local.INFO: Extracted packet for processing {"connection_id":65261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081e"} 
[2026-05-08 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":760089216,"raw_latitude":109689424,"longitude_deg":76.0089216,"latitude_deg":10.9689424,"altitude":103,"angle":190,"satellites":44,"speed":52,"hex_longitude":"2d4e0a80","hex_latitude":"0689ba50","is_valid_coordinates":true} 
[2026-05-08 20:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232688896001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290364854638739456,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5624081168993916928,"note":"Value kept but may cause issues"} 
[2026-05-08 20:35:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778252697000,"timestamp_ms":1778252697000,"timestamp_seconds":1778252697,"priority":1,"record_length":96,"hex_timestamp":"0000019e081ecda8"} 
[2026-05-08 20:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 20:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232688896001,"66":206,"19":48128,"24":52,"16":290364854638739456,"45":5624081168993916928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232688896001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:35:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290364854638739456,"km_value":290364854638739.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5624081168993916928,"description":"Unknown IO ID 45"} 
[2026-05-08 20:35:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232688896001,"power":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":5624081168993916928}} 
[2026-05-08 20:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":65261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:35:58] local.INFO: GPS data processed {"connection_id":65261,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:35:58] local.INFO: Acknowledgment sent {"connection_id":65261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:36:03] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081ee900012d4e008006899650006300c431..."} 
[2026-05-08 20:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081ee900012d4e008006899650006300c431..."} 
[2026-05-08 20:36:03] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081ee900012d4e008006899650006300c431..."} 
[2026-05-08 20:36:03] local.INFO: Packet analysis {"connection_id":65261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081e"} 
[2026-05-08 20:36:03] local.INFO: Extracted packet for processing {"connection_id":65261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081e"} 
[2026-05-08 20:36:03] local.INFO: GPS Element Parsed {"raw_longitude":760086656,"raw_latitude":109680208,"longitude_deg":76.0086656,"latitude_deg":10.9680208,"altitude":99,"angle":196,"satellites":49,"speed":56,"hex_longitude":"2d4e0080","hex_latitude":"06899650","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:36:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232690432001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:36:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290365318495207424,"note":"Value kept but may cause issues"} 
[2026-05-08 20:36:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5623447850294333440,"note":"Value kept but may cause issues"} 
[2026-05-08 20:36:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:36:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778252704000,"timestamp_ms":1778252704000,"timestamp_seconds":1778252704,"priority":1,"record_length":96,"hex_timestamp":"0000019e081ee900"} 
[2026-05-08 20:36:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:36: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-05-08 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 20:36:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:36:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:36:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:36:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:36:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:36:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:36:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:36:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:36:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:36:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232690432001,"66":206,"19":48128,"24":56,"16":290365318495207424,"45":5623447850294333440},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:36:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:36:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:36:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232690432001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:36:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:36:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290365318495207424,"km_value":290365318495207.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:36:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5623447850294333440,"description":"Unknown IO ID 45"} 
[2026-05-08 20:36:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232690432001,"power":206,"unknown_19":48128,"ignition":56,"odometer":null,"unknown_45":5623447850294333440}} 
[2026-05-08 20:36:03] local.INFO: DEBUG: GPS processor result {"connection_id":65261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:36:03] local.INFO: GPS data processed {"connection_id":65261,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:36:03] local.INFO: Acknowledgment sent {"connection_id":65261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:36:34] local.INFO: TCP Data received {"connection_id":65261,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081f0458012d4df4c006897010005f00c530..."} 
[2026-05-08 20:36:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081f0458012d4df4c006897010005f00c530..."} 
[2026-05-08 20:36:34] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081f0458012d4df4c006897010005f00c530..."} 
[2026-05-08 20:36:34] local.INFO: Packet analysis {"connection_id":65261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081f"} 
[2026-05-08 20:36:34] local.INFO: Extracted packet for processing {"connection_id":65261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081f"} 
[2026-05-08 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":760083648,"raw_latitude":109670416,"longitude_deg":76.0083648,"latitude_deg":10.9670416,"altitude":95,"angle":197,"satellites":48,"speed":59,"hex_longitude":"2d4df4c0","hex_latitude":"06897010","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:36:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232692224001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:36:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290365812416446464,"note":"Value kept but may cause issues"} 
[2026-05-08 20:36:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5620633100524867584,"note":"Value kept but may cause issues"} 
[2026-05-08 20:36:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:36:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778252711000,"timestamp_ms":1778252711000,"timestamp_seconds":1778252711,"priority":1,"record_length":96,"hex_timestamp":"0000019e081f0458"} 
[2026-05-08 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-05-08 20:36:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 20:36:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:36:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:36:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:36:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:36:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:36:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:36:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:36:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:36:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232692224001,"66":206,"19":48128,"24":59,"16":290365812416446464,"45":5620633100524867584},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:36:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:36:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:36:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232692224001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:36:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:36:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290365812416446464,"km_value":290365812416446.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:36:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5620633100524867584,"description":"Unknown IO ID 45"} 
[2026-05-08 20:36:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232692224001,"power":206,"unknown_19":48128,"ignition":59,"odometer":null,"unknown_45":5620633100524867584}} 
[2026-05-08 20:36:34] local.INFO: DEBUG: GPS processor result {"connection_id":65261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:36:34] local.INFO: GPS data processed {"connection_id":65261,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:36:34] local.INFO: Acknowledgment sent {"connection_id":65261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:36:52] local.INFO: TCP Data received {"connection_id":65345,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:36:52] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:36:52] local.INFO: IMEI packet received {"connection_id":65345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":65345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:36:57] local.INFO: TCP Data received {"connection_id":65345,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:36:57] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:36:57] local.INFO: IMEI packet received {"connection_id":65345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":65345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:37:02] local.INFO: TCP Data received {"connection_id":65345,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:37:02] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:37:02] local.INFO: IMEI packet received {"connection_id":65345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":65345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:37:04] local.INFO: TCP Data received {"connection_id":65345,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081f1bc8012d4deac006894d70005c00c130..."} 
[2026-05-08 20:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081f1bc8012d4deac006894d70005c00c130..."} 
[2026-05-08 20:37:04] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081f1bc8012d4deac006894d70005c00c130..."} 
[2026-05-08 20:37:04] local.INFO: Packet analysis {"connection_id":65345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081f"} 
[2026-05-08 20:37:04] local.INFO: Extracted packet for processing {"connection_id":65345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081f"} 
[2026-05-08 20:37:04] local.INFO: GPS Element Parsed {"raw_longitude":760081088,"raw_latitude":109661552,"longitude_deg":76.0081088,"latitude_deg":10.9661552,"altitude":92,"angle":193,"satellites":48,"speed":62,"hex_longitude":"2d4deac0","hex_latitude":"06894d70","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:37:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232694016001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:37:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290366259093045248,"note":"Value kept but may cause issues"} 
[2026-05-08 20:37:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5617325769546010624,"note":"Value kept but may cause issues"} 
[2026-05-08 20:37:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:37:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778252717000,"timestamp_ms":1778252717000,"timestamp_seconds":1778252717,"priority":1,"record_length":96,"hex_timestamp":"0000019e081f1bc8"} 
[2026-05-08 20:37:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:37:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 20:37:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:37:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:37:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:37:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:37:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:37:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:37:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:37:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:37:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:37:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232694016001,"66":206,"19":48128,"24":62,"16":290366259093045248,"45":5617325769546010624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:37:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:37:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:37:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232694016001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:37:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:37:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290366259093045248,"km_value":290366259093045.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:37:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5617325769546010624,"description":"Unknown IO ID 45"} 
[2026-05-08 20:37:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232694016001,"power":206,"unknown_19":48128,"ignition":62,"odometer":null,"unknown_45":5617325769546010624}} 
[2026-05-08 20:37:04] local.INFO: DEBUG: GPS processor result {"connection_id":65345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:37:04] local.INFO: GPS data processed {"connection_id":65345,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:37:04] local.INFO: Acknowledgment sent {"connection_id":65345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:37:09] local.INFO: TCP Data received {"connection_id":65345,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e081f3338012d4de640068927e8005900b531..."} 
[2026-05-08 20:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e081f3338012d4de640068927e8005900b531..."} 
[2026-05-08 20:37:09] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e081f3338012d4de640068927e8005900b531..."} 
[2026-05-08 20:37:09] local.INFO: Packet analysis {"connection_id":65345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e081f"} 
[2026-05-08 20:37:09] local.INFO: Extracted packet for processing {"connection_id":65345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e081f"} 
[2026-05-08 20:37:09] local.INFO: GPS Element Parsed {"raw_longitude":760079936,"raw_latitude":109651944,"longitude_deg":76.0079936,"latitude_deg":10.9651944,"altitude":89,"angle":181,"satellites":49,"speed":65,"hex_longitude":"2d4de640","hex_latitude":"068927e8","is_valid_coordinates":true} 
[2026-05-08 20:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232695552001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290366731539447808,"note":"Value kept but may cause issues"} 
[2026-05-08 20:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5614511019776634880,"note":"Value kept but may cause issues"} 
[2026-05-08 20:37:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778252723000,"timestamp_ms":1778252723000,"timestamp_seconds":1778252723,"priority":1,"record_length":96,"hex_timestamp":"0000019e081f3338"} 
[2026-05-08 20:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 20:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232695552001,"66":206,"19":48128,"24":65,"16":290366731539447808,"45":5614511019776634880},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232695552001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:37:09] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290366731539447808,"km_value":290366731539447.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5614511019776634880,"description":"Unknown IO ID 45"} 
[2026-05-08 20:37:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232695552001,"power":206,"unknown_19":48128,"ignition":65,"odometer":null,"unknown_45":5614511019776634880}} 
[2026-05-08 20:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":65345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:37:09] local.INFO: GPS data processed {"connection_id":65345,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:37:09] local.INFO: Acknowledgment sent {"connection_id":65345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:37:16] local.INFO: TCP Data received {"connection_id":65344,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:37:16] local.INFO: Processing buffer {"connection_id":65344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:37:16] local.INFO: IMEI packet received {"connection_id":65344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":65344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:37:43] local.INFO: TCP Data received {"connection_id":65213,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65213,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:37:43] local.INFO: Processing buffer {"connection_id":65213,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:37:43] local.INFO: IMEI packet received {"connection_id":65213,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":65213,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:37:56] local.INFO: TCP Data received {"connection_id":65214,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:37:56] local.INFO: Processing buffer {"connection_id":65214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:37:56] local.INFO: IMEI packet received {"connection_id":65214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":65214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:38:02] local.INFO: TCP Data received {"connection_id":65214,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:02] local.INFO: Processing buffer {"connection_id":65214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:02] local.INFO: IMEI packet received {"connection_id":65214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":65214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:38:04] local.INFO: TCP Data received {"connection_id":65214,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08205448012d4dcb800687bab8005800c22d..."} 
[2026-05-08 20:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08205448012d4dcb800687bab8005800c22d..."} 
[2026-05-08 20:38:04] local.INFO: Processing buffer {"connection_id":65214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08205448012d4dcb800687bab8005800c22d..."} 
[2026-05-08 20:38:04] local.INFO: Packet analysis {"connection_id":65214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0820"} 
[2026-05-08 20:38:04] local.INFO: Extracted packet for processing {"connection_id":65214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0820"} 
[2026-05-08 20:38:04] local.INFO: GPS Element Parsed {"raw_longitude":760073088,"raw_latitude":109558456,"longitude_deg":76.0073088,"latitude_deg":10.9558456,"altitude":88,"angle":194,"satellites":45,"speed":31,"hex_longitude":"2d4dcb80","hex_latitude":"0687bab8","is_valid_coordinates":true} 
[2026-05-08 20:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:38:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232712960001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290371340039356416,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5608318570264920064,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:04] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:38:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778252797000,"timestamp_ms":1778252797000,"timestamp_seconds":1778252797,"priority":1,"record_length":96,"hex_timestamp":"0000019e08205448"} 
[2026-05-08 20:38:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:38:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:38:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 20:38:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:38:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:38:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:38:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:38:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:38:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:38:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:38:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:38:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:38:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:38:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232712960001,"66":206,"19":48128,"24":31,"16":290371340039356416,"45":5608318570264920064},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:38:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:38:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:38:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232712960001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:38:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:38:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290371340039356416,"km_value":290371340039356.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:38:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5608318570264920064,"description":"Unknown IO ID 45"} 
[2026-05-08 20:38:04] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232712960001,"power":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":5608318570264920064}} 
[2026-05-08 20:38:04] local.INFO: DEBUG: GPS processor result {"connection_id":65214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:38:04] local.INFO: GPS data processed {"connection_id":65214,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:38:04] local.INFO: Acknowledgment sent {"connection_id":65214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:38:40] local.INFO: TCP Data received {"connection_id":65214,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08208328012d4dc140068796c8005c00c330..."} 
[2026-05-08 20:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08208328012d4dc140068796c8005c00c330..."} 
[2026-05-08 20:38:40] local.INFO: Processing buffer {"connection_id":65214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08208328012d4dc140068796c8005c00c330..."} 
[2026-05-08 20:38:40] local.INFO: Packet analysis {"connection_id":65214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0820"} 
[2026-05-08 20:38:40] local.INFO: Extracted packet for processing {"connection_id":65214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0820"} 
[2026-05-08 20:38:40] local.INFO: GPS Element Parsed {"raw_longitude":760070464,"raw_latitude":109549256,"longitude_deg":76.0070464,"latitude_deg":10.9549256,"altitude":92,"angle":195,"satellites":48,"speed":31,"hex_longitude":"2d4dc140","hex_latitude":"068796c8","is_valid_coordinates":true} 
[2026-05-08 20:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232716032001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290371803895824384,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5605714926728034304,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1778252809000,"timestamp_ms":1778252809000,"timestamp_seconds":1778252809,"priority":1,"record_length":96,"hex_timestamp":"0000019e08208328"} 
[2026-05-08 20:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 20:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":65214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":65214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":65214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232716032001,"66":206,"19":48128,"24":31,"16":290371803895824384,"45":5605714926728034304},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232716032001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:38:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290371803895824384,"km_value":290371803895824.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5605714926728034304,"description":"Unknown IO ID 45"} 
[2026-05-08 20:38:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232716032001,"power":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":5605714926728034304}} 
[2026-05-08 20:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":65214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:38:40] local.INFO: GPS data processed {"connection_id":65214,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:38:40] local.INFO: Acknowledgment sent {"connection_id":65214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:38:51] local.INFO: TCP Data received {"connection_id":66041,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:51] local.INFO: Processing buffer {"connection_id":66041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:51] local.INFO: IMEI packet received {"connection_id":66041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":66041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:38:52] local.INFO: TCP Data received {"connection_id":66041,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:52] local.INFO: Processing buffer {"connection_id":66041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:52] local.INFO: IMEI packet received {"connection_id":66041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":66041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:38:53] local.INFO: TCP Data received {"connection_id":66041,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:53] local.INFO: Processing buffer {"connection_id":66041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:53] local.INFO: IMEI packet received {"connection_id":66041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":66041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:38:57] local.INFO: TCP Data received {"connection_id":66041,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:57] local.INFO: Processing buffer {"connection_id":66041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:38:57] local.INFO: IMEI packet received {"connection_id":66041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":66041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:38:58] local.INFO: TCP Data received {"connection_id":66041,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0820b208012d4db780068772f8005e00c333..."} 
[2026-05-08 20:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0820b208012d4db780068772f8005e00c333..."} 
[2026-05-08 20:38:58] local.INFO: Processing buffer {"connection_id":66041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0820b208012d4db780068772f8005e00c333..."} 
[2026-05-08 20:38:58] local.INFO: Packet analysis {"connection_id":66041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0820"} 
[2026-05-08 20:38:58] local.INFO: Extracted packet for processing {"connection_id":66041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0820"} 
[2026-05-08 20:38:58] local.INFO: GPS Element Parsed {"raw_longitude":760067968,"raw_latitude":109540088,"longitude_deg":76.0067968,"latitude_deg":10.9540088,"altitude":94,"angle":195,"satellites":51,"speed":32,"hex_longitude":"2d4db780","hex_latitude":"068772f8","is_valid_coordinates":true} 
[2026-05-08 20:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232719104001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290372263457325056,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5602829808214394880,"note":"Value kept but may cause issues"} 
[2026-05-08 20:38:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778252821000,"timestamp_ms":1778252821000,"timestamp_seconds":1778252821,"priority":1,"record_length":96,"hex_timestamp":"0000019e0820b208"} 
[2026-05-08 20:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 20:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232719104001,"66":206,"19":48128,"24":32,"16":290372263457325056,"45":5602829808214394880},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232719104001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:38:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290372263457325056,"km_value":290372263457325.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5602829808214394880,"description":"Unknown IO ID 45"} 
[2026-05-08 20:38:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232719104001,"power":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":5602829808214394880}} 
[2026-05-08 20:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":66041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:38:58] local.INFO: GPS data processed {"connection_id":66041,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:38:58] local.INFO: Acknowledgment sent {"connection_id":66041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:39:29] local.INFO: TCP Data received {"connection_id":66041,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0820dd00012d4dae8006875048006100c12f..."} 
[2026-05-08 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0820dd00012d4dae8006875048006100c12f..."} 
[2026-05-08 20:39:29] local.INFO: Processing buffer {"connection_id":66041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0820dd00012d4dae8006875048006100c12f..."} 
[2026-05-08 20:39:29] local.INFO: Packet analysis {"connection_id":66041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0820"} 
[2026-05-08 20:39:29] local.INFO: Extracted packet for processing {"connection_id":66041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0820"} 
[2026-05-08 20:39:29] local.INFO: GPS Element Parsed {"raw_longitude":760065664,"raw_latitude":109531208,"longitude_deg":76.0065664,"latitude_deg":10.9531208,"altitude":97,"angle":193,"satellites":47,"speed":33,"hex_longitude":"2d4dae80","hex_latitude":"06875048","is_valid_coordinates":true} 
[2026-05-08 20:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232722176001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290372710133923840,"note":"Value kept but may cause issues"} 
[2026-05-08 20:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5600085427189118976,"note":"Value kept but may cause issues"} 
[2026-05-08 20:39:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,19,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 20:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778252832000,"timestamp_ms":1778252832000,"timestamp_seconds":1778252832,"priority":1,"record_length":96,"hex_timestamp":"0000019e0820dd00"} 
[2026-05-08 20:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 20:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":66041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":66041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":66041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232722176001,"66":206,"19":48128,"24":33,"16":290372710133923840,"45":5600085427189118976},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-05-08 20:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232722176001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:39:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-05-08 20:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290372710133923840,"km_value":290372710133923.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5600085427189118976,"description":"Unknown IO ID 45"} 
[2026-05-08 20:39:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455232722176001,"power":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":5600085427189118976}} 
[2026-05-08 20:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":66041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:39:29] local.INFO: GPS data processed {"connection_id":66041,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:39:29] local.INFO: Acknowledgment sent {"connection_id":66041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:39:51] local.INFO: TCP Data received {"connection_id":65346,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:51] local.INFO: Processing buffer {"connection_id":65346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:51] local.INFO: IMEI packet received {"connection_id":65346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":65346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:39:52] local.INFO: TCP Data received {"connection_id":65346,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:52] local.INFO: Processing buffer {"connection_id":65346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:52] local.INFO: IMEI packet received {"connection_id":65346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":65346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:39:55] local.INFO: TCP Data received {"connection_id":65346,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:55] local.INFO: Processing buffer {"connection_id":65346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:39:55] local.INFO: IMEI packet received {"connection_id":65346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":65346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:39:57] local.INFO: TCP Data received {"connection_id":65346,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08225bd0012d4d0b4006860c78007700db27..."} 
[2026-05-08 20:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08225bd0012d4d0b4006860c78007700db27..."} 
[2026-05-08 20:39:57] local.INFO: Processing buffer {"connection_id":65346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08225bd0012d4d0b4006860c78007700db27..."} 
[2026-05-08 20:39:57] local.INFO: Packet analysis {"connection_id":65346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0822"} 
[2026-05-08 20:39:57] local.INFO: Extracted packet for processing {"connection_id":65346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0822"} 
[2026-05-08 20:39:57] local.INFO: GPS Element Parsed {"raw_longitude":760023872,"raw_latitude":109448312,"longitude_deg":76.0023872,"latitude_deg":10.9448312,"altitude":119,"angle":219,"satellites":39,"speed":47,"hex_longitude":"2d4d0b40","hex_latitude":"06860c78","is_valid_coordinates":true} 
[2026-05-08 20:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232748032001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290377288569061376,"note":"Value kept but may cause issues"} 
[2026-05-08 20:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5558075286893342720,"note":"Value kept but may cause issues"} 
[2026-05-08 20:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778252930000,"timestamp_ms":1778252930000,"timestamp_seconds":1778252930,"priority":1,"record_length":96,"hex_timestamp":"0000019e08225bd0"} 
[2026-05-08 20:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-05-08 20:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232748032001,"66":27213,"229":206,"19":47872,"24":47,"16":290377288569061376,"45":5558075286893342720},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-05-08 20:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232748032001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:39:57] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 20:39:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290377288569061376,"km_value":290377288569061.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5558075286893342720,"description":"Unknown IO ID 45"} 
[2026-05-08 20:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232748032001,"power":27213,"unknown_229":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5558075286893342720}} 
[2026-05-08 20:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":65346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:39:57] local.INFO: GPS data processed {"connection_id":65346,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:39:57] local.INFO: Acknowledgment sent {"connection_id":65346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:40:27] local.INFO: TCP Data received {"connection_id":65346,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08227b10012d4cf1c00685eed0007700dc29..."} 
[2026-05-08 20:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08227b10012d4cf1c00685eed0007700dc29..."} 
[2026-05-08 20:40:27] local.INFO: Processing buffer {"connection_id":65346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08227b10012d4cf1c00685eed0007700dc29..."} 
[2026-05-08 20:40:27] local.INFO: Packet analysis {"connection_id":65346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0822"} 
[2026-05-08 20:40:27] local.INFO: Extracted packet for processing {"connection_id":65346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0822"} 
[2026-05-08 20:40:27] local.INFO: GPS Element Parsed {"raw_longitude":760017344,"raw_latitude":109440720,"longitude_deg":76.0017344,"latitude_deg":10.944072,"altitude":119,"angle":220,"satellites":41,"speed":51,"hex_longitude":"2d4cf1c0","hex_latitude":"0685eed0","is_valid_coordinates":true} 
[2026-05-08 20:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232750080001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290377769605398528,"note":"Value kept but may cause issues"} 
[2026-05-08 20:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5551601362427213824,"note":"Value kept but may cause issues"} 
[2026-05-08 20:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1778252938000,"timestamp_ms":1778252938000,"timestamp_seconds":1778252938,"priority":1,"record_length":96,"hex_timestamp":"0000019e08227b10"} 
[2026-05-08 20:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:40:27] 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-05-08 20:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":65346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":65346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":65346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232750080001,"66":27300,"229":206,"19":47872,"24":51,"16":290377769605398528,"45":5551601362427213824},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-05-08 20:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232750080001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:40:28] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 20:40:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290377769605398528,"km_value":290377769605398.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5551601362427213824,"description":"Unknown IO ID 45"} 
[2026-05-08 20:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232750080001,"power":27300,"unknown_229":206,"unknown_19":47872,"ignition":51,"odometer":null,"unknown_45":5551601362427213824}} 
[2026-05-08 20:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":65346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:40:28] local.INFO: GPS data processed {"connection_id":65346,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:40:28] local.INFO: Acknowledgment sent {"connection_id":65346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:40:51] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:51] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:51] local.INFO: IMEI packet received {"connection_id":65215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":65215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:40:55] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:55] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:55] local.INFO: IMEI packet received {"connection_id":65215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":65215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:40:56] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:56] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:40:56] local.INFO: IMEI packet received {"connection_id":65215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":65215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:40:57] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08234e00012d4d0c000684dc000070008d33..."} 
[2026-05-08 20:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08234e00012d4d0c000684dc000070008d33..."} 
[2026-05-08 20:40:57] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08234e00012d4d0c000684dc000070008d33..."} 
[2026-05-08 20:40:57] local.INFO: Packet analysis {"connection_id":65215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:40:57] local.INFO: Extracted packet for processing {"connection_id":65215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:40:57] local.INFO: GPS Element Parsed {"raw_longitude":760024064,"raw_latitude":109370368,"longitude_deg":76.0024064,"latitude_deg":10.9370368,"altitude":112,"angle":141,"satellites":51,"speed":48,"hex_longitude":"2d4d0c00","hex_latitude":"0684dc00","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232763904001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290381617896095744,"note":"Value kept but may cause issues"} 
[2026-05-08 20:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545831125386827776,"note":"Value kept but may cause issues"} 
[2026-05-08 20:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778252992000,"timestamp_ms":1778252992000,"timestamp_seconds":1778252992,"priority":1,"record_length":96,"hex_timestamp":"0000019e08234e00"} 
[2026-05-08 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-05-08 20:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-05-08 20:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232763904001,"66":27213,"227":206,"19":47872,"24":48,"16":290381617896095744,"45":5545831125386827776},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-05-08 20:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232763904001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:40:57] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-05-08 20:40:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290381617896095744,"km_value":290381617896095.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545831125386827776,"description":"Unknown IO ID 45"} 
[2026-05-08 20:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232763904001,"power":27213,"unknown_227":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5545831125386827776}} 
[2026-05-08 20:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":65215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:40:57] local.INFO: GPS data processed {"connection_id":65215,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:40:57] local.INFO: Acknowledgment sent {"connection_id":65215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:41:01] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08234e00012d4d0c000684dc000070008d33..."} 
[2026-05-08 20:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08234e00012d4d0c000684dc000070008d33..."} 
[2026-05-08 20:41:01] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08234e00012d4d0c000684dc000070008d33..."} 
[2026-05-08 20:41:01] local.INFO: Packet analysis {"connection_id":65215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:41:01] local.INFO: Extracted packet for processing {"connection_id":65215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:41:01] local.INFO: GPS Element Parsed {"raw_longitude":760024064,"raw_latitude":109370368,"longitude_deg":76.0024064,"latitude_deg":10.9370368,"altitude":112,"angle":141,"satellites":51,"speed":48,"hex_longitude":"2d4d0c00","hex_latitude":"0684dc00","is_valid_coordinates":true} 
[2026-05-08 20:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232765952001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290381617896095744,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5551812468639793152,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778252992000,"timestamp_ms":1778252992000,"timestamp_seconds":1778252992,"priority":1,"record_length":96,"hex_timestamp":"0000019e08234e00"} 
[2026-05-08 20:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:41: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-05-08 20:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:41:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232765952001,"66":27213,"227":206,"19":47872,"24":48,"16":290381617896095744,"45":5551812468639793152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-05-08 20:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232765952001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:41:01] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-05-08 20:41:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290381617896095744,"km_value":290381617896095.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5551812468639793152,"description":"Unknown IO ID 45"} 
[2026-05-08 20:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232765952001,"power":27213,"unknown_227":206,"unknown_19":47872,"ignition":48,"odometer":null,"unknown_45":5551812468639793152}} 
[2026-05-08 20:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":65215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:41:01] local.INFO: GPS data processed {"connection_id":65215,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:41:01] local.INFO: Acknowledgment sent {"connection_id":65215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:41:34] local.INFO: TCP Data received {"connection_id":65215,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08236d40012d4d25800684c1180073008730..."} 
[2026-05-08 20:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08236d40012d4d25800684c1180073008730..."} 
[2026-05-08 20:41:34] local.INFO: Processing buffer {"connection_id":65215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08236d40012d4d25800684c1180073008730..."} 
[2026-05-08 20:41:34] local.INFO: Packet analysis {"connection_id":65215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:41:34] local.INFO: Extracted packet for processing {"connection_id":65215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:41:34] local.INFO: GPS Element Parsed {"raw_longitude":760030592,"raw_latitude":109363480,"longitude_deg":76.0030592,"latitude_deg":10.936348,"altitude":115,"angle":135,"satellites":48,"speed":45,"hex_longitude":"2d4d2580","hex_latitude":"0684c118","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232765952001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290382077457596416,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5551812468639793152,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1778253000000,"timestamp_ms":1778253000000,"timestamp_seconds":1778253000,"priority":1,"record_length":96,"hex_timestamp":"0000019e08236d40"} 
[2026-05-08 20:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:41:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":65215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":65215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232765952001,"66":27289,"227":206,"19":47872,"24":45,"16":290382077457596416,"45":5551812468639793152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-05-08 20:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232765952001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:41:34] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-05-08 20:41:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290382077457596416,"km_value":290382077457596.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5551812468639793152,"description":"Unknown IO ID 45"} 
[2026-05-08 20:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232765952001,"power":27289,"unknown_227":206,"unknown_19":47872,"ignition":45,"odometer":null,"unknown_45":5551812468639793152}} 
[2026-05-08 20:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":65215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:41:34] local.INFO: GPS data processed {"connection_id":65215,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:41:34] local.INFO: Acknowledgment sent {"connection_id":65215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:41:56] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:41:56] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:41:56] local.INFO: IMEI packet received {"connection_id":65263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":65263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:41:57] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:41:57] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:41:57] local.INFO: IMEI packet received {"connection_id":65263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":65263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:41:58] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08238c80012d4d3e800684a888007600862d..."} 
[2026-05-08 20:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08238c80012d4d3e800684a888007600862d..."} 
[2026-05-08 20:41:58] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08238c80012d4d3e800684a888007600862d..."} 
[2026-05-08 20:41:58] local.INFO: Packet analysis {"connection_id":65263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:41:58] local.INFO: Extracted packet for processing {"connection_id":65263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:41:58] local.INFO: GPS Element Parsed {"raw_longitude":760036992,"raw_latitude":109357192,"longitude_deg":76.0036992,"latitude_deg":10.9357192,"altitude":118,"angle":134,"satellites":45,"speed":43,"hex_longitude":"2d4d3e80","hex_latitude":"0684a888","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232768000001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290382506954326016,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5558990080544151552,"note":"Value kept but may cause issues"} 
[2026-05-08 20:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778253008000,"timestamp_ms":1778253008000,"timestamp_seconds":1778253008,"priority":1,"record_length":96,"hex_timestamp":"0000019e08238c80"} 
[2026-05-08 20:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-05-08 20:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232768000001,"66":27321,"227":206,"19":47872,"24":43,"16":290382506954326016,"45":5558990080544151552},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-05-08 20:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232768000001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:41:58] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-05-08 20:41:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290382506954326016,"km_value":290382506954326.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5558990080544151552,"description":"Unknown IO ID 45"} 
[2026-05-08 20:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232768000001,"power":27321,"unknown_227":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":5558990080544151552}} 
[2026-05-08 20:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":65263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:41:58] local.INFO: GPS data processed {"connection_id":65263,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:41:58] local.INFO: Acknowledgment sent {"connection_id":65263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:42:03] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0823abc0012d4d588006849388007800792e..."} 
[2026-05-08 20:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0823abc0012d4d588006849388007800792e..."} 
[2026-05-08 20:42:03] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0823abc0012d4d588006849388007800792e..."} 
[2026-05-08 20:42:03] local.INFO: Packet analysis {"connection_id":65263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:42:03] local.INFO: Extracted packet for processing {"connection_id":65263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0823"} 
[2026-05-08 20:42:03] local.INFO: GPS Element Parsed {"raw_longitude":760043648,"raw_latitude":109351816,"longitude_deg":76.0043648,"latitude_deg":10.9351816,"altitude":120,"angle":121,"satellites":46,"speed":40,"hex_longitude":"2d4d5880","hex_latitude":"06849388","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232770048001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290382919271186432,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5566026954960308224,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778253016000,"timestamp_ms":1778253016000,"timestamp_seconds":1778253016,"priority":1,"record_length":96,"hex_timestamp":"0000019e0823abc0"} 
[2026-05-08 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-05-08 20:42: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-05-08 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 20:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232770048001,"66":27321,"227":206,"19":47872,"24":40,"16":290382919271186432,"45":5566026954960308224},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-05-08 20:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232770048001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:42:03] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-05-08 20:42:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290382919271186432,"km_value":290382919271186.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5566026954960308224,"description":"Unknown IO ID 45"} 
[2026-05-08 20:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232770048001,"power":27321,"unknown_227":206,"unknown_19":47872,"ignition":40,"odometer":null,"unknown_45":5566026954960308224}} 
[2026-05-08 20:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":65263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:42:03] local.INFO: GPS data processed {"connection_id":65263,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:42:03] local.INFO: Acknowledgment sent {"connection_id":65263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:42:35] local.INFO: TCP Data received {"connection_id":65263,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0824e440012d4e93800683e0b0007000752f..."} 
[2026-05-08 20:42:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0824e440012d4e93800683e0b0007000752f..."} 
[2026-05-08 20:42:35] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0824e440012d4e93800683e0b0007000752f..."} 
[2026-05-08 20:42:35] local.INFO: Packet analysis {"connection_id":65263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0824"} 
[2026-05-08 20:42:35] local.INFO: Extracted packet for processing {"connection_id":65263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0824"} 
[2026-05-08 20:42:35] local.INFO: GPS Element Parsed {"raw_longitude":760124288,"raw_latitude":109306032,"longitude_deg":76.0124288,"latitude_deg":10.9306032,"altitude":112,"angle":117,"satellites":47,"speed":56,"hex_longitude":"2d4e9380","hex_latitude":"0683e0b0","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:42:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232791808001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290387557835866112,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5657998903588030464,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:42:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778253096000,"timestamp_ms":1778253096000,"timestamp_seconds":1778253096,"priority":1,"record_length":96,"hex_timestamp":"0000019e0824e440"} 
[2026-05-08 20:42:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:42:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:42:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 20:42:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:42:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:42:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:42:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:42:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:42:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:42:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:42:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:42:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:42:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232791808001,"66":27169,"251":206,"19":47872,"24":56,"16":290387557835866112,"45":5657998903588030464},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-05-08 20:42:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:42:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:42:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232791808001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:42:35] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-05-08 20:42:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:42:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290387557835866112,"km_value":290387557835866.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:42:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5657998903588030464,"description":"Unknown IO ID 45"} 
[2026-05-08 20:42:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232791808001,"power":27169,"unknown_251":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":5657998903588030464}} 
[2026-05-08 20:42:35] local.INFO: DEBUG: GPS processor result {"connection_id":65263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:42:35] local.INFO: GPS data processed {"connection_id":65263,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:42:35] local.INFO: Acknowledgment sent {"connection_id":65263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:42:52] local.INFO: TCP Data received {"connection_id":66043,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:42:52] local.INFO: Processing buffer {"connection_id":66043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:42:52] local.INFO: IMEI packet received {"connection_id":66043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":66043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:42:53] local.INFO: TCP Data received {"connection_id":66043,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:42:53] local.INFO: Processing buffer {"connection_id":66043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:42:53] local.INFO: IMEI packet received {"connection_id":66043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":66043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:42:58] local.INFO: TCP Data received {"connection_id":66043,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0824f3e0012d4ea8000683d8d00070006a32..."} 
[2026-05-08 20:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0824f3e0012d4ea8000683d8d00070006a32..."} 
[2026-05-08 20:42:58] local.INFO: Processing buffer {"connection_id":66043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0824f3e0012d4ea8000683d8d00070006a32..."} 
[2026-05-08 20:42:58] local.INFO: Packet analysis {"connection_id":66043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0824"} 
[2026-05-08 20:42:58] local.INFO: Extracted packet for processing {"connection_id":66043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0824"} 
[2026-05-08 20:42:58] local.INFO: GPS Element Parsed {"raw_longitude":760129536,"raw_latitude":109304016,"longitude_deg":76.0129536,"latitude_deg":10.9304016,"altitude":112,"angle":106,"satellites":50,"speed":53,"hex_longitude":"2d4ea800","hex_latitude":"0683d8d0","is_valid_coordinates":true} 
[2026-05-08 20:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232792576001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290387824123838464,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5662009922005544960,"note":"Value kept but may cause issues"} 
[2026-05-08 20:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778253100000,"timestamp_ms":1778253100000,"timestamp_seconds":1778253100,"priority":1,"record_length":96,"hex_timestamp":"0000019e0824f3e0"} 
[2026-05-08 20:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-05-08 20:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1025,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232792576001,"66":27267,"251":206,"19":47872,"24":53,"16":290387824123838464,"45":5662009922005544960},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-05-08 20:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232792576001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:42:58] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-05-08 20:42:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290387824123838464,"km_value":290387824123838.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5662009922005544960,"description":"Unknown IO ID 45"} 
[2026-05-08 20:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232792576001,"power":27267,"unknown_251":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":5662009922005544960}} 
[2026-05-08 20:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":66043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:42:58] local.INFO: GPS data processed {"connection_id":66043,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:42:58] local.INFO: Acknowledgment sent {"connection_id":66043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:43:02] local.INFO: TCP Data received {"connection_id":66043,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08251320012d4ece800683d1e80073006333..."} 
[2026-05-08 20:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08251320012d4ece800683d1e80073006333..."} 
[2026-05-08 20:43:02] local.INFO: Processing buffer {"connection_id":66043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08251320012d4ece800683d1e80073006333..."} 
[2026-05-08 20:43:02] local.INFO: Packet analysis {"connection_id":66043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0825"} 
[2026-05-08 20:43:02] local.INFO: Extracted packet for processing {"connection_id":66043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0825"} 
[2026-05-08 20:43:02] local.INFO: GPS Element Parsed {"raw_longitude":760139392,"raw_latitude":109302248,"longitude_deg":76.0139392,"latitude_deg":10.9302248,"altitude":115,"angle":99,"satellites":51,"speed":47,"hex_longitude":"2d4ece80","hex_latitude":"0683d1e8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 20:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232793600001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290388300865208320,"note":"Value kept but may cause issues"} 
[2026-05-08 20:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5667780159027597312,"note":"Value kept but may cause issues"} 
[2026-05-08 20:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1778253108000,"timestamp_ms":1778253108000,"timestamp_seconds":1778253108,"priority":1,"record_length":96,"hex_timestamp":"0000019e08251320"} 
[2026-05-08 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-05-08 20:43: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-05-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 20:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 20:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":66043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":66043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":66043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232793600001,"66":27343,"251":206,"19":47872,"24":47,"16":290388300865208320,"45":5667780159027597312},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-05-08 20:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232793600001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:43:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-05-08 20:43:02] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290388300865208320,"km_value":290388300865208.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5667780159027597312,"description":"Unknown IO ID 45"} 
[2026-05-08 20:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232793600001,"power":27343,"unknown_251":206,"unknown_19":47872,"ignition":47,"odometer":null,"unknown_45":5667780159027597312}} 
[2026-05-08 20:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":66043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:43:02] local.INFO: GPS data processed {"connection_id":66043,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:43:02] local.INFO: Acknowledgment sent {"connection_id":66043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:43:10] local.INFO: TCP Data received {"connection_id":66042,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:43:10] local.INFO: Processing buffer {"connection_id":66042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:43:10] local.INFO: IMEI packet received {"connection_id":66042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":66042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:43:33] local.INFO: TCP Data received {"connection_id":66043,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08253260012d4ef2800683cc880075006230..."} 
[2026-05-08 20:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08253260012d4ef2800683cc880075006230..."} 
[2026-05-08 20:43:33] local.INFO: Processing buffer {"connection_id":66043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08253260012d4ef2800683cc880075006230..."} 
[2026-05-08 20:43:33] local.INFO: Packet analysis {"connection_id":66043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0825"} 
[2026-05-08 20:43:33] local.INFO: Extracted packet for processing {"connection_id":66043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0825"} 
[2026-05-08 20:43:33] local.INFO: GPS Element Parsed {"raw_longitude":760148608,"raw_latitude":109300872,"longitude_deg":76.0148608,"latitude_deg":10.9300872,"altitude":117,"angle":98,"satellites":48,"speed":44,"hex_longitude":"2d4ef280","hex_latitude":"0683cc88","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232795648001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290388747541807104,"note":"Value kept but may cause issues"} 
[2026-05-08 20:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5678616945630504960,"note":"Value kept but may cause issues"} 
[2026-05-08 20:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778253116000,"timestamp_ms":1778253116000,"timestamp_seconds":1778253116,"priority":1,"record_length":96,"hex_timestamp":"0000019e08253260"} 
[2026-05-08 20:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 20:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":66043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":66043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":66043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:43:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232795648001,"66":27365,"251":206,"19":47872,"24":44,"16":290388747541807104,"45":5678616945630504960},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16,45]} 
[2026-05-08 20:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232795648001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:43:33] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-05-08 20:43:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290388747541807104,"km_value":290388747541807.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5678616945630504960,"description":"Unknown IO ID 45"} 
[2026-05-08 20:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232795648001,"power":27365,"unknown_251":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":5678616945630504960}} 
[2026-05-08 20:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":66043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:43:33] local.INFO: GPS data processed {"connection_id":66043,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:43:33] local.INFO: Acknowledgment sent {"connection_id":66043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:43:43] local.INFO: TCP Data received {"connection_id":65349,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:43:43] local.INFO: Processing buffer {"connection_id":65349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:43:43] local.INFO: IMEI packet received {"connection_id":65349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":65349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:49:05] local.INFO: TCP Data received {"connection_id":65266,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65266,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:49:05] local.INFO: Processing buffer {"connection_id":65266,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:49:05] local.INFO: IMEI packet received {"connection_id":65266,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":65266,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:49:41] local.INFO: TCP Data received {"connection_id":65354,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:49:41] local.INFO: Processing buffer {"connection_id":65354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:49:41] local.INFO: IMEI packet received {"connection_id":65354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":65354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:50:06] local.INFO: TCP Data received {"connection_id":65355,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:06] local.INFO: Processing buffer {"connection_id":65355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:06] local.INFO: IMEI packet received {"connection_id":65355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":65355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:50:07] local.INFO: TCP Data received {"connection_id":65355,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:07] local.INFO: Processing buffer {"connection_id":65355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:07] local.INFO: IMEI packet received {"connection_id":65355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":65355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:50:12] local.INFO: TCP Data received {"connection_id":65355,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:12] local.INFO: Processing buffer {"connection_id":65355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:12] local.INFO: IMEI packet received {"connection_id":65355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":65355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:50:13] local.INFO: TCP Data received {"connection_id":65355,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082be150012d5559c0067ed5e00022009433..."} 
[2026-05-08 20:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082be150012d5559c0067ed5e00022009433..."} 
[2026-05-08 20:50:13] local.INFO: Processing buffer {"connection_id":65355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082be150012d5559c0067ed5e00022009433..."} 
[2026-05-08 20:50:13] local.INFO: Packet analysis {"connection_id":65355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082b"} 
[2026-05-08 20:50:13] local.INFO: Extracted packet for processing {"connection_id":65355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082b"} 
[2026-05-08 20:50:13] local.INFO: GPS Element Parsed {"raw_longitude":760568256,"raw_latitude":108975584,"longitude_deg":76.0568256,"latitude_deg":10.8975584,"altitude":34,"angle":148,"satellites":51,"speed":74,"hex_longitude":"2d5559c0","hex_latitude":"067ed5e0","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232908544001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290415591087407104,"note":"Value kept but may cause issues"} 
[2026-05-08 20:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6144317294516641792,"note":"Value kept but may cause issues"} 
[2026-05-08 20:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778253554000,"timestamp_ms":1778253554000,"timestamp_seconds":1778253554,"priority":1,"record_length":96,"hex_timestamp":"0000019e082be150"} 
[2026-05-08 20:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 20:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232908544001,"66":27365,"3":206,"19":47872,"24":74,"16":290415591087407104,"45":6144317294516641792},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-05-08 20:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232908544001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:50:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-05-08 20:50:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290415591087407104,"km_value":290415591087407.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6144317294516641792,"description":"Unknown IO ID 45"} 
[2026-05-08 20:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232908544001,"power":27365,"unknown_3":206,"unknown_19":47872,"ignition":74,"odometer":null,"unknown_45":6144317294516641792}} 
[2026-05-08 20:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":65355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:50:13] local.INFO: GPS data processed {"connection_id":65355,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:50:13] local.INFO: Acknowledgment sent {"connection_id":65355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:50:53] local.INFO: TCP Data received {"connection_id":65357,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:53] local.INFO: Processing buffer {"connection_id":65357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:53] local.INFO: IMEI packet received {"connection_id":65357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:50:53] local.INFO: IMEI acknowledgment sent {"connection_id":65357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:50:56] local.INFO: TCP Data received {"connection_id":65357,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:56] local.INFO: Processing buffer {"connection_id":65357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:50:56] local.INFO: IMEI packet received {"connection_id":65357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":65357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:51:00] local.INFO: TCP Data received {"connection_id":65357,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65357,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:00] local.INFO: Processing buffer {"connection_id":65357,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:00] local.INFO: IMEI packet received {"connection_id":65357,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":65357,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:51:01] local.INFO: TCP Data received {"connection_id":65357,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082cb828012d55e740067d7aa00013008d33..."} 
[2026-05-08 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082cb828012d55e740067d7aa00013008d33..."} 
[2026-05-08 20:51:01] local.INFO: Processing buffer {"connection_id":65357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082cb828012d55e740067d7aa00013008d33..."} 
[2026-05-08 20:51:01] local.INFO: Packet analysis {"connection_id":65357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082c"} 
[2026-05-08 20:51:01] local.INFO: Extracted packet for processing {"connection_id":65357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082c"} 
[2026-05-08 20:51:01] local.INFO: GPS Element Parsed {"raw_longitude":760604480,"raw_latitude":108886688,"longitude_deg":76.060448,"latitude_deg":10.8886688,"altitude":19,"angle":141,"satellites":51,"speed":63,"hex_longitude":"2d55e740","hex_latitude":"067d7aa0","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232922368001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290420285486661632,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6183512685000843264,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778253609000,"timestamp_ms":1778253609000,"timestamp_seconds":1778253609,"priority":1,"record_length":96,"hex_timestamp":"0000019e082cb828"} 
[2026-05-08 20:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:51: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-05-08 20: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 20:51:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232922368001,"66":27245,"1":206,"19":47872,"24":63,"16":290420285486661632,"45":6183512685000843264},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-05-08 20:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232922368001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:51:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290420285486661632,"km_value":290420285486661.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6183512685000843264,"description":"Unknown IO ID 45"} 
[2026-05-08 20:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232922368001,"power":27245,"imei":206,"unknown_19":47872,"ignition":63,"odometer":null,"unknown_45":6183512685000843264}} 
[2026-05-08 20:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":65357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:51:01] local.INFO: GPS data processed {"connection_id":65357,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:51:01] local.INFO: Acknowledgment sent {"connection_id":65357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:51:33] local.INFO: TCP Data received {"connection_id":65357,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082ccf98012d55ffc0067d5eb80013008933..."} 
[2026-05-08 20:51:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082ccf98012d55ffc0067d5eb80013008933..."} 
[2026-05-08 20:51:33] local.INFO: Processing buffer {"connection_id":65357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082ccf98012d55ffc0067d5eb80013008933..."} 
[2026-05-08 20:51:33] local.INFO: Packet analysis {"connection_id":65357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082c"} 
[2026-05-08 20:51:33] local.INFO: Extracted packet for processing {"connection_id":65357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082c"} 
[2026-05-08 20:51:33] local.INFO: GPS Element Parsed {"raw_longitude":760610752,"raw_latitude":108879544,"longitude_deg":76.0610752,"latitude_deg":10.8879544,"altitude":19,"angle":137,"satellites":51,"speed":61,"hex_longitude":"2d55ffc0","hex_latitude":"067d5eb8","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:51:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232923904001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290420745048162304,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6189986609463205888,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:51:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778253615000,"timestamp_ms":1778253615000,"timestamp_seconds":1778253615,"priority":1,"record_length":96,"hex_timestamp":"0000019e082ccf98"} 
[2026-05-08 20:51:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:51:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 20:51:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:51:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:51:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:51:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:51:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:51:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65357,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:51:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:51:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:51:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:51:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232923904001,"66":27267,"1":206,"19":47872,"24":61,"16":290420745048162304,"45":6189986609463205888},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-05-08 20:51:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:51:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:51:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232923904001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:51:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:51:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290420745048162304,"km_value":290420745048162.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:51:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6189986609463205888,"description":"Unknown IO ID 45"} 
[2026-05-08 20:51:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232923904001,"power":27267,"imei":206,"unknown_19":47872,"ignition":61,"odometer":null,"unknown_45":6189986609463205888}} 
[2026-05-08 20:51:33] local.INFO: DEBUG: GPS processor result {"connection_id":65357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:51:33] local.INFO: GPS data processed {"connection_id":65357,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:51:33] local.INFO: Acknowledgment sent {"connection_id":65357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:51:51] local.INFO: TCP Data received {"connection_id":66047,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:51] local.INFO: Processing buffer {"connection_id":66047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:51] local.INFO: IMEI packet received {"connection_id":66047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":66047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:51:56] local.INFO: TCP Data received {"connection_id":66047,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:56] local.INFO: Processing buffer {"connection_id":66047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:51:56] local.INFO: IMEI packet received {"connection_id":66047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":66047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:51:59] local.INFO: TCP Data received {"connection_id":66047,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082ceaf0012d561c00067d42300014008733..."} 
[2026-05-08 20:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082ceaf0012d561c00067d42300014008733..."} 
[2026-05-08 20:51:59] local.INFO: Processing buffer {"connection_id":66047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082ceaf0012d561c00067d42300014008733..."} 
[2026-05-08 20:51:59] local.INFO: Packet analysis {"connection_id":66047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082c"} 
[2026-05-08 20:51:59] local.INFO: Extracted packet for processing {"connection_id":66047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082c"} 
[2026-05-08 20:51:59] local.INFO: GPS Element Parsed {"raw_longitude":760617984,"raw_latitude":108872240,"longitude_deg":76.0617984,"latitude_deg":10.887224,"altitude":20,"angle":135,"satellites":51,"speed":56,"hex_longitude":"2d561c00","hex_latitude":"067d4230","is_valid_coordinates":true} 
[2026-05-08 20:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232925440001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290421238969401344,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6196882746390788096,"note":"Value kept but may cause issues"} 
[2026-05-08 20:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778253622000,"timestamp_ms":1778253622000,"timestamp_seconds":1778253622,"priority":1,"record_length":96,"hex_timestamp":"0000019e082ceaf0"} 
[2026-05-08 20:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 20:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":66047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":66047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":66047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232925440001,"66":27365,"1":206,"19":47872,"24":56,"16":290421238969401344,"45":6196882746390788096},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-05-08 20:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232925440001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:51:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290421238969401344,"km_value":290421238969401.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6196882746390788096,"description":"Unknown IO ID 45"} 
[2026-05-08 20:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232925440001,"power":27365,"imei":206,"unknown_19":47872,"ignition":56,"odometer":null,"unknown_45":6196882746390788096}} 
[2026-05-08 20:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":66047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:51:59] local.INFO: GPS data processed {"connection_id":66047,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:51:59] local.INFO: Acknowledgment sent {"connection_id":66047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:52:32] local.INFO: TCP Data received {"connection_id":66047,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082e2b40012d571c80067bdad0001c00b732..."} 
[2026-05-08 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082e2b40012d571c80067bdad0001c00b732..."} 
[2026-05-08 20:52:32] local.INFO: Processing buffer {"connection_id":66047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082e2b40012d571c80067bdad0001c00b732..."} 
[2026-05-08 20:52:32] local.INFO: Packet analysis {"connection_id":66047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:52:32] local.INFO: Extracted packet for processing {"connection_id":66047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":760683648,"raw_latitude":108780240,"longitude_deg":76.0683648,"latitude_deg":10.878024,"altitude":28,"angle":183,"satellites":50,"speed":60,"hex_longitude":"2d571c80","hex_latitude":"067bdad0","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232948224001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290426878261460992,"note":"Value kept but may cause issues"} 
[2026-05-08 20:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6277032745983725568,"note":"Value kept but may cause issues"} 
[2026-05-08 20:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778253704000,"timestamp_ms":1778253704000,"timestamp_seconds":1778253704,"priority":1,"record_length":96,"hex_timestamp":"0000019e082e2b40"} 
[2026-05-08 20:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 20:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":66047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":66047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":66047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232948224001,"66":27321,"13":206,"19":47872,"24":60,"16":290426878261460992,"45":6277032745983725568},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-05-08 20:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232948224001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:52:32] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 20:52:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290426878261460992,"km_value":290426878261461.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6277032745983725568,"description":"Unknown IO ID 45"} 
[2026-05-08 20:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232948224001,"power":27321,"unknown_13":206,"unknown_19":47872,"ignition":60,"odometer":null,"unknown_45":6277032745983725568}} 
[2026-05-08 20:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":66047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:52:32] local.INFO: GPS data processed {"connection_id":66047,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:52:32] local.INFO: Acknowledgment sent {"connection_id":66047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:52:51] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:51] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:51] local.INFO: IMEI packet received {"connection_id":65218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":65218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:52:54] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:54] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:54] local.INFO: IMEI packet received {"connection_id":65218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":65218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:52:56] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:56] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:52:56] local.INFO: IMEI packet received {"connection_id":65218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":65218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:52:57] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082e3ae0012d5718c0067bc3b8001c00c332..."} 
[2026-05-08 20:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082e3ae0012d5718c0067bc3b8001c00c332..."} 
[2026-05-08 20:52:57] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082e3ae0012d5718c0067bc3b8001c00c332..."} 
[2026-05-08 20:52:57] local.INFO: Packet analysis {"connection_id":65218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:52:57] local.INFO: Extracted packet for processing {"connection_id":65218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:52:57] local.INFO: GPS Element Parsed {"raw_longitude":760682688,"raw_latitude":108774328,"longitude_deg":76.0682688,"latitude_deg":10.8774328,"altitude":28,"angle":195,"satellites":50,"speed":59,"hex_longitude":"2d5718c0","hex_latitude":"067bc3b8","is_valid_coordinates":true} 
[2026-05-08 20:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232948224001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290427170319237120,"note":"Value kept but may cause issues"} 
[2026-05-08 20:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6277032745983725568,"note":"Value kept but may cause issues"} 
[2026-05-08 20:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778253708000,"timestamp_ms":1778253708000,"timestamp_seconds":1778253708,"priority":1,"record_length":96,"hex_timestamp":"0000019e082e3ae0"} 
[2026-05-08 20:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 20:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232948224001,"66":27213,"13":206,"19":47872,"24":59,"16":290427170319237120,"45":6277032745983725568},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-05-08 20:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232948224001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:52:57] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 20:52:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290427170319237120,"km_value":290427170319237.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6277032745983725568,"description":"Unknown IO ID 45"} 
[2026-05-08 20:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232948224001,"power":27213,"unknown_13":206,"unknown_19":47872,"ignition":59,"odometer":null,"unknown_45":6277032745983725568}} 
[2026-05-08 20:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":65218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:52:57] local.INFO: GPS data processed {"connection_id":65218,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:52:57] local.INFO: Acknowledgment sent {"connection_id":65218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:53:32] local.INFO: TCP Data received {"connection_id":65218,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082e4698012d571240067bb390001c00ce32..."} 
[2026-05-08 20:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082e4698012d571240067bb390001c00ce32..."} 
[2026-05-08 20:53:32] local.INFO: Processing buffer {"connection_id":65218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082e4698012d571240067bb390001c00ce32..."} 
[2026-05-08 20:53:32] local.INFO: Packet analysis {"connection_id":65218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:53:32] local.INFO: Extracted packet for processing {"connection_id":65218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:53:32] local.INFO: GPS Element Parsed {"raw_longitude":760681024,"raw_latitude":108770192,"longitude_deg":76.0681024,"latitude_deg":10.8770192,"altitude":28,"angle":206,"satellites":50,"speed":58,"hex_longitude":"2d571240","hex_latitude":"067bb390","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232949248001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290427389362569216,"note":"Value kept but may cause issues"} 
[2026-05-08 20:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6275977214819547136,"note":"Value kept but may cause issues"} 
[2026-05-08 20:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778253711000,"timestamp_ms":1778253711000,"timestamp_seconds":1778253711,"priority":1,"record_length":96,"hex_timestamp":"0000019e082e4698"} 
[2026-05-08 20:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232949248001,"66":27245,"13":206,"19":47872,"24":58,"16":290427389362569216,"45":6275977214819547136},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-05-08 20:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232949248001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:53:32] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 20:53:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290427389362569216,"km_value":290427389362569.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6275977214819547136,"description":"Unknown IO ID 45"} 
[2026-05-08 20:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232949248001,"power":27245,"unknown_13":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":6275977214819547136}} 
[2026-05-08 20:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":65218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:53:32] local.INFO: GPS data processed {"connection_id":65218,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:53:32] local.INFO: Acknowledgment sent {"connection_id":65218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:53:54] local.INFO: TCP Data received {"connection_id":65359,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:53:54] local.INFO: Processing buffer {"connection_id":65359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:53:54] local.INFO: IMEI packet received {"connection_id":65359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":65359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:53:56] local.INFO: TCP Data received {"connection_id":65359,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:53:56] local.INFO: Processing buffer {"connection_id":65359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:53:56] local.INFO: IMEI packet received {"connection_id":65359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":65359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:54:02] local.INFO: TCP Data received {"connection_id":65359,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:02] local.INFO: Processing buffer {"connection_id":65359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:02] local.INFO: IMEI packet received {"connection_id":65359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":65359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:54:04] local.INFO: TCP Data received {"connection_id":65359,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082e5e08012d56fe00067b97d8001c00e12f..."} 
[2026-05-08 20:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082e5e08012d56fe00067b97d8001c00e12f..."} 
[2026-05-08 20:54:04] local.INFO: Processing buffer {"connection_id":65359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082e5e08012d56fe00067b97d8001c00e12f..."} 
[2026-05-08 20:54:04] local.INFO: Packet analysis {"connection_id":65359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:54:04] local.INFO: Extracted packet for processing {"connection_id":65359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":760675840,"raw_latitude":108763096,"longitude_deg":76.067584,"latitude_deg":10.8763096,"altitude":28,"angle":225,"satellites":47,"speed":57,"hex_longitude":"2d56fe00","hex_latitude":"067b97d8","is_valid_coordinates":true} 
[2026-05-08 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:54:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232950016001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290427814564331520,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6274147627469869056,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:54:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778253717000,"timestamp_ms":1778253717000,"timestamp_seconds":1778253717,"priority":1,"record_length":96,"hex_timestamp":"0000019e082e5e08"} 
[2026-05-08 20:54:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:54:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:54:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 20:54:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:54:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:54:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:54:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:54:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:54:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:54:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:54:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:54:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:54:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:54:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232950016001,"66":27300,"13":206,"19":47872,"24":57,"16":290427814564331520,"45":6274147627469869056},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-05-08 20:54:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:54:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:54:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232950016001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:54:04] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 20:54:04] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:54:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290427814564331520,"km_value":290427814564331.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:54:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6274147627469869056,"description":"Unknown IO ID 45"} 
[2026-05-08 20:54:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232950016001,"power":27300,"unknown_13":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":6274147627469869056}} 
[2026-05-08 20:54:04] local.INFO: DEBUG: GPS processor result {"connection_id":65359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:54:04] local.INFO: GPS data processed {"connection_id":65359,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:54:04] local.INFO: Acknowledgment sent {"connection_id":65359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:54:07] local.INFO: TCP Data received {"connection_id":65359,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082e7190012d56e640067b8690001d00ec2c..."} 
[2026-05-08 20:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082e7190012d56e640067b8690001d00ec2c..."} 
[2026-05-08 20:54:07] local.INFO: Processing buffer {"connection_id":65359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082e7190012d56e640067b8690001d00ec2c..."} 
[2026-05-08 20:54:07] local.INFO: Packet analysis {"connection_id":65359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:54:07] local.INFO: Extracted packet for processing {"connection_id":65359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082e"} 
[2026-05-08 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":760669760,"raw_latitude":108758672,"longitude_deg":76.066976,"latitude_deg":10.8758672,"altitude":29,"angle":236,"satellites":44,"speed":58,"hex_longitude":"2d56e640","hex_latitude":"067b8690","is_valid_coordinates":true} 
[2026-05-08 20:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:54:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232951552001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290428171046617088,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6268447759189661696,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:54:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778253722000,"timestamp_ms":1778253722000,"timestamp_seconds":1778253722,"priority":1,"record_length":96,"hex_timestamp":"0000019e082e7190"} 
[2026-05-08 20:54:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:54:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:54:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 20:54:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:54:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:54:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:54:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:54:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:54:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:54:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:54:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:54:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:54:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:54:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232951552001,"66":27365,"13":206,"19":47872,"24":58,"16":290428171046617088,"45":6268447759189661696},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-05-08 20:54:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:54:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:54:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232951552001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:54:07] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 20:54:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:54:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290428171046617088,"km_value":290428171046617.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:54:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6268447759189661696,"description":"Unknown IO ID 45"} 
[2026-05-08 20:54:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232951552001,"power":27365,"unknown_13":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":6268447759189661696}} 
[2026-05-08 20:54:07] local.INFO: DEBUG: GPS processor result {"connection_id":65359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:54:07] local.INFO: GPS data processed {"connection_id":65359,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:54:07] local.INFO: Acknowledgment sent {"connection_id":65359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:54:52] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:52] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:52] local.INFO: IMEI packet received {"connection_id":65267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":65267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:54:55] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:55] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:54:55] local.INFO: IMEI packet received {"connection_id":65267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":65267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:54:56] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082fb9b0012d556d40067ae368002500eb2f..."} 
[2026-05-08 20:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082fb9b0012d556d40067ae368002500eb2f..."} 
[2026-05-08 20:54:56] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082fb9b0012d556d40067ae368002500eb2f..."} 
[2026-05-08 20:54:56] local.INFO: Packet analysis {"connection_id":65267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082f"} 
[2026-05-08 20:54:56] local.INFO: Extracted packet for processing {"connection_id":65267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082f"} 
[2026-05-08 20:54:56] local.INFO: GPS Element Parsed {"raw_longitude":760573248,"raw_latitude":108716904,"longitude_deg":76.0573248,"latitude_deg":10.8716904,"altitude":37,"angle":235,"satellites":47,"speed":39,"hex_longitude":"2d556d40","hex_latitude":"067ae368","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232971776001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290433230518091776,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6164513124028782592,"note":"Value kept but may cause issues"} 
[2026-05-08 20:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1778253806000,"timestamp_ms":1778253806000,"timestamp_seconds":1778253806,"priority":1,"record_length":96,"hex_timestamp":"0000019e082fb9b0"} 
[2026-05-08 20:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:54:56] 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-05-08 20: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 20:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":65267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232971776001,"66":27321,"15":206,"19":47872,"24":39,"16":290433230518091776,"45":6164513124028782592},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-05-08 20:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232971776001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:54:56] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-05-08 20:54:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290433230518091776,"km_value":290433230518091.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":6164513124028782592,"description":"Unknown IO ID 45"} 
[2026-05-08 20:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232971776001,"power":27321,"unknown_15":206,"unknown_19":47872,"ignition":39,"odometer":null,"unknown_45":6164513124028782592}} 
[2026-05-08 20:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":65267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:54:56] local.INFO: GPS data processed {"connection_id":65267,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:54:56] local.INFO: Acknowledgment sent {"connection_id":65267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:55:00] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e082fe0c0012d554ec0067acea0002700ec31..."} 
[2026-05-08 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e082fe0c0012d554ec0067acea0002700ec31..."} 
[2026-05-08 20:55:00] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e082fe0c0012d554ec0067acea0002700ec31..."} 
[2026-05-08 20:55:00] local.INFO: Packet analysis {"connection_id":65267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e082f"} 
[2026-05-08 20:55:00] local.INFO: Extracted packet for processing {"connection_id":65267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e082f"} 
[2026-05-08 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":760565440,"raw_latitude":108711584,"longitude_deg":76.056544,"latitude_deg":10.8711584,"altitude":39,"angle":236,"satellites":49,"speed":35,"hex_longitude":"2d554ec0","hex_latitude":"067acea0","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232974336001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290433685784625152,"note":"Value kept but may cause issues"} 
[2026-05-08 20:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6155646662261041152,"note":"Value kept but may cause issues"} 
[2026-05-08 20:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778253816000,"timestamp_ms":1778253816000,"timestamp_seconds":1778253816,"priority":1,"record_length":96,"hex_timestamp":"0000019e082fe0c0"} 
[2026-05-08 20:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 20:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232974336001,"66":27376,"15":206,"19":47872,"24":35,"16":290433685784625152,"45":6155646662261041152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-05-08 20:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232974336001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:55:00] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-05-08 20:55:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290433685784625152,"km_value":290433685784625.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6155646662261041152,"description":"Unknown IO ID 45"} 
[2026-05-08 20:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232974336001,"power":27376,"unknown_15":206,"unknown_19":47872,"ignition":35,"odometer":null,"unknown_45":6155646662261041152}} 
[2026-05-08 20:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":65267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:55:00] local.INFO: GPS data processed {"connection_id":65267,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:55:00] local.INFO: Acknowledgment sent {"connection_id":65267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:55:05] local.INFO: TCP Data received {"connection_id":66049,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66049,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:55:05] local.INFO: Processing buffer {"connection_id":66049,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:55:05] local.INFO: IMEI packet received {"connection_id":66049,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":66049,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:55:31] local.INFO: TCP Data received {"connection_id":65267,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08300bb8012d553140067abb10002b00eb31..."} 
[2026-05-08 20:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08300bb8012d553140067abb10002b00eb31..."} 
[2026-05-08 20:55:31] local.INFO: Processing buffer {"connection_id":65267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08300bb8012d553140067abb10002b00eb31..."} 
[2026-05-08 20:55:31] local.INFO: Packet analysis {"connection_id":65267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0830"} 
[2026-05-08 20:55:31] local.INFO: Extracted packet for processing {"connection_id":65267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0830"} 
[2026-05-08 20:55:31] local.INFO: GPS Element Parsed {"raw_longitude":760557888,"raw_latitude":108706576,"longitude_deg":76.0557888,"latitude_deg":10.8706576,"altitude":43,"angle":235,"satellites":49,"speed":30,"hex_longitude":"2d553140","hex_latitude":"067abb10","is_valid_coordinates":true} 
[2026-05-08 20: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-05-08 20:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232976896001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290434119576322048,"note":"Value kept but may cause issues"} 
[2026-05-08 20:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6147061675470004224,"note":"Value kept but may cause issues"} 
[2026-05-08 20:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778253827000,"timestamp_ms":1778253827000,"timestamp_seconds":1778253827,"priority":1,"record_length":96,"hex_timestamp":"0000019e08300bb8"} 
[2026-05-08 20:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:55: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-05-08 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 20:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20: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-05-08 20:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232976896001,"66":27332,"15":206,"19":47872,"24":30,"16":290434119576322048,"45":6147061675470004224},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-05-08 20:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232976896001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:55:31] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-05-08 20:55:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290434119576322048,"km_value":290434119576322.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6147061675470004224,"description":"Unknown IO ID 45"} 
[2026-05-08 20:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232976896001,"power":27332,"unknown_15":206,"unknown_19":47872,"ignition":30,"odometer":null,"unknown_45":6147061675470004224}} 
[2026-05-08 20:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":65267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:55:31] local.INFO: GPS data processed {"connection_id":65267,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:55:31] local.INFO: Acknowledgment sent {"connection_id":65267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:55:45] local.INFO: TCP Data received {"connection_id":66050,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:55:45] local.INFO: Processing buffer {"connection_id":66050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 20:55:45] local.INFO: IMEI packet received {"connection_id":66050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 20:55:45] local.INFO: IMEI acknowledgment sent {"connection_id":66050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:56:02] local.INFO: TCP Data received {"connection_id":65360,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:56:02] local.INFO: Processing buffer {"connection_id":65360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:56:02] local.INFO: IMEI packet received {"connection_id":65360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":65360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:56:08] local.INFO: TCP Data received {"connection_id":65360,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:56:08] local.INFO: Processing buffer {"connection_id":65360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:56:08] local.INFO: IMEI packet received {"connection_id":65360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":65360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 20:56:13] local.INFO: TCP Data received {"connection_id":65360,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08303e80012d5512c0067aa6e8003000ec31..."} 
[2026-05-08 20:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08303e80012d5512c0067aa6e8003000ec31..."} 
[2026-05-08 20:56:13] local.INFO: Processing buffer {"connection_id":65360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08303e80012d5512c0067aa6e8003000ec31..."} 
[2026-05-08 20:56:13] local.INFO: Packet analysis {"connection_id":65360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0830"} 
[2026-05-08 20:56:13] local.INFO: Extracted packet for processing {"connection_id":65360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0830"} 
[2026-05-08 20:56:13] local.INFO: GPS Element Parsed {"raw_longitude":760550080,"raw_latitude":108701416,"longitude_deg":76.055008,"latitude_deg":10.8701416,"altitude":48,"angle":236,"satellites":49,"speed":26,"hex_longitude":"2d5512c0","hex_latitude":"067aa6e8","is_valid_coordinates":true} 
[2026-05-08 20:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 20:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232979712001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290434566252920832,"note":"Value kept but may cause issues"} 
[2026-05-08 20:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6138758163655757824,"note":"Value kept but may cause issues"} 
[2026-05-08 20:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1778253840000,"timestamp_ms":1778253840000,"timestamp_seconds":1778253840,"priority":1,"record_length":96,"hex_timestamp":"0000019e08303e80"} 
[2026-05-08 20:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 20:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 20:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 20:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":65360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":65360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":65360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232979712001,"66":27300,"15":206,"19":47872,"24":26,"16":290434566252920832,"45":6138758163655757824},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-05-08 20:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232979712001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:56:13] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-05-08 20:56:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290434566252920832,"km_value":290434566252920.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6138758163655757824,"description":"Unknown IO ID 45"} 
[2026-05-08 20:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232979712001,"power":27300,"unknown_15":206,"unknown_19":47872,"ignition":26,"odometer":null,"unknown_45":6138758163655757824}} 
[2026-05-08 20:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":65360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:56:13] local.INFO: GPS data processed {"connection_id":65360,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:56:13] local.INFO: Acknowledgment sent {"connection_id":65360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:56:24] local.INFO: TCP Data received {"connection_id":65360,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08307d00012d54f4c0067a92e0003400ec31..."} 
[2026-05-08 20:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08307d00012d54f4c0067a92e0003400ec31..."} 
[2026-05-08 20:56:24] local.INFO: Processing buffer {"connection_id":65360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08307d00012d54f4c0067a92e0003400ec31..."} 
[2026-05-08 20:56:24] local.INFO: Packet analysis {"connection_id":65360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0830"} 
[2026-05-08 20:56:24] local.INFO: Extracted packet for processing {"connection_id":65360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0830"} 
[2026-05-08 20:56:24] local.INFO: GPS Element Parsed {"raw_longitude":760542400,"raw_latitude":108696288,"longitude_deg":76.05424,"latitude_deg":10.8696288,"altitude":52,"angle":236,"satellites":49,"speed":17,"hex_longitude":"2d54f4c0","hex_latitude":"067a92e0","is_valid_coordinates":true} 
[2026-05-08 20:56: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-05-08 20:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455232983040001,"note":"Value kept but may cause issues"} 
[2026-05-08 20:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290435012929519616,"note":"Value kept but may cause issues"} 
[2026-05-08 20:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6130173176864761856,"note":"Value kept but may cause issues"} 
[2026-05-08 20:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 20:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778253856000,"timestamp_ms":1778253856000,"timestamp_seconds":1778253856,"priority":1,"record_length":96,"hex_timestamp":"0000019e08307d00"} 
[2026-05-08 20:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 20:56:24] 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-05-08 20:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 20:56:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 20:56: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-05-08 20:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 20:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 20:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 20:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 20:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 20:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 20:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 20:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455232983040001,"66":27321,"15":206,"19":47872,"24":17,"16":290435012929519616,"45":6130173176864761856},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-05-08 20:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 20:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 20:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455232983040001,"description":"Unknown IO ID 0"} 
[2026-05-08 20:56:24] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-05-08 20:56:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 20:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290435012929519616,"km_value":290435012929519.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 20:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6130173176864761856,"description":"Unknown IO ID 45"} 
[2026-05-08 20:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455232983040001,"power":27321,"unknown_15":206,"unknown_19":47872,"ignition":17,"odometer":null,"unknown_45":6130173176864761856}} 
[2026-05-08 20:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":65360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 20:56:24] local.INFO: GPS data processed {"connection_id":65360,"processed":1,"errors":0,"total":1} 
[2026-05-08 20:56:24] local.INFO: Acknowledgment sent {"connection_id":65360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 20:57:11] local.INFO: TCP Data received {"connection_id":65268,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:57:11] local.INFO: Processing buffer {"connection_id":65268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 20:57:11] local.INFO: IMEI packet received {"connection_id":65268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 20:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":65268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 20:57:12] local.INFO: TCP Data received {"connection_id":65268,"ip":"117.224.107.64","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65268,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:57:12] local.INFO: Processing buffer {"connection_id":65268,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 20:57:12] local.INFO: IMEI packet received {"connection_id":65268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 20:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":65268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:01:05] local.INFO: TCP Data received {"connection_id":65270,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:01:05] local.INFO: Processing buffer {"connection_id":65270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:01:05] local.INFO: IMEI packet received {"connection_id":65270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":65270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:01:42] local.INFO: TCP Data received {"connection_id":66054,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:01:42] local.INFO: Processing buffer {"connection_id":66054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:01:42] local.INFO: IMEI packet received {"connection_id":66054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":66054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:02:12] local.INFO: TCP Data received {"connection_id":65363,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:02:12] local.INFO: Processing buffer {"connection_id":65363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:02:12] local.INFO: IMEI packet received {"connection_id":65363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":65363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:02:14] local.INFO: TCP Data received {"connection_id":65363,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0836ddd0012d50b640067624880014010d32..."} 
[2026-05-08 21:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0836ddd0012d50b640067624880014010d32..."} 
[2026-05-08 21:02:14] local.INFO: Processing buffer {"connection_id":65363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0836ddd0012d50b640067624880014010d32..."} 
[2026-05-08 21:02:14] local.INFO: Packet analysis {"connection_id":65363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0836"} 
[2026-05-08 21:02:14] local.INFO: Extracted packet for processing {"connection_id":65363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0836"} 
[2026-05-08 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":760264256,"raw_latitude":108405896,"longitude_deg":76.0264256,"latitude_deg":10.8405896,"altitude":20,"angle":269,"satellites":50,"speed":60,"hex_longitude":"2d50b640","hex_latitude":"06762488","is_valid_coordinates":true} 
[2026-05-08 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:02:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233092608001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:02:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290456985982205952,"note":"Value kept but may cause issues"} 
[2026-05-08 21:02:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5826109833197639680,"note":"Value kept but may cause issues"} 
[2026-05-08 21:02:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:02:14] local.INFO: AVL Record Parsed {"raw_timestamp":1778254274000,"timestamp_ms":1778254274000,"timestamp_seconds":1778254274,"priority":1,"record_length":96,"hex_timestamp":"0000019e0836ddd0"} 
[2026-05-08 21:02:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:02:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:02:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 21:02:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:02:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:02:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:02:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:02:14] local.INFO: Teltonika packet parsed successfully {"connection_id":65363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:02:14] local.INFO: Passing IMEI to GPS processor {"connection_id":65363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:02:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":65363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:02:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:02:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:02:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:02:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233092608001,"66":27310,"129":206,"19":47872,"24":60,"16":290456985982205952,"45":5826109833197639680},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-05-08 21:02:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:02:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233092608001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-05-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 21:02:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290456985982205952,"km_value":290456985982205.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:02:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5826109833197639680,"description":"Unknown IO ID 45"} 
[2026-05-08 21:02:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233092608001,"power":27310,"unknown_129":206,"unknown_19":47872,"ignition":60,"odometer":null,"unknown_45":5826109833197639680}} 
[2026-05-08 21:02:14] local.INFO: DEBUG: GPS processor result {"connection_id":65363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:02:14] local.INFO: GPS data processed {"connection_id":65363,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:02:14] local.INFO: Acknowledgment sent {"connection_id":65363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:03:37] local.INFO: TCP Data received {"connection_id":65364,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:03:37] local.INFO: Processing buffer {"connection_id":65364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:03:37] local.INFO: IMEI packet received {"connection_id":65364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:03:37] local.INFO: IMEI acknowledgment sent {"connection_id":65364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:04:33] local.INFO: TCP Data received {"connection_id":66056,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:04:33] local.INFO: Processing buffer {"connection_id":66056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:04:33] local.INFO: IMEI packet received {"connection_id":66056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:04:33] local.INFO: IMEI acknowledgment sent {"connection_id":66056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:04:34] local.INFO: TCP Data received {"connection_id":66056,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:04:34] local.INFO: Processing buffer {"connection_id":66056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:04:34] local.INFO: IMEI packet received {"connection_id":66056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":66056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:05:21] local.INFO: TCP Data received {"connection_id":65272,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:05:21] local.INFO: Processing buffer {"connection_id":65272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:05:21] local.INFO: IMEI packet received {"connection_id":65272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":65272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:07:08] local.INFO: TCP Data received {"connection_id":65274,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:07:08] local.INFO: Processing buffer {"connection_id":65274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:07:08] local.INFO: IMEI packet received {"connection_id":65274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":65274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:07:40] local.INFO: TCP Data received {"connection_id":65367,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:07:40] local.INFO: Processing buffer {"connection_id":65367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:07:40] local.INFO: IMEI packet received {"connection_id":65367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:07:40] local.INFO: IMEI acknowledgment sent {"connection_id":65367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:10:27] local.INFO: TCP Data received {"connection_id":65370,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:10:27] local.INFO: Processing buffer {"connection_id":65370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:10:27] local.INFO: IMEI packet received {"connection_id":65370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":65370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:10:28] local.INFO: TCP Data received {"connection_id":65370,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e083d0fc0012d49c8000673c520000d00da36..."} 
[2026-05-08 21:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e083d0fc0012d49c8000673c520000d00da36..."} 
[2026-05-08 21:10:28] local.INFO: Processing buffer {"connection_id":65370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e083d0fc0012d49c8000673c520000d00da36..."} 
[2026-05-08 21:10:28] local.INFO: Packet analysis {"connection_id":65370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:10:28] local.INFO: Extracted packet for processing {"connection_id":65370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:10:28] local.INFO: GPS Element Parsed {"raw_longitude":759810048,"raw_latitude":108250400,"longitude_deg":75.9810048,"latitude_deg":10.82504,"altitude":13,"angle":218,"satellites":54,"speed":37,"hex_longitude":"2d49c800","hex_latitude":"0673c520","is_valid_coordinates":true} 
[2026-05-08 21:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233195776001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483318426697728,"note":"Value kept but may cause issues"} 
[2026-05-08 21:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5323114049777653760,"note":"Value kept but may cause issues"} 
[2026-05-08 21:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1778254680000,"timestamp_ms":1778254680000,"timestamp_seconds":1778254680,"priority":1,"record_length":96,"hex_timestamp":"0000019e083d0fc0"} 
[2026-05-08 21:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-05-08 21:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":65370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":65370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":65370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233195776001,"66":27767,"214":206,"18":6656,"24":37,"16":290483318426697728,"45":5323114049777653760},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233195776001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:10:28] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:10:28] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483318426697728,"km_value":290483318426697.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5323114049777653760,"description":"Unknown IO ID 45"} 
[2026-05-08 21:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233195776001,"power":27767,"unknown_214":206,"unknown_18":6656,"ignition":37,"odometer":null,"unknown_45":5323114049777653760}} 
[2026-05-08 21:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":65370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:10:28] local.INFO: GPS data processed {"connection_id":65370,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:10:28] local.INFO: Acknowledgment sent {"connection_id":65370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:10:58] local.INFO: TCP Data received {"connection_id":65277,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:10:58] local.INFO: Processing buffer {"connection_id":65277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:10:58] local.INFO: IMEI packet received {"connection_id":65277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:10:58] local.INFO: IMEI acknowledgment sent {"connection_id":65277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:11:02] local.INFO: TCP Data received {"connection_id":65277,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:02] local.INFO: Processing buffer {"connection_id":65277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:02] local.INFO: IMEI packet received {"connection_id":65277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":65277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:11:07] local.INFO: TCP Data received {"connection_id":65277,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e083d3ab8012d49b2400673a9c8000d00db34..."} 
[2026-05-08 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e083d3ab8012d49b2400673a9c8000d00db34..."} 
[2026-05-08 21:11:07] local.INFO: Processing buffer {"connection_id":65277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e083d3ab8012d49b2400673a9c8000d00db34..."} 
[2026-05-08 21:11:07] local.INFO: Packet analysis {"connection_id":65277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:11:07] local.INFO: Extracted packet for processing {"connection_id":65277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:11:07] local.INFO: GPS Element Parsed {"raw_longitude":759804480,"raw_latitude":108243400,"longitude_deg":75.980448,"latitude_deg":10.82434,"altitude":13,"angle":219,"satellites":52,"speed":25,"hex_longitude":"2d49b240","hex_latitude":"0673a9c8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 21:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233198080001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483752218394624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5316499387822972928,"note":"Value kept but may cause issues"} 
[2026-05-08 21:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778254691000,"timestamp_ms":1778254691000,"timestamp_seconds":1778254691,"priority":1,"record_length":96,"hex_timestamp":"0000019e083d3ab8"} 
[2026-05-08 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-05-08 21:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 21:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 21:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:11:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233198080001,"66":27658,"214":206,"18":6656,"24":25,"16":290483752218394624,"45":5316499387822972928},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233198080001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:11:07] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:11:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483752218394624,"km_value":290483752218394.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5316499387822972928,"description":"Unknown IO ID 45"} 
[2026-05-08 21:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233198080001,"power":27658,"unknown_214":206,"unknown_18":6656,"ignition":25,"odometer":null,"unknown_45":5316499387822972928}} 
[2026-05-08 21:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":65277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:11:07] local.INFO: GPS data processed {"connection_id":65277,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:11:07] local.INFO: Acknowledgment sent {"connection_id":65277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:11:52] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:52] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:52] local.INFO: IMEI packet received {"connection_id":65224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":65224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:11:57] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:57] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:11:57] local.INFO: IMEI packet received {"connection_id":65224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":65224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:12:01] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e083d4670012d49ae400673a498000d00d035..."} 
[2026-05-08 21:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e083d4670012d49ae400673a498000d00d035..."} 
[2026-05-08 21:12:01] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e083d4670012d49ae400673a498000d00d035..."} 
[2026-05-08 21:12:01] local.INFO: Packet analysis {"connection_id":65224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:12:01] local.INFO: Extracted packet for processing {"connection_id":65224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:12:01] local.INFO: GPS Element Parsed {"raw_longitude":759803456,"raw_latitude":108242072,"longitude_deg":75.9803456,"latitude_deg":10.8242072,"altitude":13,"angle":208,"satellites":53,"speed":14,"hex_longitude":"2d49ae40","hex_latitude":"0673a498","is_valid_coordinates":true} 
[2026-05-08 21:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233200896001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483829527805952,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310377307077724160,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778254694000,"timestamp_ms":1778254694000,"timestamp_seconds":1778254694,"priority":1,"record_length":96,"hex_timestamp":"0000019e083d4670"} 
[2026-05-08 21:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:12: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-05-08 21:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-05-08 21:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:12:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233200896001,"66":27767,"214":206,"18":6656,"24":14,"16":290483829527805952,"45":5310377307077724160},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233200896001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:12:01] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:12:01] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483829527805952,"km_value":290483829527805.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310377307077724160,"description":"Unknown IO ID 45"} 
[2026-05-08 21:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233200896001,"power":27767,"unknown_214":206,"unknown_18":6656,"ignition":14,"odometer":null,"unknown_45":5310377307077724160}} 
[2026-05-08 21:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":65224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:12:01] local.INFO: GPS data processed {"connection_id":65224,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:12:01] local.INFO: Acknowledgment sent {"connection_id":65224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:12:33] local.INFO: TCP Data received {"connection_id":65224,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e083d4e40012d49adc00673a298000d00b935..."} 
[2026-05-08 21:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e083d4e40012d49adc00673a298000d00b935..."} 
[2026-05-08 21:12:33] local.INFO: Processing buffer {"connection_id":65224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e083d4e40012d49adc00673a298000d00b935..."} 
[2026-05-08 21:12:33] local.INFO: Packet analysis {"connection_id":65224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:12:33] local.INFO: Extracted packet for processing {"connection_id":65224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:12:33] local.INFO: GPS Element Parsed {"raw_longitude":759803328,"raw_latitude":108241560,"longitude_deg":75.9803328,"latitude_deg":10.824156,"altitude":13,"angle":185,"satellites":53,"speed":9,"hex_longitude":"2d49adc0","hex_latitude":"0673a298","is_valid_coordinates":true} 
[2026-05-08 21:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233201664001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483855297609728,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309251407170541568,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778254696000,"timestamp_ms":1778254696000,"timestamp_seconds":1778254696,"priority":1,"record_length":96,"hex_timestamp":"0000019e083d4e40"} 
[2026-05-08 21:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:12:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-05-08 21:12:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":65224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":65224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233201664001,"66":27821,"214":206,"18":6656,"24":9,"16":290483855297609728,"45":5309251407170541568},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233201664001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:12:33] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:12:33] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483855297609728,"km_value":290483855297609.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309251407170541568,"description":"Unknown IO ID 45"} 
[2026-05-08 21:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233201664001,"power":27821,"unknown_214":206,"unknown_18":6656,"ignition":9,"odometer":null,"unknown_45":5309251407170541568}} 
[2026-05-08 21:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":65224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:12:33] local.INFO: GPS data processed {"connection_id":65224,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:12:33] local.INFO: Acknowledgment sent {"connection_id":65224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:12:52] local.INFO: TCP Data received {"connection_id":65278,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:12:52] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:12:52] local.INFO: IMEI packet received {"connection_id":65278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":65278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:12:56] local.INFO: TCP Data received {"connection_id":65278,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:12:56] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:12:56] local.INFO: IMEI packet received {"connection_id":65278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":65278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:12:58] local.INFO: TCP Data received {"connection_id":65278,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e083d9490012d49acc00673a010000d00b935..."} 
[2026-05-08 21:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e083d9490012d49acc00673a010000d00b935..."} 
[2026-05-08 21:12:58] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e083d9490012d49acc00673a010000d00b935..."} 
[2026-05-08 21:12:58] local.INFO: Packet analysis {"connection_id":65278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:12:58] local.INFO: Extracted packet for processing {"connection_id":65278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:12:58] local.INFO: GPS Element Parsed {"raw_longitude":759803072,"raw_latitude":108240912,"longitude_deg":75.9803072,"latitude_deg":10.8240912,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49acc0","hex_latitude":"0673a010","is_valid_coordinates":true} 
[2026-05-08 21:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233202176001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309110669682055168,"note":"Value kept but may cause issues"} 
[2026-05-08 21:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778254714000,"timestamp_ms":1778254714000,"timestamp_seconds":1778254714,"priority":1,"record_length":96,"hex_timestamp":"0000019e083d9490"} 
[2026-05-08 21:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:12:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233202176001,"66":27658,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5309110669682055168},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233202176001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:12:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:12:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309110669682055168,"description":"Unknown IO ID 45"} 
[2026-05-08 21:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233202176001,"power":27658,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5309110669682055168}} 
[2026-05-08 21:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":65278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:12:58] local.INFO: GPS data processed {"connection_id":65278,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:12:58] local.INFO: Acknowledgment sent {"connection_id":65278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:13:14] local.INFO: TCP Data received {"connection_id":66058,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66058,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:13:14] local.INFO: Processing buffer {"connection_id":66058,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:13:14] local.INFO: IMEI packet received {"connection_id":66058,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":66058,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:13:32] local.INFO: TCP Data received {"connection_id":65278,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:13:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:13:32] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:13:32] local.INFO: Packet analysis {"connection_id":65278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:13:32] local.INFO: Extracted packet for processing {"connection_id":65278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:13:32] local.INFO: GPS Element Parsed {"raw_longitude":759803072,"raw_latitude":108240912,"longitude_deg":75.9803072,"latitude_deg":10.8240912,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49acc0","hex_latitude":"0673a010","is_valid_coordinates":true} 
[2026-05-08 21:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:13:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233206784001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:13:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:13:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:13:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:13:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778254717000,"timestamp_ms":1778254717000,"timestamp_seconds":1778254717,"priority":1,"record_length":96,"hex_timestamp":"0000019e083da048"} 
[2026-05-08 21:13:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:13: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-05-08 21:13:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-05-08 21:13:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:13:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:13:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:13:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:13:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:13:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:13:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:13:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:13:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:13:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:13:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233206784001,"66":27821,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:13:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:13:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:13:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233206784001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:13:32] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:13:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:13:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:13:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:13:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233206784001,"power":27821,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:13:32] local.INFO: DEBUG: GPS processor result {"connection_id":65278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:13:32] local.INFO: GPS data processed {"connection_id":65278,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:13:32] local.INFO: Acknowledgment sent {"connection_id":65278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:13:45] local.INFO: TCP Data received {"connection_id":65279,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:13:45] local.INFO: Processing buffer {"connection_id":65279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:13:45] local.INFO: IMEI packet received {"connection_id":65279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:13:45] local.INFO: IMEI acknowledgment sent {"connection_id":65279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:13:57] local.INFO: TCP Data received {"connection_id":65280,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:13:57] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:13:57] local.INFO: IMEI packet received {"connection_id":65280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":65280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:14:01] local.INFO: TCP Data received {"connection_id":65280,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:01] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:01] local.INFO: IMEI packet received {"connection_id":65280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":65280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:14:06] local.INFO: TCP Data received {"connection_id":65280,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:14:06] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:14:06] local.INFO: Packet analysis {"connection_id":65280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:14:06] local.INFO: Extracted packet for processing {"connection_id":65280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:14:06] local.INFO: GPS Element Parsed {"raw_longitude":759803072,"raw_latitude":108240912,"longitude_deg":75.9803072,"latitude_deg":10.8240912,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49acc0","hex_latitude":"0673a010","is_valid_coordinates":true} 
[2026-05-08 21:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233206784001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1778254717000,"timestamp_ms":1778254717000,"timestamp_seconds":1778254717,"priority":1,"record_length":96,"hex_timestamp":"0000019e083da048"} 
[2026-05-08 21:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:14: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-05-08 21:14:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-05-08 21:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:14:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":65280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233206784001,"66":27821,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233206784001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:14:06] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:14:06] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233206784001,"power":27821,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":65280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:14:06] local.INFO: GPS data processed {"connection_id":65280,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:14:06] local.INFO: Acknowledgment sent {"connection_id":65280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:14:07] local.INFO: TCP Data received {"connection_id":65280,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:14:07] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e083da048012d49acc00673a010000d00b936..."} 
[2026-05-08 21:14:07] local.INFO: Packet analysis {"connection_id":65280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:14:07] local.INFO: Extracted packet for processing {"connection_id":65280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e083d"} 
[2026-05-08 21:14:07] local.INFO: GPS Element Parsed {"raw_longitude":759803072,"raw_latitude":108240912,"longitude_deg":75.9803072,"latitude_deg":10.8240912,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49acc0","hex_latitude":"0673a010","is_valid_coordinates":true} 
[2026-05-08 21:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:14:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233206784001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:14:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778254717000,"timestamp_ms":1778254717000,"timestamp_seconds":1778254717,"priority":1,"record_length":96,"hex_timestamp":"0000019e083da048"} 
[2026-05-08 21:14:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21: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-05-08 21:14:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-05-08 21:14:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:14:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:14:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:14:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:14:07] local.INFO: Teltonika packet parsed successfully {"connection_id":65280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:14:07] local.INFO: Passing IMEI to GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:14:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:14:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:14:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:14:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:14:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233206784001,"66":27821,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:14:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:14:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:14:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233206784001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:14:07] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:14:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:14:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:14:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:14:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233206784001,"power":27821,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:14:07] local.INFO: DEBUG: GPS processor result {"connection_id":65280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:14:07] local.INFO: GPS data processed {"connection_id":65280,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:14:07] local.INFO: Acknowledgment sent {"connection_id":65280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:14:51] local.INFO: TCP Data received {"connection_id":66060,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:51] local.INFO: Processing buffer {"connection_id":66060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:51] local.INFO: IMEI packet received {"connection_id":66060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":66060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:14:56] local.INFO: TCP Data received {"connection_id":66060,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:56] local.INFO: Processing buffer {"connection_id":66060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:14:56] local.INFO: IMEI packet received {"connection_id":66060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":66060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:14:58] local.INFO: TCP Data received {"connection_id":66060,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:14:58] local.INFO: Processing buffer {"connection_id":66060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:14:58] local.INFO: Packet analysis {"connection_id":66060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:14:58] local.INFO: Extracted packet for processing {"connection_id":66060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:14:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 21:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:14: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-05-08 21: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:14:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:14:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:14:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":66060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:14:58] local.INFO: GPS data processed {"connection_id":66060,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:14:58] local.INFO: Acknowledgment sent {"connection_id":66060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:15:30] local.INFO: TCP Data received {"connection_id":66060,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:15:30] local.INFO: Processing buffer {"connection_id":66060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:15:30] local.INFO: Packet analysis {"connection_id":66060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:15:30] local.INFO: Extracted packet for processing {"connection_id":66060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:15:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 21:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:15:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 21:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:15:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":66060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":66060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":66060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:15:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:15:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":66060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:15:30] local.INFO: GPS data processed {"connection_id":66060,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:15:30] local.INFO: Acknowledgment sent {"connection_id":66060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:15:57] local.INFO: TCP Data received {"connection_id":65371,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:15:57] local.INFO: Processing buffer {"connection_id":65371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:15:57] local.INFO: IMEI packet received {"connection_id":65371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":65371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:16:02] local.INFO: TCP Data received {"connection_id":65371,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:02] local.INFO: Processing buffer {"connection_id":65371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:02] local.INFO: IMEI packet received {"connection_id":65371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":65371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:16:03] local.INFO: TCP Data received {"connection_id":65371,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:03] local.INFO: Processing buffer {"connection_id":65371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:03] local.INFO: Packet analysis {"connection_id":65371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:16:03] local.INFO: Extracted packet for processing {"connection_id":65371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:16:03] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 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-05-08 21:16:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:16:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 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-05-08 21:16: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-05-08 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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:16:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 21:16:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:16:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:16:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:16:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:16:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:16:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:16:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:16:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:16:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:16:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:16:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:16:03] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:16:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:16:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:16:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:16:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:16:03] local.INFO: DEBUG: GPS processor result {"connection_id":65371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:16:03] local.INFO: GPS data processed {"connection_id":65371,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:16:03] local.INFO: Acknowledgment sent {"connection_id":65371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:16:39] local.INFO: TCP Data received {"connection_id":65371,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:39] local.INFO: Processing buffer {"connection_id":65371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:39] local.INFO: Packet analysis {"connection_id":65371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:16:39] local.INFO: Extracted packet for processing {"connection_id":65371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:16:39] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 21:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21: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-05-08 21: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":65371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":65371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":65371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:16:39] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:16:39] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":65371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:16:39] local.INFO: GPS data processed {"connection_id":65371,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:16:39] local.INFO: Acknowledgment sent {"connection_id":65371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:16:52] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:52] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:52] local.INFO: IMEI packet received {"connection_id":65227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":65227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:16:57] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:57] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:16:57] local.INFO: IMEI packet received {"connection_id":65227,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":65227,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:16:59] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:59] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:16:59] local.INFO: Packet analysis {"connection_id":65227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:16:59] local.INFO: Extracted packet for processing {"connection_id":65227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:16:59] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 21:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:16: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-05-08 21:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:16:59] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:16:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":65227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:16:59] local.INFO: GPS data processed {"connection_id":65227,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:16:59] local.INFO: Acknowledgment sent {"connection_id":65227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:17:32] local.INFO: TCP Data received {"connection_id":65227,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:17:32] local.INFO: Processing buffer {"connection_id":65227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:17:32] local.INFO: Packet analysis {"connection_id":65227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:17:32] local.INFO: Extracted packet for processing {"connection_id":65227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 21:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:17: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-05-08 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":65227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":65227,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:17:32] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:17:32] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":65227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:17:32] local.INFO: GPS data processed {"connection_id":65227,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:17:32] local.INFO: Acknowledgment sent {"connection_id":65227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:17:51] local.INFO: TCP Data received {"connection_id":65372,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:17:51] local.INFO: Processing buffer {"connection_id":65372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:17:51] local.INFO: IMEI packet received {"connection_id":65372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":65372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:17:57] local.INFO: TCP Data received {"connection_id":65372,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:17:57] local.INFO: Processing buffer {"connection_id":65372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:17:57] local.INFO: IMEI packet received {"connection_id":65372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":65372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:17:58] local.INFO: TCP Data received {"connection_id":65372,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:17:58] local.INFO: Processing buffer {"connection_id":65372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:17:58] local.INFO: Packet analysis {"connection_id":65372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:17:58] local.INFO: Extracted packet for processing {"connection_id":65372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:17:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 21:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:17: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-05-08 21:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:17:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:17:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":65372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:17:58] local.INFO: GPS data processed {"connection_id":65372,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:17:58] local.INFO: Acknowledgment sent {"connection_id":65372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:18:30] local.INFO: TCP Data received {"connection_id":65372,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:18:30] local.INFO: Processing buffer {"connection_id":65372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:18:30] local.INFO: Packet analysis {"connection_id":65372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:18:30] local.INFO: Extracted packet for processing {"connection_id":65372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 21:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:18:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 21:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:18:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:18:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":65372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:18:30] local.INFO: GPS data processed {"connection_id":65372,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:18:30] local.INFO: Acknowledgment sent {"connection_id":65372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:18:52] local.INFO: TCP Data received {"connection_id":65373,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:18:52] local.INFO: Processing buffer {"connection_id":65373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:18:52] local.INFO: IMEI packet received {"connection_id":65373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":65373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:18:56] local.INFO: TCP Data received {"connection_id":65373,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:18:57] local.INFO: Processing buffer {"connection_id":65373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:18:57] local.INFO: IMEI packet received {"connection_id":65373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":65373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:18:58] local.INFO: TCP Data received {"connection_id":65373,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:18:58] local.INFO: Processing buffer {"connection_id":65373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08423bf8012d49ac800673a030000d00b934..."} 
[2026-05-08 21:18:58] local.INFO: Packet analysis {"connection_id":65373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:18:58] local.INFO: Extracted packet for processing {"connection_id":65373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0842"} 
[2026-05-08 21:18:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233207552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255019000,"timestamp_ms":1778255019000,"timestamp_seconds":1778255019,"priority":1,"record_length":96,"hex_timestamp":"0000019e08423bf8"} 
[2026-05-08 21:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:18: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-05-08 21: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-05-08 21:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233207552001,"66":25473,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233207552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:18:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:18:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233207552001,"power":25473,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":65373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:18:58] local.INFO: GPS data processed {"connection_id":65373,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:18:58] local.INFO: Acknowledgment sent {"connection_id":65373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:19:02] local.INFO: TCP Data received {"connection_id":65228,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65228,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:19:02] local.INFO: Processing buffer {"connection_id":65228,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:19:02] local.INFO: IMEI packet received {"connection_id":65228,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":65228,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:19:29] local.INFO: TCP Data received {"connection_id":65373,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:19:29] local.INFO: Processing buffer {"connection_id":65373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:19:29] local.INFO: Packet analysis {"connection_id":65373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:19:29] local.INFO: Extracted packet for processing {"connection_id":65373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:19:29] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:19: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-05-08 21: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:19:29] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:19:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":65373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:19:29] local.INFO: GPS data processed {"connection_id":65373,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:19:29] local.INFO: Acknowledgment sent {"connection_id":65373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:19:42] local.INFO: TCP Data received {"connection_id":65229,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:19:42] local.INFO: Processing buffer {"connection_id":65229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:19:42] local.INFO: IMEI packet received {"connection_id":65229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":65229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:19:52] local.INFO: TCP Data received {"connection_id":65230,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:19:52] local.INFO: Processing buffer {"connection_id":65230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:19:52] local.INFO: IMEI packet received {"connection_id":65230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":65230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:19:56] local.INFO: TCP Data received {"connection_id":65230,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:19:56] local.INFO: Processing buffer {"connection_id":65230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:19:56] local.INFO: IMEI packet received {"connection_id":65230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":65230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:19:57] local.INFO: TCP Data received {"connection_id":65230,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:19:57] local.INFO: Processing buffer {"connection_id":65230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:19:57] local.INFO: Packet analysis {"connection_id":65230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:19:57] local.INFO: Extracted packet for processing {"connection_id":65230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:19:57] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:19: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-05-08 21:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:19:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:19:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":65230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:19:58] local.INFO: GPS data processed {"connection_id":65230,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:19:58] local.INFO: Acknowledgment sent {"connection_id":65230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:20:29] local.INFO: TCP Data received {"connection_id":65230,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:20:29] local.INFO: Processing buffer {"connection_id":65230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:20:29] local.INFO: Packet analysis {"connection_id":65230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:20:29] local.INFO: Extracted packet for processing {"connection_id":65230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:20:29] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:20: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-05-08 21:20:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21:20:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:20:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:20:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:20:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:20:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:20:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:20:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:20:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:20:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:20:30] local.INFO: DEBUG: GPS processor result {"connection_id":65230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:20:30] local.INFO: GPS data processed {"connection_id":65230,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:20:30] local.INFO: Acknowledgment sent {"connection_id":65230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:20:52] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:20:52] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:20:52] local.INFO: IMEI packet received {"connection_id":65231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":65231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:20:56] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:20:56] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:20:56] local.INFO: IMEI packet received {"connection_id":65231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":65231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:20:58] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:20:58] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:20:58] local.INFO: Packet analysis {"connection_id":65231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:20:58] local.INFO: Extracted packet for processing {"connection_id":65231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:20:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:20: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-05-08 21:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:20:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:20:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":65231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:20:58] local.INFO: GPS data processed {"connection_id":65231,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:20:58] local.INFO: Acknowledgment sent {"connection_id":65231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:21:30] local.INFO: TCP Data received {"connection_id":65231,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:21:30] local.INFO: Processing buffer {"connection_id":65231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:21:30] local.INFO: Packet analysis {"connection_id":65231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:21:30] local.INFO: Extracted packet for processing {"connection_id":65231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:21:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:21:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:21:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:21:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:21:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:21:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:21:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 21:21:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21:21:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:21:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:21:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:21:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:21:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:21:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:21:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:21:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:21:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:21:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:21:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:21:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:21:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:21:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:21:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:21:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:21:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:21:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:21:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:21:30] local.INFO: DEBUG: GPS processor result {"connection_id":65231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:21:30] local.INFO: GPS data processed {"connection_id":65231,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:21:30] local.INFO: Acknowledgment sent {"connection_id":65231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:21:56] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:21:56] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:21:56] local.INFO: IMEI packet received {"connection_id":65232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":65232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:22:01] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:01] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:01] local.INFO: IMEI packet received {"connection_id":65232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":65232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:22:03] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:03] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:03] local.INFO: Packet analysis {"connection_id":65232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:22:03] local.INFO: Extracted packet for processing {"connection_id":65232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:22:03] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:22: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-05-08 21: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-05-08 21: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-05-08 21: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-05-08 21:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":65232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:22:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:22:03] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:22:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":65232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:22:03] local.INFO: GPS data processed {"connection_id":65232,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:22:03] local.INFO: Acknowledgment sent {"connection_id":65232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:22:35] local.INFO: TCP Data received {"connection_id":65232,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:35] local.INFO: Processing buffer {"connection_id":65232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:35] local.INFO: Packet analysis {"connection_id":65232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:22:35] local.INFO: Extracted packet for processing {"connection_id":65232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:22:35] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:22: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-05-08 21:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21: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-05-08 21:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:22:35] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:22:35] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":65232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:22:35] local.INFO: GPS data processed {"connection_id":65232,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:22:35] local.INFO: Acknowledgment sent {"connection_id":65232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:22:51] local.INFO: TCP Data received {"connection_id":65234,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:51] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:51] local.INFO: IMEI packet received {"connection_id":65234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":65234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:22:57] local.INFO: TCP Data received {"connection_id":65234,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:57] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:22:57] local.INFO: IMEI packet received {"connection_id":65234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":65234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:22:58] local.INFO: TCP Data received {"connection_id":65234,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:58] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:22:58] local.INFO: Packet analysis {"connection_id":65234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:22:58] local.INFO: Extracted packet for processing {"connection_id":65234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:22:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:22: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-05-08 21:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:22:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:22:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":65234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:22:58] local.INFO: GPS data processed {"connection_id":65234,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:22:58] local.INFO: Acknowledgment sent {"connection_id":65234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:23:30] local.INFO: TCP Data received {"connection_id":65234,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:23:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:23:30] local.INFO: Processing buffer {"connection_id":65234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:23:30] local.INFO: Packet analysis {"connection_id":65234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:23:30] local.INFO: Extracted packet for processing {"connection_id":65234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:23:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:23:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:23:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:23:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:23:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:23:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:23:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 21:23:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21:23:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:23:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:23:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:23:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:23:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:23:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:23:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:23:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:23:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:23:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:23:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:23:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:23:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:23:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:23:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:23:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:23:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:23:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:23:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:23:30] local.INFO: DEBUG: GPS processor result {"connection_id":65234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:23:30] local.INFO: GPS data processed {"connection_id":65234,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:23:30] local.INFO: Acknowledgment sent {"connection_id":65234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:23:52] local.INFO: TCP Data received {"connection_id":66062,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:23:52] local.INFO: Processing buffer {"connection_id":66062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:23:52] local.INFO: IMEI packet received {"connection_id":66062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":66062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:23:58] local.INFO: TCP Data received {"connection_id":66062,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:23:58] local.INFO: Processing buffer {"connection_id":66062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:23:58] local.INFO: IMEI packet received {"connection_id":66062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":66062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:23:59] local.INFO: TCP Data received {"connection_id":66062,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:23:59] local.INFO: Processing buffer {"connection_id":66062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0846d3c0012d49ac800673a030000d00b935..."} 
[2026-05-08 21:23:59] local.INFO: Packet analysis {"connection_id":66062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:23:59] local.INFO: Extracted packet for processing {"connection_id":66062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0846"} 
[2026-05-08 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233284864001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778255320000,"timestamp_ms":1778255320000,"timestamp_seconds":1778255320,"priority":1,"record_length":96,"hex_timestamp":"0000019e0846d3c0"} 
[2026-05-08 21:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:23: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-05-08 21:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-05-08 21:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":66062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":66062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":66062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233284864001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233284864001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:23:59] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:23:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233284864001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":66062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:23:59] local.INFO: GPS data processed {"connection_id":66062,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:23:59] local.INFO: Acknowledgment sent {"connection_id":66062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:24:31] local.INFO: TCP Data received {"connection_id":66062,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:24:31] local.INFO: Processing buffer {"connection_id":66062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:24:31] local.INFO: Packet analysis {"connection_id":66062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:24:31] local.INFO: Extracted packet for processing {"connection_id":66062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:24:31] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:24:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:24:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:24:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:24:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:24:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:24:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:24: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-05-08 21:24:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:24:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:24:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:24:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:24:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:24:31] local.INFO: Teltonika packet parsed successfully {"connection_id":66062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:24:31] local.INFO: Passing IMEI to GPS processor {"connection_id":66062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:24:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":66062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:24:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:24:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:24:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:24:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:24:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:24:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:24:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:24:31] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:24:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:24:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:24:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:24:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:24:31] local.INFO: DEBUG: GPS processor result {"connection_id":66062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:24:31] local.INFO: GPS data processed {"connection_id":66062,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:24:31] local.INFO: Acknowledgment sent {"connection_id":66062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:24:56] local.INFO: TCP Data received {"connection_id":66063,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:24:56] local.INFO: Processing buffer {"connection_id":66063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:24:56] local.INFO: IMEI packet received {"connection_id":66063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":66063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:25:01] local.INFO: TCP Data received {"connection_id":66063,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:01] local.INFO: Processing buffer {"connection_id":66063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:01] local.INFO: IMEI packet received {"connection_id":66063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":66063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:25:03] local.INFO: TCP Data received {"connection_id":66063,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:03] local.INFO: Processing buffer {"connection_id":66063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:03] local.INFO: Packet analysis {"connection_id":66063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:25:03] local.INFO: Extracted packet for processing {"connection_id":66063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:25:03] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:25: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-05-08 21: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":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:25: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-05-08 21: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-05-08 21:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":66063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":66063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":66063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:25:03] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:25:03] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":66063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:25:03] local.INFO: GPS data processed {"connection_id":66063,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:25:03] local.INFO: Acknowledgment sent {"connection_id":66063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:25:07] local.INFO: TCP Data received {"connection_id":66063,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:07] local.INFO: Processing buffer {"connection_id":66063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:07] local.INFO: Packet analysis {"connection_id":66063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:25:07] local.INFO: Extracted packet for processing {"connection_id":66063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:25:07] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21: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-05-08 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:25: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-05-08 21: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-05-08 21:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":66063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":66063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":66063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:25:07] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:25:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:25:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":66063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:25:07] local.INFO: GPS data processed {"connection_id":66063,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:25:07] local.INFO: Acknowledgment sent {"connection_id":66063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:25:15] local.INFO: TCP Data received {"connection_id":65375,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:25:15] local.INFO: Processing buffer {"connection_id":65375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:25:15] local.INFO: IMEI packet received {"connection_id":65375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":65375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:25:40] local.INFO: TCP Data received {"connection_id":65235,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:25:40] local.INFO: Processing buffer {"connection_id":65235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:25:40] local.INFO: IMEI packet received {"connection_id":65235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":65235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:25:51] local.INFO: TCP Data received {"connection_id":65376,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:51] local.INFO: Processing buffer {"connection_id":65376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:51] local.INFO: IMEI packet received {"connection_id":65376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":65376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:25:57] local.INFO: TCP Data received {"connection_id":65376,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:57] local.INFO: Processing buffer {"connection_id":65376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:25:57] local.INFO: IMEI packet received {"connection_id":65376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":65376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:25:58] local.INFO: TCP Data received {"connection_id":65376,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:58] local.INFO: Processing buffer {"connection_id":65376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:25:58] local.INFO: Packet analysis {"connection_id":65376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:25:58] local.INFO: Extracted packet for processing {"connection_id":65376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:25:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:25: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-05-08 21:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:25: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-05-08 21:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:25:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:25:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":65376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:25:58] local.INFO: GPS data processed {"connection_id":65376,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:25:58] local.INFO: Acknowledgment sent {"connection_id":65376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:26:29] local.INFO: TCP Data received {"connection_id":65376,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:26:29] local.INFO: Processing buffer {"connection_id":65376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:26:29] local.INFO: Packet analysis {"connection_id":65376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:26:29] local.INFO: Extracted packet for processing {"connection_id":65376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:26:29] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:26: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-05-08 21:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:26: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-05-08 21:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:26:29] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:26:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":65376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:26:29] local.INFO: GPS data processed {"connection_id":65376,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:26:29] local.INFO: Acknowledgment sent {"connection_id":65376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:26:52] local.INFO: TCP Data received {"connection_id":65284,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:26:52] local.INFO: Processing buffer {"connection_id":65284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:26:52] local.INFO: IMEI packet received {"connection_id":65284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":65284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:26:56] local.INFO: TCP Data received {"connection_id":65284,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:26:56] local.INFO: Processing buffer {"connection_id":65284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:26:56] local.INFO: IMEI packet received {"connection_id":65284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":65284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:26:58] local.INFO: TCP Data received {"connection_id":65284,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:26:58] local.INFO: Processing buffer {"connection_id":65284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:26:58] local.INFO: Packet analysis {"connection_id":65284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:26:58] local.INFO: Extracted packet for processing {"connection_id":65284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:26:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:26: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-05-08 21:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:26: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-05-08 21:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:26:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:26:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":65284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:26:58] local.INFO: GPS data processed {"connection_id":65284,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:26:58] local.INFO: Acknowledgment sent {"connection_id":65284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:27:31] local.INFO: TCP Data received {"connection_id":65284,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:27:31] local.INFO: Processing buffer {"connection_id":65284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:27:31] local.INFO: Packet analysis {"connection_id":65284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:27:31] local.INFO: Extracted packet for processing {"connection_id":65284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:27:31] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:27:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:27:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:27:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:27:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:27:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:27:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:27: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-05-08 21:27:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:27:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:27:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":65284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":65284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":65284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:27:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:27:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:27:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:27:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:27:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:27:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:27:31] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:27:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:27:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:27:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:27:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":65284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:27:31] local.INFO: GPS data processed {"connection_id":65284,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:27:31] local.INFO: Acknowledgment sent {"connection_id":65284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:27:51] local.INFO: TCP Data received {"connection_id":66064,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:27:51] local.INFO: Processing buffer {"connection_id":66064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:27:51] local.INFO: IMEI packet received {"connection_id":66064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":66064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:27:57] local.INFO: TCP Data received {"connection_id":66064,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:27:57] local.INFO: Processing buffer {"connection_id":66064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:27:57] local.INFO: IMEI packet received {"connection_id":66064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":66064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:27:58] local.INFO: TCP Data received {"connection_id":66064,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:27:58] local.INFO: Processing buffer {"connection_id":66064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:27:58] local.INFO: Packet analysis {"connection_id":66064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:27:58] local.INFO: Extracted packet for processing {"connection_id":66064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:27:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:27: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-05-08 21:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:27: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-05-08 21:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:27:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:27:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":66064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:27:58] local.INFO: GPS data processed {"connection_id":66064,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:27:58] local.INFO: Acknowledgment sent {"connection_id":66064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:28:31] local.INFO: TCP Data received {"connection_id":66064,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:28:31] local.INFO: Processing buffer {"connection_id":66064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:28:31] local.INFO: Packet analysis {"connection_id":66064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:28:31] local.INFO: Extracted packet for processing {"connection_id":66064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:28:31] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:28: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-05-08 21:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":66064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":66064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":66064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:28:31] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:28:31] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":66064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:28:31] local.INFO: GPS data processed {"connection_id":66064,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:28:31] local.INFO: Acknowledgment sent {"connection_id":66064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:28:57] local.INFO: TCP Data received {"connection_id":66066,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:28:57] local.INFO: Processing buffer {"connection_id":66066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:28:57] local.INFO: IMEI packet received {"connection_id":66066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":66066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:29:04] local.INFO: TCP Data received {"connection_id":66066,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:04] local.INFO: Processing buffer {"connection_id":66066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:04] local.INFO: IMEI packet received {"connection_id":66066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":66066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:29:05] local.INFO: TCP Data received {"connection_id":66066,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:29:05] local.INFO: Processing buffer {"connection_id":66066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:29:05] local.INFO: Packet analysis {"connection_id":66066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:29:05] local.INFO: Extracted packet for processing {"connection_id":66066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:29:05] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:29:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:29:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:29:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:29: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-05-08 21:29:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:29: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-05-08 21:29:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:29:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:29:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:29:05] local.INFO: Teltonika packet parsed successfully {"connection_id":66066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:29:05] local.INFO: Passing IMEI to GPS processor {"connection_id":66066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:29:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":66066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:29:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:29:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:29:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:29:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:29:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:29:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:29:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:29:05] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:29:05] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:29:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:29:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:29:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":66066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:29:05] local.INFO: GPS data processed {"connection_id":66066,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:29:05] local.INFO: Acknowledgment sent {"connection_id":66066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:29:07] local.INFO: TCP Data received {"connection_id":66066,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:29:07] local.INFO: Processing buffer {"connection_id":66066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e084b6b88012d49ac800673a030000d00b936..."} 
[2026-05-08 21:29:07] local.INFO: Packet analysis {"connection_id":66066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:29:07] local.INFO: Extracted packet for processing {"connection_id":66066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e084b"} 
[2026-05-08 21:29:07] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":54,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233361920001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1778255621000,"timestamp_ms":1778255621000,"timestamp_seconds":1778255621,"priority":1,"record_length":96,"hex_timestamp":"0000019e084b6b88"} 
[2026-05-08 21:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:29: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-05-08 21:29:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:29:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":66066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":66066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":66066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:29:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233361920001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233361920001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:29:07] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:29:07] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233361920001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":66066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:29:07] local.INFO: GPS data processed {"connection_id":66066,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:29:07] local.INFO: Acknowledgment sent {"connection_id":66066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:29:51] local.INFO: TCP Data received {"connection_id":65378,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:51] local.INFO: Processing buffer {"connection_id":65378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:51] local.INFO: IMEI packet received {"connection_id":65378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":65378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:29:56] local.INFO: TCP Data received {"connection_id":65378,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:56] local.INFO: Processing buffer {"connection_id":65378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:29:56] local.INFO: IMEI packet received {"connection_id":65378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":65378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:29:58] local.INFO: TCP Data received {"connection_id":65378,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08500350012d49ac800673a030000d00b934..."} 
[2026-05-08 21:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08500350012d49ac800673a030000d00b934..."} 
[2026-05-08 21:29:58] local.INFO: Processing buffer {"connection_id":65378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08500350012d49ac800673a030000d00b934..."} 
[2026-05-08 21:29:58] local.INFO: Packet analysis {"connection_id":65378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0850"} 
[2026-05-08 21:29:58] local.INFO: Extracted packet for processing {"connection_id":65378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0850"} 
[2026-05-08 21:29:58] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233438976001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778255922000,"timestamp_ms":1778255922000,"timestamp_seconds":1778255922,"priority":1,"record_length":96,"hex_timestamp":"0000019e08500350"} 
[2026-05-08 21:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:29: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-05-08 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:29: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-05-08 21: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-05-08 21:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233438976001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233438976001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:29:58] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:29:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233438976001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":65378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:29:58] local.INFO: GPS data processed {"connection_id":65378,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:29:58] local.INFO: Acknowledgment sent {"connection_id":65378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:30:30] local.INFO: TCP Data received {"connection_id":65378,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08500350012d49ac800673a030000d00b934..."} 
[2026-05-08 21:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08500350012d49ac800673a030000d00b934..."} 
[2026-05-08 21:30:30] local.INFO: Processing buffer {"connection_id":65378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08500350012d49ac800673a030000d00b934..."} 
[2026-05-08 21:30:30] local.INFO: Packet analysis {"connection_id":65378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0850"} 
[2026-05-08 21:30:30] local.INFO: Extracted packet for processing {"connection_id":65378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0850"} 
[2026-05-08 21:30:30] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233438976001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778255922000,"timestamp_ms":1778255922000,"timestamp_seconds":1778255922,"priority":1,"record_length":96,"hex_timestamp":"0000019e08500350"} 
[2026-05-08 21:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:30:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 21:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:30:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:30:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233438976001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233438976001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:30:30] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:30:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233438976001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":65378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:30:30] local.INFO: GPS data processed {"connection_id":65378,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:30:30] local.INFO: Acknowledgment sent {"connection_id":65378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:30:52] local.INFO: TCP Data received {"connection_id":65237,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:30:52] local.INFO: Processing buffer {"connection_id":65237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:30:52] local.INFO: IMEI packet received {"connection_id":65237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":65237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:30:55] local.INFO: TCP Data received {"connection_id":65237,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:30:55] local.INFO: Processing buffer {"connection_id":65237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:30:55] local.INFO: IMEI packet received {"connection_id":65237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":65237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:30:57] local.INFO: TCP Data received {"connection_id":65237,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08517280012d49ac800673a030000d00b934..."} 
[2026-05-08 21:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08517280012d49ac800673a030000d00b934..."} 
[2026-05-08 21:30:57] local.INFO: Processing buffer {"connection_id":65237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08517280012d49ac800673a030000d00b934..."} 
[2026-05-08 21:30:57] local.INFO: Packet analysis {"connection_id":65237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0851"} 
[2026-05-08 21:30:57] local.INFO: Extracted packet for processing {"connection_id":65237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0851"} 
[2026-05-08 21:30:57] local.INFO: GPS Element Parsed {"raw_longitude":759803008,"raw_latitude":108240944,"longitude_deg":75.9803008,"latitude_deg":10.8240944,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49ac80","hex_latitude":"0673a030","is_valid_coordinates":true} 
[2026-05-08 21:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233516032001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778256016000,"timestamp_ms":1778256016000,"timestamp_seconds":1778256016,"priority":1,"record_length":96,"hex_timestamp":"0000019e08517280"} 
[2026-05-08 21:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-05-08 21:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233516032001,"66":25321,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233516032001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:30:57] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:30:57] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233516032001,"power":25321,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":65237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:30:57] local.INFO: GPS data processed {"connection_id":65237,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:30:57] local.INFO: Acknowledgment sent {"connection_id":65237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:31:05] local.INFO: TCP Data received {"connection_id":66067,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:31:05] local.INFO: Processing buffer {"connection_id":66067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:31:05] local.INFO: IMEI packet received {"connection_id":66067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":66067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:31:29] local.INFO: TCP Data received {"connection_id":65237,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0851cc58012d49acc00673a010000d00b935..."} 
[2026-05-08 21:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0851cc58012d49acc00673a010000d00b935..."} 
[2026-05-08 21:31:29] local.INFO: Processing buffer {"connection_id":65237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0851cc58012d49acc00673a010000d00b935..."} 
[2026-05-08 21:31:29] local.INFO: Packet analysis {"connection_id":65237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0851"} 
[2026-05-08 21:31:29] local.INFO: Extracted packet for processing {"connection_id":65237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0851"} 
[2026-05-08 21:31:29] local.INFO: GPS Element Parsed {"raw_longitude":759803072,"raw_latitude":108240912,"longitude_deg":75.9803072,"latitude_deg":10.8240912,"altitude":13,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d49acc0","hex_latitude":"0673a010","is_valid_coordinates":true} 
[2026-05-08 21:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233540096001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308758825961009152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1778256039000,"timestamp_ms":1778256039000,"timestamp_seconds":1778256039,"priority":1,"record_length":96,"hex_timestamp":"0000019e0851cc58"} 
[2026-05-08 21:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:31:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-05-08 21:31: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-05-08 21:31:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":65237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":65237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":65237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:31:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233540096001,"66":27115,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308758825961009152},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233540096001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:31:29] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:31:29] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308758825961009152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233540096001,"power":27115,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308758825961009152}} 
[2026-05-08 21:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":65237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:31:29] local.INFO: GPS data processed {"connection_id":65237,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:31:29] local.INFO: Acknowledgment sent {"connection_id":65237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:31:39] local.INFO: TCP Data received {"connection_id":65238,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:31:39] local.INFO: Processing buffer {"connection_id":65238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:31:39] local.INFO: IMEI packet received {"connection_id":65238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:31:39] local.INFO: IMEI acknowledgment sent {"connection_id":65238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:31:51] local.INFO: TCP Data received {"connection_id":66068,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:31:51] local.INFO: Processing buffer {"connection_id":66068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:31:51] local.INFO: IMEI packet received {"connection_id":66068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":66068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:31:58] local.INFO: TCP Data received {"connection_id":66068,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:31:58] local.INFO: Processing buffer {"connection_id":66068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:31:58] local.INFO: IMEI packet received {"connection_id":66068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:31:58] local.INFO: IMEI acknowledgment sent {"connection_id":66068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:31:59] local.INFO: TCP Data received {"connection_id":66068,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08521e60012d49acc00673a010000d00b934..."} 
[2026-05-08 21:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08521e60012d49acc00673a010000d00b934..."} 
[2026-05-08 21:31:59] local.INFO: Processing buffer {"connection_id":66068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08521e60012d49acc00673a010000d00b934..."} 
[2026-05-08 21:31:59] local.INFO: Packet analysis {"connection_id":66068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0852"} 
[2026-05-08 21:31:59] local.INFO: Extracted packet for processing {"connection_id":66068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0852"} 
[2026-05-08 21:31:59] local.INFO: GPS Element Parsed {"raw_longitude":759803072,"raw_latitude":108240912,"longitude_deg":75.9803072,"latitude_deg":10.8240912,"altitude":13,"angle":185,"satellites":52,"speed":0,"hex_longitude":"2d49acc0","hex_latitude":"0673a010","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233545984001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483893952315392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778256060000,"timestamp_ms":1778256060000,"timestamp_seconds":1778256060,"priority":1,"record_length":96,"hex_timestamp":"0000019e08521e60"} 
[2026-05-08 21:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:31:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 21:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":66068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":66068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":66068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233545984001,"66":27376,"214":206,"18":6656,"24":0,"16":290483893952315392,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233545984001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:31:59] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:31:59] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483893952315392,"km_value":290483893952315.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233545984001,"power":27376,"unknown_214":206,"unknown_18":6656,"ignition":0,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":66068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:31:59] local.INFO: GPS data processed {"connection_id":66068,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:31:59] local.INFO: Acknowledgment sent {"connection_id":66068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:32:44] local.INFO: TCP Data received {"connection_id":66068,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08526c80012d49ac400673a060000e010935..."} 
[2026-05-08 21:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08526c80012d49ac400673a060000e010935..."} 
[2026-05-08 21:32:44] local.INFO: Processing buffer {"connection_id":66068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08526c80012d49ac400673a060000e010935..."} 
[2026-05-08 21:32:44] local.INFO: Packet analysis {"connection_id":66068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0852"} 
[2026-05-08 21:32:44] local.INFO: Extracted packet for processing {"connection_id":66068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0852"} 
[2026-05-08 21:32:44] local.INFO: GPS Element Parsed {"raw_longitude":759802944,"raw_latitude":108240992,"longitude_deg":75.9802944,"latitude_deg":10.8240992,"altitude":14,"angle":265,"satellites":53,"speed":3,"hex_longitude":"2d49ac40","hex_latitude":"0673a060","is_valid_coordinates":true} 
[2026-05-08 21:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233551360001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290483902542249984,"note":"Value kept but may cause issues"} 
[2026-05-08 21:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5308829194705178624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1778256080000,"timestamp_ms":1778256080000,"timestamp_seconds":1778256080,"priority":1,"record_length":96,"hex_timestamp":"0000019e08526c80"} 
[2026-05-08 21:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:32:44] 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-05-08 21:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 21:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":66068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":66068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":66068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233551360001,"66":27234,"214":206,"18":6656,"24":3,"16":290483902542249984,"45":5308829194705178624},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,18,24,16,45]} 
[2026-05-08 21:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233551360001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:32:44] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-05-08 21:32:44] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290483902542249984,"km_value":290483902542250.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5308829194705178624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233551360001,"power":27234,"unknown_214":206,"unknown_18":6656,"ignition":3,"odometer":null,"unknown_45":5308829194705178624}} 
[2026-05-08 21:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":66068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:32:44] local.INFO: GPS data processed {"connection_id":66068,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:32:44] local.INFO: Acknowledgment sent {"connection_id":66068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:33:01] local.INFO: TCP Data received {"connection_id":65240,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:33:01] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:33:01] local.INFO: IMEI packet received {"connection_id":65240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":65240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:33:07] local.INFO: TCP Data received {"connection_id":65240,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:33:07] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:33:07] local.INFO: IMEI packet received {"connection_id":65240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":65240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:33:08] local.INFO: TCP Data received {"connection_id":65240,"ip":"117.224.107.64","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65240,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 21:33:08] local.INFO: Processing buffer {"connection_id":65240,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 21:33:08] local.INFO: IMEI packet received {"connection_id":65240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":65240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:36:54] local.INFO: TCP Data received {"connection_id":65242,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65242,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:36:54] local.INFO: Processing buffer {"connection_id":65242,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:36:54] local.INFO: IMEI packet received {"connection_id":65242,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":65242,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:38:12] local.INFO: TCP Data received {"connection_id":66071,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:12] local.INFO: Processing buffer {"connection_id":66071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:12] local.INFO: IMEI packet received {"connection_id":66071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":66071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:38:15] local.INFO: TCP Data received {"connection_id":66071,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0857c3b0012d4604c0066f82d8000b00df32..."} 
[2026-05-08 21:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0857c3b0012d4604c0066f82d8000b00df32..."} 
[2026-05-08 21:38:15] local.INFO: Processing buffer {"connection_id":66071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0857c3b0012d4604c0066f82d8000b00df32..."} 
[2026-05-08 21:38:15] local.INFO: Packet analysis {"connection_id":66071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0857"} 
[2026-05-08 21:38:15] local.INFO: Extracted packet for processing {"connection_id":66071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0857"} 
[2026-05-08 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":759563456,"raw_latitude":107971288,"longitude_deg":75.9563456,"latitude_deg":10.7971288,"altitude":11,"angle":223,"satellites":50,"speed":41,"hex_longitude":"2d4604c0","hex_latitude":"066f82d8","is_valid_coordinates":true} 
[2026-05-08 21:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:38:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233643776001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:38:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290501288569864192,"note":"Value kept but may cause issues"} 
[2026-05-08 21:38:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5052757334575198208,"note":"Value kept but may cause issues"} 
[2026-05-08 21:38:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:38:15] local.INFO: AVL Record Parsed {"raw_timestamp":1778256430000,"timestamp_ms":1778256430000,"timestamp_seconds":1778256430,"priority":1,"record_length":96,"hex_timestamp":"0000019e0857c3b0"} 
[2026-05-08 21:38:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:38:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:38:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 21:38:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:38:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:38:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:38:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:38:15] local.INFO: Teltonika packet parsed successfully {"connection_id":66071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:38:15] local.INFO: Passing IMEI to GPS processor {"connection_id":66071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:38:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":66071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:38:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:38:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:38:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:38:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233643776001,"66":27071,"15":206,"18":6656,"24":41,"16":290501288569864192,"45":5052757334575198208},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,18,24,16,45]} 
[2026-05-08 21:38:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:38:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:38:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233643776001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:38:15] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-05-08 21:38:15] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:38:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290501288569864192,"km_value":290501288569864.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:38:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5052757334575198208,"description":"Unknown IO ID 45"} 
[2026-05-08 21:38:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233643776001,"power":27071,"unknown_15":206,"unknown_18":6656,"ignition":41,"odometer":null,"unknown_45":5052757334575198208}} 
[2026-05-08 21:38:15] local.INFO: DEBUG: GPS processor result {"connection_id":66071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:38:15] local.INFO: GPS data processed {"connection_id":66071,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:38:15] local.INFO: Acknowledgment sent {"connection_id":66071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:38:52] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:52] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:52] local.INFO: IMEI packet received {"connection_id":65244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":65244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:38:53] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:53] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:53] local.INFO: IMEI packet received {"connection_id":65244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":65244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:38:56] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:56] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:38:56] local.INFO: IMEI packet received {"connection_id":65244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":65244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:38:58] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e0857e6d8012d45ebc0066f6650000d00d931..."} 
[2026-05-08 21:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0857e6d8012d45ebc0066f6650000d00d931..."} 
[2026-05-08 21:38:58] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0857e6d8012d45ebc0066f6650000d00d931..."} 
[2026-05-08 21:38:58] local.INFO: Packet analysis {"connection_id":65244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0857"} 
[2026-05-08 21:38:58] local.INFO: Extracted packet for processing {"connection_id":65244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0857"} 
[2026-05-08 21:38:58] local.INFO: GPS Element Parsed {"raw_longitude":759557056,"raw_latitude":107963984,"longitude_deg":75.9557056,"latitude_deg":10.7963984,"altitude":13,"angle":217,"satellites":49,"speed":43,"hex_longitude":"2d45ebc0","hex_latitude":"066f6650","is_valid_coordinates":true} 
[2026-05-08 21:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233646080001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290501756721299456,"note":"Value kept but may cause issues"} 
[2026-05-08 21:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5045368616434980864,"note":"Value kept but may cause issues"} 
[2026-05-08 21:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778256439000,"timestamp_ms":1778256439000,"timestamp_seconds":1778256439,"priority":1,"record_length":96,"hex_timestamp":"0000019e0857e6d8"} 
[2026-05-08 21:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-05-08 21:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2442,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233646080001,"66":27365,"15":206,"18":6656,"24":43,"16":290501756721299456,"45":5045368616434980864},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,18,24,16,45]} 
[2026-05-08 21:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233646080001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:38:58] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-05-08 21:38:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290501756721299456,"km_value":290501756721299.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5045368616434980864,"description":"Unknown IO ID 45"} 
[2026-05-08 21:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233646080001,"power":27365,"unknown_15":206,"unknown_18":6656,"ignition":43,"odometer":null,"unknown_45":5045368616434980864}} 
[2026-05-08 21:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":65244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:38:58] local.INFO: GPS data processed {"connection_id":65244,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:38:58] local.INFO: Acknowledgment sent {"connection_id":65244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:39:30] local.INFO: TCP Data received {"connection_id":65244,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08580618012d45d640066f4a40000e00d92e..."} 
[2026-05-08 21:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08580618012d45d640066f4a40000e00d92e..."} 
[2026-05-08 21:39:30] local.INFO: Processing buffer {"connection_id":65244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08580618012d45d640066f4a40000e00d92e..."} 
[2026-05-08 21:39:30] local.INFO: Packet analysis {"connection_id":65244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0858"} 
[2026-05-08 21:39:30] local.INFO: Extracted packet for processing {"connection_id":65244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0858"} 
[2026-05-08 21:39:30] local.INFO: GPS Element Parsed {"raw_longitude":759551552,"raw_latitude":107956800,"longitude_deg":75.9551552,"latitude_deg":10.79568,"altitude":14,"angle":217,"satellites":46,"speed":45,"hex_longitude":"2d45d640","hex_latitude":"066f4a40","is_valid_coordinates":true} 
[2026-05-08 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:39:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233648384001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:39:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290502194807963648,"note":"Value kept but may cause issues"} 
[2026-05-08 21:39:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5038331742015344640,"note":"Value kept but may cause issues"} 
[2026-05-08 21:39:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,15,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:39:30] local.INFO: AVL Record Parsed {"raw_timestamp":1778256447000,"timestamp_ms":1778256447000,"timestamp_seconds":1778256447,"priority":1,"record_length":96,"hex_timestamp":"0000019e08580618"} 
[2026-05-08 21:39:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:39: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-05-08 21:39:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 21:39:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:39:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:39:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:39:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:39:30] local.INFO: Teltonika packet parsed successfully {"connection_id":65244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:39:30] local.INFO: Passing IMEI to GPS processor {"connection_id":65244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:39:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":65244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:39:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:39:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:39:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:39:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233648384001,"66":27332,"15":206,"18":6656,"24":45,"16":290502194807963648,"45":5038331742015344640},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,18,24,16,45]} 
[2026-05-08 21:39:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:39:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:39:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233648384001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:39:30] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-05-08 21:39:30] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:39:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290502194807963648,"km_value":290502194807963.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:39:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5038331742015344640,"description":"Unknown IO ID 45"} 
[2026-05-08 21:39:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233648384001,"power":27332,"unknown_15":206,"unknown_18":6656,"ignition":45,"odometer":null,"unknown_45":5038331742015344640}} 
[2026-05-08 21:39:30] local.INFO: DEBUG: GPS processor result {"connection_id":65244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:39:30] local.INFO: GPS data processed {"connection_id":65244,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:39:30] local.INFO: Acknowledgment sent {"connection_id":65244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:39:52] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:39:52] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:39:52] local.INFO: IMEI packet received {"connection_id":65246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":65246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:39:56] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:39:56] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:39:56] local.INFO: IMEI packet received {"connection_id":65246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":65246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:39:58] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e085959f0012d44d780066dfd60001000de33..."} 
[2026-05-08 21:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e085959f0012d44d780066dfd60001000de33..."} 
[2026-05-08 21:39:58] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e085959f0012d44d780066dfd60001000de33..."} 
[2026-05-08 21:39:58] local.INFO: Packet analysis {"connection_id":65246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0859"} 
[2026-05-08 21:39:58] local.INFO: Extracted packet for processing {"connection_id":65246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0859"} 
[2026-05-08 21:39:58] local.INFO: GPS Element Parsed {"raw_longitude":759486336,"raw_latitude":107871584,"longitude_deg":75.9486336,"latitude_deg":10.7871584,"altitude":16,"angle":222,"satellites":51,"speed":44,"hex_longitude":"2d44d780","hex_latitude":"066dfd60","is_valid_coordinates":true} 
[2026-05-08 21:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233670656001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290507374538522624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4967681522839062528,"note":"Value kept but may cause issues"} 
[2026-05-08 21:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778256534000,"timestamp_ms":1778256534000,"timestamp_seconds":1778256534,"priority":1,"record_length":96,"hex_timestamp":"0000019e085959f0"} 
[2026-05-08 21:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 21:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233670656001,"66":27321,"14":206,"18":6656,"24":44,"16":290507374538522624,"45":4967681522839062528},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,18,24,16,45]} 
[2026-05-08 21:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233670656001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:39:58] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-05-08 21:39:58] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290507374538522624,"km_value":290507374538522.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4967681522839062528,"description":"Unknown IO ID 45"} 
[2026-05-08 21:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233670656001,"power":27321,"unknown_14":206,"unknown_18":6656,"ignition":44,"odometer":null,"unknown_45":4967681522839062528}} 
[2026-05-08 21:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":65246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:39:58] local.INFO: GPS data processed {"connection_id":65246,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:39:58] local.INFO: Acknowledgment sent {"connection_id":65246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:41:26] local.INFO: TCP Data received {"connection_id":66074,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:41:26] local.INFO: Processing buffer {"connection_id":66074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:41:26] local.INFO: IMEI packet received {"connection_id":66074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":66074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:41:32] local.INFO: TCP Data received {"connection_id":66074,"ip":"117.224.107.64","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:41:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:41:32] local.INFO: Processing buffer {"connection_id":66074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:41:32] local.INFO: IMEI packet received {"connection_id":66074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:41:32] local.INFO: IMEI acknowledgment sent {"connection_id":66074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:41:33] local.INFO: TCP Data received {"connection_id":66074,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e085acd08012d43be40066ca898000f00db30..."} 
[2026-05-08 21:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e085acd08012d43be40066ca898000f00db30..."} 
[2026-05-08 21:41:33] local.INFO: Processing buffer {"connection_id":66074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e085acd08012d43be40066ca898000f00db30..."} 
[2026-05-08 21:41:33] local.INFO: Packet analysis {"connection_id":66074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e085a"} 
[2026-05-08 21:41:33] local.INFO: Extracted packet for processing {"connection_id":66074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e085a"} 
[2026-05-08 21:41:33] local.INFO: GPS Element Parsed {"raw_longitude":759414336,"raw_latitude":107784344,"longitude_deg":75.9414336,"latitude_deg":10.7784344,"altitude":15,"angle":219,"satellites":48,"speed":46,"hex_longitude":"2d43be40","hex_latitude":"066ca898","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233694976001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290512816262086656,"note":"Value kept but may cause issues"} 
[2026-05-08 21:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4887883366919348224,"note":"Value kept but may cause issues"} 
[2026-05-08 21:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1778256629000,"timestamp_ms":1778256629000,"timestamp_seconds":1778256629,"priority":1,"record_length":96,"hex_timestamp":"0000019e085acd08"} 
[2026-05-08 21:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 21:41:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":66074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":66074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":66074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233694976001,"66":27365,"23":206,"19":47872,"24":46,"16":290512816262086656,"45":4887883366919348224},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,19,24,16,45]} 
[2026-05-08 21:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233694976001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:41:33] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-05-08 21:41:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-05-08 21:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290512816262086656,"km_value":290512816262086.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4887883366919348224,"description":"Unknown IO ID 45"} 
[2026-05-08 21:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233694976001,"power":27365,"unknown_23":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":4887883366919348224}} 
[2026-05-08 21:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":66074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:41:33] local.INFO: GPS data processed {"connection_id":66074,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:41:33] local.INFO: Acknowledgment sent {"connection_id":66074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:41:38] local.INFO: TCP Data received {"connection_id":65246,"ip":"117.224.107.64","data_length":795,"data_hex":"000000000000030f8e0a0000019e08597d18012d44bec0066de0b8001200da32..."} 
[2026-05-08 21:41:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08597d18012d44bec0066de0b8001200da32..."} 
[2026-05-08 21:41:38] local.INFO: Processing buffer {"connection_id":65246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08597d18012d44bec0066de0b8001200da32..."} 
[2026-05-08 21:41:38] local.INFO: Packet analysis {"connection_id":65246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0859"} 
[2026-05-08 21:41:38] local.INFO: Extracted packet for processing {"connection_id":65246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0859"} 
[2026-05-08 21:41:38] local.INFO: GPS Element Parsed {"raw_longitude":759480000,"raw_latitude":107864248,"longitude_deg":75.948,"latitude_deg":10.7864248,"altitude":18,"angle":218,"satellites":50,"speed":41,"hex_longitude":"2d44bec0","hex_latitude":"066de0b8","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:41:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233672704001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:41:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290507838394990592,"note":"Value kept but may cause issues"} 
[2026-05-08 21:41:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4960574279675371520,"note":"Value kept but may cause issues"} 
[2026-05-08 21:41:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:41:38] local.INFO: AVL Record Parsed {"raw_timestamp":1778256543000,"timestamp_ms":1778256543000,"timestamp_seconds":1778256543,"priority":1,"record_length":96,"hex_timestamp":"0000019e08597d18"} 
[2026-05-08 21:41:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:41:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 21:41:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:41:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:41:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:41:38] local.INFO: Teltonika packet parsed successfully {"connection_id":65246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:41:38] local.INFO: Passing IMEI to GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:41:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":65246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:41:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.107.64","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:41:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:41:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:41:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233672704001,"66":27300,"14":206,"18":6656,"24":41,"16":290507838394990592,"45":4960574279675371520},"client_ip":"117.224.107.64","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,18,24,16,45]} 
[2026-05-08 21:41:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:41:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:41:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233672704001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:41:38] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-05-08 21:41:38] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-05-08 21:41:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290507838394990592,"km_value":290507838394990.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:41:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4960574279675371520,"description":"Unknown IO ID 45"} 
[2026-05-08 21:41:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233672704001,"power":27300,"unknown_14":206,"unknown_18":6656,"ignition":41,"odometer":null,"unknown_45":4960574279675371520}} 
[2026-05-08 21:41:38] local.INFO: DEBUG: GPS processor result {"connection_id":65246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:41:38] local.INFO: GPS data processed {"connection_id":65246,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:41:38] local.INFO: Acknowledgment sent {"connection_id":65246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:42:42] local.INFO: TCP Data received {"connection_id":65381,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:42:42] local.INFO: Processing buffer {"connection_id":65381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:42:42] local.INFO: IMEI packet received {"connection_id":65381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:42:42] local.INFO: IMEI acknowledgment sent {"connection_id":65381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:46:23] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:23] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:23] local.INFO: IMEI packet received {"connection_id":65247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":65247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:46:24] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:24] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:24] local.INFO: IMEI packet received {"connection_id":65247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":65247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:46:28] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:28] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:46:28] local.INFO: IMEI packet received {"connection_id":65247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":65247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:46:35] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e085ee000012d42694006680a28000b009e31..."} 
[2026-05-08 21:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e085ee000012d42694006680a28000b009e31..."} 
[2026-05-08 21:46:35] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e085ee000012d42694006680a28000b009e31..."} 
[2026-05-08 21:46:35] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e085e"} 
[2026-05-08 21:46:35] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e085e"} 
[2026-05-08 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":759327040,"raw_latitude":107481640,"longitude_deg":75.932704,"latitude_deg":10.748164,"altitude":11,"angle":158,"satellites":49,"speed":48,"hex_longitude":"2d426940","hex_latitude":"06680a28","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290528832195133440,"note":"Value kept but may cause issues"} 
[2026-05-08 21:46:35] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,66,24,16],"length":72,"final_offset":106,"validated_count":4,"validation_warnings":[]} 
[2026-05-08 21:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1778256896000,"timestamp_ms":1778256896000,"timestamp_seconds":1778256896,"priority":1,"record_length":96,"hex_timestamp":"0000019e085ee000"} 
[2026-05-08 21:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":0,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 21:46:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27310,"24":48,"16":290528832195133440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16]} 
[2026-05-08 21:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-05-08 21:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290528832195133440,"km_value":290528832195133.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:46:35] local.INFO: IO Data Validated and Processed {"original_count":4,"validated_count":4,"validated_data":{"unknown_0":0,"power":27310,"ignition":48,"odometer":null}} 
[2026-05-08 21:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:46:35] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:46:35] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:47:06] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08601498012d43a00006675458000f007734..."} 
[2026-05-08 21:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08601498012d43a00006675458000f007734..."} 
[2026-05-08 21:47:06] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08601498012d43a00006675458000f007734..."} 
[2026-05-08 21:47:06] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0860"} 
[2026-05-08 21:47:06] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0860"} 
[2026-05-08 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":759406592,"raw_latitude":107435096,"longitude_deg":75.9406592,"latitude_deg":10.7435096,"altitude":15,"angle":119,"satellites":52,"speed":53,"hex_longitude":"2d43a000","hex_latitude":"06675458","is_valid_coordinates":true} 
[2026-05-08 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233784320001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290533560954126336,"note":"Value kept but may cause issues"} 
[2026-05-08 21:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4866209793622030336,"note":"Value kept but may cause issues"} 
[2026-05-08 21:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1778256975000,"timestamp_ms":1778256975000,"timestamp_seconds":1778256975,"priority":1,"record_length":96,"hex_timestamp":"0000019e08601498"} 
[2026-05-08 21:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:47:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 21:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:47:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233784320001,"66":27365,"207":206,"80":60416,"24":53,"16":290533560954126336,"45":4866209793622030336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,80,24,16,45]} 
[2026-05-08 21:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233784320001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-05-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290533560954126336,"km_value":290533560954126.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4866209793622030336,"description":"Unknown IO ID 45"} 
[2026-05-08 21:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233784320001,"power":27365,"unknown_207":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4866209793622030336}} 
[2026-05-08 21:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:47:06] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:47:06] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:47:37] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08602c08012d43ba4006674188000f008434..."} 
[2026-05-08 21:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08602c08012d43ba4006674188000f008434..."} 
[2026-05-08 21:47:37] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08602c08012d43ba4006674188000f008434..."} 
[2026-05-08 21:47:37] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0860"} 
[2026-05-08 21:47:37] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0860"} 
[2026-05-08 21:47:37] local.INFO: GPS Element Parsed {"raw_longitude":759413312,"raw_latitude":107430280,"longitude_deg":75.9413312,"latitude_deg":10.743028,"altitude":15,"angle":132,"satellites":52,"speed":55,"hex_longitude":"2d43ba40","hex_latitude":"06674188","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:47:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233785600001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:47:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290533956091117568,"note":"Value kept but may cause issues"} 
[2026-05-08 21:47:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4872894824318261248,"note":"Value kept but may cause issues"} 
[2026-05-08 21:47:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:47:37] local.INFO: AVL Record Parsed {"raw_timestamp":1778256981000,"timestamp_ms":1778256981000,"timestamp_seconds":1778256981,"priority":1,"record_length":96,"hex_timestamp":"0000019e08602c08"} 
[2026-05-08 21:47:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:47: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-05-08 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 21:47:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:47:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:47:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:47:37] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:47:37] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:47:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:47: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-05-08 21:47:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:47:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:47:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233785600001,"66":27463,"207":206,"80":60416,"24":55,"16":290533956091117568,"45":4872894824318261248},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,80,24,16,45]} 
[2026-05-08 21:47:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:47:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:47:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233785600001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:47:37] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-05-08 21:47:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:47:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290533956091117568,"km_value":290533956091117.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:47:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4872894824318261248,"description":"Unknown IO ID 45"} 
[2026-05-08 21:47:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233785600001,"power":27463,"unknown_207":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4872894824318261248}} 
[2026-05-08 21:47:37] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:47:37] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:47:37] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:48:05] local.INFO: TCP Data received {"connection_id":65292,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:48:05] local.INFO: Processing buffer {"connection_id":65292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:48:05] local.INFO: IMEI packet received {"connection_id":65292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":65292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:48:09] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08604378012d43d000066729580010009132..."} 
[2026-05-08 21:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08604378012d43d000066729580010009132..."} 
[2026-05-08 21:48:09] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08604378012d43d000066729580010009132..."} 
[2026-05-08 21:48:09] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0860"} 
[2026-05-08 21:48:09] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0860"} 
[2026-05-08 21:48:09] local.INFO: GPS Element Parsed {"raw_longitude":759418880,"raw_latitude":107424088,"longitude_deg":75.941888,"latitude_deg":10.7424088,"altitude":16,"angle":145,"satellites":50,"speed":55,"hex_longitude":"2d43d000","hex_latitude":"06672958","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233787136001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290534359818043392,"note":"Value kept but may cause issues"} 
[2026-05-08 21:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4880283542455683072,"note":"Value kept but may cause issues"} 
[2026-05-08 21:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778256987000,"timestamp_ms":1778256987000,"timestamp_seconds":1778256987,"priority":1,"record_length":96,"hex_timestamp":"0000019e08604378"} 
[2026-05-08 21:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 21:48:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:48: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-05-08 21:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233787136001,"66":27310,"235":206,"80":60416,"24":55,"16":290534359818043392,"45":4880283542455683072},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-05-08 21:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233787136001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:48:09] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-05-08 21:48:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290534359818043392,"km_value":290534359818043.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":4880283542455683072,"description":"Unknown IO ID 45"} 
[2026-05-08 21:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233787136001,"power":27310,"unknown_235":206,"unknown_80":60416,"ignition":55,"odometer":null,"unknown_45":4880283542455683072}} 
[2026-05-08 21:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:48:09] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:48:09] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:48:40] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08617040012d4474c00665a8a00013009a34..."} 
[2026-05-08 21:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08617040012d4474c00665a8a00013009a34..."} 
[2026-05-08 21:48:40] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08617040012d4474c00665a8a00013009a34..."} 
[2026-05-08 21:48:40] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0861"} 
[2026-05-08 21:48:40] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0861"} 
[2026-05-08 21:48:40] local.INFO: GPS Element Parsed {"raw_longitude":759461056,"raw_latitude":107325600,"longitude_deg":75.9461056,"latitude_deg":10.73256,"altitude":19,"angle":154,"satellites":52,"speed":45,"hex_longitude":"2d4474c0","hex_latitude":"0665a8a0","is_valid_coordinates":true} 
[2026-05-08 21:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233806336001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290539556728471552,"note":"Value kept but may cause issues"} 
[2026-05-08 21:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4928486132192780288,"note":"Value kept but may cause issues"} 
[2026-05-08 21:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1778257064000,"timestamp_ms":1778257064000,"timestamp_seconds":1778257064,"priority":1,"record_length":96,"hex_timestamp":"0000019e08617040"} 
[2026-05-08 21:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 21:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:48: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-05-08 21:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233806336001,"66":27343,"235":206,"80":60416,"24":45,"16":290539556728471552,"45":4928486132192780288},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-05-08 21:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233806336001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:48:40] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-05-08 21:48:40] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290539556728471552,"km_value":290539556728471.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":4928486132192780288,"description":"Unknown IO ID 45"} 
[2026-05-08 21:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233806336001,"power":27343,"unknown_235":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":4928486132192780288}} 
[2026-05-08 21:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:48:40] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:48:40] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:48:40] local.INFO: TCP Data received {"connection_id":66075,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:48:40] local.INFO: Processing buffer {"connection_id":66075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:48:40] local.INFO: IMEI packet received {"connection_id":66075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":66075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:49:11] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08618f80012d448400066588200015009b34..."} 
[2026-05-08 21:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08618f80012d448400066588200015009b34..."} 
[2026-05-08 21:49:11] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08618f80012d448400066588200015009b34..."} 
[2026-05-08 21:49:11] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0861"} 
[2026-05-08 21:49:11] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0861"} 
[2026-05-08 21:49:11] local.INFO: GPS Element Parsed {"raw_longitude":759464960,"raw_latitude":107317280,"longitude_deg":75.946496,"latitude_deg":10.731728,"altitude":21,"angle":155,"satellites":52,"speed":45,"hex_longitude":"2d448400","hex_latitude":"06658820","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233808384001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290540003405070336,"note":"Value kept but may cause issues"} 
[2026-05-08 21:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4932778625585422336,"note":"Value kept but may cause issues"} 
[2026-05-08 21:49:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1778257072000,"timestamp_ms":1778257072000,"timestamp_seconds":1778257072,"priority":1,"record_length":96,"hex_timestamp":"0000019e08618f80"} 
[2026-05-08 21:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 21:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:49: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-05-08 21:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233808384001,"66":27234,"205":206,"80":60416,"24":45,"16":290540003405070336,"45":4932778625585422336},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-05-08 21:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233808384001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:49:11] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290540003405070336,"km_value":290540003405070.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4932778625585422336,"description":"Unknown IO ID 45"} 
[2026-05-08 21:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233808384001,"power":27234,"cell_id":206,"unknown_80":60416,"ignition":45,"odometer":null,"unknown_45":4932778625585422336}} 
[2026-05-08 21:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:49:11] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:49:11] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:49:42] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0861aec0012d4493c0066566b80016009b35..."} 
[2026-05-08 21:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0861aec0012d4493c0066566b80016009b35..."} 
[2026-05-08 21:49:42] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0861aec0012d4493c0066566b80016009b35..."} 
[2026-05-08 21:49:42] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0861"} 
[2026-05-08 21:49:42] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0861"} 
[2026-05-08 21:49:42] local.INFO: GPS Element Parsed {"raw_longitude":759468992,"raw_latitude":107308728,"longitude_deg":75.9468992,"latitude_deg":10.7308728,"altitude":22,"angle":155,"satellites":53,"speed":48,"hex_longitude":"2d4493c0","hex_latitude":"066566b8","is_valid_coordinates":true} 
[2026-05-08 21:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233810432001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290540458671603712,"note":"Value kept but may cause issues"} 
[2026-05-08 21:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4937071118978129920,"note":"Value kept but may cause issues"} 
[2026-05-08 21:49:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1778257080000,"timestamp_ms":1778257080000,"timestamp_seconds":1778257080,"priority":1,"record_length":96,"hex_timestamp":"0000019e0861aec0"} 
[2026-05-08 21:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 21:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:49:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:49: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-05-08 21:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233810432001,"66":27463,"205":206,"80":60416,"24":48,"16":290540458671603712,"45":4937071118978129920},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-05-08 21:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233810432001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:49:42] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290540458671603712,"km_value":290540458671603.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4937071118978129920,"description":"Unknown IO ID 45"} 
[2026-05-08 21:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233810432001,"power":27463,"cell_id":206,"unknown_80":60416,"ignition":48,"odometer":null,"unknown_45":4937071118978129920}} 
[2026-05-08 21:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:49:42] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:49:42] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:50:14] local.INFO: TCP Data received {"connection_id":65247,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0862d7a0012d4529c00663dca8000f00a132..."} 
[2026-05-08 21:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0862d7a0012d4529c00663dca8000f00a132..."} 
[2026-05-08 21:50:14] local.INFO: Processing buffer {"connection_id":65247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0862d7a0012d4529c00663dca8000f00a132..."} 
[2026-05-08 21:50:14] local.INFO: Packet analysis {"connection_id":65247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0862"} 
[2026-05-08 21:50:14] local.INFO: Extracted packet for processing {"connection_id":65247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0862"} 
[2026-05-08 21:50:14] local.INFO: GPS Element Parsed {"raw_longitude":759507392,"raw_latitude":107207848,"longitude_deg":75.9507392,"latitude_deg":10.7207848,"altitude":15,"angle":161,"satellites":50,"speed":56,"hex_longitude":"2d4529c0","hex_latitude":"0663dca8","is_valid_coordinates":true} 
[2026-05-08 21:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233830144001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290545681351835648,"note":"Value kept but may cause issues"} 
[2026-05-08 21:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4980066421645164544,"note":"Value kept but may cause issues"} 
[2026-05-08 21:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1778257156000,"timestamp_ms":1778257156000,"timestamp_seconds":1778257156,"priority":1,"record_length":96,"hex_timestamp":"0000019e0862d7a0"} 
[2026-05-08 21:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 21:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":65247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":65247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233830144001,"66":27245,"206":206,"80":60416,"24":56,"16":290545681351835648,"45":4980066421645164544},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-05-08 21:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233830144001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:50:14] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 21:50:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290545681351835648,"km_value":290545681351835.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4980066421645164544,"description":"Unknown IO ID 45"} 
[2026-05-08 21:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233830144001,"power":27245,"unknown_206":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4980066421645164544}} 
[2026-05-08 21:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":65247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:50:14] local.INFO: GPS data processed {"connection_id":65247,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:50:14] local.INFO: Acknowledgment sent {"connection_id":65247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:50:43] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:50:43] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:50:43] local.INFO: IMEI packet received {"connection_id":65294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":65294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:50:48] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:50:48] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:50:48] local.INFO: IMEI packet received {"connection_id":65294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":65294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:50:48] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0862f2f8012d4536000663b888001100a132..."} 
[2026-05-08 21:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0862f2f8012d4536000663b888001100a132..."} 
[2026-05-08 21:50:48] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0862f2f8012d4536000663b888001100a132..."} 
[2026-05-08 21:50:48] local.INFO: Packet analysis {"connection_id":65294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0862"} 
[2026-05-08 21:50:48] local.INFO: Extracted packet for processing {"connection_id":65294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0862"} 
[2026-05-08 21:50:48] local.INFO: GPS Element Parsed {"raw_longitude":759510528,"raw_latitude":107198600,"longitude_deg":75.9510528,"latitude_deg":10.71986,"altitude":17,"angle":161,"satellites":50,"speed":54,"hex_longitude":"2d453600","hex_latitude":"0663b888","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233831936001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290546153798238208,"note":"Value kept but may cause issues"} 
[2026-05-08 21:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4983725596339906560,"note":"Value kept but may cause issues"} 
[2026-05-08 21:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778257163000,"timestamp_ms":1778257163000,"timestamp_seconds":1778257163,"priority":1,"record_length":96,"hex_timestamp":"0000019e0862f2f8"} 
[2026-05-08 21:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:50: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-05-08 21: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 21:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233831936001,"66":27463,"206":206,"80":60416,"24":54,"16":290546153798238208,"45":4983725596339906560},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-05-08 21:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233831936001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:50:48] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 21:50:48] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290546153798238208,"km_value":290546153798238.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4983725596339906560,"description":"Unknown IO ID 45"} 
[2026-05-08 21:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233831936001,"power":27463,"unknown_206":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4983725596339906560}} 
[2026-05-08 21:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":65294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:50:48] local.INFO: GPS data processed {"connection_id":65294,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:50:48] local.INFO: Acknowledgment sent {"connection_id":65294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:51:19] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08630e50012d45418006639548001200a132..."} 
[2026-05-08 21:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08630e50012d45418006639548001200a132..."} 
[2026-05-08 21:51:19] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08630e50012d45418006639548001200a132..."} 
[2026-05-08 21:51:19] local.INFO: Packet analysis {"connection_id":65294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0863"} 
[2026-05-08 21:51:19] local.INFO: Extracted packet for processing {"connection_id":65294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0863"} 
[2026-05-08 21:51:19] local.INFO: GPS Element Parsed {"raw_longitude":759513472,"raw_latitude":107189576,"longitude_deg":75.9513472,"latitude_deg":10.7189576,"altitude":18,"angle":161,"satellites":50,"speed":54,"hex_longitude":"2d454180","hex_latitude":"06639548","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233833728001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290546613359738880,"note":"Value kept but may cause issues"} 
[2026-05-08 21:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4987173664802244608,"note":"Value kept but may cause issues"} 
[2026-05-08 21:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778257170000,"timestamp_ms":1778257170000,"timestamp_seconds":1778257170,"priority":1,"record_length":96,"hex_timestamp":"0000019e08630e50"} 
[2026-05-08 21:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:51: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-05-08 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 21:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233833728001,"66":27365,"206":206,"80":60416,"24":54,"16":290546613359738880,"45":4987173664802244608},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-05-08 21:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233833728001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:51:19] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 21:51:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290546613359738880,"km_value":290546613359738.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":4987173664802244608,"description":"Unknown IO ID 45"} 
[2026-05-08 21:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233833728001,"power":27365,"unknown_206":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4987173664802244608}} 
[2026-05-08 21:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":65294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:51:19] local.INFO: GPS data processed {"connection_id":65294,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:51:19] local.INFO: Acknowledgment sent {"connection_id":65294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:51:50] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08646610012d4618000661da70000d009c34..."} 
[2026-05-08 21:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08646610012d4618000661da70000d009c34..."} 
[2026-05-08 21:51:50] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08646610012d4618000661da70000d009c34..."} 
[2026-05-08 21:51:50] local.INFO: Packet analysis {"connection_id":65294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:51:50] local.INFO: Extracted packet for processing {"connection_id":65294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:51:50] local.INFO: GPS Element Parsed {"raw_longitude":759568384,"raw_latitude":107076208,"longitude_deg":75.9568384,"latitude_deg":10.7076208,"altitude":13,"angle":156,"satellites":52,"speed":59,"hex_longitude":"2d461800","hex_latitude":"0661da70","is_valid_coordinates":true} 
[2026-05-08 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-05-08 21:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233856512001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290552720803233792,"note":"Value kept but may cause issues"} 
[2026-05-08 21:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5046775991091476480,"note":"Value kept but may cause issues"} 
[2026-05-08 21:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1778257258000,"timestamp_ms":1778257258000,"timestamp_seconds":1778257258,"priority":1,"record_length":96,"hex_timestamp":"0000019e08646610"} 
[2026-05-08 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-05-08 21:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 21:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 21:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":65294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":65294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":65294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233856512001,"66":27365,"206":206,"80":60416,"24":59,"16":290552720803233792,"45":5046775991091476480},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-05-08 21:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233856512001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:51:50] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 21:51:50] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290552720803233792,"km_value":290552720803233.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5046775991091476480,"description":"Unknown IO ID 45"} 
[2026-05-08 21:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233856512001,"power":27365,"unknown_206":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":5046775991091476480}} 
[2026-05-08 21:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":65294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:51:50] local.INFO: GPS data processed {"connection_id":65294,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:51:50] local.INFO: Acknowledgment sent {"connection_id":65294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:52:21] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08647d80012d4627000661ba20000c009b34..."} 
[2026-05-08 21:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08647d80012d4627000661ba20000c009b34..."} 
[2026-05-08 21:52:21] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08647d80012d4627000661ba20000c009b34..."} 
[2026-05-08 21:52:21] local.INFO: Packet analysis {"connection_id":65294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:52:21] local.INFO: Extracted packet for processing {"connection_id":65294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:52:21] local.INFO: GPS Element Parsed {"raw_longitude":759572224,"raw_latitude":107067936,"longitude_deg":75.9572224,"latitude_deg":10.7067936,"altitude":12,"angle":155,"satellites":52,"speed":59,"hex_longitude":"2d462700","hex_latitude":"0661ba20","is_valid_coordinates":true} 
[2026-05-08 21:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233858048001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290553158889897984,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5050787009507520512,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778257264000,"timestamp_ms":1778257264000,"timestamp_seconds":1778257264,"priority":1,"record_length":96,"hex_timestamp":"0000019e08647d80"} 
[2026-05-08 21:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 21:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233858048001,"66":27365,"206":206,"80":60416,"24":59,"16":290553158889897984,"45":5050787009507520512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-05-08 21:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233858048001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:52:21] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 21:52:21] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290553158889897984,"km_value":290553158889898.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5050787009507520512,"description":"Unknown IO ID 45"} 
[2026-05-08 21:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233858048001,"power":27365,"unknown_206":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":5050787009507520512}} 
[2026-05-08 21:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":65294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:52:21] local.INFO: GPS data processed {"connection_id":65294,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:52:21] local.INFO: Acknowledgment sent {"connection_id":65294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:52:43] local.INFO: TCP Data received {"connection_id":66076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:43] local.INFO: Processing buffer {"connection_id":66076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:43] local.INFO: IMEI packet received {"connection_id":66076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":66076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:52:51] local.INFO: TCP Data received {"connection_id":66076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:51] local.INFO: Processing buffer {"connection_id":66076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:51] local.INFO: IMEI packet received {"connection_id":66076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":66076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:52:52] local.INFO: TCP Data received {"connection_id":66076,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:52] local.INFO: Processing buffer {"connection_id":66076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:52:52] local.INFO: IMEI packet received {"connection_id":66076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":66076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:52:52] local.INFO: TCP Data received {"connection_id":66076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e086498d8012d463700066195e0000c009c34..."} 
[2026-05-08 21:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e086498d8012d463700066195e0000c009c34..."} 
[2026-05-08 21:52:52] local.INFO: Processing buffer {"connection_id":66076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e086498d8012d463700066195e0000c009c34..."} 
[2026-05-08 21:52:52] local.INFO: Packet analysis {"connection_id":66076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:52:52] local.INFO: Extracted packet for processing {"connection_id":66076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:52:52] local.INFO: GPS Element Parsed {"raw_longitude":759576320,"raw_latitude":107058656,"longitude_deg":75.957632,"latitude_deg":10.7058656,"altitude":12,"angle":156,"satellites":52,"speed":56,"hex_longitude":"2d463700","hex_latitude":"066195e0","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:52:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233859584001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290553652811137024,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5055009134156062720,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:52:52] local.INFO: AVL Record Parsed {"raw_timestamp":1778257271000,"timestamp_ms":1778257271000,"timestamp_seconds":1778257271,"priority":1,"record_length":96,"hex_timestamp":"0000019e086498d8"} 
[2026-05-08 21:52:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:52:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 21:52:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:52:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:52:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:52:52] local.INFO: Teltonika packet parsed successfully {"connection_id":66076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:52:52] local.INFO: Passing IMEI to GPS processor {"connection_id":66076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:52:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":66076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:52:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:52:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:52:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:52:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233859584001,"66":27300,"206":206,"80":60416,"24":56,"16":290553652811137024,"45":5055009134156062720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-05-08 21:52:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:52:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:52:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233859584001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:52:52] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 21:52:52] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:52:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290553652811137024,"km_value":290553652811137.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:52:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5055009134156062720,"description":"Unknown IO ID 45"} 
[2026-05-08 21:52:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233859584001,"power":27300,"unknown_206":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":5055009134156062720}} 
[2026-05-08 21:52:52] local.INFO: DEBUG: GPS processor result {"connection_id":66076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:52:52] local.INFO: GPS data processed {"connection_id":66076,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:52:52] local.INFO: Acknowledgment sent {"connection_id":66076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:52:55] local.INFO: TCP Data received {"connection_id":66076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0864b430012d464640066173b0000b009c32..."} 
[2026-05-08 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0864b430012d464640066173b0000b009c32..."} 
[2026-05-08 21:52:55] local.INFO: Processing buffer {"connection_id":66076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0864b430012d464640066173b0000b009c32..."} 
[2026-05-08 21:52:55] local.INFO: Packet analysis {"connection_id":66076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:52:55] local.INFO: Extracted packet for processing {"connection_id":66076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:52:55] local.INFO: GPS Element Parsed {"raw_longitude":759580224,"raw_latitude":107049904,"longitude_deg":75.9580224,"latitude_deg":10.7049904,"altitude":11,"angle":156,"satellites":50,"speed":51,"hex_longitude":"2d464640","hex_latitude":"066173b0","is_valid_coordinates":true} 
[2026-05-08 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233861376001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290554112372637696,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5059512733781057536,"note":"Value kept but may cause issues"} 
[2026-05-08 21:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1778257278000,"timestamp_ms":1778257278000,"timestamp_seconds":1778257278,"priority":1,"record_length":96,"hex_timestamp":"0000019e0864b430"} 
[2026-05-08 21:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:52: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-05-08 21:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 21:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":66076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":66076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":66076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233861376001,"66":27267,"206":206,"80":60416,"24":51,"16":290554112372637696,"45":5059512733781057536},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-05-08 21:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233861376001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:52:55] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 21:52:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290554112372637696,"km_value":290554112372637.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5059512733781057536,"description":"Unknown IO ID 45"} 
[2026-05-08 21:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233861376001,"power":27267,"unknown_206":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5059512733781057536}} 
[2026-05-08 21:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":66076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:52:55] local.INFO: GPS data processed {"connection_id":66076,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:52:55] local.INFO: Acknowledgment sent {"connection_id":66076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:53:26] local.INFO: TCP Data received {"connection_id":66076,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0864cf88012d46540006615348000b009e30..."} 
[2026-05-08 21:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0864cf88012d46540006615348000b009e30..."} 
[2026-05-08 21:53:26] local.INFO: Processing buffer {"connection_id":66076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0864cf88012d46540006615348000b009e30..."} 
[2026-05-08 21:53:26] local.INFO: Packet analysis {"connection_id":66076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:53:26] local.INFO: Extracted packet for processing {"connection_id":66076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0864"} 
[2026-05-08 21:53:26] local.INFO: GPS Element Parsed {"raw_longitude":759583744,"raw_latitude":107041608,"longitude_deg":75.9583744,"latitude_deg":10.7041608,"altitude":11,"angle":158,"satellites":48,"speed":51,"hex_longitude":"2d465400","hex_latitude":"06615348","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233863168001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290554550459301888,"note":"Value kept but may cause issues"} 
[2026-05-08 21:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5063805227173654528,"note":"Value kept but may cause issues"} 
[2026-05-08 21:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1778257285000,"timestamp_ms":1778257285000,"timestamp_seconds":1778257285,"priority":1,"record_length":96,"hex_timestamp":"0000019e0864cf88"} 
[2026-05-08 21:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 21:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":66076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":66076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":66076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233863168001,"66":27376,"206":206,"80":60416,"24":51,"16":290554550459301888,"45":5063805227173654528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-05-08 21:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233863168001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:53:26] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 21:53:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290554550459301888,"km_value":290554550459301.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5063805227173654528,"description":"Unknown IO ID 45"} 
[2026-05-08 21:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233863168001,"power":27376,"unknown_206":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":5063805227173654528}} 
[2026-05-08 21:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":66076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:53:26] local.INFO: GPS data processed {"connection_id":66076,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:53:26] local.INFO: Acknowledgment sent {"connection_id":66076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:53:58] local.INFO: TCP Data received {"connection_id":66077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:53:58] local.INFO: Processing buffer {"connection_id":66077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:53:58] local.INFO: IMEI packet received {"connection_id":66077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":66077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:54:00] local.INFO: TCP Data received {"connection_id":65295,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:54:00] local.INFO: Processing buffer {"connection_id":65295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:54:00] local.INFO: IMEI packet received {"connection_id":65295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":65295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:54:02] local.INFO: TCP Data received {"connection_id":66077,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:02] local.INFO: Processing buffer {"connection_id":66077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:02] local.INFO: IMEI packet received {"connection_id":66077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":66077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:54:03] local.INFO: TCP Data received {"connection_id":66077,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0865fc50012d46d080065fc728000d009e32..."} 
[2026-05-08 21:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0865fc50012d46d080065fc728000d009e32..."} 
[2026-05-08 21:54:03] local.INFO: Processing buffer {"connection_id":66077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0865fc50012d46d080065fc728000d009e32..."} 
[2026-05-08 21:54:03] local.INFO: Packet analysis {"connection_id":66077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0865"} 
[2026-05-08 21:54:03] local.INFO: Extracted packet for processing {"connection_id":66077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0865"} 
[2026-05-08 21:54:03] local.INFO: GPS Element Parsed {"raw_longitude":759615616,"raw_latitude":106940200,"longitude_deg":75.9615616,"latitude_deg":10.69402,"altitude":13,"angle":158,"satellites":50,"speed":54,"hex_longitude":"2d46d080","hex_latitude":"065fc728","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233882880001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290559704420057088,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5099059967980986368,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778257362000,"timestamp_ms":1778257362000,"timestamp_seconds":1778257362,"priority":1,"record_length":96,"hex_timestamp":"0000019e0865fc50"} 
[2026-05-08 21:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 21:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":66077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":66077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":66077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233882880001,"66":27484,"241":206,"80":60416,"24":54,"16":290559704420057088,"45":5099059967980986368},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-05-08 21:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233882880001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:54:03] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-05-08 21:54:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290559704420057088,"km_value":290559704420057.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5099059967980986368,"description":"Unknown IO ID 45"} 
[2026-05-08 21:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233882880001,"power":27484,"unknown_241":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":5099059967980986368}} 
[2026-05-08 21:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":66077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:54:03] local.INFO: GPS data processed {"connection_id":66077,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:54:03] local.INFO: Acknowledgment sent {"connection_id":66077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:54:43] local.INFO: TCP Data received {"connection_id":66078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:43] local.INFO: Processing buffer {"connection_id":66078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:43] local.INFO: IMEI packet received {"connection_id":66078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:54:43] local.INFO: IMEI acknowledgment sent {"connection_id":66078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:54:45] local.INFO: TCP Data received {"connection_id":65296,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:54:45] local.INFO: Processing buffer {"connection_id":65296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 21:54:45] local.INFO: IMEI packet received {"connection_id":65296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 21:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":65296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:54:46] local.INFO: TCP Data received {"connection_id":66078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:46] local.INFO: Processing buffer {"connection_id":66078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:46] local.INFO: IMEI packet received {"connection_id":66078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:54:46] local.INFO: IMEI acknowledgment sent {"connection_id":66078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:54:48] local.INFO: TCP Data received {"connection_id":66078,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:48] local.INFO: Processing buffer {"connection_id":66078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:54:48] local.INFO: IMEI packet received {"connection_id":66078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":66078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:54:49] local.INFO: TCP Data received {"connection_id":66078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e086617a8012d46dec0065fa568000d009c32..."} 
[2026-05-08 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e086617a8012d46dec0065fa568000d009c32..."} 
[2026-05-08 21:54:49] local.INFO: Processing buffer {"connection_id":66078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e086617a8012d46dec0065fa568000d009c32..."} 
[2026-05-08 21:54:49] local.INFO: Packet analysis {"connection_id":66078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0866"} 
[2026-05-08 21:54:49] local.INFO: Extracted packet for processing {"connection_id":66078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0866"} 
[2026-05-08 21:54:49] local.INFO: GPS Element Parsed {"raw_longitude":759619264,"raw_latitude":106931560,"longitude_deg":75.9619264,"latitude_deg":10.693156,"altitude":13,"angle":156,"satellites":50,"speed":52,"hex_longitude":"2d46dec0","hex_latitude":"065fa568","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233884672001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290560159686590464,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5102719142675818496,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778257369000,"timestamp_ms":1778257369000,"timestamp_seconds":1778257369,"priority":1,"record_length":96,"hex_timestamp":"0000019e086617a8"} 
[2026-05-08 21:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:54: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-05-08 21: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 21:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":66078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":66078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":66078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233884672001,"66":27365,"241":206,"80":60416,"24":52,"16":290560159686590464,"45":5102719142675818496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-05-08 21:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233884672001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:54:49] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-05-08 21:54:49] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290560159686590464,"km_value":290560159686590.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5102719142675818496,"description":"Unknown IO ID 45"} 
[2026-05-08 21:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233884672001,"power":27365,"unknown_241":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":5102719142675818496}} 
[2026-05-08 21:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":66078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:54:49] local.INFO: GPS data processed {"connection_id":66078,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:54:49] local.INFO: Acknowledgment sent {"connection_id":66078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:54:54] local.INFO: TCP Data received {"connection_id":66078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08663300012d46ef00065f8380000d009832..."} 
[2026-05-08 21:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08663300012d46ef00065f8380000d009832..."} 
[2026-05-08 21:54:54] local.INFO: Processing buffer {"connection_id":66078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08663300012d46ef00065f8380000d009832..."} 
[2026-05-08 21:54:54] local.INFO: Packet analysis {"connection_id":66078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0866"} 
[2026-05-08 21:54:54] local.INFO: Extracted packet for processing {"connection_id":66078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0866"} 
[2026-05-08 21:54:54] local.INFO: GPS Element Parsed {"raw_longitude":759623424,"raw_latitude":106922880,"longitude_deg":75.9623424,"latitude_deg":10.692288,"altitude":13,"angle":152,"satellites":50,"speed":56,"hex_longitude":"2d46ef00","hex_latitude":"065f8380","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233886464001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290560623543058432,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5106730161091733504,"note":"Value kept but may cause issues"} 
[2026-05-08 21:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,241,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778257376000,"timestamp_ms":1778257376000,"timestamp_seconds":1778257376,"priority":1,"record_length":96,"hex_timestamp":"0000019e08663300"} 
[2026-05-08 21:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:54: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-05-08 21:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 21:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":66078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":66078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":66078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233886464001,"66":27343,"241":206,"80":60416,"24":56,"16":290560623543058432,"45":5106730161091733504},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,241,80,24,16,45]} 
[2026-05-08 21:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233886464001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:54:54] local.INFO: Unknown IO ID detected {"io_id":241,"value":206,"description":"Unknown IO ID 241"} 
[2026-05-08 21:54:54] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-05-08 21:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290560623543058432,"km_value":290560623543058.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5106730161091733504,"description":"Unknown IO ID 45"} 
[2026-05-08 21:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233886464001,"power":27343,"unknown_241":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":5106730161091733504}} 
[2026-05-08 21:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":66078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:54:54] local.INFO: GPS data processed {"connection_id":66078,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:54:54] local.INFO: Acknowledgment sent {"connection_id":66078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:55:25] local.INFO: TCP Data received {"connection_id":66078,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0867a230012d47c880065dc918000f009b32..."} 
[2026-05-08 21:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0867a230012d47c880065dc918000f009b32..."} 
[2026-05-08 21:55:25] local.INFO: Processing buffer {"connection_id":66078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0867a230012d47c880065dc918000f009b32..."} 
[2026-05-08 21:55:25] local.INFO: Packet analysis {"connection_id":66078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0867"} 
[2026-05-08 21:55:25] local.INFO: Extracted packet for processing {"connection_id":66078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0867"} 
[2026-05-08 21:55:25] local.INFO: GPS Element Parsed {"raw_longitude":759679104,"raw_latitude":106809624,"longitude_deg":75.9679104,"latitude_deg":10.6809624,"altitude":15,"angle":155,"satellites":50,"speed":49,"hex_longitude":"2d47c880","hex_latitude":"065dc918","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:55:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233910272001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290566726691586048,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5167739862264881152,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:55:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778257470000,"timestamp_ms":1778257470000,"timestamp_seconds":1778257470,"priority":1,"record_length":96,"hex_timestamp":"0000019e0867a230"} 
[2026-05-08 21:55:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:55: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-05-08 21:55:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 21:55:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:55:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:55:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:55:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:55:25] local.INFO: Teltonika packet parsed successfully {"connection_id":66078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:55:25] local.INFO: Passing IMEI to GPS processor {"connection_id":66078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:55:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":66078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:55:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:55:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:55:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:55:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233910272001,"66":27267,"114":206,"78":62464,"24":49,"16":290566726691586048,"45":5167739862264881152},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-05-08 21:55:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:55:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:55:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233910272001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:55:25] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-05-08 21:55:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:55:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290566726691586048,"km_value":290566726691586.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:55:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":5167739862264881152,"description":"Unknown IO ID 45"} 
[2026-05-08 21:55:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233910272001,"power":27267,"unknown_114":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5167739862264881152}} 
[2026-05-08 21:55:25] local.INFO: DEBUG: GPS processor result {"connection_id":66078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:55:25] local.INFO: GPS data processed {"connection_id":66078,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:55:25] local.INFO: Acknowledgment sent {"connection_id":66078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:55:43] local.INFO: TCP Data received {"connection_id":65298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:43] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:43] local.INFO: IMEI packet received {"connection_id":65298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:55:43] local.INFO: IMEI acknowledgment sent {"connection_id":65298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:55:47] local.INFO: TCP Data received {"connection_id":65298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:47] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:47] local.INFO: IMEI packet received {"connection_id":65298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":65298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:55:48] local.INFO: TCP Data received {"connection_id":65298,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:48] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:55:48] local.INFO: IMEI packet received {"connection_id":65298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":65298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:55:49] local.INFO: TCP Data received {"connection_id":65298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0867c170012d47d880065da7180012009a33..."} 
[2026-05-08 21:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0867c170012d47d880065da7180012009a33..."} 
[2026-05-08 21:55:49] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0867c170012d47d880065da7180012009a33..."} 
[2026-05-08 21:55:49] local.INFO: Packet analysis {"connection_id":65298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0867"} 
[2026-05-08 21:55:49] local.INFO: Extracted packet for processing {"connection_id":65298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0867"} 
[2026-05-08 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":759683200,"raw_latitude":106800920,"longitude_deg":75.96832,"latitude_deg":10.680092,"altitude":18,"angle":154,"satellites":51,"speed":47,"hex_longitude":"2d47d880","hex_latitude":"065da718","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233912320001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290567194843021312,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5172524936866633728,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778257478000,"timestamp_ms":1778257478000,"timestamp_seconds":1778257478,"priority":1,"record_length":96,"hex_timestamp":"0000019e0867c170"} 
[2026-05-08 21:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21: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-05-08 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 21:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233912320001,"66":27365,"114":206,"78":62464,"24":47,"16":290567194843021312,"45":5172524936866633728},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-05-08 21:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233912320001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:55:49] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-05-08 21:55:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290567194843021312,"km_value":290567194843021.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5172524936866633728,"description":"Unknown IO ID 45"} 
[2026-05-08 21:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233912320001,"power":27365,"unknown_114":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5172524936866633728}} 
[2026-05-08 21:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":65298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:55:49] local.INFO: GPS data processed {"connection_id":65298,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:55:49] local.INFO: Acknowledgment sent {"connection_id":65298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:55:53] local.INFO: TCP Data received {"connection_id":65298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0867e0b0012d47e8c0065d85d80013009a31..."} 
[2026-05-08 21:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0867e0b0012d47e8c0065d85d80013009a31..."} 
[2026-05-08 21:55:53] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0867e0b0012d47e8c0065d85d80013009a31..."} 
[2026-05-08 21:55:53] local.INFO: Packet analysis {"connection_id":65298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0867"} 
[2026-05-08 21:55:53] local.INFO: Extracted packet for processing {"connection_id":65298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0867"} 
[2026-05-08 21:55:53] local.INFO: GPS Element Parsed {"raw_longitude":759687360,"raw_latitude":106792408,"longitude_deg":75.968736,"latitude_deg":10.6792408,"altitude":19,"angle":154,"satellites":49,"speed":47,"hex_longitude":"2d47e8c0","hex_latitude":"065d85d8","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:55:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233914368001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290567650109554688,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5177028536491776000,"note":"Value kept but may cause issues"} 
[2026-05-08 21:55:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:55:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778257486000,"timestamp_ms":1778257486000,"timestamp_seconds":1778257486,"priority":1,"record_length":96,"hex_timestamp":"0000019e0867e0b0"} 
[2026-05-08 21:55:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:55: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-05-08 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 21:55:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:55:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:55:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:55:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:55:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:55:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:55:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:55:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:55:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:55:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233914368001,"66":27397,"114":206,"78":62464,"24":47,"16":290567650109554688,"45":5177028536491776000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-05-08 21:55:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:55:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:55:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233914368001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:55:53] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-05-08 21:55:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:55:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290567650109554688,"km_value":290567650109554.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:55:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":5177028536491776000,"description":"Unknown IO ID 45"} 
[2026-05-08 21:55:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233914368001,"power":27397,"unknown_114":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5177028536491776000}} 
[2026-05-08 21:55:53] local.INFO: DEBUG: GPS processor result {"connection_id":65298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:55:53] local.INFO: GPS data processed {"connection_id":65298,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:55:53] local.INFO: Acknowledgment sent {"connection_id":65298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:56:27] local.INFO: TCP Data received {"connection_id":65298,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0867fff0012d47f8c0065d63f80014009932..."} 
[2026-05-08 21:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0867fff0012d47f8c0065d63f80014009932..."} 
[2026-05-08 21:56:27] local.INFO: Processing buffer {"connection_id":65298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0867fff0012d47f8c0065d63f80014009932..."} 
[2026-05-08 21:56:27] local.INFO: Packet analysis {"connection_id":65298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0867"} 
[2026-05-08 21:56:27] local.INFO: Extracted packet for processing {"connection_id":65298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0867"} 
[2026-05-08 21:56:27] local.INFO: GPS Element Parsed {"raw_longitude":759691456,"raw_latitude":106783736,"longitude_deg":75.9691456,"latitude_deg":10.6783736,"altitude":20,"angle":153,"satellites":50,"speed":48,"hex_longitude":"2d47f8c0","hex_latitude":"065d63f8","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233916416001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290568113966022656,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5181602504861145088,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1778257494000,"timestamp_ms":1778257494000,"timestamp_seconds":1778257494,"priority":1,"record_length":96,"hex_timestamp":"0000019e0867fff0"} 
[2026-05-08 21:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 21:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":65298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":65298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233916416001,"66":27376,"114":206,"78":62464,"24":48,"16":290568113966022656,"45":5181602504861145088},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-05-08 21:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233916416001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:56:27] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-05-08 21:56:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290568113966022656,"km_value":290568113966022.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5181602504861145088,"description":"Unknown IO ID 45"} 
[2026-05-08 21:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233916416001,"power":27376,"unknown_114":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5181602504861145088}} 
[2026-05-08 21:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":65298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:56:27] local.INFO: GPS data processed {"connection_id":65298,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:56:27] local.INFO: Acknowledgment sent {"connection_id":65298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:56:48] local.INFO: TCP Data received {"connection_id":65387,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:48] local.INFO: Processing buffer {"connection_id":65387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:48] local.INFO: IMEI packet received {"connection_id":65387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":65387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:56:49] local.INFO: TCP Data received {"connection_id":65387,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:49] local.INFO: Processing buffer {"connection_id":65387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:49] local.INFO: IMEI packet received {"connection_id":65387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":65387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:56:53] local.INFO: TCP Data received {"connection_id":65387,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:53] local.INFO: Processing buffer {"connection_id":65387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:56:53] local.INFO: IMEI packet received {"connection_id":65387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":65387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:56:55] local.INFO: TCP Data received {"connection_id":65387,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08681f30012d4809c0065d40680014009a34..."} 
[2026-05-08 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08681f30012d4809c0065d40680014009a34..."} 
[2026-05-08 21:56:55] local.INFO: Processing buffer {"connection_id":65387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08681f30012d4809c0065d40680014009a34..."} 
[2026-05-08 21:56:55] local.INFO: Packet analysis {"connection_id":65387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0868"} 
[2026-05-08 21:56:55] local.INFO: Extracted packet for processing {"connection_id":65387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0868"} 
[2026-05-08 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":759695808,"raw_latitude":106774632,"longitude_deg":75.9695808,"latitude_deg":10.6774632,"altitude":20,"angle":154,"satellites":52,"speed":51,"hex_longitude":"2d4809c0","hex_latitude":"065d4068","is_valid_coordinates":true} 
[2026-05-08 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233918464001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290568603592294400,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5186106104486295552,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1778257502000,"timestamp_ms":1778257502000,"timestamp_seconds":1778257502,"priority":1,"record_length":96,"hex_timestamp":"0000019e08681f30"} 
[2026-05-08 21:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 21:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":65387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":65387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":65387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233918464001,"66":27397,"65":206,"78":62464,"24":51,"16":290568603592294400,"45":5186106104486295552},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-05-08 21:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233918464001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:56:55] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-05-08 21:56:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290568603592294400,"km_value":290568603592294.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5186106104486295552,"description":"Unknown IO ID 45"} 
[2026-05-08 21:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233918464001,"power":27397,"unknown_65":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5186106104486295552}} 
[2026-05-08 21:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":65387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:56:55] local.INFO: GPS data processed {"connection_id":65387,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:56:55] local.INFO: Acknowledgment sent {"connection_id":65387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:56:56] local.INFO: TCP Data received {"connection_id":65387,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08683a88012d481940065d1ef80013009d33..."} 
[2026-05-08 21:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08683a88012d481940065d1ef80013009d33..."} 
[2026-05-08 21:56:56] local.INFO: Processing buffer {"connection_id":65387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08683a88012d481940065d1ef80013009d33..."} 
[2026-05-08 21:56:56] local.INFO: Packet analysis {"connection_id":65387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0868"} 
[2026-05-08 21:56:56] local.INFO: Extracted packet for processing {"connection_id":65387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0868"} 
[2026-05-08 21:56:56] local.INFO: GPS Element Parsed {"raw_longitude":759699776,"raw_latitude":106766072,"longitude_deg":75.9699776,"latitude_deg":10.6766072,"altitude":19,"angle":157,"satellites":51,"speed":55,"hex_longitude":"2d481940","hex_latitude":"065d1ef8","is_valid_coordinates":true} 
[2026-05-08 21:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233920512001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290569058858827776,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5190891179088046080,"note":"Value kept but may cause issues"} 
[2026-05-08 21:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1778257509000,"timestamp_ms":1778257509000,"timestamp_seconds":1778257509,"priority":1,"record_length":96,"hex_timestamp":"0000019e08683a88"} 
[2026-05-08 21:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 21:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":65387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":65387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":65387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233920512001,"66":27332,"65":206,"78":62464,"24":55,"16":290569058858827776,"45":5190891179088046080},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-05-08 21:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233920512001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:56:56] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-05-08 21:56:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290569058858827776,"km_value":290569058858827.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5190891179088046080,"description":"Unknown IO ID 45"} 
[2026-05-08 21:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233920512001,"power":27332,"unknown_65":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5190891179088046080}} 
[2026-05-08 21:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":65387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:56:56] local.INFO: GPS data processed {"connection_id":65387,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:56:56] local.INFO: Acknowledgment sent {"connection_id":65387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:57:27] local.INFO: TCP Data received {"connection_id":65387,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08696750012d48bf40065bade0000f009032..."} 
[2026-05-08 21:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08696750012d48bf40065bade0000f009032..."} 
[2026-05-08 21:57:27] local.INFO: Processing buffer {"connection_id":65387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08696750012d48bf40065bade0000f009032..."} 
[2026-05-08 21:57:27] local.INFO: Packet analysis {"connection_id":65387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:57:27] local.INFO: Extracted packet for processing {"connection_id":65387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:57:27] local.INFO: GPS Element Parsed {"raw_longitude":759742272,"raw_latitude":106671584,"longitude_deg":75.9742272,"latitude_deg":10.6671584,"altitude":15,"angle":144,"satellites":50,"speed":47,"hex_longitude":"2d48bf40","hex_latitude":"065bade0","is_valid_coordinates":true} 
[2026-05-08 21:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233939968001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290574139805138944,"note":"Value kept but may cause issues"} 
[2026-05-08 21:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5235434594128154624,"note":"Value kept but may cause issues"} 
[2026-05-08 21:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1778257586000,"timestamp_ms":1778257586000,"timestamp_seconds":1778257586,"priority":1,"record_length":96,"hex_timestamp":"0000019e08696750"} 
[2026-05-08 21:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:57: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-05-08 21:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 21:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":65387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":65387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":65387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233939968001,"66":27365,"64":206,"78":62464,"24":47,"16":290574139805138944,"45":5235434594128154624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-05-08 21:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233939968001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:57:27] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-05-08 21:57:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290574139805138944,"km_value":290574139805138.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5235434594128154624,"description":"Unknown IO ID 45"} 
[2026-05-08 21:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233939968001,"power":27365,"unknown_64":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5235434594128154624}} 
[2026-05-08 21:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":65387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:57:27] local.INFO: GPS data processed {"connection_id":65387,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:57:27] local.INFO: Acknowledgment sent {"connection_id":65387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:57:42] local.INFO: TCP Data received {"connection_id":66079,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:57:43] local.INFO: Processing buffer {"connection_id":66079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:57:43] local.INFO: IMEI packet received {"connection_id":66079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":66079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:57:48] local.INFO: TCP Data received {"connection_id":66079,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:57:48] local.INFO: Processing buffer {"connection_id":66079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:57:48] local.INFO: IMEI packet received {"connection_id":66079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":66079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:58:08] local.INFO: TCP Data received {"connection_id":66079,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66079,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 21:58:08] local.INFO: Processing buffer {"connection_id":66079,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 21:58:08] local.INFO: IMEI packet received {"connection_id":66079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":66079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:58:18] local.INFO: TCP Data received {"connection_id":66079,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08698690012d48d4c0065b9118000e009031..."} 
[2026-05-08 21:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08698690012d48d4c0065b9118000e009031..."} 
[2026-05-08 21:58:18] local.INFO: Processing buffer {"connection_id":66079,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 21:58:18] local.INFO: IMEI packet received {"connection_id":66079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":66079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:58:19] local.INFO: TCP Data received {"connection_id":66079,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0869a5d0012d48ea40065b7460000f009031..."} 
[2026-05-08 21:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0869a5d0012d48ea40065b7460000f009031..."} 
[2026-05-08 21:58:19] local.INFO: Processing buffer {"connection_id":66079,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e08698690012d48d4c0065b9118000e009031..."} 
[2026-05-08 21:58:19] local.INFO: Packet analysis {"connection_id":66079,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:19] local.INFO: Extracted packet for processing {"connection_id":66079,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:19] local.INFO: GPS Element Parsed {"raw_longitude":759747776,"raw_latitude":106664216,"longitude_deg":75.9747776,"latitude_deg":10.6664216,"altitude":14,"angle":144,"satellites":49,"speed":44,"hex_longitude":"2d48d4c0","hex_latitude":"065b9118","is_valid_coordinates":true} 
[2026-05-08 21:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233942016001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290574582186770432,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5241978887334649856,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778257594000,"timestamp_ms":1778257594000,"timestamp_seconds":1778257594,"priority":1,"record_length":96,"hex_timestamp":"0000019e08698690"} 
[2026-05-08 21:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 21:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":66079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233942016001,"66":27376,"64":206,"78":62464,"24":44,"16":290574582186770432,"45":5241978887334649856},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233942016001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290574582186770432,"km_value":290574582186770.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5241978887334649856,"description":"Unknown IO ID 45"} 
[2026-05-08 21:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233942016001,"power":27376,"unknown_64":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":5241978887334649856}} 
[2026-05-08 21:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":66079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:58:19] local.INFO: GPS data processed {"connection_id":66079,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:58:19] local.INFO: Acknowledgment sent {"connection_id":66079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:58:19] local.INFO: Packet analysis {"connection_id":66079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:19] local.INFO: Extracted packet for processing {"connection_id":66079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:19] local.INFO: GPS Element Parsed {"raw_longitude":759753280,"raw_latitude":106656864,"longitude_deg":75.975328,"latitude_deg":10.6656864,"altitude":15,"angle":144,"satellites":49,"speed":47,"hex_longitude":"2d48ea40","hex_latitude":"065b7460","is_valid_coordinates":true} 
[2026-05-08 21:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233944064001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290575024568401920,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5248030599332042752,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778257602000,"timestamp_ms":1778257602000,"timestamp_seconds":1778257602,"priority":1,"record_length":96,"hex_timestamp":"0000019e0869a5d0"} 
[2026-05-08 21:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 21:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":66079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233944064001,"66":27343,"64":206,"78":62464,"24":47,"16":290575024568401920,"45":5248030599332042752},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233944064001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290575024568401920,"km_value":290575024568401.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5248030599332042752,"description":"Unknown IO ID 45"} 
[2026-05-08 21:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233944064001,"power":27343,"unknown_64":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5248030599332042752}} 
[2026-05-08 21:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":66079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:58:19] local.INFO: GPS data processed {"connection_id":66079,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:58:19] local.INFO: Acknowledgment sent {"connection_id":66079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:58:19] local.INFO: TCP Data received {"connection_id":66079,"ip":"42.106.6.15","data_length":1348,"data_hex":"000000000000030f8e0a0000019e0869c510012d490040065b5620000e009032..."} 
[2026-05-08 21:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66079,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019e0869c510012d490040065b5620000e009032..."} 
[2026-05-08 21:58:19] local.INFO: Processing buffer {"connection_id":66079,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019e0869c510012d490040065b5620000e009032..."} 
[2026-05-08 21:58:19] local.INFO: Packet analysis {"connection_id":66079,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:19] local.INFO: Extracted packet for processing {"connection_id":66079,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:19] local.INFO: GPS Element Parsed {"raw_longitude":759758912,"raw_latitude":106649120,"longitude_deg":75.9758912,"latitude_deg":10.664912,"altitude":14,"angle":144,"satellites":50,"speed":48,"hex_longitude":"2d490040","hex_latitude":"065b5620","is_valid_coordinates":true} 
[2026-05-08 21:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233946112001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290575484129902592,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5254082311329439744,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778257610000,"timestamp_ms":1778257610000,"timestamp_seconds":1778257610,"priority":1,"record_length":96,"hex_timestamp":"0000019e0869c510"} 
[2026-05-08 21:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:58: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-05-08 21:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 21:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":66079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233946112001,"66":27321,"64":206,"78":62464,"24":48,"16":290575484129902592,"45":5254082311329439744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-05-08 21:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233946112001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290575484129902592,"km_value":290575484129902.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5254082311329439744,"description":"Unknown IO ID 45"} 
[2026-05-08 21:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233946112001,"power":27321,"unknown_64":206,"unknown_78":62464,"ignition":48,"odometer":null,"unknown_45":5254082311329439744}} 
[2026-05-08 21:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":66079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:58:19] local.INFO: GPS data processed {"connection_id":66079,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:58:19] local.INFO: Acknowledgment sent {"connection_id":66079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:58:19] local.INFO: Packet analysis {"connection_id":66079,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:19] local.INFO: Incomplete packet, waiting for more data {"connection_id":66079,"needed":795,"available":553} 
[2026-05-08 21:58:20] local.INFO: TCP Data received {"connection_id":66079,"ip":"42.106.6.15","data_length":242,"data_hex":"0000000000019e08691160012d487b00065c0808000e008f3200350000000a00..."} 
[2026-05-08 21:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66079,"packet_length":242,"packet_hex":"0000000000019e08691160012d487b00065c0808000e008f3200350000000a00..."} 
[2026-05-08 21:58:20] local.INFO: Processing buffer {"connection_id":66079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0869e450012d4915c0065b35d8000e009532..."} 
[2026-05-08 21:58:20] local.INFO: Packet analysis {"connection_id":66079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:20] local.INFO: Extracted packet for processing {"connection_id":66079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0869"} 
[2026-05-08 21:58:20] local.INFO: GPS Element Parsed {"raw_longitude":759764416,"raw_latitude":106640856,"longitude_deg":75.9764416,"latitude_deg":10.6640856,"altitude":14,"angle":149,"satellites":50,"speed":50,"hex_longitude":"2d4915c0","hex_latitude":"065b35d8","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:58:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233948160001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290575965166239744,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5260274760815091712,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:58:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778257618000,"timestamp_ms":1778257618000,"timestamp_seconds":1778257618,"priority":1,"record_length":96,"hex_timestamp":"0000019e0869e450"} 
[2026-05-08 21:58:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:58: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-05-08 21: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 21:58:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:58:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:58:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:58:20] local.INFO: Teltonika packet parsed successfully {"connection_id":66079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:58:20] local.INFO: Passing IMEI to GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:58:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:58:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:58:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233948160001,"66":27300,"64":206,"78":62464,"24":50,"16":290575965166239744,"45":5260274760815091712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-05-08 21:58:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:58:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:58:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233948160001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:58:20] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-05-08 21:58:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:58:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290575965166239744,"km_value":290575965166239.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:58:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5260274760815091712,"description":"Unknown IO ID 45"} 
[2026-05-08 21:58:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233948160001,"power":27300,"unknown_64":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5260274760815091712}} 
[2026-05-08 21:58:20] local.INFO: DEBUG: GPS processor result {"connection_id":66079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:58:20] local.INFO: GPS data processed {"connection_id":66079,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:58:20] local.INFO: Acknowledgment sent {"connection_id":66079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:58:21] local.INFO: TCP Data received {"connection_id":66079,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e086a0390012d492800065b1290000e009b30..."} 
[2026-05-08 21:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e086a0390012d492800065b1290000e009b30..."} 
[2026-05-08 21:58:21] local.INFO: Processing buffer {"connection_id":66079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e086a0390012d492800065b1290000e009b30..."} 
[2026-05-08 21:58:21] local.INFO: Packet analysis {"connection_id":66079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e086a"} 
[2026-05-08 21:58:21] local.INFO: Extracted packet for processing {"connection_id":66079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e086a"} 
[2026-05-08 21:58:21] local.INFO: GPS Element Parsed {"raw_longitude":759769088,"raw_latitude":106631824,"longitude_deg":75.9769088,"latitude_deg":10.6631824,"altitude":14,"angle":155,"satellites":48,"speed":50,"hex_longitude":"2d492800","hex_latitude":"065b1290","is_valid_coordinates":true} 
[2026-05-08 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-05-08 21:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233950208001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290576454792511488,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5266326472812255232,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778257626000,"timestamp_ms":1778257626000,"timestamp_seconds":1778257626,"priority":1,"record_length":96,"hex_timestamp":"0000019e086a0390"} 
[2026-05-08 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-05-08 21:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 21:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 21:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":66079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":66079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233950208001,"66":27343,"64":206,"78":62464,"24":50,"16":290576454792511488,"45":5266326472812255232},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-05-08 21:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233950208001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:58:21] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-05-08 21:58:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290576454792511488,"km_value":290576454792511.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5266326472812255232,"description":"Unknown IO ID 45"} 
[2026-05-08 21:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233950208001,"power":27343,"unknown_64":206,"unknown_78":62464,"ignition":50,"odometer":null,"unknown_45":5266326472812255232}} 
[2026-05-08 21:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":66079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:58:21] local.INFO: GPS data processed {"connection_id":66079,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:58:21] local.INFO: Acknowledgment sent {"connection_id":66079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:58:43] local.INFO: TCP Data received {"connection_id":65250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:58:43] local.INFO: Processing buffer {"connection_id":65250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:58:43] local.INFO: IMEI packet received {"connection_id":65250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:58:43] local.INFO: IMEI acknowledgment sent {"connection_id":65250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:58:48] local.INFO: TCP Data received {"connection_id":65250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:58:48] local.INFO: Processing buffer {"connection_id":65250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:58:48] local.INFO: IMEI packet received {"connection_id":65250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":65250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:58:50] local.INFO: TCP Data received {"connection_id":65250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e086a1ee8012d4934c0065af1e0000e00a134..."} 
[2026-05-08 21:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e086a1ee8012d4934c0065af1e0000e00a134..."} 
[2026-05-08 21:58:50] local.INFO: Processing buffer {"connection_id":65250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e086a1ee8012d4934c0065af1e0000e00a134..."} 
[2026-05-08 21:58:50] local.INFO: Packet analysis {"connection_id":65250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e086a"} 
[2026-05-08 21:58:50] local.INFO: Extracted packet for processing {"connection_id":65250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e086a"} 
[2026-05-08 21:58:50] local.INFO: GPS Element Parsed {"raw_longitude":759772352,"raw_latitude":106623456,"longitude_deg":75.9772352,"latitude_deg":10.6623456,"altitude":14,"angle":161,"satellites":52,"speed":51,"hex_longitude":"2d4934c0","hex_latitude":"065af1e0","is_valid_coordinates":true} 
[2026-05-08 21:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233952256001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290576892879175680,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5271463391134912512,"note":"Value kept but may cause issues"} 
[2026-05-08 21:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1778257633000,"timestamp_ms":1778257633000,"timestamp_seconds":1778257633,"priority":1,"record_length":96,"hex_timestamp":"0000019e086a1ee8"} 
[2026-05-08 21:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:58:50] 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-05-08 21:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 21:58:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":65250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":65250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":65250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233952256001,"66":27376,"64":206,"78":62464,"24":51,"16":290576892879175680,"45":5271463391134912512},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-05-08 21:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233952256001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:58:50] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-05-08 21:58:50] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290576892879175680,"km_value":290576892879175.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5271463391134912512,"description":"Unknown IO ID 45"} 
[2026-05-08 21:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233952256001,"power":27376,"unknown_64":206,"unknown_78":62464,"ignition":51,"odometer":null,"unknown_45":5271463391134912512}} 
[2026-05-08 21:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":65250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:58:50] local.INFO: GPS data processed {"connection_id":65250,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:58:50] local.INFO: Acknowledgment sent {"connection_id":65250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:59:21] local.INFO: TCP Data received {"connection_id":65250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e086a3a40012d493dc0065acfe8000d00a733..."} 
[2026-05-08 21:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e086a3a40012d493dc0065acfe8000d00a733..."} 
[2026-05-08 21:59:21] local.INFO: Processing buffer {"connection_id":65250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e086a3a40012d493dc0065acfe8000d00a733..."} 
[2026-05-08 21:59:21] local.INFO: Packet analysis {"connection_id":65250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e086a"} 
[2026-05-08 21:59:21] local.INFO: Extracted packet for processing {"connection_id":65250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e086a"} 
[2026-05-08 21:59:21] local.INFO: GPS Element Parsed {"raw_longitude":759774656,"raw_latitude":106614760,"longitude_deg":75.9774656,"latitude_deg":10.661476,"altitude":13,"angle":167,"satellites":51,"speed":52,"hex_longitude":"2d493dc0","hex_latitude":"065acfe8","is_valid_coordinates":true} 
[2026-05-08 21: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-05-08 21:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233954048001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290577326670872576,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5275052197085831168,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778257640000,"timestamp_ms":1778257640000,"timestamp_seconds":1778257640,"priority":1,"record_length":96,"hex_timestamp":"0000019e086a3a40"} 
[2026-05-08 21:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 21: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 21:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21: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-05-08 21:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233954048001,"66":27343,"64":206,"78":62464,"24":52,"16":290577326670872576,"45":5275052197085831168},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,78,24,16,45]} 
[2026-05-08 21:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233954048001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:59:21] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-05-08 21:59:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290577326670872576,"km_value":290577326670872.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5275052197085831168,"description":"Unknown IO ID 45"} 
[2026-05-08 21:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233954048001,"power":27343,"unknown_64":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5275052197085831168}} 
[2026-05-08 21:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":65250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:59:21] local.INFO: GPS data processed {"connection_id":65250,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:59:21] local.INFO: Acknowledgment sent {"connection_id":65250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:59:48] local.INFO: TCP Data received {"connection_id":66081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:59:48] local.INFO: Processing buffer {"connection_id":66081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:59:48] local.INFO: IMEI packet received {"connection_id":66081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 21:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":66081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 21:59:50] local.INFO: TCP Data received {"connection_id":66081,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:59:50] local.INFO: Processing buffer {"connection_id":66081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 21:59:50] local.INFO: IMEI packet received {"connection_id":66081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 21:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":66081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 21:59:52] local.INFO: TCP Data received {"connection_id":66081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e086b8260012d49c400065969400012009932..."} 
[2026-05-08 21:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e086b8260012d49c400065969400012009932..."} 
[2026-05-08 21:59:52] local.INFO: Processing buffer {"connection_id":66081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e086b8260012d49c400065969400012009932..."} 
[2026-05-08 21:59:52] local.INFO: Packet analysis {"connection_id":66081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e086b"} 
[2026-05-08 21:59:52] local.INFO: Extracted packet for processing {"connection_id":66081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e086b"} 
[2026-05-08 21:59:52] local.INFO: GPS Element Parsed {"raw_longitude":759809024,"raw_latitude":106522944,"longitude_deg":75.9809024,"latitude_deg":10.6522944,"altitude":18,"angle":153,"satellites":50,"speed":55,"hex_longitude":"2d49c400","hex_latitude":"06596940","is_valid_coordinates":true} 
[2026-05-08 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-05-08 21:59:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233975552001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290582167099015168,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5310447675383644160,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:59:52] local.INFO: AVL Record Parsed {"raw_timestamp":1778257724000,"timestamp_ms":1778257724000,"timestamp_seconds":1778257724,"priority":1,"record_length":96,"hex_timestamp":"0000019e086b8260"} 
[2026-05-08 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-05-08 21:59:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 21:59:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 21:59:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:59:52] local.INFO: Teltonika packet parsed successfully {"connection_id":66081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:59:52] local.INFO: Passing IMEI to GPS processor {"connection_id":66081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:59:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":66081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:59:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:59:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:59:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:59:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233975552001,"66":27267,"131":206,"78":62464,"24":55,"16":290582167099015168,"45":5310447675383644160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-05-08 21:59:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:59:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:59:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233975552001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:59:52] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-05-08 21:59:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:59:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290582167099015168,"km_value":290582167099015.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:59:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5310447675383644160,"description":"Unknown IO ID 45"} 
[2026-05-08 21:59:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233975552001,"power":27267,"unknown_131":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5310447675383644160}} 
[2026-05-08 21:59:52] local.INFO: DEBUG: GPS processor result {"connection_id":66081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:59:52] local.INFO: GPS data processed {"connection_id":66081,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:59:52] local.INFO: Acknowledgment sent {"connection_id":66081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 21:59:56] local.INFO: TCP Data received {"connection_id":66081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e086b9db8012d49d640065946d8000f009832..."} 
[2026-05-08 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e086b9db8012d49d640065946d8000f009832..."} 
[2026-05-08 21:59:56] local.INFO: Processing buffer {"connection_id":66081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e086b9db8012d49d640065946d8000f009832..."} 
[2026-05-08 21:59:56] local.INFO: Packet analysis {"connection_id":66081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e086b"} 
[2026-05-08 21:59:56] local.INFO: Extracted packet for processing {"connection_id":66081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e086b"} 
[2026-05-08 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":759813696,"raw_latitude":106514136,"longitude_deg":75.9813696,"latitude_deg":10.6514136,"altitude":15,"angle":152,"satellites":50,"speed":57,"hex_longitude":"2d49d640","hex_latitude":"065946d8","is_valid_coordinates":true} 
[2026-05-08 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233977344001,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290582643840385024,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5315373487473901568,"note":"Value kept but may cause issues"} 
[2026-05-08 21:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1778257731000,"timestamp_ms":1778257731000,"timestamp_seconds":1778257731,"priority":1,"record_length":96,"hex_timestamp":"0000019e086b9db8"} 
[2026-05-08 21:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 21:59: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-05-08 21:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 21:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 21:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 21:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":66081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":66081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":66081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 21:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233977344001,"66":27343,"131":206,"78":62464,"24":57,"16":290582643840385024,"45":5315373487473901568},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-05-08 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233977344001,"description":"Unknown IO ID 0"} 
[2026-05-08 21:59:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-05-08 21:59:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290582643840385024,"km_value":290582643840385.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5315373487473901568,"description":"Unknown IO ID 45"} 
[2026-05-08 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233977344001,"power":27343,"unknown_131":206,"unknown_78":62464,"ignition":57,"odometer":null,"unknown_45":5315373487473901568}} 
[2026-05-08 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":66081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 21:59:56] local.INFO: GPS data processed {"connection_id":66081,"processed":1,"errors":0,"total":1} 
[2026-05-08 21:59:56] local.INFO: Acknowledgment sent {"connection_id":66081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:00:15] local.INFO: TCP Data received {"connection_id":65299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65299,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:00:15] local.INFO: Processing buffer {"connection_id":65299,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:00:15] local.INFO: IMEI packet received {"connection_id":65299,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":65299,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:00:27] local.INFO: TCP Data received {"connection_id":66081,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e086bb910012d49e880065924a8000f009832..."} 
[2026-05-08 22:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e086bb910012d49e880065924a8000f009832..."} 
[2026-05-08 22:00:27] local.INFO: Processing buffer {"connection_id":66081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e086bb910012d49e880065924a8000f009832..."} 
[2026-05-08 22:00:27] local.INFO: Packet analysis {"connection_id":66081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e086b"} 
[2026-05-08 22:00:27] local.INFO: Extracted packet for processing {"connection_id":66081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e086b"} 
[2026-05-08 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":759818368,"raw_latitude":106505384,"longitude_deg":75.9818368,"latitude_deg":10.6505384,"altitude":15,"angle":152,"satellites":50,"speed":54,"hex_longitude":"2d49e880","hex_latitude":"065924a8","is_valid_coordinates":true} 
[2026-05-08 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455233979136001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290583124876722176,"note":"Value kept but may cause issues"} 
[2026-05-08 22:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5320510405796616192,"note":"Value kept but may cause issues"} 
[2026-05-08 22:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1778257738000,"timestamp_ms":1778257738000,"timestamp_seconds":1778257738,"priority":1,"record_length":96,"hex_timestamp":"0000019e086bb910"} 
[2026-05-08 22:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:00: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-05-08 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":66081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":66081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":66081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455233979136001,"66":27245,"131":206,"78":62464,"24":54,"16":290583124876722176,"45":5320510405796616192},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,78,24,16,45]} 
[2026-05-08 22:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455233979136001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:00:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-05-08 22:00:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290583124876722176,"km_value":290583124876722.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5320510405796616192,"description":"Unknown IO ID 45"} 
[2026-05-08 22:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455233979136001,"power":27245,"unknown_131":206,"unknown_78":62464,"ignition":54,"odometer":null,"unknown_45":5320510405796616192}} 
[2026-05-08 22:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":66081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:00:27] local.INFO: GPS data processed {"connection_id":66081,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:00:27] local.INFO: Acknowledgment sent {"connection_id":66081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:00:40] local.INFO: TCP Data received {"connection_id":65251,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65251,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:00:40] local.INFO: Processing buffer {"connection_id":65251,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:00:40] local.INFO: IMEI packet received {"connection_id":65251,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":65251,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:00:43] local.INFO: TCP Data received {"connection_id":65300,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:00:43] local.INFO: Processing buffer {"connection_id":65300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:00:43] local.INFO: IMEI packet received {"connection_id":65300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:00:43] local.INFO: IMEI acknowledgment sent {"connection_id":65300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:00:57] local.INFO: TCP Data received {"connection_id":65300,"ip":"42.106.6.15","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65300,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 22:00:57] local.INFO: Processing buffer {"connection_id":65300,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 22:00:57] local.INFO: IMEI packet received {"connection_id":65300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":65300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:05:55] local.INFO: TCP Data received {"connection_id":65303,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:05:55] local.INFO: Processing buffer {"connection_id":65303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:05:55] local.INFO: IMEI packet received {"connection_id":65303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":65303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:05:58] local.INFO: TCP Data received {"connection_id":65304,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:05:58] local.INFO: Processing buffer {"connection_id":65304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:05:58] local.INFO: IMEI packet received {"connection_id":65304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:05:58] local.INFO: IMEI acknowledgment sent {"connection_id":65304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:05:59] local.INFO: TCP Data received {"connection_id":65304,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08712f80012d4d4fc00652be28000f009732..."} 
[2026-05-08 22:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08712f80012d4d4fc00652be28000f009732..."} 
[2026-05-08 22:05:59] local.INFO: Processing buffer {"connection_id":65304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08712f80012d4d4fc00652be28000f009732..."} 
[2026-05-08 22:05:59] local.INFO: Packet analysis {"connection_id":65304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0871"} 
[2026-05-08 22:05:59] local.INFO: Extracted packet for processing {"connection_id":65304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0871"} 
[2026-05-08 22:05:59] local.INFO: GPS Element Parsed {"raw_longitude":760041408,"raw_latitude":106085928,"longitude_deg":76.0041408,"latitude_deg":10.6085928,"altitude":15,"angle":151,"satellites":50,"speed":58,"hex_longitude":"2d4d4fc0","hex_latitude":"0652be28","is_valid_coordinates":true} 
[2026-05-08 22:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234070784001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290606193146068992,"note":"Value kept but may cause issues"} 
[2026-05-08 22:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565534372915943424,"note":"Value kept but may cause issues"} 
[2026-05-08 22:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778258096000,"timestamp_ms":1778258096000,"timestamp_seconds":1778258096,"priority":1,"record_length":96,"hex_timestamp":"0000019e08712f80"} 
[2026-05-08 22:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:05: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-05-08 22:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 22:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234070784001,"66":27234,"61":206,"78":62464,"24":58,"16":290606193146068992,"45":5565534372915943424},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-05-08 22:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234070784001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:05:59] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-05-08 22:05:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290606193146068992,"km_value":290606193146069.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565534372915943424,"description":"Unknown IO ID 45"} 
[2026-05-08 22:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234070784001,"power":27234,"unknown_61":206,"unknown_78":62464,"ignition":58,"odometer":null,"unknown_45":5565534372915943424}} 
[2026-05-08 22:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":65304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:05:59] local.INFO: GPS data processed {"connection_id":65304,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:05:59] local.INFO: Acknowledgment sent {"connection_id":65304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:06:42] local.INFO: TCP Data received {"connection_id":65392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:42] local.INFO: Processing buffer {"connection_id":65392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:42] local.INFO: IMEI packet received {"connection_id":65392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:06:42] local.INFO: IMEI acknowledgment sent {"connection_id":65392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:06:43] local.INFO: TCP Data received {"connection_id":65392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:43] local.INFO: Processing buffer {"connection_id":65392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:43] local.INFO: IMEI packet received {"connection_id":65392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":65392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:06:45] local.INFO: TCP Data received {"connection_id":65253,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:06:45] local.INFO: Processing buffer {"connection_id":65253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:06:45] local.INFO: IMEI packet received {"connection_id":65253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:06:45] local.INFO: IMEI acknowledgment sent {"connection_id":65253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:06:48] local.INFO: TCP Data received {"connection_id":65392,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:48] local.INFO: Processing buffer {"connection_id":65392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:06:48] local.INFO: IMEI packet received {"connection_id":65392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":65392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:06:49] local.INFO: TCP Data received {"connection_id":65392,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087146f0012d4d618006529f50000e009631..."} 
[2026-05-08 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087146f0012d4d618006529f50000e009631..."} 
[2026-05-08 22:06:49] local.INFO: Processing buffer {"connection_id":65392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087146f0012d4d618006529f50000e009631..."} 
[2026-05-08 22:06:49] local.INFO: Packet analysis {"connection_id":65392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0871"} 
[2026-05-08 22:06:49] local.INFO: Extracted packet for processing {"connection_id":65392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0871"} 
[2026-05-08 22:06:49] local.INFO: GPS Element Parsed {"raw_longitude":760045952,"raw_latitude":106078032,"longitude_deg":76.0045952,"latitude_deg":10.6078032,"altitude":14,"angle":150,"satellites":49,"speed":60,"hex_longitude":"2d4d6180","hex_latitude":"06529f50","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234072576001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290606631232733184,"note":"Value kept but may cause issues"} 
[2026-05-08 22:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5570882397471123456,"note":"Value kept but may cause issues"} 
[2026-05-08 22:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778258102000,"timestamp_ms":1778258102000,"timestamp_seconds":1778258102,"priority":1,"record_length":96,"hex_timestamp":"0000019e087146f0"} 
[2026-05-08 22:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22: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-05-08 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 22:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234072576001,"66":27365,"61":206,"78":62464,"24":60,"16":290606631232733184,"45":5570882397471123456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-05-08 22:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234072576001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:06:49] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-05-08 22:06:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290606631232733184,"km_value":290606631232733.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5570882397471123456,"description":"Unknown IO ID 45"} 
[2026-05-08 22:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234072576001,"power":27365,"unknown_61":206,"unknown_78":62464,"ignition":60,"odometer":null,"unknown_45":5570882397471123456}} 
[2026-05-08 22:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":65392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:06:49] local.INFO: GPS data processed {"connection_id":65392,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:06:49] local.INFO: Acknowledgment sent {"connection_id":65392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:07:20] local.INFO: TCP Data received {"connection_id":65392,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08728b28012d4e23400650ff48000c009d32..."} 
[2026-05-08 22:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08728b28012d4e23400650ff48000c009d32..."} 
[2026-05-08 22:07:20] local.INFO: Processing buffer {"connection_id":65392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08728b28012d4e23400650ff48000c009d32..."} 
[2026-05-08 22:07:20] local.INFO: Packet analysis {"connection_id":65392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0872"} 
[2026-05-08 22:07:20] local.INFO: Extracted packet for processing {"connection_id":65392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0872"} 
[2026-05-08 22:07:20] local.INFO: GPS Element Parsed {"raw_longitude":760095552,"raw_latitude":105971528,"longitude_deg":76.0095552,"latitude_deg":10.5971528,"altitude":12,"angle":157,"satellites":50,"speed":55,"hex_longitude":"2d4e2340","hex_latitude":"0650ff48","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234093568001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290612317769433088,"note":"Value kept but may cause issues"} 
[2026-05-08 22:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5626403336600272896,"note":"Value kept but may cause issues"} 
[2026-05-08 22:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778258185000,"timestamp_ms":1778258185000,"timestamp_seconds":1778258185,"priority":1,"record_length":96,"hex_timestamp":"0000019e08728b28"} 
[2026-05-08 22:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:07: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-05-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 22:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234093568001,"66":27267,"61":206,"78":62464,"24":55,"16":290612317769433088,"45":5626403336600272896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-05-08 22:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234093568001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:07:20] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-05-08 22:07:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290612317769433088,"km_value":290612317769433.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5626403336600272896,"description":"Unknown IO ID 45"} 
[2026-05-08 22:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234093568001,"power":27267,"unknown_61":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5626403336600272896}} 
[2026-05-08 22:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":65392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:07:20] local.INFO: GPS data processed {"connection_id":65392,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:07:20] local.INFO: Acknowledgment sent {"connection_id":65392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:07:48] local.INFO: TCP Data received {"connection_id":65305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:07:48] local.INFO: Processing buffer {"connection_id":65305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:07:48] local.INFO: IMEI packet received {"connection_id":65305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":65305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:08:09] local.INFO: TCP Data received {"connection_id":65305,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:08:09] local.INFO: Processing buffer {"connection_id":65305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:08:09] local.INFO: IMEI packet received {"connection_id":65305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":65305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:08:10] local.INFO: TCP Data received {"connection_id":65305,"ip":"42.106.6.15","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 22:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65305,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 22:08:10] local.INFO: Processing buffer {"connection_id":65305,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 22:08:10] local.INFO: IMEI packet received {"connection_id":65305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":65305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:12:05] local.INFO: TCP Data received {"connection_id":66088,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66088,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:12:05] local.INFO: Processing buffer {"connection_id":66088,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:12:05] local.INFO: IMEI packet received {"connection_id":66088,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":66088,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:12:40] local.INFO: TCP Data received {"connection_id":66089,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66089,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:12:40] local.INFO: Processing buffer {"connection_id":66089,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:12:40] local.INFO: IMEI packet received {"connection_id":66089,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":66089,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:13:08] local.INFO: TCP Data received {"connection_id":65394,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65394,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:08] local.INFO: Processing buffer {"connection_id":65394,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:08] local.INFO: IMEI packet received {"connection_id":65394,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":65394,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:13:09] local.INFO: TCP Data received {"connection_id":65394,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0876f410012d503180064e7070000c005a33..."} 
[2026-05-08 22:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0876f410012d503180064e7070000c005a33..."} 
[2026-05-08 22:13:09] local.INFO: Processing buffer {"connection_id":65394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0876f410012d503180064e7070000c005a33..."} 
[2026-05-08 22:13:09] local.INFO: Packet analysis {"connection_id":65394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0876"} 
[2026-05-08 22:13:09] local.INFO: Extracted packet for processing {"connection_id":65394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0876"} 
[2026-05-08 22:13:09] local.INFO: GPS Element Parsed {"raw_longitude":760230272,"raw_latitude":105803888,"longitude_deg":76.0230272,"latitude_deg":10.5803888,"altitude":12,"angle":90,"satellites":51,"speed":16,"hex_longitude":"2d503180","hex_latitude":"064e7070","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234169088001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290624588490997760,"note":"Value kept but may cause issues"} 
[2026-05-08 22:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5778047980257945600,"note":"Value kept but may cause issues"} 
[2026-05-08 22:13:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,6,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1778258474000,"timestamp_ms":1778258474000,"timestamp_seconds":1778258474,"priority":1,"record_length":96,"hex_timestamp":"0000019e0876f410"} 
[2026-05-08 22:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:13: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-05-08 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 22:13:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":65394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":65394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":65394,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:13: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-05-08 22:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234169088001,"66":27300,"6":206,"78":62464,"24":16,"16":290624588490997760,"45":5778047980257945600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,78,24,16,45]} 
[2026-05-08 22:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234169088001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:13:09] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-05-08 22:13:09] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290624588490997760,"km_value":290624588490997.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5778047980257945600,"description":"Unknown IO ID 45"} 
[2026-05-08 22:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234169088001,"power":27300,"unknown_6":206,"unknown_78":62464,"ignition":16,"odometer":null,"unknown_45":5778047980257945600}} 
[2026-05-08 22:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":65394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:13:09] local.INFO: GPS data processed {"connection_id":65394,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:13:09] local.INFO: Acknowledgment sent {"connection_id":65394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:13:43] local.INFO: TCP Data received {"connection_id":65257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:43] local.INFO: Processing buffer {"connection_id":65257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:43] local.INFO: IMEI packet received {"connection_id":65257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:13:43] local.INFO: IMEI acknowledgment sent {"connection_id":65257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:13:47] local.INFO: TCP Data received {"connection_id":65257,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:47] local.INFO: Processing buffer {"connection_id":65257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:13:47] local.INFO: IMEI packet received {"connection_id":65257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":65257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:13:48] local.INFO: TCP Data received {"connection_id":65257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08783460012d50a300064ddf00000a00ae31..."} 
[2026-05-08 22:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08783460012d50a300064ddf00000a00ae31..."} 
[2026-05-08 22:13:48] local.INFO: Processing buffer {"connection_id":65257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08783460012d50a300064ddf00000a00ae31..."} 
[2026-05-08 22:13:48] local.INFO: Packet analysis {"connection_id":65257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:13:48] local.INFO: Extracted packet for processing {"connection_id":65257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:13:48] local.INFO: GPS Element Parsed {"raw_longitude":760259328,"raw_latitude":105766656,"longitude_deg":76.0259328,"latitude_deg":10.5766656,"altitude":10,"angle":174,"satellites":49,"speed":8,"hex_longitude":"2d50a300","hex_latitude":"064ddf00","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234189824001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290626916363272192,"note":"Value kept but may cause issues"} 
[2026-05-08 22:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810487971314419712,"note":"Value kept but may cause issues"} 
[2026-05-08 22:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778258556000,"timestamp_ms":1778258556000,"timestamp_seconds":1778258556,"priority":1,"record_length":96,"hex_timestamp":"0000019e08783460"} 
[2026-05-08 22:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:13: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-05-08 22: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 22:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234189824001,"66":27267,"239":206,"78":62464,"24":8,"16":290626916363272192,"45":5810487971314419712},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-05-08 22:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234189824001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:13:48] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-05-08 22:13:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290626916363272192,"km_value":290626916363272.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810487971314419712,"description":"Unknown IO ID 45"} 
[2026-05-08 22:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234189824001,"power":27267,"unknown_239":206,"unknown_78":62464,"ignition":8,"odometer":null,"unknown_45":5810487971314419712}} 
[2026-05-08 22:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":65257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:13:48] local.INFO: GPS data processed {"connection_id":65257,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:13:48] local.INFO: Acknowledgment sent {"connection_id":65257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:14:19] local.INFO: TCP Data received {"connection_id":65257,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08783c30012d50a340064ddd60000a009e33..."} 
[2026-05-08 22:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08783c30012d50a340064ddd60000a009e33..."} 
[2026-05-08 22:14:19] local.INFO: Processing buffer {"connection_id":65257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08783c30012d50a340064ddd60000a009e33..."} 
[2026-05-08 22:14:19] local.INFO: Packet analysis {"connection_id":65257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:14:19] local.INFO: Extracted packet for processing {"connection_id":65257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:14:19] local.INFO: GPS Element Parsed {"raw_longitude":760259392,"raw_latitude":105766240,"longitude_deg":76.0259392,"latitude_deg":10.576624,"altitude":10,"angle":158,"satellites":51,"speed":5,"hex_longitude":"2d50a340","hex_latitude":"064ddd60","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234190336001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290626937838108672,"note":"Value kept but may cause issues"} 
[2026-05-08 22:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810487971314335744,"note":"Value kept but may cause issues"} 
[2026-05-08 22:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778258558000,"timestamp_ms":1778258558000,"timestamp_seconds":1778258558,"priority":1,"record_length":96,"hex_timestamp":"0000019e08783c30"} 
[2026-05-08 22:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:14: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-05-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 22:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234190336001,"66":27365,"239":206,"78":62464,"24":5,"16":290626937838108672,"45":5810487971314335744},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-05-08 22:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234190336001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:14:19] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-05-08 22:14:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290626937838108672,"km_value":290626937838108.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810487971314335744,"description":"Unknown IO ID 45"} 
[2026-05-08 22:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234190336001,"power":27365,"unknown_239":206,"unknown_78":62464,"ignition":5,"odometer":null,"unknown_45":5810487971314335744}} 
[2026-05-08 22:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":65257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:14:19] local.INFO: GPS data processed {"connection_id":65257,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:14:19] local.INFO: Acknowledgment sent {"connection_id":65257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:14:42] local.INFO: TCP Data received {"connection_id":65395,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:14:42] local.INFO: Processing buffer {"connection_id":65395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:14:42] local.INFO: IMEI packet received {"connection_id":65395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":65395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:14:48] local.INFO: TCP Data received {"connection_id":65395,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:14:48] local.INFO: Processing buffer {"connection_id":65395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:14:48] local.INFO: IMEI packet received {"connection_id":65395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":65395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:14:50] local.INFO: TCP Data received {"connection_id":65395,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08784fb8012d50a4c0064dd970000a008a33..."} 
[2026-05-08 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08784fb8012d50a4c0064dd970000a008a33..."} 
[2026-05-08 22:14:50] local.INFO: Processing buffer {"connection_id":65395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08784fb8012d50a4c0064dd970000a008a33..."} 
[2026-05-08 22:14:50] local.INFO: Packet analysis {"connection_id":65395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:14:50] local.INFO: Extracted packet for processing {"connection_id":65395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:14:50] local.INFO: GPS Element Parsed {"raw_longitude":760259776,"raw_latitude":105765232,"longitude_deg":76.0259776,"latitude_deg":10.5765232,"altitude":10,"angle":138,"satellites":51,"speed":7,"hex_longitude":"2d50a4c0","hex_latitude":"064dd970","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234190848001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290626989377716224,"note":"Value kept but may cause issues"} 
[2026-05-08 22:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810558340058406912,"note":"Value kept but may cause issues"} 
[2026-05-08 22:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1778258563000,"timestamp_ms":1778258563000,"timestamp_seconds":1778258563,"priority":1,"record_length":96,"hex_timestamp":"0000019e08784fb8"} 
[2026-05-08 22:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:14: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-05-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 22:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":65395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":65395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":65395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234190848001,"66":27343,"239":206,"78":62464,"24":7,"16":290626989377716224,"45":5810558340058406912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-05-08 22:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234190848001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:14:50] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-05-08 22:14:50] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290626989377716224,"km_value":290626989377716.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810558340058406912,"description":"Unknown IO ID 45"} 
[2026-05-08 22:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234190848001,"power":27343,"unknown_239":206,"unknown_78":62464,"ignition":7,"odometer":null,"unknown_45":5810558340058406912}} 
[2026-05-08 22:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":65395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:14:50] local.INFO: GPS data processed {"connection_id":65395,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:14:50] local.INFO: Acknowledgment sent {"connection_id":65395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:15:21] local.INFO: TCP Data received {"connection_id":65395,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08786ef8012d50aac0064dd168000b009634..."} 
[2026-05-08 22:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08786ef8012d50aac0064dd168000b009634..."} 
[2026-05-08 22:15:21] local.INFO: Processing buffer {"connection_id":65395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08786ef8012d50aac0064dd168000b009634..."} 
[2026-05-08 22:15:21] local.INFO: Packet analysis {"connection_id":65395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:15:21] local.INFO: Extracted packet for processing {"connection_id":65395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:15:21] local.INFO: GPS Element Parsed {"raw_longitude":760261312,"raw_latitude":105763176,"longitude_deg":76.0261312,"latitude_deg":10.5763176,"altitude":11,"angle":150,"satellites":52,"speed":13,"hex_longitude":"2d50aac0","hex_latitude":"064dd168","is_valid_coordinates":true} 
[2026-05-08 22:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234192128001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290627113931767808,"note":"Value kept but may cause issues"} 
[2026-05-08 22:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810980552523214848,"note":"Value kept but may cause issues"} 
[2026-05-08 22:15:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778258571000,"timestamp_ms":1778258571000,"timestamp_seconds":1778258571,"priority":1,"record_length":96,"hex_timestamp":"0000019e08786ef8"} 
[2026-05-08 22:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:15: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-05-08 22:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:15:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234192128001,"66":27343,"239":206,"78":62464,"24":13,"16":290627113931767808,"45":5810980552523214848},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-05-08 22:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234192128001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:15:21] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-05-08 22:15:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290627113931767808,"km_value":290627113931767.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810980552523214848,"description":"Unknown IO ID 45"} 
[2026-05-08 22:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234192128001,"power":27343,"unknown_239":206,"unknown_78":62464,"ignition":13,"odometer":null,"unknown_45":5810980552523214848}} 
[2026-05-08 22:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":65395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:15:21] local.INFO: GPS data processed {"connection_id":65395,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:15:21] local.INFO: Acknowledgment sent {"connection_id":65395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:15:43] local.INFO: TCP Data received {"connection_id":65396,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:43] local.INFO: Processing buffer {"connection_id":65396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:43] local.INFO: IMEI packet received {"connection_id":65396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":65396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:15:43] local.INFO: TCP Data received {"connection_id":65396,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:43] local.INFO: Processing buffer {"connection_id":65396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:43] local.INFO: IMEI packet received {"connection_id":65396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":65396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:15:48] local.INFO: TCP Data received {"connection_id":65396,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:48] local.INFO: Processing buffer {"connection_id":65396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:15:48] local.INFO: IMEI packet received {"connection_id":65396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":65396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:15:49] local.INFO: TCP Data received {"connection_id":65396,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0878b548012d50bf00064db440000c008b33..."} 
[2026-05-08 22:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0878b548012d50bf00064db440000c008b33..."} 
[2026-05-08 22:15:49] local.INFO: Processing buffer {"connection_id":65396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0878b548012d50bf00064db440000c008b33..."} 
[2026-05-08 22:15:49] local.INFO: Packet analysis {"connection_id":65396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:15:49] local.INFO: Extracted packet for processing {"connection_id":65396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0878"} 
[2026-05-08 22:15:49] local.INFO: GPS Element Parsed {"raw_longitude":760266496,"raw_latitude":105755712,"longitude_deg":76.0266496,"latitude_deg":10.5755712,"altitude":12,"angle":139,"satellites":51,"speed":19,"hex_longitude":"2d50bf00","hex_latitude":"064db440","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234194176001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290627552018432000,"note":"Value kept but may cause issues"} 
[2026-05-08 22:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5812669402382952448,"note":"Value kept but may cause issues"} 
[2026-05-08 22:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778258589000,"timestamp_ms":1778258589000,"timestamp_seconds":1778258589,"priority":1,"record_length":96,"hex_timestamp":"0000019e0878b548"} 
[2026-05-08 22:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:15: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-05-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234194176001,"66":27376,"239":206,"78":62464,"24":19,"16":290627552018432000,"45":5812669402382952448},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-05-08 22:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234194176001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:15:49] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-05-08 22:15:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-05-08 22:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290627552018432000,"km_value":290627552018432,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5812669402382952448,"description":"Unknown IO ID 45"} 
[2026-05-08 22:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234194176001,"power":27376,"unknown_239":206,"unknown_78":62464,"ignition":19,"odometer":null,"unknown_45":5812669402382952448}} 
[2026-05-08 22:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":65396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:15:49] local.INFO: GPS data processed {"connection_id":65396,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:15:49] local.INFO: Acknowledgment sent {"connection_id":65396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:16:22] local.INFO: TCP Data received {"connection_id":65396,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087abcd0012d516100064c6708000c00972e..."} 
[2026-05-08 22:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087abcd0012d516100064c6708000c00972e..."} 
[2026-05-08 22:16:22] local.INFO: Processing buffer {"connection_id":65396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087abcd0012d516100064c6708000c00972e..."} 
[2026-05-08 22:16:22] local.INFO: Packet analysis {"connection_id":65396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087a"} 
[2026-05-08 22:16:22] local.INFO: Extracted packet for processing {"connection_id":65396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087a"} 
[2026-05-08 22:16:22] local.INFO: GPS Element Parsed {"raw_longitude":760307968,"raw_latitude":105670408,"longitude_deg":76.0307968,"latitude_deg":10.5670408,"altitude":12,"angle":151,"satellites":46,"speed":49,"hex_longitude":"2d516100","hex_latitude":"064c6708","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234230784001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290632177698209792,"note":"Value kept but may cause issues"} 
[2026-05-08 22:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858549823565209600,"note":"Value kept but may cause issues"} 
[2026-05-08 22:16:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1778258722000,"timestamp_ms":1778258722000,"timestamp_seconds":1778258722,"priority":1,"record_length":96,"hex_timestamp":"0000019e087abcd0"} 
[2026-05-08 22:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:16: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-05-08 22: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 22:16:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":65396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":65396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":65396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234230784001,"66":27321,"95":206,"78":38912,"24":49,"16":290632177698209792,"45":5858549823565209600},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-05-08 22:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234230784001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:16:22] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-05-08 22:16:22] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290632177698209792,"km_value":290632177698209.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5858549823565209600,"description":"Unknown IO ID 45"} 
[2026-05-08 22:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234230784001,"power":27321,"unknown_95":206,"unknown_78":38912,"ignition":49,"odometer":null,"unknown_45":5858549823565209600}} 
[2026-05-08 22:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":65396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:16:22] local.INFO: GPS data processed {"connection_id":65396,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:16:22] local.INFO: Acknowledgment sent {"connection_id":65396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:16:42] local.INFO: TCP Data received {"connection_id":66092,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:16:42] local.INFO: Processing buffer {"connection_id":66092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:16:42] local.INFO: IMEI packet received {"connection_id":66092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":66092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:16:48] local.INFO: TCP Data received {"connection_id":66092,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:16:48] local.INFO: Processing buffer {"connection_id":66092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:16:48] local.INFO: IMEI packet received {"connection_id":66092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:16:48] local.INFO: IMEI acknowledgment sent {"connection_id":66092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:16:49] local.INFO: TCP Data received {"connection_id":66092,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087adff8012d517040064c44c8000c00a130..."} 
[2026-05-08 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087adff8012d517040064c44c8000c00a130..."} 
[2026-05-08 22:16:49] local.INFO: Processing buffer {"connection_id":66092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087adff8012d517040064c44c8000c00a130..."} 
[2026-05-08 22:16:49] local.INFO: Packet analysis {"connection_id":66092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087a"} 
[2026-05-08 22:16:49] local.INFO: Extracted packet for processing {"connection_id":66092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087a"} 
[2026-05-08 22:16:49] local.INFO: GPS Element Parsed {"raw_longitude":760311872,"raw_latitude":105661640,"longitude_deg":76.0311872,"latitude_deg":10.566164,"altitude":12,"angle":161,"satellites":48,"speed":29,"hex_longitude":"2d517040","hex_latitude":"064c44c8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234232832001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290632641554677760,"note":"Value kept but may cause issues"} 
[2026-05-08 22:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5863968216864720896,"note":"Value kept but may cause issues"} 
[2026-05-08 22:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778258731000,"timestamp_ms":1778258731000,"timestamp_seconds":1778258731,"priority":1,"record_length":96,"hex_timestamp":"0000019e087adff8"} 
[2026-05-08 22:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:16: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-05-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":66092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":66092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":66092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234232832001,"66":27397,"95":206,"78":38912,"24":29,"16":290632641554677760,"45":5863968216864720896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-05-08 22:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234232832001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:16:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-05-08 22:16:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290632641554677760,"km_value":290632641554677.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5863968216864720896,"description":"Unknown IO ID 45"} 
[2026-05-08 22:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234232832001,"power":27397,"unknown_95":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":5863968216864720896}} 
[2026-05-08 22:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":66092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:16:49] local.INFO: GPS data processed {"connection_id":66092,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:16:49] local.INFO: Acknowledgment sent {"connection_id":66092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:17:21] local.INFO: TCP Data received {"connection_id":66092,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087b0708012d5177c0064c3228000900932f..."} 
[2026-05-08 22:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087b0708012d5177c0064c3228000900932f..."} 
[2026-05-08 22:17:21] local.INFO: Processing buffer {"connection_id":66092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087b0708012d5177c0064c3228000900932f..."} 
[2026-05-08 22:17:21] local.INFO: Packet analysis {"connection_id":66092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:17:21] local.INFO: Extracted packet for processing {"connection_id":66092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:17:21] local.INFO: GPS Element Parsed {"raw_longitude":760313792,"raw_latitude":105656872,"longitude_deg":76.0313792,"latitude_deg":10.5656872,"altitude":9,"angle":147,"satellites":47,"speed":21,"hex_longitude":"2d5177c0","hex_latitude":"064c3228","is_valid_coordinates":true} 
[2026-05-08 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-05-08 22:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234235136001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290632890662780928,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868260710257313792,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778258741000,"timestamp_ms":1778258741000,"timestamp_seconds":1778258741,"priority":1,"record_length":96,"hex_timestamp":"0000019e087b0708"} 
[2026-05-08 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-05-08 22:17: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-05-08 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 22:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 22:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":66092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":66092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":66092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234235136001,"66":27365,"95":206,"78":38912,"24":21,"16":290632890662780928,"45":5868260710257313792},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-05-08 22:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234235136001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:17:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-05-08 22:17:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290632890662780928,"km_value":290632890662780.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868260710257313792,"description":"Unknown IO ID 45"} 
[2026-05-08 22:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234235136001,"power":27365,"unknown_95":206,"unknown_78":38912,"ignition":21,"odometer":null,"unknown_45":5868260710257313792}} 
[2026-05-08 22:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":66092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:17:21] local.INFO: GPS data processed {"connection_id":66092,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:17:21] local.INFO: Acknowledgment sent {"connection_id":66092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:17:48] local.INFO: TCP Data received {"connection_id":65309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:17:48] local.INFO: Processing buffer {"connection_id":65309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:17:48] local.INFO: IMEI packet received {"connection_id":65309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":65309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:17:52] local.INFO: TCP Data received {"connection_id":65309,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:17:52] local.INFO: Processing buffer {"connection_id":65309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:17:52] local.INFO: IMEI packet received {"connection_id":65309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":65309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:17:54] local.INFO: TCP Data received {"connection_id":65309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087b3200012d5185c0064c1678000a00a02b..."} 
[2026-05-08 22:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087b3200012d5185c0064c1678000a00a02b..."} 
[2026-05-08 22:17:54] local.INFO: Processing buffer {"connection_id":65309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087b3200012d5185c0064c1678000a00a02b..."} 
[2026-05-08 22:17:54] local.INFO: Packet analysis {"connection_id":65309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:17:54] local.INFO: Extracted packet for processing {"connection_id":65309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:17:54] local.INFO: GPS Element Parsed {"raw_longitude":760317376,"raw_latitude":105649784,"longitude_deg":76.0317376,"latitude_deg":10.5649784,"altitude":10,"angle":160,"satellites":43,"speed":31,"hex_longitude":"2d5185c0","hex_latitude":"064c1678","is_valid_coordinates":true} 
[2026-05-08 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234237696001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290633277209837568,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5870371772581423104,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778258752000,"timestamp_ms":1778258752000,"timestamp_seconds":1778258752,"priority":1,"record_length":96,"hex_timestamp":"0000019e087b3200"} 
[2026-05-08 22:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:17: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-05-08 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 22:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":65309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":65309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":65309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234237696001,"66":27332,"95":206,"78":38912,"24":31,"16":290633277209837568,"45":5870371772581423104},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-05-08 22:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234237696001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:17:54] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-05-08 22:17:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290633277209837568,"km_value":290633277209837.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":5870371772581423104,"description":"Unknown IO ID 45"} 
[2026-05-08 22:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234237696001,"power":27332,"unknown_95":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":5870371772581423104}} 
[2026-05-08 22:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":65309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:17:54] local.INFO: GPS data processed {"connection_id":65309,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:17:54] local.INFO: Acknowledgment sent {"connection_id":65309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:17:56] local.INFO: TCP Data received {"connection_id":65309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087b5cf8012d5193c0064bf3480009009e2f..."} 
[2026-05-08 22:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087b5cf8012d5193c0064bf3480009009e2f..."} 
[2026-05-08 22:17:56] local.INFO: Processing buffer {"connection_id":65309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087b5cf8012d5193c0064bf3480009009e2f..."} 
[2026-05-08 22:17:56] local.INFO: Packet analysis {"connection_id":65309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:17:56] local.INFO: Extracted packet for processing {"connection_id":65309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:17:56] local.INFO: GPS Element Parsed {"raw_longitude":760320960,"raw_latitude":105640776,"longitude_deg":76.032096,"latitude_deg":10.5640776,"altitude":9,"angle":158,"satellites":47,"speed":36,"hex_longitude":"2d5193c0","hex_latitude":"064bf348","is_valid_coordinates":true} 
[2026-05-08 22:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234240512001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290633745361272832,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5874312422253557760,"note":"Value kept but may cause issues"} 
[2026-05-08 22:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1778258763000,"timestamp_ms":1778258763000,"timestamp_seconds":1778258763,"priority":1,"record_length":96,"hex_timestamp":"0000019e087b5cf8"} 
[2026-05-08 22:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:17: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-05-08 22:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":65309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":65309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":65309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234240512001,"66":27343,"95":206,"78":38912,"24":36,"16":290633745361272832,"45":5874312422253557760},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-05-08 22:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234240512001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:17:56] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-05-08 22:17:56] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290633745361272832,"km_value":290633745361272.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5874312422253557760,"description":"Unknown IO ID 45"} 
[2026-05-08 22:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234240512001,"power":27343,"unknown_95":206,"unknown_78":38912,"ignition":36,"odometer":null,"unknown_45":5874312422253557760}} 
[2026-05-08 22:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":65309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:17:56] local.INFO: GPS data processed {"connection_id":65309,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:17:56] local.INFO: Acknowledgment sent {"connection_id":65309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:18:05] local.INFO: TCP Data received {"connection_id":65258,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65258,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:05] local.INFO: Processing buffer {"connection_id":65258,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:05] local.INFO: IMEI packet received {"connection_id":65258,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":65258,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:18:27] local.INFO: TCP Data received {"connection_id":65309,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087b87f0012d51a140064bd2a00008009d30..."} 
[2026-05-08 22:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087b87f0012d51a140064bd2a00008009d30..."} 
[2026-05-08 22:18:27] local.INFO: Processing buffer {"connection_id":65309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087b87f0012d51a140064bd2a00008009d30..."} 
[2026-05-08 22:18:27] local.INFO: Packet analysis {"connection_id":65309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:18:27] local.INFO: Extracted packet for processing {"connection_id":65309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":760324416,"raw_latitude":105632416,"longitude_deg":76.0324416,"latitude_deg":10.5632416,"altitude":8,"angle":157,"satellites":48,"speed":29,"hex_longitude":"2d51a140","hex_latitude":"064bd2a0","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234243328001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290634183447937024,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5878253071925200896,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1778258774000,"timestamp_ms":1778258774000,"timestamp_seconds":1778258774,"priority":1,"record_length":96,"hex_timestamp":"0000019e087b87f0"} 
[2026-05-08 22:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":65309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":65309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":65309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234243328001,"66":27245,"95":206,"78":38912,"24":29,"16":290634183447937024,"45":5878253071925200896},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-05-08 22:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234243328001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:18:27] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-05-08 22:18:27] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290634183447937024,"km_value":290634183447937.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5878253071925200896,"description":"Unknown IO ID 45"} 
[2026-05-08 22:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234243328001,"power":27245,"unknown_95":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":5878253071925200896}} 
[2026-05-08 22:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":65309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:18:27] local.INFO: GPS data processed {"connection_id":65309,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:18:27] local.INFO: Acknowledgment sent {"connection_id":65309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:18:40] local.INFO: TCP Data received {"connection_id":65311,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:40] local.INFO: Processing buffer {"connection_id":65311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:40] local.INFO: IMEI packet received {"connection_id":65311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":65311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:18:42] local.INFO: TCP Data received {"connection_id":65310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:18:42] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:18:42] local.INFO: IMEI packet received {"connection_id":65310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:18:42] local.INFO: IMEI acknowledgment sent {"connection_id":65310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:18:45] local.INFO: TCP Data received {"connection_id":65311,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:45] local.INFO: Processing buffer {"connection_id":65311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:18:45] local.INFO: IMEI packet received {"connection_id":65311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-05-08 22:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":65311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:18:46] local.INFO: TCP Data received {"connection_id":65311,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019e08761950012cb2a1c007823b800047012c32..."} 
[2026-05-08 22:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08761950012cb2a1c007823b800047012c32..."} 
[2026-05-08 22:18:46] local.INFO: Processing buffer {"connection_id":65311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08761950012cb2a1c007823b800047012c32..."} 
[2026-05-08 22:18:46] local.INFO: Packet analysis {"connection_id":65311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0876"} 
[2026-05-08 22:18:46] local.INFO: Extracted packet for processing {"connection_id":65311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0876"} 
[2026-05-08 22:18:46] local.INFO: GPS Element Parsed {"raw_longitude":749904320,"raw_latitude":125975424,"longitude_deg":74.990432,"latitude_deg":12.5975424,"altitude":71,"angle":300,"satellites":50,"speed":6,"hex_longitude":"2cb2a1c0","hex_latitude":"07823b80","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234154496001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":110931403163566080,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-5574682250249070592,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,85,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1778258418000,"timestamp_ms":1778258418000,"timestamp_seconds":1778258418,"priority":1,"record_length":96,"hex_timestamp":"0000019e08761950"} 
[2026-05-08 22:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:18: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-05-08 22: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 22:18:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":65311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":65311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 22:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":65311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-05-08 22:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-05-08 22:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-05-08 22:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234154496001,"66":27952,"242":206,"85":36864,"24":6,"16":110931403163566080,"44":-5574682250249070592},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,85,24,16,44]} 
[2026-05-08 22:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-05-08 22:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-05-08 22:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234154496001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:18:46] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-05-08 22:18:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":36864,"description":"Unknown IO ID 85"} 
[2026-05-08 22:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":110931403163566080,"km_value":110931403163566.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:18:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-5574682250249070592,"description":"Unknown IO ID 44"} 
[2026-05-08 22:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234154496001,"power":27952,"unknown_242":206,"unknown_85":36864,"ignition":6,"odometer":null,"unknown_44":-5574682250249070592}} 
[2026-05-08 22:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":65311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:18:46] local.INFO: GPS data processed {"connection_id":65311,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:18:46] local.INFO: Acknowledgment sent {"connection_id":65311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:18:48] local.INFO: TCP Data received {"connection_id":65310,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:18:48] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:18:48] local.INFO: IMEI packet received {"connection_id":65310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":65310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:18:49] local.INFO: TCP Data received {"connection_id":65310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087bb6d0012d51b000064bb3480009009931..."} 
[2026-05-08 22:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087bb6d0012d51b000064bb3480009009931..."} 
[2026-05-08 22:18:49] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087bb6d0012d51b000064bb3480009009931..."} 
[2026-05-08 22:18:49] local.INFO: Packet analysis {"connection_id":65310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:18:49] local.INFO: Extracted packet for processing {"connection_id":65310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:18:49] local.INFO: GPS Element Parsed {"raw_longitude":760328192,"raw_latitude":105624392,"longitude_deg":76.0328192,"latitude_deg":10.5624392,"altitude":9,"angle":153,"satellites":49,"speed":25,"hex_longitude":"2d51b000","hex_latitude":"064bb348","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234246144001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290634612944666624,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5882052984108654592,"note":"Value kept but may cause issues"} 
[2026-05-08 22:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778258786000,"timestamp_ms":1778258786000,"timestamp_seconds":1778258786,"priority":1,"record_length":96,"hex_timestamp":"0000019e087bb6d0"} 
[2026-05-08 22:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:18: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-05-08 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 22:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234246144001,"66":27310,"95":206,"78":38912,"24":25,"16":290634612944666624,"45":5882052984108654592},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-05-08 22:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234246144001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:18:49] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-05-08 22:18:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290634612944666624,"km_value":290634612944666.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5882052984108654592,"description":"Unknown IO ID 45"} 
[2026-05-08 22:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234246144001,"power":27310,"unknown_95":206,"unknown_78":38912,"ignition":25,"odometer":null,"unknown_45":5882052984108654592}} 
[2026-05-08 22:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":65310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:18:49] local.INFO: GPS data processed {"connection_id":65310,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:18:49] local.INFO: Acknowledgment sent {"connection_id":65310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:19:21] local.INFO: TCP Data received {"connection_id":65310,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087be998012d51c100064b93e8000b009532..."} 
[2026-05-08 22:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087be998012d51c100064b93e8000b009532..."} 
[2026-05-08 22:19:21] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087be998012d51c100064b93e8000b009532..."} 
[2026-05-08 22:19:21] local.INFO: Packet analysis {"connection_id":65310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:19:21] local.INFO: Extracted packet for processing {"connection_id":65310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087b"} 
[2026-05-08 22:19:21] local.INFO: GPS Element Parsed {"raw_longitude":760332544,"raw_latitude":105616360,"longitude_deg":76.0332544,"latitude_deg":10.561636,"altitude":11,"angle":149,"satellites":50,"speed":28,"hex_longitude":"2d51c100","hex_latitude":"064b93e8","is_valid_coordinates":true} 
[2026-05-08 22:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234249216001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290635055326298112,"note":"Value kept but may cause issues"} 
[2026-05-08 22:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5886204740013082624,"note":"Value kept but may cause issues"} 
[2026-05-08 22:19:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778258799000,"timestamp_ms":1778258799000,"timestamp_seconds":1778258799,"priority":1,"record_length":96,"hex_timestamp":"0000019e087be998"} 
[2026-05-08 22:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:19: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-05-08 22:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 22:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234249216001,"66":27289,"95":206,"78":38912,"24":28,"16":290635055326298112,"45":5886204740013082624},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-05-08 22:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234249216001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:19:21] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-05-08 22:19:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290635055326298112,"km_value":290635055326298.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5886204740013082624,"description":"Unknown IO ID 45"} 
[2026-05-08 22:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234249216001,"power":27289,"unknown_95":206,"unknown_78":38912,"ignition":28,"odometer":null,"unknown_45":5886204740013082624}} 
[2026-05-08 22:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":65310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:19:21] local.INFO: GPS data processed {"connection_id":65310,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:19:21] local.INFO: Acknowledgment sent {"connection_id":65310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:19:30] local.INFO: TCP Data received {"connection_id":65397,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:19:30] local.INFO: Processing buffer {"connection_id":65397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:19:30] local.INFO: IMEI packet received {"connection_id":65397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:19:30] local.INFO: IMEI acknowledgment sent {"connection_id":65397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:19:42] local.INFO: TCP Data received {"connection_id":65259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:42] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:42] local.INFO: IMEI packet received {"connection_id":65259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":65259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:19:42] local.INFO: TCP Data received {"connection_id":65259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:42] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:42] local.INFO: IMEI packet received {"connection_id":65259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:19:42] local.INFO: IMEI acknowledgment sent {"connection_id":65259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:19:48] local.INFO: TCP Data received {"connection_id":65259,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:48] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:19:48] local.INFO: IMEI packet received {"connection_id":65259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":65259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:19:49] local.INFO: TCP Data received {"connection_id":65259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087dd5c8012d528ac0064a3870000c009431..."} 
[2026-05-08 22:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087dd5c8012d528ac0064a3870000c009431..."} 
[2026-05-08 22:19:49] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087dd5c8012d528ac0064a3870000c009431..."} 
[2026-05-08 22:19:49] local.INFO: Packet analysis {"connection_id":65259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087d"} 
[2026-05-08 22:19:49] local.INFO: Extracted packet for processing {"connection_id":65259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087d"} 
[2026-05-08 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":760384192,"raw_latitude":105527408,"longitude_deg":76.0384192,"latitude_deg":10.5527408,"altitude":12,"angle":148,"satellites":49,"speed":39,"hex_longitude":"2d528ac0","hex_latitude":"064a3870","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234282240001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290640024603459584,"note":"Value kept but may cause issues"} 
[2026-05-08 22:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5942781210309226496,"note":"Value kept but may cause issues"} 
[2026-05-08 22:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778258925000,"timestamp_ms":1778258925000,"timestamp_seconds":1778258925,"priority":1,"record_length":96,"hex_timestamp":"0000019e087dd5c8"} 
[2026-05-08 22:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:19: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-05-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 22:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234282240001,"66":27245,"93":206,"78":38912,"24":39,"16":290640024603459584,"45":5942781210309226496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-05-08 22:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234282240001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:19:49] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-05-08 22:19:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290640024603459584,"km_value":290640024603459.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5942781210309226496,"description":"Unknown IO ID 45"} 
[2026-05-08 22:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234282240001,"power":27245,"unknown_93":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":5942781210309226496}} 
[2026-05-08 22:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":65259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:19:49] local.INFO: GPS data processed {"connection_id":65259,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:19:49] local.INFO: Acknowledgment sent {"connection_id":65259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:20:21] local.INFO: TCP Data received {"connection_id":65259,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087df8f0012d52a080064a1bb8000d008a33..."} 
[2026-05-08 22:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087df8f0012d52a080064a1bb8000d008a33..."} 
[2026-05-08 22:20:21] local.INFO: Processing buffer {"connection_id":65259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087df8f0012d52a080064a1bb8000d008a33..."} 
[2026-05-08 22:20:21] local.INFO: Packet analysis {"connection_id":65259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087d"} 
[2026-05-08 22:20:21] local.INFO: Extracted packet for processing {"connection_id":65259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087d"} 
[2026-05-08 22:20:21] local.INFO: GPS Element Parsed {"raw_longitude":760389760,"raw_latitude":105520056,"longitude_deg":76.038976,"latitude_deg":10.5520056,"altitude":13,"angle":138,"satellites":51,"speed":39,"hex_longitude":"2d52a080","hex_latitude":"064a1bb8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:20:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234284800001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:20:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290640471280058368,"note":"Value kept but may cause issues"} 
[2026-05-08 22:20:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947777391143710720,"note":"Value kept but may cause issues"} 
[2026-05-08 22:20:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:20:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778258934000,"timestamp_ms":1778258934000,"timestamp_seconds":1778258934,"priority":1,"record_length":96,"hex_timestamp":"0000019e087df8f0"} 
[2026-05-08 22:20:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:20: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-05-08 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 22:20:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:20:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:20:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:20:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:20:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:20:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:20:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:20:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:20:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:20:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234284800001,"66":27245,"93":206,"78":38912,"24":39,"16":290640471280058368,"45":5947777391143710720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-05-08 22:20:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:20:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:20:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234284800001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:20:21] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-05-08 22:20:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:20:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290640471280058368,"km_value":290640471280058.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:20:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947777391143710720,"description":"Unknown IO ID 45"} 
[2026-05-08 22:20:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234284800001,"power":27245,"unknown_93":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":5947777391143710720}} 
[2026-05-08 22:20:21] local.INFO: DEBUG: GPS processor result {"connection_id":65259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:20:21] local.INFO: GPS data processed {"connection_id":65259,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:20:21] local.INFO: Acknowledgment sent {"connection_id":65259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:20:42] local.INFO: TCP Data received {"connection_id":65312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:42] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:42] local.INFO: IMEI packet received {"connection_id":65312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:20:42] local.INFO: IMEI acknowledgment sent {"connection_id":65312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:20:44] local.INFO: TCP Data received {"connection_id":65312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:44] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:44] local.INFO: IMEI packet received {"connection_id":65312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:20:44] local.INFO: IMEI acknowledgment sent {"connection_id":65312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:20:48] local.INFO: TCP Data received {"connection_id":65312,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:48] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:20:48] local.INFO: IMEI packet received {"connection_id":65312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:20:48] local.INFO: IMEI acknowledgment sent {"connection_id":65312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:20:49] local.INFO: TCP Data received {"connection_id":65312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087e2000012d52bac0064a0140000d008631..."} 
[2026-05-08 22:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087e2000012d52bac0064a0140000d008631..."} 
[2026-05-08 22:20:49] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087e2000012d52bac0064a0140000d008631..."} 
[2026-05-08 22:20:49] local.INFO: Packet analysis {"connection_id":65312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:20:49] local.INFO: Extracted packet for processing {"connection_id":65312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:20:49] local.INFO: GPS Element Parsed {"raw_longitude":760396480,"raw_latitude":105513280,"longitude_deg":76.039648,"latitude_deg":10.551328,"altitude":13,"angle":134,"satellites":49,"speed":35,"hex_longitude":"2d52bac0","hex_latitude":"064a0140","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234287104001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290640930841559040,"note":"Value kept but may cause issues"} 
[2026-05-08 22:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5953899471885285376,"note":"Value kept but may cause issues"} 
[2026-05-08 22:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778258944000,"timestamp_ms":1778258944000,"timestamp_seconds":1778258944,"priority":1,"record_length":96,"hex_timestamp":"0000019e087e2000"} 
[2026-05-08 22:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:20: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-05-08 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 22:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234287104001,"66":27376,"93":206,"78":38912,"24":35,"16":290640930841559040,"45":5953899471885285376},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-05-08 22:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234287104001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:20:49] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-05-08 22:20:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290640930841559040,"km_value":290640930841559.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5953899471885285376,"description":"Unknown IO ID 45"} 
[2026-05-08 22:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234287104001,"power":27376,"unknown_93":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":5953899471885285376}} 
[2026-05-08 22:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":65312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:20:49] local.INFO: GPS data processed {"connection_id":65312,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:20:49] local.INFO: Acknowledgment sent {"connection_id":65312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:21:20] local.INFO: TCP Data received {"connection_id":65312,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087e4af8012d52d5400649e6f8000d008832..."} 
[2026-05-08 22:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087e4af8012d52d5400649e6f8000d008832..."} 
[2026-05-08 22:21:20] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087e4af8012d52d5400649e6f8000d008832..."} 
[2026-05-08 22:21:20] local.INFO: Packet analysis {"connection_id":65312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:21:20] local.INFO: Extracted packet for processing {"connection_id":65312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:21:20] local.INFO: GPS Element Parsed {"raw_longitude":760403264,"raw_latitude":105506552,"longitude_deg":76.0403264,"latitude_deg":10.5506552,"altitude":13,"angle":136,"satellites":50,"speed":33,"hex_longitude":"2d52d540","hex_latitude":"0649e6f8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 22:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234289664001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290641390403059712,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5961288190022205440,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778258955000,"timestamp_ms":1778258955000,"timestamp_seconds":1778258955,"priority":1,"record_length":96,"hex_timestamp":"0000019e087e4af8"} 
[2026-05-08 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-05-08 22:21: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-05-08 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 22:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 22:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234289664001,"66":27332,"93":206,"78":38912,"24":33,"16":290641390403059712,"45":5961288190022205440},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-05-08 22:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234289664001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:21:20] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-05-08 22:21:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290641390403059712,"km_value":290641390403059.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5961288190022205440,"description":"Unknown IO ID 45"} 
[2026-05-08 22:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234289664001,"power":27332,"unknown_93":206,"unknown_78":38912,"ignition":33,"odometer":null,"unknown_45":5961288190022205440}} 
[2026-05-08 22:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":65312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:21:20] local.INFO: GPS data processed {"connection_id":65312,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:21:20] local.INFO: Acknowledgment sent {"connection_id":65312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:21:44] local.INFO: TCP Data received {"connection_id":65399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:44] local.INFO: Processing buffer {"connection_id":65399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:44] local.INFO: IMEI packet received {"connection_id":65399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:21:44] local.INFO: IMEI acknowledgment sent {"connection_id":65399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:21:48] local.INFO: TCP Data received {"connection_id":65399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:48] local.INFO: Processing buffer {"connection_id":65399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:48] local.INFO: IMEI packet received {"connection_id":65399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":65399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:21:53] local.INFO: TCP Data received {"connection_id":65399,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:53] local.INFO: Processing buffer {"connection_id":65399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:21:53] local.INFO: IMEI packet received {"connection_id":65399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":65399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:21:55] local.INFO: TCP Data received {"connection_id":65399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087e75f0012d52ed800649cdc0000d008831..."} 
[2026-05-08 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087e75f0012d52ed800649cdc0000d008831..."} 
[2026-05-08 22:21:55] local.INFO: Processing buffer {"connection_id":65399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087e75f0012d52ed800649cdc0000d008831..."} 
[2026-05-08 22:21:55] local.INFO: Packet analysis {"connection_id":65399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:21:55] local.INFO: Extracted packet for processing {"connection_id":65399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:21:55] local.INFO: GPS Element Parsed {"raw_longitude":760409472,"raw_latitude":105500096,"longitude_deg":76.0409472,"latitude_deg":10.5500096,"altitude":13,"angle":136,"satellites":49,"speed":32,"hex_longitude":"2d52ed80","hex_latitude":"0649cdc0","is_valid_coordinates":true} 
[2026-05-08 22:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234292480001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290641819899789312,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5968747276903315456,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1778258966000,"timestamp_ms":1778258966000,"timestamp_seconds":1778258966,"priority":1,"record_length":96,"hex_timestamp":"0000019e087e75f0"} 
[2026-05-08 22:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:21: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-05-08 22:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:21:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":65399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":65399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":65399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234292480001,"66":27234,"93":206,"78":38912,"24":32,"16":290641819899789312,"45":5968747276903315456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-05-08 22:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234292480001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:21:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-05-08 22:21:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290641819899789312,"km_value":290641819899789.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5968747276903315456,"description":"Unknown IO ID 45"} 
[2026-05-08 22:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234292480001,"power":27234,"unknown_93":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":5968747276903315456}} 
[2026-05-08 22:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":65399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:21:55] local.INFO: GPS data processed {"connection_id":65399,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:21:55] local.INFO: Acknowledgment sent {"connection_id":65399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:21:57] local.INFO: TCP Data received {"connection_id":65399,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087ea8b8012d5305400649b228000d008c30..."} 
[2026-05-08 22:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087ea8b8012d5305400649b228000d008c30..."} 
[2026-05-08 22:21:57] local.INFO: Processing buffer {"connection_id":65399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087ea8b8012d5305400649b228000d008c30..."} 
[2026-05-08 22:21:57] local.INFO: Packet analysis {"connection_id":65399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:21:57] local.INFO: Extracted packet for processing {"connection_id":65399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:21:57] local.INFO: GPS Element Parsed {"raw_longitude":760415552,"raw_latitude":105493032,"longitude_deg":76.0415552,"latitude_deg":10.5493032,"altitude":13,"angle":140,"satellites":48,"speed":28,"hex_longitude":"2d530540","hex_latitude":"0649b228","is_valid_coordinates":true} 
[2026-05-08 22:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234295296001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290642270871355392,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5975573045086896128,"note":"Value kept but may cause issues"} 
[2026-05-08 22:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778258979000,"timestamp_ms":1778258979000,"timestamp_seconds":1778258979,"priority":1,"record_length":96,"hex_timestamp":"0000019e087ea8b8"} 
[2026-05-08 22:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 22:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234295296001,"66":27300,"93":206,"78":38912,"24":28,"16":290642270871355392,"45":5975573045086896128},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-05-08 22:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234295296001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:21:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-05-08 22:21:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290642270871355392,"km_value":290642270871355.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5975573045086896128,"description":"Unknown IO ID 45"} 
[2026-05-08 22:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234295296001,"power":27300,"unknown_93":206,"unknown_78":38912,"ignition":28,"odometer":null,"unknown_45":5975573045086896128}} 
[2026-05-08 22:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":65399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:21:57] local.INFO: GPS data processed {"connection_id":65399,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:21:57] local.INFO: Acknowledgment sent {"connection_id":65399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:22:41] local.INFO: TCP Data received {"connection_id":65400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:41] local.INFO: Processing buffer {"connection_id":65400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:41] local.INFO: IMEI packet received {"connection_id":65400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:22:41] local.INFO: IMEI acknowledgment sent {"connection_id":65400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:22:42] local.INFO: TCP Data received {"connection_id":65400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:42] local.INFO: Processing buffer {"connection_id":65400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:42] local.INFO: IMEI packet received {"connection_id":65400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:22:42] local.INFO: IMEI acknowledgment sent {"connection_id":65400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:22:47] local.INFO: TCP Data received {"connection_id":65400,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:47] local.INFO: Processing buffer {"connection_id":65400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:22:47] local.INFO: IMEI packet received {"connection_id":65400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:22:47] local.INFO: IMEI acknowledgment sent {"connection_id":65400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:22:48] local.INFO: TCP Data received {"connection_id":65400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e087edb80012d531bc006499688000e008e32..."} 
[2026-05-08 22:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e087edb80012d531bc006499688000e008e32..."} 
[2026-05-08 22:22:48] local.INFO: Processing buffer {"connection_id":65400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e087edb80012d531bc006499688000e008e32..."} 
[2026-05-08 22:22:48] local.INFO: Packet analysis {"connection_id":65400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:22:48] local.INFO: Extracted packet for processing {"connection_id":65400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e087e"} 
[2026-05-08 22:22:48] local.INFO: GPS Element Parsed {"raw_longitude":760421312,"raw_latitude":105485960,"longitude_deg":76.0421312,"latitude_deg":10.548596,"altitude":14,"angle":142,"satellites":50,"speed":27,"hex_longitude":"2d531bc0","hex_latitude":"06499688","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234298624001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290642708958019584,"note":"Value kept but may cause issues"} 
[2026-05-08 22:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5982258075781965824,"note":"Value kept but may cause issues"} 
[2026-05-08 22:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778258992000,"timestamp_ms":1778258992000,"timestamp_seconds":1778258992,"priority":1,"record_length":96,"hex_timestamp":"0000019e087edb80"} 
[2026-05-08 22:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:22: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-05-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 22:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:22:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234298624001,"66":27365,"93":206,"78":38912,"24":27,"16":290642708958019584,"45":5982258075781965824},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-05-08 22:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:22:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:22:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234298624001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:22:48] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-05-08 22:22:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:22:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290642708958019584,"km_value":290642708958019.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:22:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":5982258075781965824,"description":"Unknown IO ID 45"} 
[2026-05-08 22:22:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234298624001,"power":27365,"unknown_93":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":5982258075781965824}} 
[2026-05-08 22:22:48] local.INFO: DEBUG: GPS processor result {"connection_id":65400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:22:48] local.INFO: GPS data processed {"connection_id":65400,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:22:48] local.INFO: Acknowledgment sent {"connection_id":65400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:23:19] local.INFO: TCP Data received {"connection_id":65400,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0880db38012d53d78006484378000a00a830..."} 
[2026-05-08 22:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0880db38012d53d78006484378000a00a830..."} 
[2026-05-08 22:23:19] local.INFO: Processing buffer {"connection_id":65400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0880db38012d53d78006484378000a00a830..."} 
[2026-05-08 22:23:19] local.INFO: Packet analysis {"connection_id":65400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0880"} 
[2026-05-08 22:23:19] local.INFO: Extracted packet for processing {"connection_id":65400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0880"} 
[2026-05-08 22:23:19] local.INFO: GPS Element Parsed {"raw_longitude":760469376,"raw_latitude":105399160,"longitude_deg":76.0469376,"latitude_deg":10.539916,"altitude":10,"angle":168,"satellites":48,"speed":11,"hex_longitude":"2d53d780","hex_latitude":"06484378","is_valid_coordinates":true} 
[2026-05-08 22:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234332160001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290647515026423808,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6038553071101739008,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778259123000,"timestamp_ms":1778259123000,"timestamp_seconds":1778259123,"priority":1,"record_length":96,"hex_timestamp":"0000019e0880db38"} 
[2026-05-08 22:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 22:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234332160001,"66":27300,"194":206,"78":38912,"24":11,"16":290647515026423808,"45":6038553071101739008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-05-08 22:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234332160001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:23:19] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-05-08 22:23:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290647515026423808,"km_value":290647515026423.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6038553071101739008,"description":"Unknown IO ID 45"} 
[2026-05-08 22:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234332160001,"power":27300,"unknown_194":206,"unknown_78":38912,"ignition":11,"odometer":null,"unknown_45":6038553071101739008}} 
[2026-05-08 22:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":65400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:23:19] local.INFO: GPS data processed {"connection_id":65400,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:23:19] local.INFO: Acknowledgment sent {"connection_id":65400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:23:40] local.INFO: TCP Data received {"connection_id":65260,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:40] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:40] local.INFO: IMEI packet received {"connection_id":65260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":65260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:23:43] local.INFO: TCP Data received {"connection_id":65260,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:43] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:43] local.INFO: IMEI packet received {"connection_id":65260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:23:43] local.INFO: IMEI acknowledgment sent {"connection_id":65260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:23:44] local.INFO: TCP Data received {"connection_id":65260,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:44] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:44] local.INFO: IMEI packet received {"connection_id":65260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:23:44] local.INFO: IMEI acknowledgment sent {"connection_id":65260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:23:48] local.INFO: TCP Data received {"connection_id":65260,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:48] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:23:48] local.INFO: IMEI packet received {"connection_id":65260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":65260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:23:49] local.INFO: TCP Data received {"connection_id":65260,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08812570012d53df0006481f60000800ad30..."} 
[2026-05-08 22:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08812570012d53df0006481f60000800ad30..."} 
[2026-05-08 22:23:49] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08812570012d53df0006481f60000800ad30..."} 
[2026-05-08 22:23:49] local.INFO: Packet analysis {"connection_id":65260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:23:49] local.INFO: Extracted packet for processing {"connection_id":65260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:23:49] local.INFO: GPS Element Parsed {"raw_longitude":760471296,"raw_latitude":105389920,"longitude_deg":76.0471296,"latitude_deg":10.538992,"altitude":8,"angle":173,"satellites":48,"speed":24,"hex_longitude":"2d53df00","hex_latitude":"06481f60","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234335488001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290647974587924480,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6041438189611350016,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778259142000,"timestamp_ms":1778259142000,"timestamp_seconds":1778259142,"priority":1,"record_length":96,"hex_timestamp":"0000019e08812570"} 
[2026-05-08 22:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:23: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-05-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 22:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234335488001,"66":27484,"194":206,"78":38912,"24":24,"16":290647974587924480,"45":6041438189611350016},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-05-08 22:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234335488001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:23:49] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-05-08 22:23:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290647974587924480,"km_value":290647974587924.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6041438189611350016,"description":"Unknown IO ID 45"} 
[2026-05-08 22:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234335488001,"power":27484,"unknown_194":206,"unknown_78":38912,"ignition":24,"odometer":null,"unknown_45":6041438189611350016}} 
[2026-05-08 22:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":65260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:23:49] local.INFO: GPS data processed {"connection_id":65260,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:23:49] local.INFO: Acknowledgment sent {"connection_id":65260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:23:53] local.INFO: TCP Data received {"connection_id":65260,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08815450012d53e1800647fbf0000b00b233..."} 
[2026-05-08 22:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08815450012d53e1800647fbf0000b00b233..."} 
[2026-05-08 22:23:53] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08815450012d53e1800647fbf0000b00b233..."} 
[2026-05-08 22:23:53] local.INFO: Packet analysis {"connection_id":65260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:23:53] local.INFO: Extracted packet for processing {"connection_id":65260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:23:53] local.INFO: GPS Element Parsed {"raw_longitude":760471936,"raw_latitude":105380848,"longitude_deg":76.0471936,"latitude_deg":10.5380848,"altitude":11,"angle":178,"satellites":51,"speed":34,"hex_longitude":"2d53e180","hex_latitude":"0647fbf0","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234340352001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290648416969555968,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043549251934314496,"note":"Value kept but may cause issues"} 
[2026-05-08 22:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778259154000,"timestamp_ms":1778259154000,"timestamp_seconds":1778259154,"priority":1,"record_length":96,"hex_timestamp":"0000019e08815450"} 
[2026-05-08 22:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:23: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-05-08 22: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 22:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234340352001,"66":27343,"194":206,"78":38912,"24":34,"16":290648416969555968,"45":6043549251934314496},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,78,24,16,45]} 
[2026-05-08 22:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234340352001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:23:53] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-05-08 22:23:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290648416969555968,"km_value":290648416969555.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043549251934314496,"description":"Unknown IO ID 45"} 
[2026-05-08 22:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234340352001,"power":27343,"unknown_194":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":6043549251934314496}} 
[2026-05-08 22:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":65260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:23:53] local.INFO: GPS data processed {"connection_id":65260,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:23:53] local.INFO: Acknowledgment sent {"connection_id":65260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:24:24] local.INFO: TCP Data received {"connection_id":65260,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08818ee8012d53e1c00647d810000b00b432..."} 
[2026-05-08 22:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08818ee8012d53e1c00647d810000b00b432..."} 
[2026-05-08 22:24:24] local.INFO: Processing buffer {"connection_id":65260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08818ee8012d53e1c00647d810000b00b432..."} 
[2026-05-08 22:24:24] local.INFO: Packet analysis {"connection_id":65260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:24:24] local.INFO: Extracted packet for processing {"connection_id":65260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:24:24] local.INFO: GPS Element Parsed {"raw_longitude":760472000,"raw_latitude":105371664,"longitude_deg":76.0472,"latitude_deg":10.5371664,"altitude":11,"angle":180,"satellites":50,"speed":13,"hex_longitude":"2d53e1c0","hex_latitude":"0647d810","is_valid_coordinates":true} 
[2026-05-08 22:24: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-05-08 22:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234343424001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290648863646154752,"note":"Value kept but may cause issues"} 
[2026-05-08 22:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6044252939373768704,"note":"Value kept but may cause issues"} 
[2026-05-08 22:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778259169000,"timestamp_ms":1778259169000,"timestamp_seconds":1778259169,"priority":1,"record_length":96,"hex_timestamp":"0000019e08818ee8"} 
[2026-05-08 22:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:24: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-05-08 22:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234343424001,"66":27365,"99":206,"78":38912,"24":13,"16":290648863646154752,"45":6044252939373768704},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-05-08 22:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234343424001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:24:24] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-05-08 22:24:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290648863646154752,"km_value":290648863646154.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6044252939373768704,"description":"Unknown IO ID 45"} 
[2026-05-08 22:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234343424001,"power":27365,"unknown_99":206,"unknown_78":38912,"ignition":13,"odometer":null,"unknown_45":6044252939373768704}} 
[2026-05-08 22:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":65260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:24:24] local.INFO: GPS data processed {"connection_id":65260,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:24:24] local.INFO: Acknowledgment sent {"connection_id":65260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:24:43] local.INFO: TCP Data received {"connection_id":65262,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:24:43] local.INFO: Processing buffer {"connection_id":65262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:24:43] local.INFO: IMEI packet received {"connection_id":65262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":65262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:24:48] local.INFO: TCP Data received {"connection_id":65262,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:24:48] local.INFO: Processing buffer {"connection_id":65262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:24:48] local.INFO: IMEI packet received {"connection_id":65262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":65262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:24:49] local.INFO: TCP Data received {"connection_id":65262,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0881a658012d53e0c00647d010000c00c233..."} 
[2026-05-08 22:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0881a658012d53e0c00647d010000c00c233..."} 
[2026-05-08 22:24:49] local.INFO: Processing buffer {"connection_id":65262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0881a658012d53e0c00647d010000c00c233..."} 
[2026-05-08 22:24:49] local.INFO: Packet analysis {"connection_id":65262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:24:49] local.INFO: Extracted packet for processing {"connection_id":65262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:24:49] local.INFO: GPS Element Parsed {"raw_longitude":760471744,"raw_latitude":105369616,"longitude_deg":76.0471744,"latitude_deg":10.5369616,"altitude":12,"angle":194,"satellites":51,"speed":13,"hex_longitude":"2d53e0c0","hex_latitude":"0647d010","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234347264001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290648962430402560,"note":"Value kept but may cause issues"} 
[2026-05-08 22:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6044323308115595264,"note":"Value kept but may cause issues"} 
[2026-05-08 22:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778259175000,"timestamp_ms":1778259175000,"timestamp_seconds":1778259175,"priority":1,"record_length":96,"hex_timestamp":"0000019e0881a658"} 
[2026-05-08 22:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 22:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234347264001,"66":27397,"99":206,"78":38912,"24":13,"16":290648962430402560,"45":6044323308115595264},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-05-08 22:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234347264001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:24:49] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-05-08 22:24:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290648962430402560,"km_value":290648962430402.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6044323308115595264,"description":"Unknown IO ID 45"} 
[2026-05-08 22:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234347264001,"power":27397,"unknown_99":206,"unknown_78":38912,"ignition":13,"odometer":null,"unknown_45":6044323308115595264}} 
[2026-05-08 22:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":65262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:24:49] local.INFO: GPS data processed {"connection_id":65262,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:24:49] local.INFO: Acknowledgment sent {"connection_id":65262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:24:50] local.INFO: TCP Data received {"connection_id":65261,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:24:50] local.INFO: Processing buffer {"connection_id":65261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:24:50] local.INFO: IMEI packet received {"connection_id":65261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":65261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:25:21] local.INFO: TCP Data received {"connection_id":65262,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0881b210012d53df800647ccb8000c00ce32..."} 
[2026-05-08 22:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0881b210012d53df800647ccb8000c00ce32..."} 
[2026-05-08 22:25:21] local.INFO: Processing buffer {"connection_id":65262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0881b210012d53df800647ccb8000c00ce32..."} 
[2026-05-08 22:25:21] local.INFO: Packet analysis {"connection_id":65262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:25:21] local.INFO: Extracted packet for processing {"connection_id":65262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0881"} 
[2026-05-08 22:25:21] local.INFO: GPS Element Parsed {"raw_longitude":760471424,"raw_latitude":105368760,"longitude_deg":76.0471424,"latitude_deg":10.536876,"altitude":12,"angle":206,"satellites":50,"speed":11,"hex_longitude":"2d53df80","hex_latitude":"0647ccb8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234348800001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290649005380075520,"note":"Value kept but may cause issues"} 
[2026-05-08 22:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6044041833138360320,"note":"Value kept but may cause issues"} 
[2026-05-08 22:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778259178000,"timestamp_ms":1778259178000,"timestamp_seconds":1778259178,"priority":1,"record_length":96,"hex_timestamp":"0000019e0881b210"} 
[2026-05-08 22:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:25: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-05-08 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 22:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:25:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234348800001,"66":27343,"99":206,"78":38912,"24":11,"16":290649005380075520,"45":6044041833138360320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-05-08 22:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234348800001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:25:21] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-05-08 22:25:21] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290649005380075520,"km_value":290649005380075.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":6044041833138360320,"description":"Unknown IO ID 45"} 
[2026-05-08 22:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234348800001,"power":27343,"unknown_99":206,"unknown_78":38912,"ignition":11,"odometer":null,"unknown_45":6044041833138360320}} 
[2026-05-08 22:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":65262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:25:21] local.INFO: GPS data processed {"connection_id":65262,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:25:21] local.INFO: Acknowledgment sent {"connection_id":65262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:25:43] local.INFO: TCP Data received {"connection_id":65263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:43] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:43] local.INFO: IMEI packet received {"connection_id":65263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":65263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:25:43] local.INFO: TCP Data received {"connection_id":65263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:43] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:43] local.INFO: IMEI packet received {"connection_id":65263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":65263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:25:48] local.INFO: TCP Data received {"connection_id":65263,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:48] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:25:48] local.INFO: IMEI packet received {"connection_id":65263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":65263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:25:48] local.INFO: TCP Data received {"connection_id":65263,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e010000019e08835fc0012d53dc800646cc20000e00ad34..."} 
[2026-05-08 22:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":93,"packet_hex":"00000000000000518e010000019e08835fc0012d53dc800646cc20000e00ad34..."} 
[2026-05-08 22:25:48] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":93,"buffer_hex":"00000000000000518e010000019e08835fc0012d53dc800646cc20000e00ad34..."} 
[2026-05-08 22:25:48] local.INFO: Packet analysis {"connection_id":65263,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019e0883"} 
[2026-05-08 22:25:48] local.INFO: Extracted packet for processing {"connection_id":65263,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019e0883"} 
[2026-05-08 22:25:48] local.INFO: GPS Element Parsed {"raw_longitude":760470656,"raw_latitude":105303072,"longitude_deg":76.0470656,"latitude_deg":10.5303072,"altitude":14,"angle":173,"satellites":52,"speed":28,"hex_longitude":"2d53dc80","hex_latitude":"0646cc20","is_valid_coordinates":true} 
[2026-05-08 22: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":93,"current_offset":40} 
[2026-05-08 22:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:25:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:25:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:25:48] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-05-08 22:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65263,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-05-08 22:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":0} 
[2026-05-08 22:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":0} 
[2026-05-08 22:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-05-08 22:25:48] local.WARNING: DEBUG: No valid data to process  
[2026-05-08 22:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":65263,"result":{"success":false,"message":"No valid data to process"}} 
[2026-05-08 22:25:48] local.ERROR: GPS data processing failed {"connection_id":65263,"error":"No valid data to process"} 
[2026-05-08 22:25:48] local.INFO: Acknowledgment sent {"connection_id":65263,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-05-08 22:26:19] local.INFO: TCP Data received {"connection_id":65263,"ip":"42.106.6.15","data_length":93,"data_hex":"00000000000000518e010000019e08839288012d53e2c00646a888000e00ab33..."} 
[2026-05-08 22:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65263,"packet_length":93,"packet_hex":"00000000000000518e010000019e08839288012d53e2c00646a888000e00ab33..."} 
[2026-05-08 22:26:19] local.INFO: Processing buffer {"connection_id":65263,"buffer_length":93,"buffer_hex":"00000000000000518e010000019e08839288012d53e2c00646a888000e00ab33..."} 
[2026-05-08 22:26:19] local.INFO: Packet analysis {"connection_id":65263,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019e0883"} 
[2026-05-08 22:26:19] local.INFO: Extracted packet for processing {"connection_id":65263,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019e0883"} 
[2026-05-08 22:26:19] local.INFO: GPS Element Parsed {"raw_longitude":760472256,"raw_latitude":105293960,"longitude_deg":76.0472256,"latitude_deg":10.529396,"altitude":14,"angle":171,"satellites":51,"speed":26,"hex_longitude":"2d53e2c0","hex_latitude":"0646a888","is_valid_coordinates":true} 
[2026-05-08 22:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-05-08 22:26:19] 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-05-08 22:26:19] 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-05-08 22:26:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:26:19] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-05-08 22:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65263,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-05-08 22:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":0} 
[2026-05-08 22:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65263,"device_imei":"862567074773115","avl_records_count":0} 
[2026-05-08 22:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":0,"parser_version":"unknown"} 
[2026-05-08 22:26:19] local.WARNING: DEBUG: No valid data to process  
[2026-05-08 22:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":65263,"result":{"success":false,"message":"No valid data to process"}} 
[2026-05-08 22:26:19] local.ERROR: GPS data processing failed {"connection_id":65263,"error":"No valid data to process"} 
[2026-05-08 22:26:19] local.INFO: Acknowledgment sent {"connection_id":65263,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-05-08 22:26:43] local.INFO: TCP Data received {"connection_id":65403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:26:43] local.INFO: Processing buffer {"connection_id":65403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:26:43] local.INFO: IMEI packet received {"connection_id":65403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:26:43] local.INFO: IMEI acknowledgment sent {"connection_id":65403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:26:48] local.INFO: TCP Data received {"connection_id":65403,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:26:48] local.INFO: Processing buffer {"connection_id":65403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:26:48] local.INFO: IMEI packet received {"connection_id":65403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":65403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:26:49] local.INFO: TCP Data received {"connection_id":65403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0883a228012d53e4c006469f10000e009f34..."} 
[2026-05-08 22:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0883a228012d53e4c006469f10000e009f34..."} 
[2026-05-08 22:26:49] local.INFO: Processing buffer {"connection_id":65403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0883a228012d53e4c006469f10000e009f34..."} 
[2026-05-08 22:26:49] local.INFO: Packet analysis {"connection_id":65403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0883"} 
[2026-05-08 22:26:49] local.INFO: Extracted packet for processing {"connection_id":65403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0883"} 
[2026-05-08 22:26:49] local.INFO: GPS Element Parsed {"raw_longitude":760472768,"raw_latitude":105291536,"longitude_deg":76.0472768,"latitude_deg":10.5291536,"altitude":14,"angle":159,"satellites":52,"speed":25,"hex_longitude":"2d53e4c0","hex_latitude":"06469f10","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234381056001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290652772066394112,"note":"Value kept but may cause issues"} 
[2026-05-08 22:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6044604783072413696,"note":"Value kept but may cause issues"} 
[2026-05-08 22:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778259305000,"timestamp_ms":1778259305000,"timestamp_seconds":1778259305,"priority":1,"record_length":96,"hex_timestamp":"0000019e0883a228"} 
[2026-05-08 22:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234381056001,"66":27126,"233":206,"78":38912,"24":25,"16":290652772066394112,"45":6044604783072413696},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,78,24,16,45]} 
[2026-05-08 22:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234381056001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:26:49] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-05-08 22:26:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290652772066394112,"km_value":290652772066394.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6044604783072413696,"description":"Unknown IO ID 45"} 
[2026-05-08 22:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234381056001,"power":27126,"unknown_233":206,"unknown_78":38912,"ignition":25,"odometer":null,"unknown_45":6044604783072413696}} 
[2026-05-08 22:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":65403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:26:49] local.INFO: GPS data processed {"connection_id":65403,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:26:49] local.INFO: Acknowledgment sent {"connection_id":65403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:27:20] local.INFO: TCP Data received {"connection_id":65403,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0883d8d8012d53f50006467db8000e009933..."} 
[2026-05-08 22:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0883d8d8012d53f50006467db8000e009933..."} 
[2026-05-08 22:27:20] local.INFO: Processing buffer {"connection_id":65403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0883d8d8012d53f50006467db8000e009933..."} 
[2026-05-08 22:27:20] local.INFO: Packet analysis {"connection_id":65403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0883"} 
[2026-05-08 22:27:20] local.INFO: Extracted packet for processing {"connection_id":65403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0883"} 
[2026-05-08 22:27:20] local.INFO: GPS Element Parsed {"raw_longitude":760476928,"raw_latitude":105283000,"longitude_deg":76.0476928,"latitude_deg":10.5283,"altitude":14,"angle":153,"satellites":51,"speed":29,"hex_longitude":"2d53f500","hex_latitude":"06467db8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 22:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234382080001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290653231627894784,"note":"Value kept but may cause issues"} 
[2026-05-08 22:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6045167733025214464,"note":"Value kept but may cause issues"} 
[2026-05-08 22:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778259319000,"timestamp_ms":1778259319000,"timestamp_seconds":1778259319,"priority":1,"record_length":96,"hex_timestamp":"0000019e0883d8d8"} 
[2026-05-08 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-05-08 22: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-05-08 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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-05-08 22:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 22:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234382080001,"66":27115,"233":206,"78":38912,"24":29,"16":290653231627894784,"45":6045167733025214464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,78,24,16,45]} 
[2026-05-08 22:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234382080001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:27:20] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-05-08 22:27:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290653231627894784,"km_value":290653231627894.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6045167733025214464,"description":"Unknown IO ID 45"} 
[2026-05-08 22:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234382080001,"power":27115,"unknown_233":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":6045167733025214464}} 
[2026-05-08 22:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":65403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:27:20] local.INFO: GPS data processed {"connection_id":65403,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:27:20] local.INFO: Acknowledgment sent {"connection_id":65403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:27:42] local.INFO: TCP Data received {"connection_id":65315,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:27:42] local.INFO: Processing buffer {"connection_id":65315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:27:42] local.INFO: IMEI packet received {"connection_id":65315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:27:42] local.INFO: IMEI acknowledgment sent {"connection_id":65315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:27:48] local.INFO: TCP Data received {"connection_id":65315,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:27:48] local.INFO: Processing buffer {"connection_id":65315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:27:48] local.INFO: IMEI packet received {"connection_id":65315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":65315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:27:49] local.INFO: TCP Data received {"connection_id":65315,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08853c50012d5489c0064573a8000d00982f..."} 
[2026-05-08 22:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08853c50012d5489c0064573a8000d00982f..."} 
[2026-05-08 22:27:49] local.INFO: Processing buffer {"connection_id":65315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08853c50012d5489c0064573a8000d00982f..."} 
[2026-05-08 22:27:49] local.INFO: Packet analysis {"connection_id":65315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0885"} 
[2026-05-08 22:27:49] local.INFO: Extracted packet for processing {"connection_id":65315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0885"} 
[2026-05-08 22:27:49] local.INFO: GPS Element Parsed {"raw_longitude":760515008,"raw_latitude":105214888,"longitude_deg":76.0515008,"latitude_deg":10.5214888,"altitude":13,"angle":152,"satellites":47,"speed":57,"hex_longitude":"2d5489c0","hex_latitude":"064573a8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234407168001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290657011199115264,"note":"Value kept but may cause issues"} 
[2026-05-08 22:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6086403817095964672,"note":"Value kept but may cause issues"} 
[2026-05-08 22:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778259410000,"timestamp_ms":1778259410000,"timestamp_seconds":1778259410,"priority":1,"record_length":96,"hex_timestamp":"0000019e08853c50"} 
[2026-05-08 22:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:27: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-05-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234407168001,"66":27234,"217":206,"78":38912,"24":57,"16":290657011199115264,"45":6086403817095964672},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-05-08 22:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234407168001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:27:49] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-05-08 22:27:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290657011199115264,"km_value":290657011199115.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6086403817095964672,"description":"Unknown IO ID 45"} 
[2026-05-08 22:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234407168001,"power":27234,"unknown_217":206,"unknown_78":38912,"ignition":57,"odometer":null,"unknown_45":6086403817095964672}} 
[2026-05-08 22:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":65315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:27:49] local.INFO: GPS data processed {"connection_id":65315,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:27:49] local.INFO: Acknowledgment sent {"connection_id":65315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:28:24] local.INFO: TCP Data received {"connection_id":65315,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e088557a8012d549d0006455068000d009732..."} 
[2026-05-08 22:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088557a8012d549d0006455068000d009732..."} 
[2026-05-08 22:28:24] local.INFO: Processing buffer {"connection_id":65315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088557a8012d549d0006455068000d009732..."} 
[2026-05-08 22:28:24] local.INFO: Packet analysis {"connection_id":65315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0885"} 
[2026-05-08 22:28:24] local.INFO: Extracted packet for processing {"connection_id":65315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0885"} 
[2026-05-08 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":760519936,"raw_latitude":105205864,"longitude_deg":76.0519936,"latitude_deg":10.5205864,"altitude":13,"angle":151,"satellites":50,"speed":57,"hex_longitude":"2d549d00","hex_latitude":"06455068","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:28:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234408960001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290657509415321600,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6091611104162850816,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:28:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778259417000,"timestamp_ms":1778259417000,"timestamp_seconds":1778259417,"priority":1,"record_length":96,"hex_timestamp":"0000019e088557a8"} 
[2026-05-08 22:28:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:28:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 22:28:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:28:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:28:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:28:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:28:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:28:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:28:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:28:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:28:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:28:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234408960001,"66":27332,"217":206,"78":38912,"24":57,"16":290657509415321600,"45":6091611104162850816},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-05-08 22:28:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:28:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:28:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234408960001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:28:24] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-05-08 22:28:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:28:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290657509415321600,"km_value":290657509415321.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:28:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6091611104162850816,"description":"Unknown IO ID 45"} 
[2026-05-08 22:28:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234408960001,"power":27332,"unknown_217":206,"unknown_78":38912,"ignition":57,"odometer":null,"unknown_45":6091611104162850816}} 
[2026-05-08 22:28:24] local.INFO: DEBUG: GPS processor result {"connection_id":65315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:28:24] local.INFO: GPS data processed {"connection_id":65315,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:28:24] local.INFO: Acknowledgment sent {"connection_id":65315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:28:45] local.INFO: TCP Data received {"connection_id":65317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:45] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:45] local.INFO: IMEI packet received {"connection_id":65317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:28:45] local.INFO: IMEI acknowledgment sent {"connection_id":65317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:28:48] local.INFO: TCP Data received {"connection_id":65317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:48] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:48] local.INFO: IMEI packet received {"connection_id":65317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":65317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:28:52] local.INFO: TCP Data received {"connection_id":65317,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:52] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:28:52] local.INFO: IMEI packet received {"connection_id":65317,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":65317,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:28:54] local.INFO: TCP Data received {"connection_id":65317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08857300012d54afc006452da80010009631..."} 
[2026-05-08 22:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08857300012d54afc006452da80010009631..."} 
[2026-05-08 22:28:54] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08857300012d54afc006452da80010009631..."} 
[2026-05-08 22:28:54] local.INFO: Packet analysis {"connection_id":65317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0885"} 
[2026-05-08 22:28:54] local.INFO: Extracted packet for processing {"connection_id":65317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0885"} 
[2026-05-08 22:28:54] local.INFO: GPS Element Parsed {"raw_longitude":760524736,"raw_latitude":105196968,"longitude_deg":76.0524736,"latitude_deg":10.5196968,"altitude":16,"angle":150,"satellites":49,"speed":56,"hex_longitude":"2d54afc0","hex_latitude":"06452da8","is_valid_coordinates":true} 
[2026-05-08 22:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234410752001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290657994746626048,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6097029497462220800,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778259424000,"timestamp_ms":1778259424000,"timestamp_seconds":1778259424,"priority":1,"record_length":96,"hex_timestamp":"0000019e08857300"} 
[2026-05-08 22:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":65317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234410752001,"66":27234,"217":206,"78":38912,"24":56,"16":290657994746626048,"45":6097029497462220800},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-05-08 22:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234410752001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:28:54] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-05-08 22:28:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290657994746626048,"km_value":290657994746626.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6097029497462220800,"description":"Unknown IO ID 45"} 
[2026-05-08 22:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234410752001,"power":27234,"unknown_217":206,"unknown_78":38912,"ignition":56,"odometer":null,"unknown_45":6097029497462220800}} 
[2026-05-08 22:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":65317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:28:54] local.INFO: GPS data processed {"connection_id":65317,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:28:54] local.INFO: Acknowledgment sent {"connection_id":65317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:28:55] local.INFO: TCP Data received {"connection_id":65317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e08858e58012d54c38006450d000012009332..."} 
[2026-05-08 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08858e58012d54c38006450d000012009332..."} 
[2026-05-08 22:28:55] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08858e58012d54c38006450d000012009332..."} 
[2026-05-08 22:28:55] local.INFO: Packet analysis {"connection_id":65317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0885"} 
[2026-05-08 22:28:55] local.INFO: Extracted packet for processing {"connection_id":65317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0885"} 
[2026-05-08 22:28:55] local.INFO: GPS Element Parsed {"raw_longitude":760529792,"raw_latitude":105188608,"longitude_deg":76.0529792,"latitude_deg":10.5188608,"altitude":18,"angle":147,"satellites":50,"speed":54,"hex_longitude":"2d54c380","hex_latitude":"06450d00","is_valid_coordinates":true} 
[2026-05-08 22:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:28:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234412544001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290658467193028608,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6102307153273268224,"note":"Value kept but may cause issues"} 
[2026-05-08 22:28:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:28:55] local.INFO: AVL Record Parsed {"raw_timestamp":1778259431000,"timestamp_ms":1778259431000,"timestamp_seconds":1778259431,"priority":1,"record_length":96,"hex_timestamp":"0000019e08858e58"} 
[2026-05-08 22:28:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:28:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:28:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 22:28:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:28:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:28:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:28:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:28:55] local.INFO: Teltonika packet parsed successfully {"connection_id":65317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:28:55] local.INFO: Passing IMEI to GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:28:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:28:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:28:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:28:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:28:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234412544001,"66":27300,"217":206,"78":38912,"24":54,"16":290658467193028608,"45":6102307153273268224},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-05-08 22:28:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:28:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:28:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234412544001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:28:55] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-05-08 22:28:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:28:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290658467193028608,"km_value":290658467193028.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:28:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6102307153273268224,"description":"Unknown IO ID 45"} 
[2026-05-08 22:28:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234412544001,"power":27300,"unknown_217":206,"unknown_78":38912,"ignition":54,"odometer":null,"unknown_45":6102307153273268224}} 
[2026-05-08 22:28:55] local.INFO: DEBUG: GPS processor result {"connection_id":65317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:28:55] local.INFO: GPS data processed {"connection_id":65317,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:28:55] local.INFO: Acknowledgment sent {"connection_id":65317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:29:25] local.INFO: TCP Data received {"connection_id":65317,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019e0886c2f0012d55928006439e800012009433..."} 
[2026-05-08 22:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0886c2f0012d55928006439e800012009433..."} 
[2026-05-08 22:29:25] local.INFO: Processing buffer {"connection_id":65317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0886c2f0012d55928006439e800012009433..."} 
[2026-05-08 22:29:25] local.INFO: Packet analysis {"connection_id":65317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0886"} 
[2026-05-08 22:29:25] local.INFO: Extracted packet for processing {"connection_id":65317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0886"} 
[2026-05-08 22:29:25] local.INFO: GPS Element Parsed {"raw_longitude":760582784,"raw_latitude":105094784,"longitude_deg":76.0582784,"latitude_deg":10.5094784,"altitude":18,"angle":148,"satellites":51,"speed":47,"hex_longitude":"2d559280","hex_latitude":"06439e80","is_valid_coordinates":true} 
[2026-05-08 22:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234432512001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290663676988358656,"note":"Value kept but may cause issues"} 
[2026-05-08 22:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6160642842172512256,"note":"Value kept but may cause issues"} 
[2026-05-08 22:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778259510000,"timestamp_ms":1778259510000,"timestamp_seconds":1778259510,"priority":1,"record_length":96,"hex_timestamp":"0000019e0886c2f0"} 
[2026-05-08 22:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:29: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-05-08 22:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":65317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":65317,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234432512001,"66":27245,"216":206,"78":38912,"24":47,"16":290663676988358656,"45":6160642842172512256},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-05-08 22:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234432512001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:29:25] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-05-08 22:29:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-05-08 22:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290663676988358656,"km_value":290663676988358.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6160642842172512256,"description":"Unknown IO ID 45"} 
[2026-05-08 22:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234432512001,"power":27245,"unknown_216":206,"unknown_78":38912,"ignition":47,"odometer":null,"unknown_45":6160642842172512256}} 
[2026-05-08 22:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":65317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:29:25] local.INFO: GPS data processed {"connection_id":65317,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:29:25] local.INFO: Acknowledgment sent {"connection_id":65317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:29:42] local.INFO: TCP Data received {"connection_id":65405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:42] local.INFO: Processing buffer {"connection_id":65405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:42] local.INFO: IMEI packet received {"connection_id":65405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":65405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:29:49] local.INFO: TCP Data received {"connection_id":65405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:49] local.INFO: Processing buffer {"connection_id":65405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:49] local.INFO: IMEI packet received {"connection_id":65405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":65405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:29:50] local.INFO: TCP Data received {"connection_id":65405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:50] local.INFO: Processing buffer {"connection_id":65405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:50] local.INFO: IMEI packet received {"connection_id":65405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":65405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:29:50] local.INFO: TCP Data received {"connection_id":65405,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:50] local.INFO: Processing buffer {"connection_id":65405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:29:50] local.INFO: IMEI packet received {"connection_id":65405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":65405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:30:40] local.INFO: TCP Data received {"connection_id":65265,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:30:40] local.INFO: Processing buffer {"connection_id":65265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:30:40] local.INFO: IMEI packet received {"connection_id":65265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":65265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:34:51] local.INFO: TCP Data received {"connection_id":65318,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:34:51] local.INFO: Processing buffer {"connection_id":65318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:34:51] local.INFO: IMEI packet received {"connection_id":65318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":65318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:34:51] local.INFO: TCP Data received {"connection_id":65318,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088b1c38012d57e840063f7f20000d008e2d..."} 
[2026-05-08 22:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088b1c38012d57e840063f7f20000d008e2d..."} 
[2026-05-08 22:34:51] local.INFO: Processing buffer {"connection_id":65318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088b1c38012d57e840063f7f20000d008e2d..."} 
[2026-05-08 22:34:51] local.INFO: Packet analysis {"connection_id":65318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088b"} 
[2026-05-08 22:34:51] local.INFO: Extracted packet for processing {"connection_id":65318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088b"} 
[2026-05-08 22:34:51] local.INFO: GPS Element Parsed {"raw_longitude":760735808,"raw_latitude":104824608,"longitude_deg":76.0735808,"latitude_deg":10.4824608,"altitude":13,"angle":142,"satellites":45,"speed":42,"hex_longitude":"2d57e840","hex_latitude":"063f7f20","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:34:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234505472001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:34:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290678769503436800,"note":"Value kept but may cause issues"} 
[2026-05-08 22:34:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6328401928222679040,"note":"Value kept but may cause issues"} 
[2026-05-08 22:34:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:34:51] local.INFO: AVL Record Parsed {"raw_timestamp":1778259795000,"timestamp_ms":1778259795000,"timestamp_seconds":1778259795,"priority":1,"record_length":96,"hex_timestamp":"0000019e088b1c38"} 
[2026-05-08 22:34:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:34:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 22:34:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:34:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:34:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:34:51] local.INFO: Teltonika packet parsed successfully {"connection_id":65318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:34:51] local.INFO: Passing IMEI to GPS processor {"connection_id":65318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:34:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":65318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:34:51] 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-05-08 22:34:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:34:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:34:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234505472001,"66":27300,"29":206,"78":38656,"24":42,"16":290678769503436800,"45":6328401928222679040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,78,24,16,45]} 
[2026-05-08 22:34:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:34:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:34:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234505472001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:34:51] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-05-08 22:34:51] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:34:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290678769503436800,"km_value":290678769503436.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:34:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6328401928222679040,"description":"Unknown IO ID 45"} 
[2026-05-08 22:34:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234505472001,"power":27300,"unknown_29":206,"unknown_78":38656,"ignition":42,"odometer":null,"unknown_45":6328401928222679040}} 
[2026-05-08 22:34:51] local.INFO: DEBUG: GPS processor result {"connection_id":65318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:34:51] local.INFO: GPS data processed {"connection_id":65318,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:34:51] local.INFO: Acknowledgment sent {"connection_id":65318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:35:22] local.INFO: TCP Data received {"connection_id":65318,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088b3f60012d57ffc0063f5f98000d00912f..."} 
[2026-05-08 22:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088b3f60012d57ffc0063f5f98000d00912f..."} 
[2026-05-08 22:35:22] local.INFO: Processing buffer {"connection_id":65318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088b3f60012d57ffc0063f5f98000d00912f..."} 
[2026-05-08 22:35:22] local.INFO: Packet analysis {"connection_id":65318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088b"} 
[2026-05-08 22:35:22] local.INFO: Extracted packet for processing {"connection_id":65318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088b"} 
[2026-05-08 22:35:22] local.INFO: GPS Element Parsed {"raw_longitude":760741824,"raw_latitude":104816536,"longitude_deg":76.0741824,"latitude_deg":10.4816536,"altitude":13,"angle":145,"satellites":47,"speed":46,"hex_longitude":"2d57ffc0","hex_latitude":"063f5f98","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:35:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234507520001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:35:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290679254834741248,"note":"Value kept but may cause issues"} 
[2026-05-08 22:35:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6334383271475879936,"note":"Value kept but may cause issues"} 
[2026-05-08 22:35:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:35:22] local.INFO: AVL Record Parsed {"raw_timestamp":1778259804000,"timestamp_ms":1778259804000,"timestamp_seconds":1778259804,"priority":1,"record_length":96,"hex_timestamp":"0000019e088b3f60"} 
[2026-05-08 22:35:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:35: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-05-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 22:35:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:35:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:35:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:35:22] local.INFO: Teltonika packet parsed successfully {"connection_id":65318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:35:22] local.INFO: Passing IMEI to GPS processor {"connection_id":65318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:35:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":65318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:35:22] 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-05-08 22:35:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:35:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:35:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234507520001,"66":27484,"103":206,"78":38656,"24":46,"16":290679254834741248,"45":6334383271475879936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,78,24,16,45]} 
[2026-05-08 22:35:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:35:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:35:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234507520001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:35:22] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-05-08 22:35:22] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:35:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290679254834741248,"km_value":290679254834741.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:35:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":6334383271475879936,"description":"Unknown IO ID 45"} 
[2026-05-08 22:35:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234507520001,"power":27484,"unknown_103":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6334383271475879936}} 
[2026-05-08 22:35:22] local.INFO: DEBUG: GPS processor result {"connection_id":65318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:35:22] local.INFO: GPS data processed {"connection_id":65318,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:35:22] local.INFO: Acknowledgment sent {"connection_id":65318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:35:43] local.INFO: TCP Data received {"connection_id":65273,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:35:43] local.INFO: Processing buffer {"connection_id":65273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:35:43] local.INFO: IMEI packet received {"connection_id":65273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":65273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:35:48] local.INFO: TCP Data received {"connection_id":65273,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:35:48] local.INFO: Processing buffer {"connection_id":65273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:35:48] local.INFO: IMEI packet received {"connection_id":65273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":65273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:35:49] local.INFO: TCP Data received {"connection_id":65273,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088c9ef0012d58cb80063df9e8000d008430..."} 
[2026-05-08 22:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088c9ef0012d58cb80063df9e8000d008430..."} 
[2026-05-08 22:35:49] local.INFO: Processing buffer {"connection_id":65273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088c9ef0012d58cb80063df9e8000d008430..."} 
[2026-05-08 22:35:49] local.INFO: Packet analysis {"connection_id":65273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088c"} 
[2026-05-08 22:35:49] local.INFO: Extracted packet for processing {"connection_id":65273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088c"} 
[2026-05-08 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":760793984,"raw_latitude":104724968,"longitude_deg":76.0793984,"latitude_deg":10.4724968,"altitude":13,"angle":132,"satellites":48,"speed":44,"hex_longitude":"2d58cb80","hex_latitude":"063df9e8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234530816001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290684365845823488,"note":"Value kept but may cause issues"} 
[2026-05-08 22:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6391381954236153856,"note":"Value kept but may cause issues"} 
[2026-05-08 22:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778259894000,"timestamp_ms":1778259894000,"timestamp_seconds":1778259894,"priority":1,"record_length":96,"hex_timestamp":"0000019e088c9ef0"} 
[2026-05-08 22:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:35: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-05-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234530816001,"66":27321,"197":206,"78":38656,"24":44,"16":290684365845823488,"45":6391381954236153856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-05-08 22:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234530816001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:35:49] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-05-08 22:35:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290684365845823488,"km_value":290684365845823.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6391381954236153856,"description":"Unknown IO ID 45"} 
[2026-05-08 22:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234530816001,"power":27321,"unknown_197":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6391381954236153856}} 
[2026-05-08 22:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":65273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:35:49] local.INFO: GPS data processed {"connection_id":65273,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:35:49] local.INFO: Acknowledgment sent {"connection_id":65273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:36:05] local.INFO: TCP Data received {"connection_id":65407,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65407,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:36:05] local.INFO: Processing buffer {"connection_id":65407,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:36:05] local.INFO: IMEI packet received {"connection_id":65407,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":65407,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:36:20] local.INFO: TCP Data received {"connection_id":65273,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088c9ef0012d58cb80063df9e8000d008430..."} 
[2026-05-08 22:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088c9ef0012d58cb80063df9e8000d008430..."} 
[2026-05-08 22:36:20] local.INFO: Processing buffer {"connection_id":65273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088c9ef0012d58cb80063df9e8000d008430..."} 
[2026-05-08 22:36:20] local.INFO: Packet analysis {"connection_id":65273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088c"} 
[2026-05-08 22:36:20] local.INFO: Extracted packet for processing {"connection_id":65273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088c"} 
[2026-05-08 22:36:20] local.INFO: GPS Element Parsed {"raw_longitude":760793984,"raw_latitude":104724968,"longitude_deg":76.0793984,"latitude_deg":10.4724968,"altitude":13,"angle":132,"satellites":48,"speed":44,"hex_longitude":"2d58cb80","hex_latitude":"063df9e8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234532864001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290684365845823488,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6398348459907868672,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778259894000,"timestamp_ms":1778259894000,"timestamp_seconds":1778259894,"priority":1,"record_length":96,"hex_timestamp":"0000019e088c9ef0"} 
[2026-05-08 22:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234532864001,"66":27321,"197":206,"78":38656,"24":44,"16":290684365845823488,"45":6398348459907868672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-05-08 22:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234532864001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:36:20] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-05-08 22:36:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290684365845823488,"km_value":290684365845823.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6398348459907868672,"description":"Unknown IO ID 45"} 
[2026-05-08 22:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234532864001,"power":27321,"unknown_197":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6398348459907868672}} 
[2026-05-08 22:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":65273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:36:20] local.INFO: GPS data processed {"connection_id":65273,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:36:20] local.INFO: Acknowledgment sent {"connection_id":65273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:36:40] local.INFO: TCP Data received {"connection_id":65274,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:36:40] local.INFO: Processing buffer {"connection_id":65274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:36:40] local.INFO: IMEI packet received {"connection_id":65274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":65274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:36:42] local.INFO: TCP Data received {"connection_id":66094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:42] local.INFO: Processing buffer {"connection_id":66094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:42] local.INFO: IMEI packet received {"connection_id":66094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:36:42] local.INFO: IMEI acknowledgment sent {"connection_id":66094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:36:46] local.INFO: TCP Data received {"connection_id":66094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:46] local.INFO: Processing buffer {"connection_id":66094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:46] local.INFO: IMEI packet received {"connection_id":66094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:36:46] local.INFO: IMEI acknowledgment sent {"connection_id":66094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:36:47] local.INFO: TCP Data received {"connection_id":66094,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:47] local.INFO: Processing buffer {"connection_id":66094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:36:47] local.INFO: IMEI packet received {"connection_id":66094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":66094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:36:48] local.INFO: TCP Data received {"connection_id":66094,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088cb278012d58d8c0063ded00000c009030..."} 
[2026-05-08 22:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088cb278012d58d8c0063ded00000c009030..."} 
[2026-05-08 22:36:48] local.INFO: Processing buffer {"connection_id":66094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088cb278012d58d8c0063ded00000c009030..."} 
[2026-05-08 22:36:48] local.INFO: Packet analysis {"connection_id":66094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088c"} 
[2026-05-08 22:36:48] local.INFO: Extracted packet for processing {"connection_id":66094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088c"} 
[2026-05-08 22:36:48] local.INFO: GPS Element Parsed {"raw_longitude":760797376,"raw_latitude":104721664,"longitude_deg":76.0797376,"latitude_deg":10.4721664,"altitude":12,"angle":144,"satellites":48,"speed":35,"hex_longitude":"2d58d8c0","hex_latitude":"063ded00","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234532864001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290684593479090176,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6398348459907868672,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778259899000,"timestamp_ms":1778259899000,"timestamp_seconds":1778259899,"priority":1,"record_length":96,"hex_timestamp":"0000019e088cb278"} 
[2026-05-08 22:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":66094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":66094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":66094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:36:48] 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-05-08 22:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234532864001,"66":27397,"197":206,"78":38656,"24":35,"16":290684593479090176,"45":6398348459907868672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-05-08 22:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234532864001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:36:48] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-05-08 22:36:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290684593479090176,"km_value":290684593479090.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6398348459907868672,"description":"Unknown IO ID 45"} 
[2026-05-08 22:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234532864001,"power":27397,"unknown_197":206,"unknown_78":38656,"ignition":35,"odometer":null,"unknown_45":6398348459907868672}} 
[2026-05-08 22:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":66094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:36:48] local.INFO: GPS data processed {"connection_id":66094,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:36:48] local.INFO: Acknowledgment sent {"connection_id":66094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:36:53] local.INFO: TCP Data received {"connection_id":66094,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088cba48012d58dc40063de6e0000c009c2d..."} 
[2026-05-08 22:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088cba48012d58dc40063de6e0000c009c2d..."} 
[2026-05-08 22:36:53] local.INFO: Processing buffer {"connection_id":66094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088cba48012d58dc40063de6e0000c009c2d..."} 
[2026-05-08 22:36:53] local.INFO: Packet analysis {"connection_id":66094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088c"} 
[2026-05-08 22:36:53] local.INFO: Extracted packet for processing {"connection_id":66094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088c"} 
[2026-05-08 22:36:53] local.INFO: GPS Element Parsed {"raw_longitude":760798272,"raw_latitude":104720096,"longitude_deg":76.0798272,"latitude_deg":10.4720096,"altitude":12,"angle":156,"satellites":45,"speed":35,"hex_longitude":"2d58dc40","hex_latitude":"063de6e0","is_valid_coordinates":true} 
[2026-05-08 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-05-08 22:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234534144001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290684679378436096,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6402078003348439040,"note":"Value kept but may cause issues"} 
[2026-05-08 22:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778259901000,"timestamp_ms":1778259901000,"timestamp_seconds":1778259901,"priority":1,"record_length":96,"hex_timestamp":"0000019e088cba48"} 
[2026-05-08 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-05-08 22:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 22:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 22:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":66094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":66094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":66094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234534144001,"66":27245,"197":206,"78":38656,"24":35,"16":290684679378436096,"45":6402078003348439040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-05-08 22:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234534144001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:36:53] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-05-08 22:36:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290684679378436096,"km_value":290684679378436.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6402078003348439040,"description":"Unknown IO ID 45"} 
[2026-05-08 22:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234534144001,"power":27245,"unknown_197":206,"unknown_78":38656,"ignition":35,"odometer":null,"unknown_45":6402078003348439040}} 
[2026-05-08 22:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":66094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:36:53] local.INFO: GPS data processed {"connection_id":66094,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:36:53] local.INFO: Acknowledgment sent {"connection_id":66094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:37:24] local.INFO: TCP Data received {"connection_id":66094,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088e0268012d595480063cc4980012009b30..."} 
[2026-05-08 22:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088e0268012d595480063cc4980012009b30..."} 
[2026-05-08 22:37:24] local.INFO: Processing buffer {"connection_id":66094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088e0268012d595480063cc4980012009b30..."} 
[2026-05-08 22:37:24] local.INFO: Packet analysis {"connection_id":66094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088e"} 
[2026-05-08 22:37:24] local.INFO: Extracted packet for processing {"connection_id":66094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088e"} 
[2026-05-08 22:37:24] local.INFO: GPS Element Parsed {"raw_longitude":760829056,"raw_latitude":104645784,"longitude_deg":76.0829056,"latitude_deg":10.4645784,"altitude":18,"angle":155,"satellites":48,"speed":43,"hex_longitude":"2d595480","hex_latitude":"063cc498","is_valid_coordinates":true} 
[2026-05-08 22:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234553856001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290688630748348416,"note":"Value kept but may cause issues"} 
[2026-05-08 22:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6432406932071895040,"note":"Value kept but may cause issues"} 
[2026-05-08 22:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778259985000,"timestamp_ms":1778259985000,"timestamp_seconds":1778259985,"priority":1,"record_length":96,"hex_timestamp":"0000019e088e0268"} 
[2026-05-08 22:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:37:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 22:37:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:37:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":66094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":66094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":66094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:37:24] 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-05-08 22:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234553856001,"66":27321,"175":206,"78":38656,"24":43,"16":290688630748348416,"45":6432406932071895040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-05-08 22:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234553856001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:37:24] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-05-08 22:37:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290688630748348416,"km_value":290688630748348.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6432406932071895040,"description":"Unknown IO ID 45"} 
[2026-05-08 22:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234553856001,"power":27321,"unknown_175":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6432406932071895040}} 
[2026-05-08 22:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":66094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:37:24] local.INFO: GPS data processed {"connection_id":66094,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:37:24] local.INFO: Acknowledgment sent {"connection_id":66094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:37:42] local.INFO: TCP Data received {"connection_id":65275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:42] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:42] local.INFO: IMEI packet received {"connection_id":65275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":65275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:37:46] local.INFO: TCP Data received {"connection_id":65275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:46] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:46] local.INFO: IMEI packet received {"connection_id":65275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":65275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:37:47] local.INFO: TCP Data received {"connection_id":65275,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:47] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:37:47] local.INFO: IMEI packet received {"connection_id":65275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":65275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:37:48] local.INFO: TCP Data received {"connection_id":65275,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088e21a8012d596300063ca4300010009c31..."} 
[2026-05-08 22:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088e21a8012d596300063ca4300010009c31..."} 
[2026-05-08 22:37:48] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088e21a8012d596300063ca4300010009c31..."} 
[2026-05-08 22:37:48] local.INFO: Packet analysis {"connection_id":65275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088e"} 
[2026-05-08 22:37:48] local.INFO: Extracted packet for processing {"connection_id":65275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088e"} 
[2026-05-08 22:37:48] local.INFO: GPS Element Parsed {"raw_longitude":760832768,"raw_latitude":104637488,"longitude_deg":76.0832768,"latitude_deg":10.4637488,"altitude":16,"angle":156,"satellites":49,"speed":46,"hex_longitude":"2d596300","hex_latitude":"063ca430","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234556160001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290689068835012608,"note":"Value kept but may cause issues"} 
[2026-05-08 22:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6436910531696957440,"note":"Value kept but may cause issues"} 
[2026-05-08 22:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778259993000,"timestamp_ms":1778259993000,"timestamp_seconds":1778259993,"priority":1,"record_length":96,"hex_timestamp":"0000019e088e21a8"} 
[2026-05-08 22:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:37:48] 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-05-08 22:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234556160001,"66":27365,"25":206,"78":38656,"24":46,"16":290689068835012608,"45":6436910531696957440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-05-08 22:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234556160001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:37:48] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-05-08 22:37:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290689068835012608,"km_value":290689068835012.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6436910531696957440,"description":"Unknown IO ID 45"} 
[2026-05-08 22:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234556160001,"power":27365,"unknown_25":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6436910531696957440}} 
[2026-05-08 22:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":65275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:37:48] local.INFO: GPS data processed {"connection_id":65275,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:37:48] local.INFO: Acknowledgment sent {"connection_id":65275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:38:19] local.INFO: TCP Data received {"connection_id":65275,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088e44d0012d597200063c81500010009c31..."} 
[2026-05-08 22:38:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088e44d0012d597200063c81500010009c31..."} 
[2026-05-08 22:38:19] local.INFO: Processing buffer {"connection_id":65275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088e44d0012d597200063c81500010009c31..."} 
[2026-05-08 22:38:19] local.INFO: Packet analysis {"connection_id":65275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088e"} 
[2026-05-08 22:38:19] local.INFO: Extracted packet for processing {"connection_id":65275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088e"} 
[2026-05-08 22:38:19] local.INFO: GPS Element Parsed {"raw_longitude":760836608,"raw_latitude":104628560,"longitude_deg":76.0836608,"latitude_deg":10.462856,"altitude":16,"angle":156,"satellites":49,"speed":37,"hex_longitude":"2d597200","hex_latitude":"063c8150","is_valid_coordinates":true} 
[2026-05-08 22:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:38:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234558208001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:38:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290689541281415168,"note":"Value kept but may cause issues"} 
[2026-05-08 22:38:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6440991918857138176,"note":"Value kept but may cause issues"} 
[2026-05-08 22:38:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:38:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778260002000,"timestamp_ms":1778260002000,"timestamp_seconds":1778260002,"priority":1,"record_length":96,"hex_timestamp":"0000019e088e44d0"} 
[2026-05-08 22:38:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:38: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-05-08 22:38:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 22:38:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:38:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:38:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:38:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:38:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:38:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:38:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:38:19] 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-05-08 22:38:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:38:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:38:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234558208001,"66":27169,"25":206,"78":38656,"24":37,"16":290689541281415168,"45":6440991918857138176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-05-08 22:38:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:38:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:38:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234558208001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:38:19] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-05-08 22:38:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:38:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290689541281415168,"km_value":290689541281415.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:38:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6440991918857138176,"description":"Unknown IO ID 45"} 
[2026-05-08 22:38:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234558208001,"power":27169,"unknown_25":206,"unknown_78":38656,"ignition":37,"odometer":null,"unknown_45":6440991918857138176}} 
[2026-05-08 22:38:19] local.INFO: DEBUG: GPS processor result {"connection_id":65275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:38:19] local.INFO: GPS data processed {"connection_id":65275,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:38:19] local.INFO: Acknowledgment sent {"connection_id":65275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:38:47] local.INFO: TCP Data received {"connection_id":65320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:47] local.INFO: Processing buffer {"connection_id":65320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:47] local.INFO: IMEI packet received {"connection_id":65320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":65320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:38:47] local.INFO: TCP Data received {"connection_id":65320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:47] local.INFO: Processing buffer {"connection_id":65320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:47] local.INFO: IMEI packet received {"connection_id":65320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:38:47] local.INFO: IMEI acknowledgment sent {"connection_id":65320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:38:53] local.INFO: TCP Data received {"connection_id":65320,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:53] local.INFO: Processing buffer {"connection_id":65320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:38:53] local.INFO: IMEI packet received {"connection_id":65320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":65320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:38:54] local.INFO: TCP Data received {"connection_id":65320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088f7968012d5a0a00063b2320000c008d2a..."} 
[2026-05-08 22:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088f7968012d5a0a00063b2320000c008d2a..."} 
[2026-05-08 22:38:54] local.INFO: Processing buffer {"connection_id":65320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088f7968012d5a0a00063b2320000c008d2a..."} 
[2026-05-08 22:38:54] local.INFO: Packet analysis {"connection_id":65320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088f"} 
[2026-05-08 22:38:54] local.INFO: Extracted packet for processing {"connection_id":65320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088f"} 
[2026-05-08 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":760875520,"raw_latitude":104538912,"longitude_deg":76.087552,"latitude_deg":10.4538912,"altitude":12,"angle":141,"satellites":42,"speed":55,"hex_longitude":"2d5a0a00","hex_latitude":"063b2320","is_valid_coordinates":true} 
[2026-05-08 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234578944001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290694300105179136,"note":"Value kept but may cause issues"} 
[2026-05-08 22:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6481242840503451648,"note":"Value kept but may cause issues"} 
[2026-05-08 22:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778260081000,"timestamp_ms":1778260081000,"timestamp_seconds":1778260081,"priority":1,"record_length":96,"hex_timestamp":"0000019e088f7968"} 
[2026-05-08 22:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 22:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":65320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":65320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":65320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234578944001,"66":27365,"23":206,"78":38656,"24":55,"16":290694300105179136,"45":6481242840503451648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-05-08 22:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234578944001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:38:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-05-08 22:38:54] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290694300105179136,"km_value":290694300105179.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":6481242840503451648,"description":"Unknown IO ID 45"} 
[2026-05-08 22:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234578944001,"power":27365,"unknown_23":206,"unknown_78":38656,"ignition":55,"odometer":null,"unknown_45":6481242840503451648}} 
[2026-05-08 22:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":65320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:38:54] local.INFO: GPS data processed {"connection_id":65320,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:38:54] local.INFO: Acknowledgment sent {"connection_id":65320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:39:26] local.INFO: TCP Data received {"connection_id":65320,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e088f94c0012d5a2240063b0498000c008e2f..."} 
[2026-05-08 22:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e088f94c0012d5a2240063b0498000c008e2f..."} 
[2026-05-08 22:39:26] local.INFO: Processing buffer {"connection_id":65320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e088f94c0012d5a2240063b0498000c008e2f..."} 
[2026-05-08 22:39:26] local.INFO: Packet analysis {"connection_id":65320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e088f"} 
[2026-05-08 22:39:26] local.INFO: Extracted packet for processing {"connection_id":65320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e088f"} 
[2026-05-08 22:39:26] local.INFO: GPS Element Parsed {"raw_longitude":760881728,"raw_latitude":104531096,"longitude_deg":76.0881728,"latitude_deg":10.4531096,"altitude":12,"angle":142,"satellites":47,"speed":55,"hex_longitude":"2d5a2240","hex_latitude":"063b0498","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234580736001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290694781141516288,"note":"Value kept but may cause issues"} 
[2026-05-08 22:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6487998239942582272,"note":"Value kept but may cause issues"} 
[2026-05-08 22:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1778260088000,"timestamp_ms":1778260088000,"timestamp_seconds":1778260088,"priority":1,"record_length":96,"hex_timestamp":"0000019e088f94c0"} 
[2026-05-08 22:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:39:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 22:39:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":65320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":65320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":65320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234580736001,"66":27365,"23":206,"78":38656,"24":55,"16":290694781141516288,"45":6487998239942582272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-05-08 22:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234580736001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:39:26] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-05-08 22:39:26] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290694781141516288,"km_value":290694781141516.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6487998239942582272,"description":"Unknown IO ID 45"} 
[2026-05-08 22:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234580736001,"power":27365,"unknown_23":206,"unknown_78":38656,"ignition":55,"odometer":null,"unknown_45":6487998239942582272}} 
[2026-05-08 22:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":65320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:39:26] local.INFO: GPS data processed {"connection_id":65320,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:39:26] local.INFO: Acknowledgment sent {"connection_id":65320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:39:40] local.INFO: TCP Data received {"connection_id":65277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:40] local.INFO: Processing buffer {"connection_id":65277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:40] local.INFO: IMEI packet received {"connection_id":65277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:39:40] local.INFO: IMEI acknowledgment sent {"connection_id":65277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:39:42] local.INFO: TCP Data received {"connection_id":65277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:42] local.INFO: Processing buffer {"connection_id":65277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:42] local.INFO: IMEI packet received {"connection_id":65277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":65277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:39:42] local.INFO: TCP Data received {"connection_id":65277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:42] local.INFO: Processing buffer {"connection_id":65277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:42] local.INFO: IMEI packet received {"connection_id":65277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":65277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:39:44] local.INFO: TCP Data received {"connection_id":65277,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:44] local.INFO: Processing buffer {"connection_id":65277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:39:44] local.INFO: IMEI packet received {"connection_id":65277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":65277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:41:55] local.INFO: TCP Data received {"connection_id":65409,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:41:55] local.INFO: Processing buffer {"connection_id":65409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:41:55] local.INFO: IMEI packet received {"connection_id":65409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":65409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:42:40] local.INFO: TCP Data received {"connection_id":65321,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:42:40] local.INFO: Processing buffer {"connection_id":65321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:42:40] local.INFO: IMEI packet received {"connection_id":65321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":65321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:44:46] local.INFO: TCP Data received {"connection_id":65278,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:44:46] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:44:46] local.INFO: IMEI packet received {"connection_id":65278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":65278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:44:47] local.INFO: TCP Data received {"connection_id":65278,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:44:47] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:44:47] local.INFO: IMEI packet received {"connection_id":65278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":65278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:44:48] local.INFO: TCP Data received {"connection_id":65278,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08946b08012d5bfd00063778c8000e009c2f..."} 
[2026-05-08 22:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08946b08012d5bfd00063778c8000e009c2f..."} 
[2026-05-08 22:44:48] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08946b08012d5bfd00063778c8000e009c2f..."} 
[2026-05-08 22:44:48] local.INFO: Packet analysis {"connection_id":65278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0894"} 
[2026-05-08 22:44:48] local.INFO: Extracted packet for processing {"connection_id":65278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0894"} 
[2026-05-08 22:44:48] local.INFO: GPS Element Parsed {"raw_longitude":761003264,"raw_latitude":104298696,"longitude_deg":76.1003264,"latitude_deg":10.4298696,"altitude":14,"angle":156,"satellites":47,"speed":50,"hex_longitude":"2d5bfd00","hex_latitude":"063778c8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234661632001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290707580144058368,"note":"Value kept but may cause issues"} 
[2026-05-08 22:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6623950653634641920,"note":"Value kept but may cause issues"} 
[2026-05-08 22:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778260405000,"timestamp_ms":1778260405000,"timestamp_seconds":1778260405,"priority":1,"record_length":96,"hex_timestamp":"0000019e08946b08"} 
[2026-05-08 22:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 22:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:44:48] 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-05-08 22:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234661632001,"66":27365,"191":206,"78":38656,"24":50,"16":290707580144058368,"45":6623950653634641920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,78,24,16,45]} 
[2026-05-08 22:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234661632001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:44:48] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-05-08 22:44:48] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290707580144058368,"km_value":290707580144058.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":6623950653634641920,"description":"Unknown IO ID 45"} 
[2026-05-08 22:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234661632001,"power":27365,"unknown_191":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6623950653634641920}} 
[2026-05-08 22:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":65278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:44:48] local.INFO: GPS data processed {"connection_id":65278,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:44:48] local.INFO: Acknowledgment sent {"connection_id":65278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:45:19] local.INFO: TCP Data received {"connection_id":65278,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08948a48012d5c0e0006375540000e009a2f..."} 
[2026-05-08 22:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08948a48012d5c0e0006375540000e009a2f..."} 
[2026-05-08 22:45:19] local.INFO: Processing buffer {"connection_id":65278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08948a48012d5c0e0006375540000e009a2f..."} 
[2026-05-08 22:45:19] local.INFO: Packet analysis {"connection_id":65278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0894"} 
[2026-05-08 22:45:19] local.INFO: Extracted packet for processing {"connection_id":65278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0894"} 
[2026-05-08 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":761007616,"raw_latitude":104289600,"longitude_deg":76.1007616,"latitude_deg":10.42896,"altitude":14,"angle":154,"satellites":47,"speed":48,"hex_longitude":"2d5c0e00","hex_latitude":"06375540","is_valid_coordinates":true} 
[2026-05-08 22:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234663680001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290708069770330112,"note":"Value kept but may cause issues"} 
[2026-05-08 22:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6628454253259704320,"note":"Value kept but may cause issues"} 
[2026-05-08 22:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778260413000,"timestamp_ms":1778260413000,"timestamp_seconds":1778260413,"priority":1,"record_length":96,"hex_timestamp":"0000019e08948a48"} 
[2026-05-08 22:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 22:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:45:19] 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-05-08 22:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234663680001,"66":27234,"191":206,"78":38656,"24":48,"16":290708069770330112,"45":6628454253259704320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,78,24,16,45]} 
[2026-05-08 22:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234663680001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:45:19] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-05-08 22:45:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290708069770330112,"km_value":290708069770330.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6628454253259704320,"description":"Unknown IO ID 45"} 
[2026-05-08 22:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234663680001,"power":27234,"unknown_191":206,"unknown_78":38656,"ignition":48,"odometer":null,"unknown_45":6628454253259704320}} 
[2026-05-08 22:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":65278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:45:19] local.INFO: GPS data processed {"connection_id":65278,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:45:19] local.INFO: Acknowledgment sent {"connection_id":65278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:45:48] local.INFO: TCP Data received {"connection_id":65415,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:45:48] local.INFO: Processing buffer {"connection_id":65415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:45:48] local.INFO: IMEI packet received {"connection_id":65415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":65415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:45:52] local.INFO: TCP Data received {"connection_id":65415,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:45:52] local.INFO: Processing buffer {"connection_id":65415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:45:52] local.INFO: IMEI packet received {"connection_id":65415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":65415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:45:53] local.INFO: TCP Data received {"connection_id":65415,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e0894ad70012d5c1d80063735e8000f00952e..."} 
[2026-05-08 22:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0894ad70012d5c1d80063735e8000f00952e..."} 
[2026-05-08 22:45:53] local.INFO: Processing buffer {"connection_id":65415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0894ad70012d5c1d80063735e8000f00952e..."} 
[2026-05-08 22:45:53] local.INFO: Packet analysis {"connection_id":65415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0894"} 
[2026-05-08 22:45:53] local.INFO: Extracted packet for processing {"connection_id":65415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0894"} 
[2026-05-08 22:45:53] local.INFO: GPS Element Parsed {"raw_longitude":761011584,"raw_latitude":104281576,"longitude_deg":76.1011584,"latitude_deg":10.4281576,"altitude":15,"angle":149,"satellites":46,"speed":30,"hex_longitude":"2d5c1d80","hex_latitude":"063735e8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234665728001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290708503562027008,"note":"Value kept but may cause issues"} 
[2026-05-08 22:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6633239327861456896,"note":"Value kept but may cause issues"} 
[2026-05-08 22:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778260422000,"timestamp_ms":1778260422000,"timestamp_seconds":1778260422,"priority":1,"record_length":96,"hex_timestamp":"0000019e0894ad70"} 
[2026-05-08 22:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:45: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-05-08 22:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 22:45:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234665728001,"66":27397,"191":206,"78":38656,"24":30,"16":290708503562027008,"45":6633239327861456896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,78,24,16,45]} 
[2026-05-08 22:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234665728001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:45:53] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-05-08 22:45:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290708503562027008,"km_value":290708503562027.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6633239327861456896,"description":"Unknown IO ID 45"} 
[2026-05-08 22:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234665728001,"power":27397,"unknown_191":206,"unknown_78":38656,"ignition":30,"odometer":null,"unknown_45":6633239327861456896}} 
[2026-05-08 22:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":65415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:45:53] local.INFO: GPS data processed {"connection_id":65415,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:45:53] local.INFO: Acknowledgment sent {"connection_id":65415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:46:25] local.INFO: TCP Data received {"connection_id":65415,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08965350012d5cbe000635f5b8000f00932e..."} 
[2026-05-08 22:46:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08965350012d5cbe000635f5b8000f00932e..."} 
[2026-05-08 22:46:25] local.INFO: Processing buffer {"connection_id":65415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08965350012d5cbe000635f5b8000f00932e..."} 
[2026-05-08 22:46:25] local.INFO: Packet analysis {"connection_id":65415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:46:25] local.INFO: Extracted packet for processing {"connection_id":65415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:46:25] local.INFO: GPS Element Parsed {"raw_longitude":761052672,"raw_latitude":104199608,"longitude_deg":76.1052672,"latitude_deg":10.4199608,"altitude":15,"angle":147,"satellites":46,"speed":51,"hex_longitude":"2d5cbe00","hex_latitude":"0635f5b8","is_valid_coordinates":true} 
[2026-05-08 22:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:46:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234693632001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:46:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290712944558211072,"note":"Value kept but may cause issues"} 
[2026-05-08 22:46:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6677219792951691264,"note":"Value kept but may cause issues"} 
[2026-05-08 22:46:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:46:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778260530000,"timestamp_ms":1778260530000,"timestamp_seconds":1778260530,"priority":1,"record_length":96,"hex_timestamp":"0000019e08965350"} 
[2026-05-08 22:46:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:46:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:46:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 22:46:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:46:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:46:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:46:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:46:25] local.INFO: Teltonika packet parsed successfully {"connection_id":65415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:46:25] local.INFO: Passing IMEI to GPS processor {"connection_id":65415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:46:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":65415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:46:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:46:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:46:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:46:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234693632001,"66":27321,"174":206,"78":38656,"24":51,"16":290712944558211072,"45":6677219792951691264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-05-08 22:46:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:46:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:46:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234693632001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:46:25] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-05-08 22:46:25] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:46:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290712944558211072,"km_value":290712944558211.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:46:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":6677219792951691264,"description":"Unknown IO ID 45"} 
[2026-05-08 22:46:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234693632001,"power":27321,"unknown_174":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6677219792951691264}} 
[2026-05-08 22:46:25] local.INFO: DEBUG: GPS processor result {"connection_id":65415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:46:25] local.INFO: GPS data processed {"connection_id":65415,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:46:25] local.INFO: Acknowledgment sent {"connection_id":65415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:46:43] local.INFO: TCP Data received {"connection_id":66099,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:43] local.INFO: Processing buffer {"connection_id":66099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:43] local.INFO: IMEI packet received {"connection_id":66099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":66099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:46:44] local.INFO: TCP Data received {"connection_id":66099,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:44] local.INFO: Processing buffer {"connection_id":66099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:44] local.INFO: IMEI packet received {"connection_id":66099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:46:44] local.INFO: IMEI acknowledgment sent {"connection_id":66099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:46:48] local.INFO: TCP Data received {"connection_id":66099,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:48] local.INFO: Processing buffer {"connection_id":66099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:46:48] local.INFO: IMEI packet received {"connection_id":66099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":66099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:46:53] local.INFO: TCP Data received {"connection_id":66099,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08966ea8012d5cd1800635d868000f00922e..."} 
[2026-05-08 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08966ea8012d5cd1800635d868000f00922e..."} 
[2026-05-08 22:46:53] local.INFO: Processing buffer {"connection_id":66099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08966ea8012d5cd1800635d868000f00922e..."} 
[2026-05-08 22:46:53] local.INFO: Packet analysis {"connection_id":66099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:46:53] local.INFO: Extracted packet for processing {"connection_id":66099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":761057664,"raw_latitude":104192104,"longitude_deg":76.1057664,"latitude_deg":10.4192104,"altitude":15,"angle":146,"satellites":46,"speed":51,"hex_longitude":"2d5cd180","hex_latitude":"0635d868","is_valid_coordinates":true} 
[2026-05-08 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-05-08 22:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234695680001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290713378349907968,"note":"Value kept but may cause issues"} 
[2026-05-08 22:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6682778923739494400,"note":"Value kept but may cause issues"} 
[2026-05-08 22:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778260537000,"timestamp_ms":1778260537000,"timestamp_seconds":1778260537,"priority":1,"record_length":96,"hex_timestamp":"0000019e08966ea8"} 
[2026-05-08 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-05-08 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 22:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":66099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":66099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":66099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234695680001,"66":27343,"174":206,"78":38656,"24":51,"16":290713378349907968,"45":6682778923739494400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-05-08 22:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234695680001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:46:53] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-05-08 22:46:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290713378349907968,"km_value":290713378349907.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6682778923739494400,"description":"Unknown IO ID 45"} 
[2026-05-08 22:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234695680001,"power":27343,"unknown_174":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6682778923739494400}} 
[2026-05-08 22:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":66099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:46:53] local.INFO: GPS data processed {"connection_id":66099,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:46:53] local.INFO: Acknowledgment sent {"connection_id":66099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:47:00] local.INFO: TCP Data received {"connection_id":66099,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08968a00012d5ce6400635bab8000e00902f..."} 
[2026-05-08 22:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08968a00012d5ce6400635bab8000e00902f..."} 
[2026-05-08 22:47:00] local.INFO: Processing buffer {"connection_id":66099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08968a00012d5ce6400635bab8000e00902f..."} 
[2026-05-08 22:47:00] local.INFO: Packet analysis {"connection_id":66099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:47:00] local.INFO: Extracted packet for processing {"connection_id":66099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:47:00] local.INFO: GPS Element Parsed {"raw_longitude":761062976,"raw_latitude":104184504,"longitude_deg":76.1062976,"latitude_deg":10.4184504,"altitude":14,"angle":144,"satellites":47,"speed":53,"hex_longitude":"2d5ce640","hex_latitude":"0635bab8","is_valid_coordinates":true} 
[2026-05-08 22:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234697472001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290713825026506752,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6688267685783431168,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778260544000,"timestamp_ms":1778260544000,"timestamp_seconds":1778260544,"priority":1,"record_length":96,"hex_timestamp":"0000019e08968a00"} 
[2026-05-08 22:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:47: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-05-08 22:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:47:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":66099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":66099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":66099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234697472001,"66":27332,"174":206,"78":38656,"24":53,"16":290713825026506752,"45":6688267685783431168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-05-08 22:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234697472001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:47:00] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-05-08 22:47:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290713825026506752,"km_value":290713825026506.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6688267685783431168,"description":"Unknown IO ID 45"} 
[2026-05-08 22:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234697472001,"power":27332,"unknown_174":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6688267685783431168}} 
[2026-05-08 22:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":66099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:47:00] local.INFO: GPS data processed {"connection_id":66099,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:47:00] local.INFO: Acknowledgment sent {"connection_id":66099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:47:42] local.INFO: TCP Data received {"connection_id":65280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:42] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:42] local.INFO: IMEI packet received {"connection_id":65280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":65280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:47:45] local.INFO: TCP Data received {"connection_id":65280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:45] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:45] local.INFO: IMEI packet received {"connection_id":65280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":65280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:47:48] local.INFO: TCP Data received {"connection_id":65280,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:48] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:47:48] local.INFO: IMEI packet received {"connection_id":65280,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":65280,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:47:49] local.INFO: TCP Data received {"connection_id":65280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e0896a558012d5cfd0006359d300010008d2e..."} 
[2026-05-08 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0896a558012d5cfd0006359d300010008d2e..."} 
[2026-05-08 22:47:49] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0896a558012d5cfd0006359d300010008d2e..."} 
[2026-05-08 22:47:49] local.INFO: Packet analysis {"connection_id":65280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:47:49] local.INFO: Extracted packet for processing {"connection_id":65280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":761068800,"raw_latitude":104176944,"longitude_deg":76.10688,"latitude_deg":10.4176944,"altitude":16,"angle":141,"satellites":46,"speed":53,"hex_longitude":"2d5cfd00","hex_latitude":"06359d30","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234699264001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290714284588007424,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6694108291548231680,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778260551000,"timestamp_ms":1778260551000,"timestamp_seconds":1778260551,"priority":1,"record_length":96,"hex_timestamp":"0000019e0896a558"} 
[2026-05-08 22:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234699264001,"66":27321,"174":206,"78":38656,"24":53,"16":290714284588007424,"45":6694108291548231680},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-05-08 22:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234699264001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:47:49] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-05-08 22:47:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290714284588007424,"km_value":290714284588007.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6694108291548231680,"description":"Unknown IO ID 45"} 
[2026-05-08 22:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234699264001,"power":27321,"unknown_174":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6694108291548231680}} 
[2026-05-08 22:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":65280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:47:49] local.INFO: GPS data processed {"connection_id":65280,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:47:49] local.INFO: Acknowledgment sent {"connection_id":65280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:47:52] local.INFO: TCP Data received {"connection_id":65280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e0896c0b0012d5d1300063581600010008d30..."} 
[2026-05-08 22:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0896c0b0012d5d1300063581600010008d30..."} 
[2026-05-08 22:47:52] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0896c0b0012d5d1300063581600010008d30..."} 
[2026-05-08 22:47:52] local.INFO: Packet analysis {"connection_id":65280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:47:52] local.INFO: Extracted packet for processing {"connection_id":65280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0896"} 
[2026-05-08 22:47:52] local.INFO: GPS Element Parsed {"raw_longitude":761074432,"raw_latitude":104169824,"longitude_deg":76.1074432,"latitude_deg":10.4169824,"altitude":16,"angle":141,"satellites":48,"speed":50,"hex_longitude":"2d5d1300","hex_latitude":"06358160","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:47:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234701056001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290714722674671616,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6700511847266463744,"note":"Value kept but may cause issues"} 
[2026-05-08 22:47:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:47:52] local.INFO: AVL Record Parsed {"raw_timestamp":1778260558000,"timestamp_ms":1778260558000,"timestamp_seconds":1778260558,"priority":1,"record_length":96,"hex_timestamp":"0000019e0896c0b0"} 
[2026-05-08 22:47:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:47:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:47:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:47:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:47:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:47:52] local.INFO: Teltonika packet parsed successfully {"connection_id":65280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:47:52] local.INFO: Passing IMEI to GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:47:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:47:52] 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-05-08 22:47:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:47:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:47:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234701056001,"66":27321,"174":206,"78":38656,"24":50,"16":290714722674671616,"45":6700511847266463744},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,78,24,16,45]} 
[2026-05-08 22:47:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:47:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:47:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234701056001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:47:52] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-05-08 22:47:52] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:47:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290714722674671616,"km_value":290714722674671.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:47:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":6700511847266463744,"description":"Unknown IO ID 45"} 
[2026-05-08 22:47:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234701056001,"power":27321,"unknown_174":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6700511847266463744}} 
[2026-05-08 22:47:52] local.INFO: DEBUG: GPS processor result {"connection_id":65280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:47:52] local.INFO: GPS data processed {"connection_id":65280,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:47:52] local.INFO: Acknowledgment sent {"connection_id":65280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:48:10] local.INFO: TCP Data received {"connection_id":65279,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:48:10] local.INFO: Processing buffer {"connection_id":65279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:48:10] local.INFO: IMEI packet received {"connection_id":65279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":65279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:48:24] local.INFO: TCP Data received {"connection_id":65280,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089808d0012d5ddf4006341fd8000c00952c..."} 
[2026-05-08 22:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089808d0012d5ddf4006341fd8000c00952c..."} 
[2026-05-08 22:48:24] local.INFO: Processing buffer {"connection_id":65280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089808d0012d5ddf4006341fd8000c00952c..."} 
[2026-05-08 22:48:24] local.INFO: Packet analysis {"connection_id":65280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0898"} 
[2026-05-08 22:48:24] local.INFO: Extracted packet for processing {"connection_id":65280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0898"} 
[2026-05-08 22:48:24] local.INFO: GPS Element Parsed {"raw_longitude":761126720,"raw_latitude":104079320,"longitude_deg":76.112672,"latitude_deg":10.407932,"altitude":12,"angle":149,"satellites":44,"speed":49,"hex_longitude":"2d5ddf40","hex_latitude":"06341fd8","is_valid_coordinates":true} 
[2026-05-08 22:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234722304001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290719786441113600,"note":"Value kept but may cause issues"} 
[2026-05-08 22:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6758073479980908544,"note":"Value kept but may cause issues"} 
[2026-05-08 22:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778260642000,"timestamp_ms":1778260642000,"timestamp_seconds":1778260642,"priority":1,"record_length":96,"hex_timestamp":"0000019e089808d0"} 
[2026-05-08 22:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65280,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:48:24] 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-05-08 22:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234722304001,"66":27332,"205":206,"78":38656,"24":49,"16":290719786441113600,"45":6758073479980908544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-05-08 22:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234722304001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:48:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290719786441113600,"km_value":290719786441113.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6758073479980908544,"description":"Unknown IO ID 45"} 
[2026-05-08 22:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234722304001,"power":27332,"cell_id":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6758073479980908544}} 
[2026-05-08 22:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":65280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:48:24] local.INFO: GPS data processed {"connection_id":65280,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:48:24] local.INFO: Acknowledgment sent {"connection_id":65280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:48:40] local.INFO: TCP Data received {"connection_id":65281,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65281,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:48:40] local.INFO: Processing buffer {"connection_id":65281,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:48:40] local.INFO: IMEI packet received {"connection_id":65281,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":65281,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:48:42] local.INFO: TCP Data received {"connection_id":65282,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:48:42] local.INFO: Processing buffer {"connection_id":65282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:48:42] local.INFO: IMEI packet received {"connection_id":65282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":65282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:48:48] local.INFO: TCP Data received {"connection_id":65282,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:48:48] local.INFO: Processing buffer {"connection_id":65282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:48:48] local.INFO: IMEI packet received {"connection_id":65282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":65282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:48:49] local.INFO: TCP Data received {"connection_id":65282,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08982810012d5df0800633fd40000b009d2e..."} 
[2026-05-08 22:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08982810012d5df0800633fd40000b009d2e..."} 
[2026-05-08 22:48:49] local.INFO: Processing buffer {"connection_id":65282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08982810012d5df0800633fd40000b009d2e..."} 
[2026-05-08 22:48:49] local.INFO: Packet analysis {"connection_id":65282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0898"} 
[2026-05-08 22:48:49] local.INFO: Extracted packet for processing {"connection_id":65282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0898"} 
[2026-05-08 22:48:49] local.INFO: GPS Element Parsed {"raw_longitude":761131136,"raw_latitude":104070464,"longitude_deg":76.1131136,"latitude_deg":10.4070464,"altitude":11,"angle":157,"satellites":46,"speed":49,"hex_longitude":"2d5df080","hex_latitude":"0633fd40","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234724352001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290720267477450752,"note":"Value kept but may cause issues"} 
[2026-05-08 22:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6764195560722257920,"note":"Value kept but may cause issues"} 
[2026-05-08 22:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778260650000,"timestamp_ms":1778260650000,"timestamp_seconds":1778260650,"priority":1,"record_length":96,"hex_timestamp":"0000019e08982810"} 
[2026-05-08 22:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234724352001,"66":27300,"205":206,"78":38656,"24":49,"16":290720267477450752,"45":6764195560722257920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-05-08 22:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234724352001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:48:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290720267477450752,"km_value":290720267477450.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6764195560722257920,"description":"Unknown IO ID 45"} 
[2026-05-08 22:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234724352001,"power":27300,"cell_id":206,"unknown_78":38656,"ignition":49,"odometer":null,"unknown_45":6764195560722257920}} 
[2026-05-08 22:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":65282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:48:49] local.INFO: GPS data processed {"connection_id":65282,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:48:49] local.INFO: Acknowledgment sent {"connection_id":65282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:49:23] local.INFO: TCP Data received {"connection_id":65282,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08984750012d5dfe800633d848000a009f2e..."} 
[2026-05-08 22:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08984750012d5dfe800633d848000a009f2e..."} 
[2026-05-08 22:49:23] local.INFO: Processing buffer {"connection_id":65282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08984750012d5dfe800633d848000a009f2e..."} 
[2026-05-08 22:49:23] local.INFO: Packet analysis {"connection_id":65282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0898"} 
[2026-05-08 22:49:23] local.INFO: Extracted packet for processing {"connection_id":65282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0898"} 
[2026-05-08 22:49:23] local.INFO: GPS Element Parsed {"raw_longitude":761134720,"raw_latitude":104061000,"longitude_deg":76.113472,"latitude_deg":10.4061,"altitude":10,"angle":159,"satellites":46,"speed":50,"hex_longitude":"2d5dfe80","hex_latitude":"0633d848","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234726400001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290720757103722496,"note":"Value kept but may cause issues"} 
[2026-05-08 22:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6769051004068249600,"note":"Value kept but may cause issues"} 
[2026-05-08 22:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1778260658000,"timestamp_ms":1778260658000,"timestamp_seconds":1778260658,"priority":1,"record_length":96,"hex_timestamp":"0000019e08984750"} 
[2026-05-08 22:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 22:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":65282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":65282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":65282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:49:23] 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-05-08 22:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234726400001,"66":27332,"205":206,"78":38656,"24":50,"16":290720757103722496,"45":6769051004068249600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-05-08 22:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234726400001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:49:23] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290720757103722496,"km_value":290720757103722.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6769051004068249600,"description":"Unknown IO ID 45"} 
[2026-05-08 22:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234726400001,"power":27332,"cell_id":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6769051004068249600}} 
[2026-05-08 22:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":65282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:49:23] local.INFO: GPS data processed {"connection_id":65282,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:49:23] local.INFO: Acknowledgment sent {"connection_id":65282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:49:42] local.INFO: TCP Data received {"connection_id":65322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:42] local.INFO: Processing buffer {"connection_id":65322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:42] local.INFO: IMEI packet received {"connection_id":65322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:49:42] local.INFO: IMEI acknowledgment sent {"connection_id":65322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:49:43] local.INFO: TCP Data received {"connection_id":65322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:44] local.INFO: Processing buffer {"connection_id":65322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:44] local.INFO: IMEI packet received {"connection_id":65322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:49:44] local.INFO: IMEI acknowledgment sent {"connection_id":65322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:49:48] local.INFO: TCP Data received {"connection_id":65322,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:48] local.INFO: Processing buffer {"connection_id":65322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:49:48] local.INFO: IMEI packet received {"connection_id":65322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":65322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:49:49] local.INFO: TCP Data received {"connection_id":65322,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08986690012d5e0b800633b400000a009f2c..."} 
[2026-05-08 22:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08986690012d5e0b800633b400000a009f2c..."} 
[2026-05-08 22:49:49] local.INFO: Processing buffer {"connection_id":65322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08986690012d5e0b800633b400000a009f2c..."} 
[2026-05-08 22:49:49] local.INFO: Packet analysis {"connection_id":65322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0898"} 
[2026-05-08 22:49:49] local.INFO: Extracted packet for processing {"connection_id":65322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0898"} 
[2026-05-08 22:49:49] local.INFO: GPS Element Parsed {"raw_longitude":761138048,"raw_latitude":104051712,"longitude_deg":76.1138048,"latitude_deg":10.4051712,"altitude":10,"angle":159,"satellites":44,"speed":48,"hex_longitude":"2d5e0b80","hex_latitude":"0633b400","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234728448001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290721233845092352,"note":"Value kept but may cause issues"} 
[2026-05-08 22:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6772991653739776000,"note":"Value kept but may cause issues"} 
[2026-05-08 22:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778260666000,"timestamp_ms":1778260666000,"timestamp_seconds":1778260666,"priority":1,"record_length":96,"hex_timestamp":"0000019e08986690"} 
[2026-05-08 22:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234728448001,"66":27234,"205":206,"78":38656,"24":48,"16":290721233845092352,"45":6772991653739776000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,78,24,16,45]} 
[2026-05-08 22:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234728448001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:49:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290721233845092352,"km_value":290721233845092.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6772991653739776000,"description":"Unknown IO ID 45"} 
[2026-05-08 22:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234728448001,"power":27234,"cell_id":206,"unknown_78":38656,"ignition":48,"odometer":null,"unknown_45":6772991653739776000}} 
[2026-05-08 22:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":65322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:49:49] local.INFO: GPS data processed {"connection_id":65322,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:49:49] local.INFO: Acknowledgment sent {"connection_id":65322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:50:19] local.INFO: TCP Data received {"connection_id":65322,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e0899f8e8012d5ed8c006320108000d00ab2e..."} 
[2026-05-08 22:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e0899f8e8012d5ed8c006320108000d00ab2e..."} 
[2026-05-08 22:50:19] local.INFO: Processing buffer {"connection_id":65322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e0899f8e8012d5ed8c006320108000d00ab2e..."} 
[2026-05-08 22:50:19] local.INFO: Packet analysis {"connection_id":65322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e0899"} 
[2026-05-08 22:50:19] local.INFO: Extracted packet for processing {"connection_id":65322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e0899"} 
[2026-05-08 22:50:19] local.INFO: GPS Element Parsed {"raw_longitude":761190592,"raw_latitude":103940360,"longitude_deg":76.1190592,"latitude_deg":10.394036,"altitude":13,"angle":171,"satellites":46,"speed":42,"hex_longitude":"2d5ed8c0","hex_latitude":"06320108","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234755072001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290727195259699200,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832031030075863040,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778260769000,"timestamp_ms":1778260769000,"timestamp_seconds":1778260769,"priority":1,"record_length":96,"hex_timestamp":"0000019e0899f8e8"} 
[2026-05-08 22:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 22:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:50:19] 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-05-08 22:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234755072001,"66":27332,"143":206,"78":38656,"24":42,"16":290727195259699200,"45":6832031030075863040},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-05-08 22:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234755072001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:50:19] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-05-08 22:50:19] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290727195259699200,"km_value":290727195259699.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832031030075863040,"description":"Unknown IO ID 45"} 
[2026-05-08 22:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234755072001,"power":27332,"unknown_143":206,"unknown_78":38656,"ignition":42,"odometer":null,"unknown_45":6832031030075863040}} 
[2026-05-08 22:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":65322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:50:19] local.INFO: GPS data processed {"connection_id":65322,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:50:19] local.INFO: Acknowledgment sent {"connection_id":65322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:50:48] local.INFO: TCP Data received {"connection_id":65417,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:50:48] local.INFO: Processing buffer {"connection_id":65417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:50:48] local.INFO: IMEI packet received {"connection_id":65417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":65417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:50:49] local.INFO: TCP Data received {"connection_id":65417,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:50:49] local.INFO: Processing buffer {"connection_id":65417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:50:49] local.INFO: IMEI packet received {"connection_id":65417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":65417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:50:49] local.INFO: TCP Data received {"connection_id":65417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089a1c10012d5eda800631dd28001000b72f..."} 
[2026-05-08 22:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089a1c10012d5eda800631dd28001000b72f..."} 
[2026-05-08 22:50:49] local.INFO: Processing buffer {"connection_id":65417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089a1c10012d5eda800631dd28001000b72f..."} 
[2026-05-08 22:50:49] local.INFO: Packet analysis {"connection_id":65417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089a"} 
[2026-05-08 22:50:49] local.INFO: Extracted packet for processing {"connection_id":65417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089a"} 
[2026-05-08 22:50:49] local.INFO: GPS Element Parsed {"raw_longitude":761191040,"raw_latitude":103931176,"longitude_deg":76.119104,"latitude_deg":10.3931176,"altitude":16,"angle":183,"satellites":47,"speed":39,"hex_longitude":"2d5eda80","hex_latitude":"0631dd28","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234756864001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290727641936297984,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834423567375992832,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778260778000,"timestamp_ms":1778260778000,"timestamp_seconds":1778260778,"priority":1,"record_length":96,"hex_timestamp":"0000019e089a1c10"} 
[2026-05-08 22:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:50: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-05-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234756864001,"66":27321,"143":206,"78":38656,"24":39,"16":290727641936297984,"45":6834423567375992832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-05-08 22:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234756864001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:50:49] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-05-08 22:50:49] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290727641936297984,"km_value":290727641936298.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834423567375992832,"description":"Unknown IO ID 45"} 
[2026-05-08 22:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234756864001,"power":27321,"unknown_143":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6834423567375992832}} 
[2026-05-08 22:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":65417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:50:49] local.INFO: GPS data processed {"connection_id":65417,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:50:49] local.INFO: Acknowledgment sent {"connection_id":65417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:50:53] local.INFO: TCP Data received {"connection_id":65417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089a1c10012d5eda800631dd28001000b72f..."} 
[2026-05-08 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089a1c10012d5eda800631dd28001000b72f..."} 
[2026-05-08 22:50:53] local.INFO: Processing buffer {"connection_id":65417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089a1c10012d5eda800631dd28001000b72f..."} 
[2026-05-08 22:50:53] local.INFO: Packet analysis {"connection_id":65417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089a"} 
[2026-05-08 22:50:53] local.INFO: Extracted packet for processing {"connection_id":65417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089a"} 
[2026-05-08 22:50:53] local.INFO: GPS Element Parsed {"raw_longitude":761191040,"raw_latitude":103931176,"longitude_deg":76.119104,"latitude_deg":10.3931176,"altitude":16,"angle":183,"satellites":47,"speed":39,"hex_longitude":"2d5eda80","hex_latitude":"0631dd28","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234759168001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290727641936297984,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834916148582885376,"note":"Value kept but may cause issues"} 
[2026-05-08 22:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778260778000,"timestamp_ms":1778260778000,"timestamp_seconds":1778260778,"priority":1,"record_length":96,"hex_timestamp":"0000019e089a1c10"} 
[2026-05-08 22:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:50: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-05-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234759168001,"66":27321,"143":206,"78":38656,"24":39,"16":290727641936297984,"45":6834916148582885376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-05-08 22:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234759168001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:50:53] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-05-08 22:50:53] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290727641936297984,"km_value":290727641936298.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834916148582885376,"description":"Unknown IO ID 45"} 
[2026-05-08 22:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234759168001,"power":27321,"unknown_143":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6834916148582885376}} 
[2026-05-08 22:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":65417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:50:53] local.INFO: GPS data processed {"connection_id":65417,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:50:53] local.INFO: Acknowledgment sent {"connection_id":65417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:51:24] local.INFO: TCP Data received {"connection_id":65417,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089a3f38012d5ed7c00631ba38001100b82e..."} 
[2026-05-08 22:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089a3f38012d5ed7c00631ba38001100b82e..."} 
[2026-05-08 22:51:24] local.INFO: Processing buffer {"connection_id":65417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089a3f38012d5ed7c00631ba38001100b82e..."} 
[2026-05-08 22:51:24] local.INFO: Packet analysis {"connection_id":65417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089a"} 
[2026-05-08 22:51:24] local.INFO: Extracted packet for processing {"connection_id":65417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089a"} 
[2026-05-08 22:51:24] local.INFO: GPS Element Parsed {"raw_longitude":761190336,"raw_latitude":103922232,"longitude_deg":76.1190336,"latitude_deg":10.3922232,"altitude":17,"angle":184,"satellites":46,"speed":39,"hex_longitude":"2d5ed7c0","hex_latitude":"0631ba38","is_valid_coordinates":true} 
[2026-05-08 22:51: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-05-08 22:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234759168001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290728075727994880,"note":"Value kept but may cause issues"} 
[2026-05-08 22:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834916148582885376,"note":"Value kept but may cause issues"} 
[2026-05-08 22:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778260787000,"timestamp_ms":1778260787000,"timestamp_seconds":1778260787,"priority":1,"record_length":96,"hex_timestamp":"0000019e089a3f38"} 
[2026-05-08 22:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:51: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-05-08 22:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:51:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:51: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-05-08 22:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:51:24] 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-05-08 22:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234759168001,"66":27321,"144":206,"78":38656,"24":39,"16":290728075727994880,"45":6834916148582885376},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-05-08 22:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234759168001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:51:24] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-05-08 22:51:24] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-05-08 22:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290728075727994880,"km_value":290728075727994.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834916148582885376,"description":"Unknown IO ID 45"} 
[2026-05-08 22:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234759168001,"power":27321,"unknown_144":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6834916148582885376}} 
[2026-05-08 22:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":65417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:51:24] local.INFO: GPS data processed {"connection_id":65417,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:51:24] local.INFO: Acknowledgment sent {"connection_id":65417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:51:40] local.INFO: TCP Data received {"connection_id":65323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:40] local.INFO: Processing buffer {"connection_id":65323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:40] local.INFO: IMEI packet received {"connection_id":65323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:51:40] local.INFO: IMEI acknowledgment sent {"connection_id":65323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:51:43] local.INFO: TCP Data received {"connection_id":65323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:43] local.INFO: Processing buffer {"connection_id":65323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:43] local.INFO: IMEI packet received {"connection_id":65323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":65323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:51:48] local.INFO: TCP Data received {"connection_id":65323,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:48] local.INFO: Processing buffer {"connection_id":65323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:51:48] local.INFO: IMEI packet received {"connection_id":65323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:51:48] local.INFO: IMEI acknowledgment sent {"connection_id":65323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:51:49] local.INFO: TCP Data received {"connection_id":65323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089a6260012d5ed4c0063196a8001100b92f..."} 
[2026-05-08 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089a6260012d5ed4c0063196a8001100b92f..."} 
[2026-05-08 22:51:49] local.INFO: Processing buffer {"connection_id":65323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089a6260012d5ed4c0063196a8001100b92f..."} 
[2026-05-08 22:51:49] local.INFO: Packet analysis {"connection_id":65323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089a"} 
[2026-05-08 22:51:49] local.INFO: Extracted packet for processing {"connection_id":65323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089a"} 
[2026-05-08 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":761189568,"raw_latitude":103913128,"longitude_deg":76.1189568,"latitude_deg":10.3913128,"altitude":17,"angle":185,"satellites":47,"speed":41,"hex_longitude":"2d5ed4c0","hex_latitude":"063196a8","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234761472001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290728518109626368,"note":"Value kept but may cause issues"} 
[2026-05-08 22:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834142092394641408,"note":"Value kept but may cause issues"} 
[2026-05-08 22:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778260796000,"timestamp_ms":1778260796000,"timestamp_seconds":1778260796,"priority":1,"record_length":96,"hex_timestamp":"0000019e089a6260"} 
[2026-05-08 22:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234761472001,"66":27463,"210":206,"79":20992,"24":41,"16":290728518109626368,"45":6834142092394641408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-05-08 22:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234761472001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:51:49] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-05-08 22:51:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290728518109626368,"km_value":290728518109626.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834142092394641408,"description":"Unknown IO ID 45"} 
[2026-05-08 22:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234761472001,"power":27463,"unknown_210":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":6834142092394641408}} 
[2026-05-08 22:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":65323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:51:49] local.INFO: GPS data processed {"connection_id":65323,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:51:49] local.INFO: Acknowledgment sent {"connection_id":65323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:52:20] local.INFO: TCP Data received {"connection_id":65323,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089ba2b0012d5f3200063013e0000c00a82d..."} 
[2026-05-08 22:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089ba2b0012d5f3200063013e0000c00a82d..."} 
[2026-05-08 22:52:20] local.INFO: Processing buffer {"connection_id":65323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089ba2b0012d5f3200063013e0000c00a82d..."} 
[2026-05-08 22:52:20] local.INFO: Packet analysis {"connection_id":65323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089b"} 
[2026-05-08 22:52:20] local.INFO: Extracted packet for processing {"connection_id":65323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089b"} 
[2026-05-08 22:52:20] local.INFO: GPS Element Parsed {"raw_longitude":761213440,"raw_latitude":103814112,"longitude_deg":76.121344,"latitude_deg":10.3814112,"altitude":12,"angle":168,"satellites":45,"speed":47,"hex_longitude":"2d5f3200","hex_latitude":"063013e0","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:52:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234782720001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:52:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290733487386787840,"note":"Value kept but may cause issues"} 
[2026-05-08 22:52:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6857011934227111936,"note":"Value kept but may cause issues"} 
[2026-05-08 22:52:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:52:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778260878000,"timestamp_ms":1778260878000,"timestamp_seconds":1778260878,"priority":1,"record_length":96,"hex_timestamp":"0000019e089ba2b0"} 
[2026-05-08 22:52:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:52:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 22:52:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:52:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:52:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:52:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:52:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:52:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:52:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:52:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:52:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:52:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234782720001,"66":27213,"210":206,"79":20992,"24":47,"16":290733487386787840,"45":6857011934227111936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-05-08 22:52:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:52:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:52:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234782720001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:52:20] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-05-08 22:52:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:52:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290733487386787840,"km_value":290733487386787.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6857011934227111936,"description":"Unknown IO ID 45"} 
[2026-05-08 22:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234782720001,"power":27213,"unknown_210":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":6857011934227111936}} 
[2026-05-08 22:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":65323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:52:20] local.INFO: GPS data processed {"connection_id":65323,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:52:20] local.INFO: Acknowledgment sent {"connection_id":65323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:52:42] local.INFO: TCP Data received {"connection_id":65324,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:52:42] local.INFO: Processing buffer {"connection_id":65324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:52:42] local.INFO: IMEI packet received {"connection_id":65324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:52:42] local.INFO: IMEI acknowledgment sent {"connection_id":65324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:52:46] local.INFO: TCP Data received {"connection_id":65324,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:52:46] local.INFO: Processing buffer {"connection_id":65324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:52:46] local.INFO: IMEI packet received {"connection_id":65324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":65324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:52:47] local.INFO: TCP Data received {"connection_id":65324,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089bc1f0012d5f3a00062ff1a8000c00a52c..."} 
[2026-05-08 22:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089bc1f0012d5f3a00062ff1a8000c00a52c..."} 
[2026-05-08 22:52:47] local.INFO: Processing buffer {"connection_id":65324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089bc1f0012d5f3a00062ff1a8000c00a52c..."} 
[2026-05-08 22:52:47] local.INFO: Packet analysis {"connection_id":65324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089b"} 
[2026-05-08 22:52:47] local.INFO: Extracted packet for processing {"connection_id":65324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089b"} 
[2026-05-08 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":761215488,"raw_latitude":103805352,"longitude_deg":76.1215488,"latitude_deg":10.3805352,"altitude":12,"angle":165,"satellites":44,"speed":42,"hex_longitude":"2d5f3a00","hex_latitude":"062ff1a8","is_valid_coordinates":true} 
[2026-05-08 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234784768001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290733921178484736,"note":"Value kept but may cause issues"} 
[2026-05-08 22:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6859545209015099392,"note":"Value kept but may cause issues"} 
[2026-05-08 22:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778260886000,"timestamp_ms":1778260886000,"timestamp_seconds":1778260886,"priority":1,"record_length":96,"hex_timestamp":"0000019e089bc1f0"} 
[2026-05-08 22:52:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:52:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 22:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:52:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:52:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":65324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":65324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":65324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:52: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-05-08 22:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234784768001,"66":27223,"210":206,"79":20992,"24":42,"16":290733921178484736,"45":6859545209015099392},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-05-08 22:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234784768001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-05-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290733921178484736,"km_value":290733921178484.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6859545209015099392,"description":"Unknown IO ID 45"} 
[2026-05-08 22:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234784768001,"power":27223,"unknown_210":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":6859545209015099392}} 
[2026-05-08 22:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":65324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:52:47] local.INFO: GPS data processed {"connection_id":65324,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:52:47] local.INFO: Acknowledgment sent {"connection_id":65324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:53:26] local.INFO: TCP Data received {"connection_id":65324,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089be518012d5f4400062fce50000c00a32d..."} 
[2026-05-08 22:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089be518012d5f4400062fce50000c00a32d..."} 
[2026-05-08 22:53:26] local.INFO: Processing buffer {"connection_id":65324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089be518012d5f4400062fce50000c00a32d..."} 
[2026-05-08 22:53:26] local.INFO: Packet analysis {"connection_id":65324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089b"} 
[2026-05-08 22:53:26] local.INFO: Extracted packet for processing {"connection_id":65324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089b"} 
[2026-05-08 22:53:26] local.INFO: GPS Element Parsed {"raw_longitude":761218048,"raw_latitude":103796304,"longitude_deg":76.1218048,"latitude_deg":10.3796304,"altitude":12,"angle":163,"satellites":45,"speed":42,"hex_longitude":"2d5f4400","hex_latitude":"062fce50","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:53:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234786816001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290734376445018112,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6861797008826542080,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:53:26] local.INFO: AVL Record Parsed {"raw_timestamp":1778260895000,"timestamp_ms":1778260895000,"timestamp_seconds":1778260895,"priority":1,"record_length":96,"hex_timestamp":"0000019e089be518"} 
[2026-05-08 22:53:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:53:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:53:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-05-08 22:53:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:53:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:53:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:53:26] local.INFO: Teltonika packet parsed successfully {"connection_id":65324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:53:26] local.INFO: Passing IMEI to GPS processor {"connection_id":65324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:53:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":65324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:53:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:53:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:53:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:53:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234786816001,"66":27180,"210":206,"79":20992,"24":42,"16":290734376445018112,"45":6861797008826542080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,79,24,16,45]} 
[2026-05-08 22:53:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:53:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:53:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234786816001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:53:26] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-05-08 22:53:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:53:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290734376445018112,"km_value":290734376445018.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:53:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6861797008826542080,"description":"Unknown IO ID 45"} 
[2026-05-08 22:53:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234786816001,"power":27180,"unknown_210":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":6861797008826542080}} 
[2026-05-08 22:53:26] local.INFO: DEBUG: GPS processor result {"connection_id":65324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:53:26] local.INFO: GPS data processed {"connection_id":65324,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:53:26] local.INFO: Acknowledgment sent {"connection_id":65324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:53:42] local.INFO: TCP Data received {"connection_id":66103,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:42] local.INFO: Processing buffer {"connection_id":66103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:42] local.INFO: IMEI packet received {"connection_id":66103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":66103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:53:45] local.INFO: TCP Data received {"connection_id":66103,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:45] local.INFO: Processing buffer {"connection_id":66103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:45] local.INFO: IMEI packet received {"connection_id":66103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":66103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:53:49] local.INFO: TCP Data received {"connection_id":66103,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:49] local.INFO: Processing buffer {"connection_id":66103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:53:49] local.INFO: IMEI packet received {"connection_id":66103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":66103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:53:51] local.INFO: TCP Data received {"connection_id":66103,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089c0840012d5f5040062fa958000c009f2c..."} 
[2026-05-08 22:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089c0840012d5f5040062fa958000c009f2c..."} 
[2026-05-08 22:53:51] local.INFO: Processing buffer {"connection_id":66103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089c0840012d5f5040062fa958000c009f2c..."} 
[2026-05-08 22:53:51] local.INFO: Packet analysis {"connection_id":66103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089c"} 
[2026-05-08 22:53:51] local.INFO: Extracted packet for processing {"connection_id":66103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089c"} 
[2026-05-08 22:53:51] local.INFO: GPS Element Parsed {"raw_longitude":761221184,"raw_latitude":103786840,"longitude_deg":76.1221184,"latitude_deg":10.378684,"altitude":12,"angle":159,"satellites":44,"speed":45,"hex_longitude":"2d5f5040","hex_latitude":"062fa958","is_valid_coordinates":true} 
[2026-05-08 22:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:53:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234789120001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290734861776322560,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6864611758591332352,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:53:51] local.INFO: AVL Record Parsed {"raw_timestamp":1778260904000,"timestamp_ms":1778260904000,"timestamp_seconds":1778260904,"priority":1,"record_length":96,"hex_timestamp":"0000019e089c0840"} 
[2026-05-08 22:53:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:53:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:53:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 22:53:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:53:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:53:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:53:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:53:51] local.INFO: Teltonika packet parsed successfully {"connection_id":66103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:53:51] local.INFO: Passing IMEI to GPS processor {"connection_id":66103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:53:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":66103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:53:51] 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-05-08 22:53:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:53:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:53:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234789120001,"66":27126,"209":206,"79":20992,"24":45,"16":290734861776322560,"45":6864611758591332352},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-05-08 22:53:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:53:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:53:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234789120001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:53:51] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-05-08 22:53:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:53:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290734861776322560,"km_value":290734861776322.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:53:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6864611758591332352,"description":"Unknown IO ID 45"} 
[2026-05-08 22:53:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234789120001,"power":27126,"unknown_209":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":6864611758591332352}} 
[2026-05-08 22:53:51] local.INFO: DEBUG: GPS processor result {"connection_id":66103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:53:51] local.INFO: GPS data processed {"connection_id":66103,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:53:51] local.INFO: Acknowledgment sent {"connection_id":66103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:53:53] local.INFO: TCP Data received {"connection_id":66103,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089c2780012d5f5e40062f8790000b009d2e..."} 
[2026-05-08 22:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089c2780012d5f5e40062f8790000b009d2e..."} 
[2026-05-08 22:53:53] local.INFO: Processing buffer {"connection_id":66103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089c2780012d5f5e40062f8790000b009d2e..."} 
[2026-05-08 22:53:53] local.INFO: Packet analysis {"connection_id":66103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089c"} 
[2026-05-08 22:53:53] local.INFO: Extracted packet for processing {"connection_id":66103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089c"} 
[2026-05-08 22:53:53] local.INFO: GPS Element Parsed {"raw_longitude":761224768,"raw_latitude":103778192,"longitude_deg":76.1224768,"latitude_deg":10.3778192,"altitude":11,"angle":157,"satellites":46,"speed":47,"hex_longitude":"2d5f5e40","hex_latitude":"062f8790","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:53:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234791424001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290735312747888640,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6868059827053615104,"note":"Value kept but may cause issues"} 
[2026-05-08 22:53:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:53:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778260912000,"timestamp_ms":1778260912000,"timestamp_seconds":1778260912,"priority":1,"record_length":96,"hex_timestamp":"0000019e089c2780"} 
[2026-05-08 22:53:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:53: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-05-08 22: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":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-05-08 22:53:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:53:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:53:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:53:53] local.INFO: Teltonika packet parsed successfully {"connection_id":66103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:53:53] local.INFO: Passing IMEI to GPS processor {"connection_id":66103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:53:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":66103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:53:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:53:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:53:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:53:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234791424001,"66":27300,"209":206,"79":20992,"24":47,"16":290735312747888640,"45":6868059827053615104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-05-08 22:53:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:53:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:53:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234791424001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:53:53] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-05-08 22:53:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:53:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290735312747888640,"km_value":290735312747888.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:53:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":6868059827053615104,"description":"Unknown IO ID 45"} 
[2026-05-08 22:53:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234791424001,"power":27300,"unknown_209":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":6868059827053615104}} 
[2026-05-08 22:53:53] local.INFO: DEBUG: GPS processor result {"connection_id":66103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:53:53] local.INFO: GPS data processed {"connection_id":66103,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:53:53] local.INFO: Acknowledgment sent {"connection_id":66103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:54:05] local.INFO: TCP Data received {"connection_id":66102,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:54:05] local.INFO: Processing buffer {"connection_id":66102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:54:05] local.INFO: IMEI packet received {"connection_id":66102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":66102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:54:24] local.INFO: TCP Data received {"connection_id":66103,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089c46c0012d5f6c80062f64a0000b009e2c..."} 
[2026-05-08 22:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089c46c0012d5f6c80062f64a0000b009e2c..."} 
[2026-05-08 22:54:24] local.INFO: Processing buffer {"connection_id":66103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089c46c0012d5f6c80062f64a0000b009e2c..."} 
[2026-05-08 22:54:24] local.INFO: Packet analysis {"connection_id":66103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089c"} 
[2026-05-08 22:54:24] local.INFO: Extracted packet for processing {"connection_id":66103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089c"} 
[2026-05-08 22:54:24] local.INFO: GPS Element Parsed {"raw_longitude":761228416,"raw_latitude":103769248,"longitude_deg":76.1228416,"latitude_deg":10.3769248,"altitude":11,"angle":158,"satellites":44,"speed":48,"hex_longitude":"2d5f6c80","hex_latitude":"062f64a0","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:54:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234793472001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:54:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290735780899323904,"note":"Value kept but may cause issues"} 
[2026-05-08 22:54:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6872000476725350400,"note":"Value kept but may cause issues"} 
[2026-05-08 22:54:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:54:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778260920000,"timestamp_ms":1778260920000,"timestamp_seconds":1778260920,"priority":1,"record_length":96,"hex_timestamp":"0000019e089c46c0"} 
[2026-05-08 22:54:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:54:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:54:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 22:54:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:54:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:54:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:54:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:54:24] local.INFO: Teltonika packet parsed successfully {"connection_id":66103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:54:24] local.INFO: Passing IMEI to GPS processor {"connection_id":66103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:54:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":66103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:54:24] 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-05-08 22:54:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:54:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:54:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234793472001,"66":27300,"209":206,"79":20992,"24":48,"16":290735780899323904,"45":6872000476725350400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-05-08 22:54:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:54:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:54:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234793472001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:54:24] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-05-08 22:54:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:54:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290735780899323904,"km_value":290735780899323.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:54:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":6872000476725350400,"description":"Unknown IO ID 45"} 
[2026-05-08 22:54:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234793472001,"power":27300,"unknown_209":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":6872000476725350400}} 
[2026-05-08 22:54:24] local.INFO: DEBUG: GPS processor result {"connection_id":66103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:54:24] local.INFO: GPS data processed {"connection_id":66103,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:54:24] local.INFO: Acknowledgment sent {"connection_id":66103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:54:42] local.INFO: TCP Data received {"connection_id":65419,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:54:42] local.INFO: Processing buffer {"connection_id":65419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:54:42] local.INFO: IMEI packet received {"connection_id":65419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:54:42] local.INFO: IMEI acknowledgment sent {"connection_id":65419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:54:45] local.INFO: TCP Data received {"connection_id":65418,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:54:45] local.INFO: Processing buffer {"connection_id":65418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 22:54:45] local.INFO: IMEI packet received {"connection_id":65418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 22:54:45] local.INFO: IMEI acknowledgment sent {"connection_id":65418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:54:48] local.INFO: TCP Data received {"connection_id":65419,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:54:48] local.INFO: Processing buffer {"connection_id":65419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:54:48] local.INFO: IMEI packet received {"connection_id":65419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":65419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:54:49] local.INFO: TCP Data received {"connection_id":65419,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089df858012d5fc300062e1710000b00a223..."} 
[2026-05-08 22:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089df858012d5fc300062e1710000b00a223..."} 
[2026-05-08 22:54:49] local.INFO: Processing buffer {"connection_id":65419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089df858012d5fc300062e1710000b00a223..."} 
[2026-05-08 22:54:49] local.INFO: Packet analysis {"connection_id":65419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089d"} 
[2026-05-08 22:54:49] local.INFO: Extracted packet for processing {"connection_id":65419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089d"} 
[2026-05-08 22:54:49] local.INFO: GPS Element Parsed {"raw_longitude":761250560,"raw_latitude":103683856,"longitude_deg":76.125056,"latitude_deg":10.3683856,"altitude":11,"angle":162,"satellites":35,"speed":25,"hex_longitude":"2d5fc300","hex_latitude":"062e1710","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234821376001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290740084456554496,"note":"Value kept but may cause issues"} 
[2026-05-08 22:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6897896174560876544,"note":"Value kept but may cause issues"} 
[2026-05-08 22:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778261031000,"timestamp_ms":1778261031000,"timestamp_seconds":1778261031,"priority":1,"record_length":96,"hex_timestamp":"0000019e089df858"} 
[2026-05-08 22:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234821376001,"66":27332,"211":206,"79":20992,"24":25,"16":290740084456554496,"45":6897896174560876544},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-05-08 22:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234821376001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:54:49] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-05-08 22:54:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290740084456554496,"km_value":290740084456554.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6897896174560876544,"description":"Unknown IO ID 45"} 
[2026-05-08 22:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234821376001,"power":27332,"unknown_211":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":6897896174560876544}} 
[2026-05-08 22:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":65419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:54:49] local.INFO: GPS data processed {"connection_id":65419,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:54:49] local.INFO: Acknowledgment sent {"connection_id":65419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:55:20] local.INFO: TCP Data received {"connection_id":65419,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089e07f8012d5fc500062e0f28000b00bb27..."} 
[2026-05-08 22:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089e07f8012d5fc500062e0f28000b00bb27..."} 
[2026-05-08 22:55:20] local.INFO: Processing buffer {"connection_id":65419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089e07f8012d5fc500062e0f28000b00bb27..."} 
[2026-05-08 22:55:20] local.INFO: Packet analysis {"connection_id":65419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089e"} 
[2026-05-08 22:55:20] local.INFO: Extracted packet for processing {"connection_id":65419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089e"} 
[2026-05-08 22:55:20] local.INFO: GPS Element Parsed {"raw_longitude":761251072,"raw_latitude":103681832,"longitude_deg":76.1251072,"latitude_deg":10.3681832,"altitude":11,"angle":187,"satellites":39,"speed":15,"hex_longitude":"2d5fc500","hex_latitude":"062e0f28","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234823936001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290740187535769600,"note":"Value kept but may cause issues"} 
[2026-05-08 22:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6900359080604798976,"note":"Value kept but may cause issues"} 
[2026-05-08 22:55:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778261035000,"timestamp_ms":1778261035000,"timestamp_seconds":1778261035,"priority":1,"record_length":96,"hex_timestamp":"0000019e089e07f8"} 
[2026-05-08 22:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22: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-05-08 22: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 22:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234823936001,"66":27343,"211":206,"79":20992,"24":15,"16":290740187535769600,"45":6900359080604798976},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-05-08 22:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234823936001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:55:20] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-05-08 22:55:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290740187535769600,"km_value":290740187535769.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":6900359080604798976,"description":"Unknown IO ID 45"} 
[2026-05-08 22:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234823936001,"power":27343,"unknown_211":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":6900359080604798976}} 
[2026-05-08 22:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":65419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:55:20] local.INFO: GPS data processed {"connection_id":65419,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:55:20] local.INFO: Acknowledgment sent {"connection_id":65419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:55:43] local.INFO: TCP Data received {"connection_id":65325,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:44] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:44] local.INFO: IMEI packet received {"connection_id":65325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":65325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:55:48] local.INFO: TCP Data received {"connection_id":65325,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:48] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:48] local.INFO: IMEI packet received {"connection_id":65325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":65325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:55:57] local.INFO: TCP Data received {"connection_id":65325,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:57] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:55:57] local.INFO: IMEI packet received {"connection_id":65325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":65325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:56:00] local.INFO: TCP Data received {"connection_id":65325,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089ef640012d5f8bc0062d9d20000b00992b..."} 
[2026-05-08 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089ef640012d5f8bc0062d9d20000b00992b..."} 
[2026-05-08 22:56:00] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089ef640012d5f8bc0062d9d20000b00992b..."} 
[2026-05-08 22:56:00] local.INFO: Packet analysis {"connection_id":65325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089e"} 
[2026-05-08 22:56:00] local.INFO: Extracted packet for processing {"connection_id":65325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089e"} 
[2026-05-08 22:56:00] local.INFO: GPS Element Parsed {"raw_longitude":761236416,"raw_latitude":103652640,"longitude_deg":76.1236416,"latitude_deg":10.365264,"altitude":11,"angle":153,"satellites":43,"speed":37,"hex_longitude":"2d5f8bc0","hex_latitude":"062d9d20","is_valid_coordinates":true} 
[2026-05-08 22:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234838784001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290742163220725760,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6882555788321298432,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778261096000,"timestamp_ms":1778261096000,"timestamp_seconds":1778261096,"priority":1,"record_length":96,"hex_timestamp":"0000019e089ef640"} 
[2026-05-08 22:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:56: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-05-08 22:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":65325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":65325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":65325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234838784001,"66":27343,"215":206,"79":20992,"24":37,"16":290742163220725760,"45":6882555788321298432},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-05-08 22:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234838784001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:56:00] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-05-08 22:56:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290742163220725760,"km_value":290742163220725.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6882555788321298432,"description":"Unknown IO ID 45"} 
[2026-05-08 22:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234838784001,"power":27343,"unknown_215":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":6882555788321298432}} 
[2026-05-08 22:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":65325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:56:00] local.INFO: GPS data processed {"connection_id":65325,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:56:00] local.INFO: Acknowledgment sent {"connection_id":65325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:56:01] local.INFO: TCP Data received {"connection_id":65325,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089f1d50012d5f9dc0062d7c00000b00992a..."} 
[2026-05-08 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65325,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089f1d50012d5f9dc0062d7c00000b00992a..."} 
[2026-05-08 22:56:01] local.INFO: Processing buffer {"connection_id":65325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089f1d50012d5f9dc0062d7c00000b00992a..."} 
[2026-05-08 22:56:01] local.INFO: Packet analysis {"connection_id":65325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089f"} 
[2026-05-08 22:56:01] local.INFO: Extracted packet for processing {"connection_id":65325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089f"} 
[2026-05-08 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":761241024,"raw_latitude":103644160,"longitude_deg":76.1241024,"latitude_deg":10.364416,"altitude":11,"angle":153,"satellites":42,"speed":38,"hex_longitude":"2d5f9dc0","hex_latitude":"062d7c00","is_valid_coordinates":true} 
[2026-05-08 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-05-08 22:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234840576001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290742627077193728,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6884807588133543936,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1778261106000,"timestamp_ms":1778261106000,"timestamp_seconds":1778261106,"priority":1,"record_length":96,"hex_timestamp":"0000019e089f1d50"} 
[2026-05-08 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-05-08 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 22:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 22:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":65325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":65325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":65325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234840576001,"66":27234,"215":206,"79":20992,"24":38,"16":290742627077193728,"45":6884807588133543936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-05-08 22:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234840576001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:56:01] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-05-08 22:56:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290742627077193728,"km_value":290742627077193.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6884807588133543936,"description":"Unknown IO ID 45"} 
[2026-05-08 22:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234840576001,"power":27234,"unknown_215":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":6884807588133543936}} 
[2026-05-08 22:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":65325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:56:01] local.INFO: GPS data processed {"connection_id":65325,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:56:01] local.INFO: Acknowledgment sent {"connection_id":65325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:56:43] local.INFO: TCP Data received {"connection_id":65326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:56:43] local.INFO: Processing buffer {"connection_id":65326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:56:43] local.INFO: IMEI packet received {"connection_id":65326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:56:43] local.INFO: IMEI acknowledgment sent {"connection_id":65326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:56:48] local.INFO: TCP Data received {"connection_id":65326,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:56:48] local.INFO: Processing buffer {"connection_id":65326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:56:48] local.INFO: IMEI packet received {"connection_id":65326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":65326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:56:49] local.INFO: TCP Data received {"connection_id":65326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089f4078012d5faec0062d5ba0000b00972a..."} 
[2026-05-08 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089f4078012d5faec0062d5ba0000b00972a..."} 
[2026-05-08 22:56:49] local.INFO: Processing buffer {"connection_id":65326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089f4078012d5faec0062d5ba0000b00972a..."} 
[2026-05-08 22:56:49] local.INFO: Packet analysis {"connection_id":65326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089f"} 
[2026-05-08 22:56:49] local.INFO: Extracted packet for processing {"connection_id":65326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089f"} 
[2026-05-08 22:56:49] local.INFO: GPS Element Parsed {"raw_longitude":761245376,"raw_latitude":103635872,"longitude_deg":76.1245376,"latitude_deg":10.3635872,"altitude":11,"angle":151,"satellites":42,"speed":42,"hex_longitude":"2d5faec0","hex_latitude":"062d5ba0","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234843136001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290743078048759808,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6889874137712164864,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778261115000,"timestamp_ms":1778261115000,"timestamp_seconds":1778261115,"priority":1,"record_length":96,"hex_timestamp":"0000019e089f4078"} 
[2026-05-08 22:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22: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-05-08 22: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 22:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234843136001,"66":27321,"215":206,"79":20992,"24":42,"16":290743078048759808,"45":6889874137712164864},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-05-08 22:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234843136001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:56:49] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-05-08 22:56:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290743078048759808,"km_value":290743078048759.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6889874137712164864,"description":"Unknown IO ID 45"} 
[2026-05-08 22:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234843136001,"power":27321,"unknown_215":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":6889874137712164864}} 
[2026-05-08 22:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":65326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:56:49] local.INFO: GPS data processed {"connection_id":65326,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:56:49] local.INFO: Acknowledgment sent {"connection_id":65326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:56:51] local.INFO: TCP Data received {"connection_id":65326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089f5fb8012d5fbf40062d3c68000d00902b..."} 
[2026-05-08 22:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089f5fb8012d5fbf40062d3c68000d00902b..."} 
[2026-05-08 22:56:51] local.INFO: Processing buffer {"connection_id":65326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089f5fb8012d5fbf40062d3c68000d00902b..."} 
[2026-05-08 22:56:51] local.INFO: Packet analysis {"connection_id":65326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089f"} 
[2026-05-08 22:56:51] local.INFO: Extracted packet for processing {"connection_id":65326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089f"} 
[2026-05-08 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":761249600,"raw_latitude":103627880,"longitude_deg":76.12496,"latitude_deg":10.362788,"altitude":13,"angle":144,"satellites":43,"speed":45,"hex_longitude":"2d5fbf40","hex_latitude":"062d3c68","is_valid_coordinates":true} 
[2026-05-08 22:56: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-05-08 22:56:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234845440001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290743516135424000,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6894659212314124288,"note":"Value kept but may cause issues"} 
[2026-05-08 22:56:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:56:51] local.INFO: AVL Record Parsed {"raw_timestamp":1778261123000,"timestamp_ms":1778261123000,"timestamp_seconds":1778261123,"priority":1,"record_length":96,"hex_timestamp":"0000019e089f5fb8"} 
[2026-05-08 22:56:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:56:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:56:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:56:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:56: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-05-08 22:56:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:56:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:56:51] local.INFO: Teltonika packet parsed successfully {"connection_id":65326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:56:51] local.INFO: Passing IMEI to GPS processor {"connection_id":65326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:56:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":65326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:56:51] 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-05-08 22:56:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:56:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:56:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234845440001,"66":27213,"99":206,"79":20992,"24":45,"16":290743516135424000,"45":6894659212314124288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-05-08 22:56:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:56:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:56:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234845440001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:56:51] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-05-08 22:56:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:56:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290743516135424000,"km_value":290743516135424,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:56:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":6894659212314124288,"description":"Unknown IO ID 45"} 
[2026-05-08 22:56:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234845440001,"power":27213,"unknown_99":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":6894659212314124288}} 
[2026-05-08 22:56:51] local.INFO: DEBUG: GPS processor result {"connection_id":65326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:56:51] local.INFO: GPS data processed {"connection_id":65326,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:56:51] local.INFO: Acknowledgment sent {"connection_id":65326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:57:23] local.INFO: TCP Data received {"connection_id":65326,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e089f7ef8012d5fd7c0062d2130000d008b2c..."} 
[2026-05-08 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e089f7ef8012d5fd7c0062d2130000d008b2c..."} 
[2026-05-08 22:57:23] local.INFO: Processing buffer {"connection_id":65326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e089f7ef8012d5fd7c0062d2130000d008b2c..."} 
[2026-05-08 22:57:23] local.INFO: Packet analysis {"connection_id":65326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e089f"} 
[2026-05-08 22:57:23] local.INFO: Extracted packet for processing {"connection_id":65326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e089f"} 
[2026-05-08 22:57:23] local.INFO: GPS Element Parsed {"raw_longitude":761255872,"raw_latitude":103620912,"longitude_deg":76.1255872,"latitude_deg":10.3620912,"altitude":13,"angle":139,"satellites":44,"speed":46,"hex_longitude":"2d5fd7c0","hex_latitude":"062d2130","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234847488001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290743967106990080,"note":"Value kept but may cause issues"} 
[2026-05-08 22:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6899303549427804160,"note":"Value kept but may cause issues"} 
[2026-05-08 22:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1778261131000,"timestamp_ms":1778261131000,"timestamp_seconds":1778261131,"priority":1,"record_length":96,"hex_timestamp":"0000019e089f7ef8"} 
[2026-05-08 22:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 22:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":65326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":65326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":65326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:57:23] 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-05-08 22:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234847488001,"66":27213,"99":206,"79":20992,"24":46,"16":290743967106990080,"45":6899303549427804160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,79,24,16,45]} 
[2026-05-08 22:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234847488001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:57:23] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-05-08 22:57:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290743967106990080,"km_value":290743967106990.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":6899303549427804160,"description":"Unknown IO ID 45"} 
[2026-05-08 22:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234847488001,"power":27213,"unknown_99":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":6899303549427804160}} 
[2026-05-08 22:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":65326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:57:23] local.INFO: GPS data processed {"connection_id":65326,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:57:23] local.INFO: Acknowledgment sent {"connection_id":65326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:57:40] local.INFO: TCP Data received {"connection_id":65422,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:40] local.INFO: Processing buffer {"connection_id":65422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:40] local.INFO: IMEI packet received {"connection_id":65422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:57:40] local.INFO: IMEI acknowledgment sent {"connection_id":65422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:57:43] local.INFO: TCP Data received {"connection_id":65422,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:43] local.INFO: Processing buffer {"connection_id":65422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:43] local.INFO: IMEI packet received {"connection_id":65422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:57:43] local.INFO: IMEI acknowledgment sent {"connection_id":65422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:57:46] local.INFO: TCP Data received {"connection_id":65422,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:46] local.INFO: Processing buffer {"connection_id":65422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:57:46] local.INFO: IMEI packet received {"connection_id":65422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":65422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:57:47] local.INFO: TCP Data received {"connection_id":65422,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a0c330012d6058c0062c06b0000f00742f..."} 
[2026-05-08 22:57:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a0c330012d6058c0062c06b0000f00742f..."} 
[2026-05-08 22:57:47] local.INFO: Processing buffer {"connection_id":65422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a0c330012d6058c0062c06b0000f00742f..."} 
[2026-05-08 22:57:47] local.INFO: Packet analysis {"connection_id":65422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a0"} 
[2026-05-08 22:57:47] local.INFO: Extracted packet for processing {"connection_id":65422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a0"} 
[2026-05-08 22:57:47] local.INFO: GPS Element Parsed {"raw_longitude":761288896,"raw_latitude":103548592,"longitude_deg":76.1288896,"latitude_deg":10.3548592,"altitude":15,"angle":116,"satellites":47,"speed":30,"hex_longitude":"2d6058c0","hex_latitude":"062c06b0","is_valid_coordinates":true} 
[2026-05-08 22:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:57:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234870272001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:57:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290747871232262144,"note":"Value kept but may cause issues"} 
[2026-05-08 22:57:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6941172952193417216,"note":"Value kept but may cause issues"} 
[2026-05-08 22:57:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:57:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778261214000,"timestamp_ms":1778261214000,"timestamp_seconds":1778261214,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a0c330"} 
[2026-05-08 22:57:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:57: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-05-08 22:57:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 22:57:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:57:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:57:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:57:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:57:47] local.INFO: Teltonika packet parsed successfully {"connection_id":65422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:57:47] local.INFO: Passing IMEI to GPS processor {"connection_id":65422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:57:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":65422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:57: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-05-08 22:57:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:57:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:57:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234870272001,"66":27213,"97":206,"79":20992,"24":30,"16":290747871232262144,"45":6941172952193417216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-05-08 22:57:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:57:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:57:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234870272001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:57:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-05-08 22:57:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:57:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290747871232262144,"km_value":290747871232262.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:57:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":6941172952193417216,"description":"Unknown IO ID 45"} 
[2026-05-08 22:57:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234870272001,"power":27213,"unknown_97":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":6941172952193417216}} 
[2026-05-08 22:57:47] local.INFO: DEBUG: GPS processor result {"connection_id":65422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:57:47] local.INFO: GPS data processed {"connection_id":65422,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:57:47] local.INFO: Acknowledgment sent {"connection_id":65422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:58:19] local.INFO: TCP Data received {"connection_id":65422,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a0de88012d606cc0062bfc60000e00812b..."} 
[2026-05-08 22:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a0de88012d606cc0062bfc60000e00812b..."} 
[2026-05-08 22:58:19] local.INFO: Processing buffer {"connection_id":65422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a0de88012d606cc0062bfc60000e00812b..."} 
[2026-05-08 22:58:19] local.INFO: Packet analysis {"connection_id":65422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a0"} 
[2026-05-08 22:58:19] local.INFO: Extracted packet for processing {"connection_id":65422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a0"} 
[2026-05-08 22:58:19] local.INFO: GPS Element Parsed {"raw_longitude":761294016,"raw_latitude":103545952,"longitude_deg":76.1294016,"latitude_deg":10.3545952,"altitude":14,"angle":129,"satellites":43,"speed":27,"hex_longitude":"2d606cc0","hex_latitude":"062bfc60","is_valid_coordinates":true} 
[2026-05-08 22:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234870784001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290748146110169088,"note":"Value kept but may cause issues"} 
[2026-05-08 22:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6942509958332592128,"note":"Value kept but may cause issues"} 
[2026-05-08 22:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778261221000,"timestamp_ms":1778261221000,"timestamp_seconds":1778261221,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a0de88"} 
[2026-05-08 22:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:58: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-05-08 22:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 22:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:58:19] 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-05-08 22:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234870784001,"66":27365,"97":206,"79":20992,"24":27,"16":290748146110169088,"45":6942509958332592128},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-05-08 22:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234870784001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-05-08 22:58:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290748146110169088,"km_value":290748146110169.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":6942509958332592128,"description":"Unknown IO ID 45"} 
[2026-05-08 22:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234870784001,"power":27365,"unknown_97":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":6942509958332592128}} 
[2026-05-08 22:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":65422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:58:19] local.INFO: GPS data processed {"connection_id":65422,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:58:19] local.INFO: Acknowledgment sent {"connection_id":65422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:58:53] local.INFO: TCP Data received {"connection_id":65327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:58:53] local.INFO: Processing buffer {"connection_id":65327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:58:53] local.INFO: IMEI packet received {"connection_id":65327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":65327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:58:57] local.INFO: TCP Data received {"connection_id":65327,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:58:57] local.INFO: Processing buffer {"connection_id":65327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:58:57] local.INFO: IMEI packet received {"connection_id":65327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":65327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:58:58] local.INFO: TCP Data received {"connection_id":65327,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a1a5c0012d60c240062b9780000a007123..."} 
[2026-05-08 22:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a1a5c0012d60c240062b9780000a007123..."} 
[2026-05-08 22:58:58] local.INFO: Processing buffer {"connection_id":65327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a1a5c0012d60c240062b9780000a007123..."} 
[2026-05-08 22:58:58] local.INFO: Packet analysis {"connection_id":65327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a1"} 
[2026-05-08 22:58:58] local.INFO: Extracted packet for processing {"connection_id":65327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a1"} 
[2026-05-08 22:58:58] local.INFO: GPS Element Parsed {"raw_longitude":761315904,"raw_latitude":103520128,"longitude_deg":76.1315904,"latitude_deg":10.3520128,"altitude":10,"angle":113,"satellites":35,"speed":11,"hex_longitude":"2d60c240","hex_latitude":"062b9780","is_valid_coordinates":true} 
[2026-05-08 22:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 22:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234883584001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290749859802120192,"note":"Value kept but may cause issues"} 
[2026-05-08 22:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6969601924833703936,"note":"Value kept but may cause issues"} 
[2026-05-08 22:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778261272000,"timestamp_ms":1778261272000,"timestamp_seconds":1778261272,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a1a5c0"} 
[2026-05-08 22:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:58:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 22:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 22:58:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22:58:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 22:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:58:58] 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-05-08 22:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234883584001,"66":27267,"97":206,"79":20992,"24":11,"16":290749859802120192,"45":6969601924833703936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-05-08 22:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234883584001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:58:58] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-05-08 22:58:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290749859802120192,"km_value":290749859802120.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6969601924833703936,"description":"Unknown IO ID 45"} 
[2026-05-08 22:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234883584001,"power":27267,"unknown_97":206,"unknown_79":20992,"ignition":11,"odometer":null,"unknown_45":6969601924833703936}} 
[2026-05-08 22:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":65327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:58:58] local.INFO: GPS data processed {"connection_id":65327,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:58:58] local.INFO: Acknowledgment sent {"connection_id":65327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 22:59:42] local.INFO: TCP Data received {"connection_id":65285,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:59:42] local.INFO: Processing buffer {"connection_id":65285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:59:42] local.INFO: IMEI packet received {"connection_id":65285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 22:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":65285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 22:59:48] local.INFO: TCP Data received {"connection_id":65285,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:59:48] local.INFO: Processing buffer {"connection_id":65285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 22:59:48] local.INFO: IMEI packet received {"connection_id":65285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 22:59:48] local.INFO: IMEI acknowledgment sent {"connection_id":65285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 22:59:49] local.INFO: TCP Data received {"connection_id":65285,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a1a9a8012d60c380062b96c00009008224..."} 
[2026-05-08 22:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a1a9a8012d60c380062b96c00009008224..."} 
[2026-05-08 22:59:49] local.INFO: Processing buffer {"connection_id":65285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a1a9a8012d60c380062b96c00009008224..."} 
[2026-05-08 22:59:49] local.INFO: Packet analysis {"connection_id":65285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a1"} 
[2026-05-08 22:59:49] local.INFO: Extracted packet for processing {"connection_id":65285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a1"} 
[2026-05-08 22:59:49] local.INFO: GPS Element Parsed {"raw_longitude":761316224,"raw_latitude":103519936,"longitude_deg":76.1316224,"latitude_deg":10.3519936,"altitude":9,"angle":130,"satellites":36,"speed":13,"hex_longitude":"2d60c380","hex_latitude":"062b96c0","is_valid_coordinates":true} 
[2026-05-08 22: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-05-08 22:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234885632001,"note":"Value kept but may cause issues"} 
[2026-05-08 22:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290749876981989376,"note":"Value kept but may cause issues"} 
[2026-05-08 22:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6972205568368279552,"note":"Value kept but may cause issues"} 
[2026-05-08 22:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 22:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778261273000,"timestamp_ms":1778261273000,"timestamp_seconds":1778261273,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a1a9a8"} 
[2026-05-08 22:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 22:59: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-05-08 22: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 22:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 22: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-05-08 22:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 22:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 22:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 22:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 22:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 22:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 22:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 22:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234885632001,"66":27267,"97":206,"79":20992,"24":13,"16":290749876981989376,"45":6972205568368279552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-05-08 22:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 22:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 22:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234885632001,"description":"Unknown IO ID 0"} 
[2026-05-08 22:59:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-05-08 22:59:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 22:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290749876981989376,"km_value":290749876981989.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 22:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":6972205568368279552,"description":"Unknown IO ID 45"} 
[2026-05-08 22:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234885632001,"power":27267,"unknown_97":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":6972205568368279552}} 
[2026-05-08 22:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":65285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 22:59:49] local.INFO: GPS data processed {"connection_id":65285,"processed":1,"errors":0,"total":1} 
[2026-05-08 22:59:49] local.INFO: Acknowledgment sent {"connection_id":65285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:00:00] local.INFO: TCP Data received {"connection_id":65424,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:00:00] local.INFO: Processing buffer {"connection_id":65424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:00:00] local.INFO: IMEI packet received {"connection_id":65424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":65424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:00:21] local.INFO: TCP Data received {"connection_id":65285,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a2f5b0012d614180062a8af80008009c29..."} 
[2026-05-08 23:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a2f5b0012d614180062a8af80008009c29..."} 
[2026-05-08 23:00:21] local.INFO: Processing buffer {"connection_id":65285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a2f5b0012d614180062a8af80008009c29..."} 
[2026-05-08 23:00:21] local.INFO: Packet analysis {"connection_id":65285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a2"} 
[2026-05-08 23:00:21] local.INFO: Extracted packet for processing {"connection_id":65285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a2"} 
[2026-05-08 23:00:21] local.INFO: GPS Element Parsed {"raw_longitude":761348480,"raw_latitude":103451384,"longitude_deg":76.134848,"latitude_deg":10.3451384,"altitude":8,"angle":156,"satellites":41,"speed":46,"hex_longitude":"2d614180","hex_latitude":"062a8af8","is_valid_coordinates":true} 
[2026-05-08 23:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234905600001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290753574948831232,"note":"Value kept but may cause issues"} 
[2026-05-08 23:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7003941871976974336,"note":"Value kept but may cause issues"} 
[2026-05-08 23:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778261358000,"timestamp_ms":1778261358000,"timestamp_seconds":1778261358,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a2f5b0"} 
[2026-05-08 23:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:00:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 23:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:00:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:00:21] 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-05-08 23:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234905600001,"66":26723,"90":206,"79":20992,"24":46,"16":290753574948831232,"45":7003941871976974336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-05-08 23:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234905600001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:00:21] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 23:00:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290753574948831232,"km_value":290753574948831.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":7003941871976974336,"description":"Unknown IO ID 45"} 
[2026-05-08 23:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234905600001,"power":26723,"unknown_90":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7003941871976974336}} 
[2026-05-08 23:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":65285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:00:21] local.INFO: GPS data processed {"connection_id":65285,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:00:21] local.INFO: Acknowledgment sent {"connection_id":65285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:00:40] local.INFO: TCP Data received {"connection_id":66105,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:00:40] local.INFO: Processing buffer {"connection_id":66105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:00:40] local.INFO: IMEI packet received {"connection_id":66105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:00:40] local.INFO: IMEI acknowledgment sent {"connection_id":66105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:00:48] local.INFO: TCP Data received {"connection_id":65328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:00:48] local.INFO: Processing buffer {"connection_id":65328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:00:48] local.INFO: IMEI packet received {"connection_id":65328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:00:48] local.INFO: IMEI acknowledgment sent {"connection_id":65328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:01:01] local.INFO: TCP Data received {"connection_id":65328,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:01] local.INFO: Processing buffer {"connection_id":65328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:01] local.INFO: IMEI packet received {"connection_id":65328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":65328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:01:04] local.INFO: TCP Data received {"connection_id":65328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a318d8012d614fc0062a6a900008009b2c..."} 
[2026-05-08 23:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a318d8012d614fc0062a6a900008009b2c..."} 
[2026-05-08 23:01:04] local.INFO: Processing buffer {"connection_id":65328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a318d8012d614fc0062a6a900008009b2c..."} 
[2026-05-08 23:01:04] local.INFO: Packet analysis {"connection_id":65328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a3"} 
[2026-05-08 23:01:04] local.INFO: Extracted packet for processing {"connection_id":65328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a3"} 
[2026-05-08 23:01:04] local.INFO: GPS Element Parsed {"raw_longitude":761352128,"raw_latitude":103443088,"longitude_deg":76.1352128,"latitude_deg":10.3443088,"altitude":8,"angle":155,"satellites":44,"speed":35,"hex_longitude":"2d614fc0","hex_latitude":"062a6a90","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234907648001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290754013035495424,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7008023259137112064,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1778261367000,"timestamp_ms":1778261367000,"timestamp_seconds":1778261367,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a318d8"} 
[2026-05-08 23:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-05-08 23:01:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":65328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":65328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":65328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234907648001,"66":27267,"90":206,"79":20992,"24":35,"16":290754013035495424,"45":7008023259137112064},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-05-08 23:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234907648001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:01:04] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 23:01:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290754013035495424,"km_value":290754013035495.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7008023259137112064,"description":"Unknown IO ID 45"} 
[2026-05-08 23:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234907648001,"power":27267,"unknown_90":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7008023259137112064}} 
[2026-05-08 23:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":65328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:01:04] local.INFO: GPS data processed {"connection_id":65328,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:01:04] local.INFO: Acknowledgment sent {"connection_id":65328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:01:05] local.INFO: TCP Data received {"connection_id":65328,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a33fe8012d616000062a4a80000900972d..."} 
[2026-05-08 23:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a33fe8012d616000062a4a80000900972d..."} 
[2026-05-08 23:01:05] local.INFO: Processing buffer {"connection_id":65328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a33fe8012d616000062a4a80000900972d..."} 
[2026-05-08 23:01:05] local.INFO: Packet analysis {"connection_id":65328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a3"} 
[2026-05-08 23:01:05] local.INFO: Extracted packet for processing {"connection_id":65328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a3"} 
[2026-05-08 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":761356288,"raw_latitude":103434880,"longitude_deg":76.1356288,"latitude_deg":10.343488,"altitude":9,"angle":151,"satellites":45,"speed":37,"hex_longitude":"2d616000","hex_latitude":"062a4a80","is_valid_coordinates":true} 
[2026-05-08 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234909952001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290754459712094208,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7012034277553115136,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1778261377000,"timestamp_ms":1778261377000,"timestamp_seconds":1778261377,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a33fe8"} 
[2026-05-08 23:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:01:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:01:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:01:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":65328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":65328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":65328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234909952001,"66":27300,"90":206,"79":20992,"24":37,"16":290754459712094208,"45":7012034277553115136},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-05-08 23:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234909952001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:01:05] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 23:01:05] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290754459712094208,"km_value":290754459712094.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":7012034277553115136,"description":"Unknown IO ID 45"} 
[2026-05-08 23:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234909952001,"power":27300,"unknown_90":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7012034277553115136}} 
[2026-05-08 23:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":65328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:01:05] local.INFO: GPS data processed {"connection_id":65328,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:01:05] local.INFO: Acknowledgment sent {"connection_id":65328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:01:42] local.INFO: TCP Data received {"connection_id":65286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:42] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:42] local.INFO: IMEI packet received {"connection_id":65286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:01:42] local.INFO: IMEI acknowledgment sent {"connection_id":65286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:01:45] local.INFO: TCP Data received {"connection_id":65286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:45] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:45] local.INFO: IMEI packet received {"connection_id":65286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":65286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:01:50] local.INFO: TCP Data received {"connection_id":65286,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:50] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:01:50] local.INFO: IMEI packet received {"connection_id":65286,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":65286,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:01:53] local.INFO: TCP Data received {"connection_id":65286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a36310012d617140062a2b18000800962a..."} 
[2026-05-08 23:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a36310012d617140062a2b18000800962a..."} 
[2026-05-08 23:01:53] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a36310012d617140062a2b18000800962a..."} 
[2026-05-08 23:01:53] local.INFO: Packet analysis {"connection_id":65286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a3"} 
[2026-05-08 23:01:53] local.INFO: Extracted packet for processing {"connection_id":65286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a3"} 
[2026-05-08 23:01:53] local.INFO: GPS Element Parsed {"raw_longitude":761360704,"raw_latitude":103426840,"longitude_deg":76.1360704,"latitude_deg":10.342684,"altitude":8,"angle":150,"satellites":42,"speed":41,"hex_longitude":"2d617140","hex_latitude":"062a2b18","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:01:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234912512001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290754902093725696,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7016608245922562048,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:01:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778261386000,"timestamp_ms":1778261386000,"timestamp_seconds":1778261386,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a36310"} 
[2026-05-08 23:01:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:01: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-05-08 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:01:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:01:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:01:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:01:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:01:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:01:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:01:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:01:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:01:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:01:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234912512001,"66":27321,"90":206,"79":20992,"24":41,"16":290754902093725696,"45":7016608245922562048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-05-08 23:01:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:01:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:01:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234912512001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:01:53] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 23:01:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:01:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290754902093725696,"km_value":290754902093725.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:01:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7016608245922562048,"description":"Unknown IO ID 45"} 
[2026-05-08 23:01:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234912512001,"power":27321,"unknown_90":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7016608245922562048}} 
[2026-05-08 23:01:53] local.INFO: DEBUG: GPS processor result {"connection_id":65286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:01:53] local.INFO: GPS data processed {"connection_id":65286,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:01:53] local.INFO: Acknowledgment sent {"connection_id":65286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:01:54] local.INFO: TCP Data received {"connection_id":65286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a38638012d618280062a0bf00008009728..."} 
[2026-05-08 23:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a38638012d618280062a0bf00008009728..."} 
[2026-05-08 23:01:54] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a38638012d618280062a0bf00008009728..."} 
[2026-05-08 23:01:54] local.INFO: Packet analysis {"connection_id":65286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a3"} 
[2026-05-08 23:01:54] local.INFO: Extracted packet for processing {"connection_id":65286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a3"} 
[2026-05-08 23:01:54] local.INFO: GPS Element Parsed {"raw_longitude":761365120,"raw_latitude":103418864,"longitude_deg":76.136512,"latitude_deg":10.3418864,"altitude":8,"angle":151,"satellites":40,"speed":35,"hex_longitude":"2d618280","hex_latitude":"062a0bf0","is_valid_coordinates":true} 
[2026-05-08 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234914816001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290755344475357184,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7021463689268762624,"note":"Value kept but may cause issues"} 
[2026-05-08 23:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778261395000,"timestamp_ms":1778261395000,"timestamp_seconds":1778261395,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a38638"} 
[2026-05-08 23:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":65286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234914816001,"66":27300,"90":206,"79":20992,"24":35,"16":290755344475357184,"45":7021463689268762624},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,79,24,16,45]} 
[2026-05-08 23:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234914816001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:01:54] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-05-08 23:01:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290755344475357184,"km_value":290755344475357.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7021463689268762624,"description":"Unknown IO ID 45"} 
[2026-05-08 23:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234914816001,"power":27300,"unknown_90":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7021463689268762624}} 
[2026-05-08 23:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":65286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:01:54] local.INFO: GPS data processed {"connection_id":65286,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:01:54] local.INFO: Acknowledgment sent {"connection_id":65286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:02:25] local.INFO: TCP Data received {"connection_id":65286,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a4fd38012d620c800628c180000d00992a..."} 
[2026-05-08 23:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a4fd38012d620c800628c180000d00992a..."} 
[2026-05-08 23:02:25] local.INFO: Processing buffer {"connection_id":65286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a4fd38012d620c800628c180000d00992a..."} 
[2026-05-08 23:02:25] local.INFO: Packet analysis {"connection_id":65286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a4"} 
[2026-05-08 23:02:25] local.INFO: Extracted packet for processing {"connection_id":65286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a4"} 
[2026-05-08 23:02:25] local.INFO: GPS Element Parsed {"raw_longitude":761400448,"raw_latitude":103334272,"longitude_deg":76.1400448,"latitude_deg":10.3334272,"altitude":13,"angle":153,"satellites":42,"speed":45,"hex_longitude":"2d620c80","hex_latitude":"0628c180","is_valid_coordinates":true} 
[2026-05-08 23:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:02:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234939648001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290759794061475840,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7060729448498245632,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:02:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778261491000,"timestamp_ms":1778261491000,"timestamp_seconds":1778261491,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a4fd38"} 
[2026-05-08 23:02:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:02:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:02:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 23:02:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:02:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:02:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:02:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:02:25] local.INFO: Teltonika packet parsed successfully {"connection_id":65286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:02:25] local.INFO: Passing IMEI to GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:02:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":65286,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:02:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:02:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:02:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:02:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234939648001,"66":27365,"229":206,"79":20992,"24":45,"16":290759794061475840,"45":7060729448498245632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:02:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:02:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:02:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234939648001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:02:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:02:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:02:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290759794061475840,"km_value":290759794061475.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:02:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7060729448498245632,"description":"Unknown IO ID 45"} 
[2026-05-08 23:02:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234939648001,"power":27365,"unknown_229":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7060729448498245632}} 
[2026-05-08 23:02:25] local.INFO: DEBUG: GPS processor result {"connection_id":65286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:02:25] local.INFO: GPS data processed {"connection_id":65286,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:02:25] local.INFO: Acknowledgment sent {"connection_id":65286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:02:43] local.INFO: TCP Data received {"connection_id":66106,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:43] local.INFO: Processing buffer {"connection_id":66106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:43] local.INFO: IMEI packet received {"connection_id":66106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:02:43] local.INFO: IMEI acknowledgment sent {"connection_id":66106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:02:46] local.INFO: TCP Data received {"connection_id":66106,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:46] local.INFO: Processing buffer {"connection_id":66106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:46] local.INFO: IMEI packet received {"connection_id":66106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":66106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:02:48] local.INFO: TCP Data received {"connection_id":66106,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:48] local.INFO: Processing buffer {"connection_id":66106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:02:48] local.INFO: IMEI packet received {"connection_id":66106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:02:48] local.INFO: IMEI acknowledgment sent {"connection_id":66106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:02:56] local.INFO: TCP Data received {"connection_id":66106,"ip":"42.106.6.16","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 23:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66106,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 23:02:56] local.INFO: Processing buffer {"connection_id":66106,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019e08..."} 
[2026-05-08 23:02:56] local.INFO: IMEI packet received {"connection_id":66106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":66106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:02:58] local.INFO: TCP Data received {"connection_id":66106,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a537d0012d622d40062880a8000a009b2d..."} 
[2026-05-08 23:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a537d0012d622d40062880a8000a009b2d..."} 
[2026-05-08 23:02:58] local.INFO: Processing buffer {"connection_id":66106,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019e08a51c78012d621d4006289fb8000c00982b..."} 
[2026-05-08 23:02:58] local.INFO: Packet analysis {"connection_id":66106,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:02:58] local.INFO: Extracted packet for processing {"connection_id":66106,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:02:58] local.INFO: GPS Element Parsed {"raw_longitude":761404736,"raw_latitude":103325624,"longitude_deg":76.1404736,"latitude_deg":10.3325624,"altitude":12,"angle":152,"satellites":43,"speed":50,"hex_longitude":"2d621d40","hex_latitude":"06289fb8","is_valid_coordinates":true} 
[2026-05-08 23:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234941696001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290760257917943808,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7065162679379394560,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778261499000,"timestamp_ms":1778261499000,"timestamp_seconds":1778261499,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a51c78"} 
[2026-05-08 23:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:02:58] 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-05-08 23:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234941696001,"66":27213,"229":206,"79":20992,"24":50,"16":290760257917943808,"45":7065162679379394560},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234941696001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:02:58] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:02:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290760257917943808,"km_value":290760257917943.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7065162679379394560,"description":"Unknown IO ID 45"} 
[2026-05-08 23:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234941696001,"power":27213,"unknown_229":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7065162679379394560}} 
[2026-05-08 23:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":66106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:02:58] local.INFO: GPS data processed {"connection_id":66106,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:02:58] local.INFO: Acknowledgment sent {"connection_id":66106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:02:58] local.INFO: Packet analysis {"connection_id":66106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:02:58] local.INFO: Extracted packet for processing {"connection_id":66106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:02:58] local.INFO: GPS Element Parsed {"raw_longitude":761408832,"raw_latitude":103317672,"longitude_deg":76.1408832,"latitude_deg":10.3317672,"altitude":10,"angle":155,"satellites":45,"speed":47,"hex_longitude":"2d622d40","hex_latitude":"062880a8","is_valid_coordinates":true} 
[2026-05-08 23:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234943744001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290760691709640704,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7069877385237084160,"note":"Value kept but may cause issues"} 
[2026-05-08 23:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778261506000,"timestamp_ms":1778261506000,"timestamp_seconds":1778261506,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a537d0"} 
[2026-05-08 23:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 23:02:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":66106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":66106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":66106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:02:58] 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-05-08 23:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234943744001,"66":27343,"229":206,"79":20992,"24":47,"16":290760691709640704,"45":7069877385237084160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234943744001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:02:58] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:02:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290760691709640704,"km_value":290760691709640.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7069877385237084160,"description":"Unknown IO ID 45"} 
[2026-05-08 23:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234943744001,"power":27343,"unknown_229":206,"unknown_79":20992,"ignition":47,"odometer":null,"unknown_45":7069877385237084160}} 
[2026-05-08 23:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":66106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:02:58] local.INFO: GPS data processed {"connection_id":66106,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:02:58] local.INFO: Acknowledgment sent {"connection_id":66106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:03:03] local.INFO: TCP Data received {"connection_id":66106,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a562c8012d623b00062860b8000a00a02a..."} 
[2026-05-08 23:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a562c8012d623b00062860b8000a00a02a..."} 
[2026-05-08 23:03:03] local.INFO: Processing buffer {"connection_id":66106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a562c8012d623b00062860b8000a00a02a..."} 
[2026-05-08 23:03:03] local.INFO: Packet analysis {"connection_id":66106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:03:03] local.INFO: Extracted packet for processing {"connection_id":66106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":761412352,"raw_latitude":103309496,"longitude_deg":76.1412352,"latitude_deg":10.3309496,"altitude":10,"angle":160,"satellites":42,"speed":18,"hex_longitude":"2d623b00","hex_latitude":"062860b8","is_valid_coordinates":true} 
[2026-05-08 23:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234945536001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290761121206370304,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7074380984862418944,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778261517000,"timestamp_ms":1778261517000,"timestamp_seconds":1778261517,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a562c8"} 
[2026-05-08 23:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 23:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":66106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":66106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":66106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234945536001,"66":27267,"229":206,"79":20992,"24":18,"16":290761121206370304,"45":7074380984862418944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234945536001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:03:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:03:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290761121206370304,"km_value":290761121206370.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7074380984862418944,"description":"Unknown IO ID 45"} 
[2026-05-08 23:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234945536001,"power":27267,"unknown_229":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7074380984862418944}} 
[2026-05-08 23:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":66106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:03:03] local.INFO: GPS data processed {"connection_id":66106,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:03:03] local.INFO: Acknowledgment sent {"connection_id":66106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:03:43] local.INFO: TCP Data received {"connection_id":66107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:43] local.INFO: Processing buffer {"connection_id":66107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:43] local.INFO: IMEI packet received {"connection_id":66107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:03:43] local.INFO: IMEI acknowledgment sent {"connection_id":66107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:03:44] local.INFO: TCP Data received {"connection_id":66107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:44] local.INFO: Processing buffer {"connection_id":66107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:44] local.INFO: IMEI packet received {"connection_id":66107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":66107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:03:47] local.INFO: TCP Data received {"connection_id":66107,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:47] local.INFO: Processing buffer {"connection_id":66107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:03:47] local.INFO: IMEI packet received {"connection_id":66107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":66107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:03:50] local.INFO: TCP Data received {"connection_id":66107,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a57650012d623c8006285b18000900ad2a..."} 
[2026-05-08 23:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a57650012d623c8006285b18000900ad2a..."} 
[2026-05-08 23:03:50] local.INFO: Processing buffer {"connection_id":66107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a57650012d623c8006285b18000900ad2a..."} 
[2026-05-08 23:03:50] local.INFO: Packet analysis {"connection_id":66107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:03:50] local.INFO: Extracted packet for processing {"connection_id":66107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:03:50] local.INFO: GPS Element Parsed {"raw_longitude":761412736,"raw_latitude":103308056,"longitude_deg":76.1412736,"latitude_deg":10.3308056,"altitude":9,"angle":173,"satellites":42,"speed":6,"hex_longitude":"2d623c80","hex_latitude":"06285b18","is_valid_coordinates":true} 
[2026-05-08 23:03: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-05-08 23:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234948352001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290761194220814336,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7078251265790097408,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1778261522000,"timestamp_ms":1778261522000,"timestamp_seconds":1778261522,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a57650"} 
[2026-05-08 23:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:03: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-05-08 23:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":66107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":66107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":66107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:03:50] 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-05-08 23:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234948352001,"66":27463,"229":206,"79":20992,"24":6,"16":290761194220814336,"45":7078251265790097408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234948352001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:03:50] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:03:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290761194220814336,"km_value":290761194220814.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":7078251265790097408,"description":"Unknown IO ID 45"} 
[2026-05-08 23:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234948352001,"power":27463,"unknown_229":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7078251265790097408}} 
[2026-05-08 23:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":66107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:03:50] local.INFO: GPS data processed {"connection_id":66107,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:03:50] local.INFO: Acknowledgment sent {"connection_id":66107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:03:53] local.INFO: TCP Data received {"connection_id":66107,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a585f0012d623c8006285780000900bb2b..."} 
[2026-05-08 23:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a585f0012d623c8006285780000900bb2b..."} 
[2026-05-08 23:03:53] local.INFO: Processing buffer {"connection_id":66107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a585f0012d623c8006285780000900bb2b..."} 
[2026-05-08 23:03:53] local.INFO: Packet analysis {"connection_id":66107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:03:53] local.INFO: Extracted packet for processing {"connection_id":66107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:03:53] local.INFO: GPS Element Parsed {"raw_longitude":761412736,"raw_latitude":103307136,"longitude_deg":76.1412736,"latitude_deg":10.3307136,"altitude":9,"angle":187,"satellites":43,"speed":10,"hex_longitude":"2d623c80","hex_latitude":"06285780","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234949632001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290761241465454592,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7078673478254794752,"note":"Value kept but may cause issues"} 
[2026-05-08 23:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778261526000,"timestamp_ms":1778261526000,"timestamp_seconds":1778261526,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a585f0"} 
[2026-05-08 23:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-05-08 23:03:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":66107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":66107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":66107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234949632001,"66":27234,"229":206,"79":20992,"24":10,"16":290761241465454592,"45":7078673478254794752},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234949632001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:03:53] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:03:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290761241465454592,"km_value":290761241465454.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7078673478254794752,"description":"Unknown IO ID 45"} 
[2026-05-08 23:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234949632001,"power":27234,"unknown_229":206,"unknown_79":20992,"ignition":10,"odometer":null,"unknown_45":7078673478254794752}} 
[2026-05-08 23:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":66107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:03:53] local.INFO: GPS data processed {"connection_id":66107,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:03:53] local.INFO: Acknowledgment sent {"connection_id":66107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:04:25] local.INFO: TCP Data received {"connection_id":66107,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a591a8012d623c4006285410000900ad2b..."} 
[2026-05-08 23:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a591a8012d623c4006285410000900ad2b..."} 
[2026-05-08 23:04:25] local.INFO: Processing buffer {"connection_id":66107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a591a8012d623c4006285410000900ad2b..."} 
[2026-05-08 23:04:25] local.INFO: Packet analysis {"connection_id":66107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:04:25] local.INFO: Extracted packet for processing {"connection_id":66107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a5"} 
[2026-05-08 23:04:25] local.INFO: GPS Element Parsed {"raw_longitude":761412672,"raw_latitude":103306256,"longitude_deg":76.1412672,"latitude_deg":10.3306256,"altitude":9,"angle":173,"satellites":43,"speed":13,"hex_longitude":"2d623c40","hex_latitude":"06285410","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:04:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234950656001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:04:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290761284415127552,"note":"Value kept but may cause issues"} 
[2026-05-08 23:04:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7078673478254559232,"note":"Value kept but may cause issues"} 
[2026-05-08 23:04:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:04:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778261529000,"timestamp_ms":1778261529000,"timestamp_seconds":1778261529,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a591a8"} 
[2026-05-08 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-05-08 23:04: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-05-08 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:04:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:04:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:04:25] local.INFO: Teltonika packet parsed successfully {"connection_id":66107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:04:25] local.INFO: Passing IMEI to GPS processor {"connection_id":66107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:04:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":66107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:04:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:04:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:04:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:04:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234950656001,"66":27321,"229":206,"79":20992,"24":13,"16":290761284415127552,"45":7078673478254559232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:04:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:04:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:04:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234950656001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:04:25] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:04:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:04:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290761284415127552,"km_value":290761284415127.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:04:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7078673478254559232,"description":"Unknown IO ID 45"} 
[2026-05-08 23:04:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234950656001,"power":27321,"unknown_229":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":7078673478254559232}} 
[2026-05-08 23:04:25] local.INFO: DEBUG: GPS processor result {"connection_id":66107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:04:25] local.INFO: GPS data processed {"connection_id":66107,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:04:25] local.INFO: Acknowledgment sent {"connection_id":66107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:04:40] local.INFO: TCP Data received {"connection_id":66108,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:40] local.INFO: Processing buffer {"connection_id":66108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:40] local.INFO: IMEI packet received {"connection_id":66108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:04:40] local.INFO: IMEI acknowledgment sent {"connection_id":66108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:04:43] local.INFO: TCP Data received {"connection_id":66108,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:43] local.INFO: Processing buffer {"connection_id":66108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:43] local.INFO: IMEI packet received {"connection_id":66108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:04:43] local.INFO: IMEI acknowledgment sent {"connection_id":66108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:04:47] local.INFO: TCP Data received {"connection_id":66108,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:47] local.INFO: Processing buffer {"connection_id":66108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:04:47] local.INFO: IMEI packet received {"connection_id":66108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":66108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:04:49] local.INFO: TCP Data received {"connection_id":66108,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a73b70012d628b00062794e00008006e28..."} 
[2026-05-08 23:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a73b70012d628b00062794e00008006e28..."} 
[2026-05-08 23:04:49] local.INFO: Processing buffer {"connection_id":66108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a73b70012d628b00062794e00008006e28..."} 
[2026-05-08 23:04:49] local.INFO: Packet analysis {"connection_id":66108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a7"} 
[2026-05-08 23:04:49] local.INFO: Extracted packet for processing {"connection_id":66108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a7"} 
[2026-05-08 23:04:49] local.INFO: GPS Element Parsed {"raw_longitude":761432832,"raw_latitude":103257312,"longitude_deg":76.1432832,"latitude_deg":10.3257312,"altitude":8,"angle":110,"satellites":40,"speed":16,"hex_longitude":"2d628b00","hex_latitude":"062794e0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234978048001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290763942999883776,"note":"Value kept but may cause issues"} 
[2026-05-08 23:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7099080414053343232,"note":"Value kept but may cause issues"} 
[2026-05-08 23:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778261638000,"timestamp_ms":1778261638000,"timestamp_seconds":1778261638,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a73b70"} 
[2026-05-08 23:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":66108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":66108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":66108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234978048001,"66":27365,"87":206,"79":20992,"24":16,"16":290763942999883776,"45":7099080414053343232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-05-08 23:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234978048001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:04:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-05-08 23:04:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290763942999883776,"km_value":290763942999883.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7099080414053343232,"description":"Unknown IO ID 45"} 
[2026-05-08 23:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234978048001,"power":27365,"unknown_87":206,"unknown_79":20992,"ignition":16,"odometer":null,"unknown_45":7099080414053343232}} 
[2026-05-08 23:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":66108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:04:49] local.INFO: GPS data processed {"connection_id":66108,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:04:49] local.INFO: Acknowledgment sent {"connection_id":66108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:05:21] local.INFO: TCP Data received {"connection_id":66108,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a73f58012d628cc0062794100008007c28..."} 
[2026-05-08 23:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a73f58012d628cc0062794100008007c28..."} 
[2026-05-08 23:05:21] local.INFO: Processing buffer {"connection_id":66108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a73f58012d628cc0062794100008007c28..."} 
[2026-05-08 23:05:21] local.INFO: Packet analysis {"connection_id":66108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a7"} 
[2026-05-08 23:05:21] local.INFO: Extracted packet for processing {"connection_id":66108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a7"} 
[2026-05-08 23:05:21] local.INFO: GPS Element Parsed {"raw_longitude":761433280,"raw_latitude":103257104,"longitude_deg":76.143328,"latitude_deg":10.3257104,"altitude":8,"angle":124,"satellites":40,"speed":16,"hex_longitude":"2d628cc0","hex_latitude":"06279410","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234979328001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290763964474720256,"note":"Value kept but may cause issues"} 
[2026-05-08 23:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7100769263913590784,"note":"Value kept but may cause issues"} 
[2026-05-08 23:05:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778261639000,"timestamp_ms":1778261639000,"timestamp_seconds":1778261639,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a73f58"} 
[2026-05-08 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-05-08 23:05: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-05-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":66108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":66108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":66108,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:05:21] 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-05-08 23:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234979328001,"66":27365,"87":206,"79":20992,"24":16,"16":290763964474720256,"45":7100769263913590784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-05-08 23:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234979328001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:05:21] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-05-08 23:05:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290763964474720256,"km_value":290763964474720.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":7100769263913590784,"description":"Unknown IO ID 45"} 
[2026-05-08 23:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234979328001,"power":27365,"unknown_87":206,"unknown_79":20992,"ignition":16,"odometer":null,"unknown_45":7100769263913590784}} 
[2026-05-08 23:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":66108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:05:21] local.INFO: GPS data processed {"connection_id":66108,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:05:21] local.INFO: Acknowledgment sent {"connection_id":66108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:05:43] local.INFO: TCP Data received {"connection_id":65287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:43] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:43] local.INFO: IMEI packet received {"connection_id":65287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":65287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:05:43] local.INFO: TCP Data received {"connection_id":65287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:43] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:43] local.INFO: IMEI packet received {"connection_id":65287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:05:43] local.INFO: IMEI acknowledgment sent {"connection_id":65287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:05:48] local.INFO: TCP Data received {"connection_id":65287,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:48] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:05:48] local.INFO: IMEI packet received {"connection_id":65287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:05:48] local.INFO: IMEI acknowledgment sent {"connection_id":65287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:05:49] local.INFO: TCP Data received {"connection_id":65287,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a74728012d628f00062791b0000800912a..."} 
[2026-05-08 23:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a74728012d628f00062791b0000800912a..."} 
[2026-05-08 23:05:49] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a74728012d628f00062791b0000800912a..."} 
[2026-05-08 23:05:49] local.INFO: Packet analysis {"connection_id":65287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a7"} 
[2026-05-08 23:05:49] local.INFO: Extracted packet for processing {"connection_id":65287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a7"} 
[2026-05-08 23:05:49] local.INFO: GPS Element Parsed {"raw_longitude":761433856,"raw_latitude":103256496,"longitude_deg":76.1433856,"latitude_deg":10.3256496,"altitude":8,"angle":145,"satellites":42,"speed":16,"hex_longitude":"2d628f00","hex_latitude":"062791b0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234979584001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290764007424393216,"note":"Value kept but may cause issues"} 
[2026-05-08 23:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7101261845122781184,"note":"Value kept but may cause issues"} 
[2026-05-08 23:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778261641000,"timestamp_ms":1778261641000,"timestamp_seconds":1778261641,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a74728"} 
[2026-05-08 23:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:05: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-05-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234979584001,"66":27234,"87":206,"79":20992,"24":16,"16":290764007424393216,"45":7101261845122781184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-05-08 23:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234979584001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:05:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-05-08 23:05:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290764007424393216,"km_value":290764007424393.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7101261845122781184,"description":"Unknown IO ID 45"} 
[2026-05-08 23:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234979584001,"power":27234,"unknown_87":206,"unknown_79":20992,"ignition":16,"odometer":null,"unknown_45":7101261845122781184}} 
[2026-05-08 23:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":65287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:05:49] local.INFO: GPS data processed {"connection_id":65287,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:05:49] local.INFO: Acknowledgment sent {"connection_id":65287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:06:10] local.INFO: TCP Data received {"connection_id":65330,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:06:10] local.INFO: Processing buffer {"connection_id":65330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:06:10] local.INFO: IMEI packet received {"connection_id":65330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":65330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:06:19] local.INFO: TCP Data received {"connection_id":65287,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a74ef8012d6290c006278e980008009c2a..."} 
[2026-05-08 23:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a74ef8012d6290c006278e980008009c2a..."} 
[2026-05-08 23:06:19] local.INFO: Processing buffer {"connection_id":65287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a74ef8012d6290c006278e980008009c2a..."} 
[2026-05-08 23:06:19] local.INFO: Packet analysis {"connection_id":65287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a7"} 
[2026-05-08 23:06:19] local.INFO: Extracted packet for processing {"connection_id":65287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a7"} 
[2026-05-08 23:06:19] local.INFO: GPS Element Parsed {"raw_longitude":761434304,"raw_latitude":103255704,"longitude_deg":76.1434304,"latitude_deg":10.3255704,"altitude":8,"angle":156,"satellites":42,"speed":17,"hex_longitude":"2d6290c0","hex_latitude":"06278e98","is_valid_coordinates":true} 
[2026-05-08 23:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455234980096001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290764050374066176,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7101895163820224512,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778261643000,"timestamp_ms":1778261643000,"timestamp_seconds":1778261643,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a74ef8"} 
[2026-05-08 23:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:06: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-05-08 23:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455234980096001,"66":27332,"87":206,"79":20992,"24":17,"16":290764050374066176,"45":7101895163820224512},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-05-08 23:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455234980096001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:06:20] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-05-08 23:06:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290764050374066176,"km_value":290764050374066.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7101895163820224512,"description":"Unknown IO ID 45"} 
[2026-05-08 23:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455234980096001,"power":27332,"unknown_87":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7101895163820224512}} 
[2026-05-08 23:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":65287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:06:20] local.INFO: GPS data processed {"connection_id":65287,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:06:20] local.INFO: Acknowledgment sent {"connection_id":65287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:06:40] local.INFO: TCP Data received {"connection_id":65427,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:06:40] local.INFO: Processing buffer {"connection_id":65427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:06:40] local.INFO: IMEI packet received {"connection_id":65427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:06:40] local.INFO: IMEI acknowledgment sent {"connection_id":65427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:06:43] local.INFO: TCP Data received {"connection_id":65331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:43] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:43] local.INFO: IMEI packet received {"connection_id":65331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:06:43] local.INFO: IMEI acknowledgment sent {"connection_id":65331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:06:47] local.INFO: TCP Data received {"connection_id":65331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:47] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:47] local.INFO: IMEI packet received {"connection_id":65331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":65331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:06:47] local.INFO: TCP Data received {"connection_id":65331,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:47] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:06:47] local.INFO: IMEI packet received {"connection_id":65331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:06:47] local.INFO: IMEI acknowledgment sent {"connection_id":65331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:06:48] local.INFO: TCP Data received {"connection_id":65331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a90090012d6316c006262078000800a529..."} 
[2026-05-08 23:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a90090012d6316c006262078000800a529..."} 
[2026-05-08 23:06:48] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a90090012d6316c006262078000800a529..."} 
[2026-05-08 23:06:48] local.INFO: Packet analysis {"connection_id":65331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:06:48] local.INFO: Extracted packet for processing {"connection_id":65331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:06:48] local.INFO: GPS Element Parsed {"raw_longitude":761468608,"raw_latitude":103161976,"longitude_deg":76.1468608,"latitude_deg":10.3161976,"altitude":8,"angle":165,"satellites":41,"speed":50,"hex_longitude":"2d6316c0","hex_latitude":"06262078","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235006976001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290768912277045248,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7137149904631470080,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778261754000,"timestamp_ms":1778261754000,"timestamp_seconds":1778261754,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a90090"} 
[2026-05-08 23:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:06:48] 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-05-08 23:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235006976001,"66":27267,"75":206,"79":20992,"24":50,"16":290768912277045248,"45":7137149904631470080},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,79,24,16,45]} 
[2026-05-08 23:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235006976001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:06:48] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-05-08 23:06:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290768912277045248,"km_value":290768912277045.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7137149904631470080,"description":"Unknown IO ID 45"} 
[2026-05-08 23:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235006976001,"power":27267,"unknown_75":206,"unknown_79":20992,"ignition":50,"odometer":null,"unknown_45":7137149904631470080}} 
[2026-05-08 23:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":65331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:06:48] local.INFO: GPS data processed {"connection_id":65331,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:06:48] local.INFO: Acknowledgment sent {"connection_id":65331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:06:53] local.INFO: TCP Data received {"connection_id":65331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a91be8012d6321c00625fed00006009c27..."} 
[2026-05-08 23:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a91be8012d6321c00625fed00006009c27..."} 
[2026-05-08 23:06:53] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a91be8012d6321c00625fed00006009c27..."} 
[2026-05-08 23:06:53] local.INFO: Packet analysis {"connection_id":65331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:06:53] local.INFO: Extracted packet for processing {"connection_id":65331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:06:53] local.INFO: GPS Element Parsed {"raw_longitude":761471424,"raw_latitude":103153360,"longitude_deg":76.1471424,"latitude_deg":10.315336,"altitude":6,"angle":156,"satellites":39,"speed":53,"hex_longitude":"2d6321c0","hex_latitude":"0625fed0","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235009024001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290769350363709440,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7140105391884498944,"note":"Value kept but may cause issues"} 
[2026-05-08 23:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778261761000,"timestamp_ms":1778261761000,"timestamp_seconds":1778261761,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a91be8"} 
[2026-05-08 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-05-08 23:06: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-05-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235009024001,"66":27321,"75":206,"79":20992,"24":53,"16":290769350363709440,"45":7140105391884498944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,79,24,16,45]} 
[2026-05-08 23:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235009024001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:06:53] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-05-08 23:06:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290769350363709440,"km_value":290769350363709.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7140105391884498944,"description":"Unknown IO ID 45"} 
[2026-05-08 23:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235009024001,"power":27321,"unknown_75":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7140105391884498944}} 
[2026-05-08 23:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":65331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:06:53] local.INFO: GPS data processed {"connection_id":65331,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:06:53] local.INFO: Acknowledgment sent {"connection_id":65331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:07:25] local.INFO: TCP Data received {"connection_id":65331,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a93740012d6333400625de800007009528..."} 
[2026-05-08 23:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a93740012d6333400625de800007009528..."} 
[2026-05-08 23:07:25] local.INFO: Processing buffer {"connection_id":65331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a93740012d6333400625de800007009528..."} 
[2026-05-08 23:07:25] local.INFO: Packet analysis {"connection_id":65331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:07:25] local.INFO: Extracted packet for processing {"connection_id":65331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:07:25] local.INFO: GPS Element Parsed {"raw_longitude":761475904,"raw_latitude":103145088,"longitude_deg":76.1475904,"latitude_deg":10.3145088,"altitude":7,"angle":149,"satellites":40,"speed":53,"hex_longitude":"2d633340","hex_latitude":"0625de80","is_valid_coordinates":true} 
[2026-05-08 23:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235010816001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290769805630242816,"note":"Value kept but may cause issues"} 
[2026-05-08 23:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7143201616626110464,"note":"Value kept but may cause issues"} 
[2026-05-08 23:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,75,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778261768000,"timestamp_ms":1778261768000,"timestamp_seconds":1778261768,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a93740"} 
[2026-05-08 23:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":65331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":65331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235010816001,"66":27213,"75":206,"79":20992,"24":53,"16":290769805630242816,"45":7143201616626110464},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,75,79,24,16,45]} 
[2026-05-08 23:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235010816001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:07:25] local.INFO: Unknown IO ID detected {"io_id":75,"value":206,"description":"Unknown IO ID 75"} 
[2026-05-08 23:07:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290769805630242816,"km_value":290769805630242.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7143201616626110464,"description":"Unknown IO ID 45"} 
[2026-05-08 23:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235010816001,"power":27213,"unknown_75":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7143201616626110464}} 
[2026-05-08 23:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":65331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:07:25] local.INFO: GPS data processed {"connection_id":65331,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:07:25] local.INFO: Acknowledgment sent {"connection_id":65331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:07:41] local.INFO: TCP Data received {"connection_id":65289,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:41] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:41] local.INFO: IMEI packet received {"connection_id":65289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:07:41] local.INFO: IMEI acknowledgment sent {"connection_id":65289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:07:42] local.INFO: TCP Data received {"connection_id":65289,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:42] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:42] local.INFO: IMEI packet received {"connection_id":65289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:07:42] local.INFO: IMEI acknowledgment sent {"connection_id":65289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:07:48] local.INFO: TCP Data received {"connection_id":65289,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:48] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:07:48] local.INFO: IMEI packet received {"connection_id":65289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:07:48] local.INFO: IMEI acknowledgment sent {"connection_id":65289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:07:48] local.INFO: TCP Data received {"connection_id":65289,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a95298012d6346400625bf38000600922b..."} 
[2026-05-08 23:07:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a95298012d6346400625bf38000600922b..."} 
[2026-05-08 23:07:48] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a95298012d6346400625bf38000600922b..."} 
[2026-05-08 23:07:48] local.INFO: Packet analysis {"connection_id":65289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:07:48] local.INFO: Extracted packet for processing {"connection_id":65289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:07:48] local.INFO: GPS Element Parsed {"raw_longitude":761480768,"raw_latitude":103137080,"longitude_deg":76.1480768,"latitude_deg":10.313708,"altitude":6,"angle":146,"satellites":43,"speed":48,"hex_longitude":"2d634640","hex_latitude":"0625bf38","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:07:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235012608001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:07:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290770256601808896,"note":"Value kept but may cause issues"} 
[2026-05-08 23:07:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7148127428716429312,"note":"Value kept but may cause issues"} 
[2026-05-08 23:07:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:07:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778261775000,"timestamp_ms":1778261775000,"timestamp_seconds":1778261775,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a95298"} 
[2026-05-08 23:07:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:07:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 23:07:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:07:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:07:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:07:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:07:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:07:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:07:48] 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-05-08 23:07:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:07:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235012608001,"66":27376,"76":206,"79":20992,"24":48,"16":290770256601808896,"45":7148127428716429312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-05-08 23:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235012608001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:07:48] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-05-08 23:07:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290770256601808896,"km_value":290770256601808.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7148127428716429312,"description":"Unknown IO ID 45"} 
[2026-05-08 23:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235012608001,"power":27376,"unknown_76":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7148127428716429312}} 
[2026-05-08 23:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":65289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:07:48] local.INFO: GPS data processed {"connection_id":65289,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:07:48] local.INFO: Acknowledgment sent {"connection_id":65289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:08:20] local.INFO: TCP Data received {"connection_id":65289,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a96238012d6351400625b0f0000600852c..."} 
[2026-05-08 23:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a96238012d6351400625b0f0000600852c..."} 
[2026-05-08 23:08:20] local.INFO: Processing buffer {"connection_id":65289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a96238012d6351400625b0f0000600852c..."} 
[2026-05-08 23:08:20] local.INFO: Packet analysis {"connection_id":65289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:08:20] local.INFO: Extracted packet for processing {"connection_id":65289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:08:20] local.INFO: GPS Element Parsed {"raw_longitude":761483584,"raw_latitude":103133424,"longitude_deg":76.1483584,"latitude_deg":10.3133424,"altitude":6,"angle":133,"satellites":44,"speed":41,"hex_longitude":"2d635140","hex_latitude":"0625b0f0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:08:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235014400001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290770479940108288,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7153475453271881728,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:08:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778261779000,"timestamp_ms":1778261779000,"timestamp_seconds":1778261779,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a96238"} 
[2026-05-08 23:08:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:08:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 23:08:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:08:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:08:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:08:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:08:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:08:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:08:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:08:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:08:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:08:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235014400001,"66":27397,"76":206,"79":20992,"24":41,"16":290770479940108288,"45":7153475453271881728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-05-08 23:08:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:08:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:08:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235014400001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:08:20] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-05-08 23:08:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:08:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290770479940108288,"km_value":290770479940108.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:08:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7153475453271881728,"description":"Unknown IO ID 45"} 
[2026-05-08 23:08:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235014400001,"power":27397,"unknown_76":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":7153475453271881728}} 
[2026-05-08 23:08:20] local.INFO: DEBUG: GPS processor result {"connection_id":65289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:08:20] local.INFO: GPS data processed {"connection_id":65289,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:08:20] local.INFO: Acknowledgment sent {"connection_id":65289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:08:47] local.INFO: TCP Data received {"connection_id":65428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:47] local.INFO: Processing buffer {"connection_id":65428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:47] local.INFO: IMEI packet received {"connection_id":65428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":65428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:08:47] local.INFO: TCP Data received {"connection_id":65428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:47] local.INFO: Processing buffer {"connection_id":65428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:47] local.INFO: IMEI packet received {"connection_id":65428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":65428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:08:53] local.INFO: TCP Data received {"connection_id":65428,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:53] local.INFO: Processing buffer {"connection_id":65428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:08:53] local.INFO: IMEI packet received {"connection_id":65428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":65428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:08:54] local.INFO: TCP Data received {"connection_id":65428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a96a08012d6358000625ac90000800752b..."} 
[2026-05-08 23:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a96a08012d6358000625ac90000800752b..."} 
[2026-05-08 23:08:54] local.INFO: Processing buffer {"connection_id":65428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a96a08012d6358000625ac90000800752b..."} 
[2026-05-08 23:08:54] local.INFO: Packet analysis {"connection_id":65428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:08:54] local.INFO: Extracted packet for processing {"connection_id":65428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:08:54] local.INFO: GPS Element Parsed {"raw_longitude":761485312,"raw_latitude":103132304,"longitude_deg":76.1485312,"latitude_deg":10.3132304,"altitude":8,"angle":117,"satellites":43,"speed":40,"hex_longitude":"2d635800","hex_latitude":"0625ac90","is_valid_coordinates":true} 
[2026-05-08 23:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235015424001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290770578724356096,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7156571678014763008,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778261781000,"timestamp_ms":1778261781000,"timestamp_seconds":1778261781,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a96a08"} 
[2026-05-08 23:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 23:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":65428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":65428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":65428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235015424001,"66":26778,"76":206,"79":20992,"24":40,"16":290770578724356096,"45":7156571678014763008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-05-08 23:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235015424001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:08:54] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-05-08 23:08:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290770578724356096,"km_value":290770578724356.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7156571678014763008,"description":"Unknown IO ID 45"} 
[2026-05-08 23:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235015424001,"power":26778,"unknown_76":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7156571678014763008}} 
[2026-05-08 23:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":65428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:08:54] local.INFO: GPS data processed {"connection_id":65428,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:08:54] local.INFO: Acknowledgment sent {"connection_id":65428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:08:59] local.INFO: TCP Data received {"connection_id":65428,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08a975c0012d6361c00625a6a80009008125..."} 
[2026-05-08 23:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08a975c0012d6361c00625a6a80009008125..."} 
[2026-05-08 23:08:59] local.INFO: Processing buffer {"connection_id":65428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08a975c0012d6361c00625a6a80009008125..."} 
[2026-05-08 23:08:59] local.INFO: Packet analysis {"connection_id":65428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:08:59] local.INFO: Extracted packet for processing {"connection_id":65428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08a9"} 
[2026-05-08 23:08:59] local.INFO: GPS Element Parsed {"raw_longitude":761487808,"raw_latitude":103130792,"longitude_deg":76.1487808,"latitude_deg":10.3130792,"altitude":9,"angle":129,"satellites":37,"speed":36,"hex_longitude":"2d6361c0","hex_latitude":"0625a6a8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235015936001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290770720458276864,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7158471634107273216,"note":"Value kept but may cause issues"} 
[2026-05-08 23:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1778261784000,"timestamp_ms":1778261784000,"timestamp_seconds":1778261784,"priority":1,"record_length":96,"hex_timestamp":"0000019e08a975c0"} 
[2026-05-08 23:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-05-08 23:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":65428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":65428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":65428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235015936001,"66":27300,"76":206,"79":20992,"24":36,"16":290770720458276864,"45":7158471634107273216},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,79,24,16,45]} 
[2026-05-08 23:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235015936001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:08:59] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-05-08 23:08:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290770720458276864,"km_value":290770720458276.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7158471634107273216,"description":"Unknown IO ID 45"} 
[2026-05-08 23:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235015936001,"power":27300,"unknown_76":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7158471634107273216}} 
[2026-05-08 23:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":65428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:08:59] local.INFO: GPS data processed {"connection_id":65428,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:08:59] local.INFO: Acknowledgment sent {"connection_id":65428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:09:42] local.INFO: TCP Data received {"connection_id":65291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:42] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:42] local.INFO: IMEI packet received {"connection_id":65291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":65291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:09:43] local.INFO: TCP Data received {"connection_id":65291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:43] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:43] local.INFO: IMEI packet received {"connection_id":65291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:09:43] local.INFO: IMEI acknowledgment sent {"connection_id":65291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:09:48] local.INFO: TCP Data received {"connection_id":65291,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:48] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:09:48] local.INFO: IMEI packet received {"connection_id":65291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":65291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:09:49] local.INFO: TCP Data received {"connection_id":65291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ab8ce8012d63c88006248980000a00a62b..."} 
[2026-05-08 23:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ab8ce8012d63c88006248980000a00a62b..."} 
[2026-05-08 23:09:49] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ab8ce8012d63c88006248980000a00a62b..."} 
[2026-05-08 23:09:49] local.INFO: Packet analysis {"connection_id":65291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ab"} 
[2026-05-08 23:09:49] local.INFO: Extracted packet for processing {"connection_id":65291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ab"} 
[2026-05-08 23:09:49] local.INFO: GPS Element Parsed {"raw_longitude":761514112,"raw_latitude":103057792,"longitude_deg":76.1514112,"latitude_deg":10.3057792,"altitude":10,"angle":166,"satellites":43,"speed":18,"hex_longitude":"2d63c880","hex_latitude":"06248980","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235048704001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290774508619431936,"note":"Value kept but may cause issues"} 
[2026-05-08 23:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7187674662924134400,"note":"Value kept but may cause issues"} 
[2026-05-08 23:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778261921000,"timestamp_ms":1778261921000,"timestamp_seconds":1778261921,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ab8ce8"} 
[2026-05-08 23:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235048704001,"66":27343,"253":206,"79":20992,"24":18,"16":290774508619431936,"45":7187674662924134400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-05-08 23:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235048704001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:09:49] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-05-08 23:09:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290774508619431936,"km_value":290774508619431.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7187674662924134400,"description":"Unknown IO ID 45"} 
[2026-05-08 23:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235048704001,"power":27343,"unknown_253":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7187674662924134400}} 
[2026-05-08 23:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":65291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:09:49] local.INFO: GPS data processed {"connection_id":65291,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:09:49] local.INFO: Acknowledgment sent {"connection_id":65291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:10:21] local.INFO: TCP Data received {"connection_id":65291,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ab98a0012d63c940062484a8000a00b82b..."} 
[2026-05-08 23:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ab98a0012d63c940062484a8000a00b82b..."} 
[2026-05-08 23:10:21] local.INFO: Processing buffer {"connection_id":65291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ab98a0012d63c940062484a8000a00b82b..."} 
[2026-05-08 23:10:21] local.INFO: Packet analysis {"connection_id":65291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ab"} 
[2026-05-08 23:10:21] local.INFO: Extracted packet for processing {"connection_id":65291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ab"} 
[2026-05-08 23:10:21] local.INFO: GPS Element Parsed {"raw_longitude":761514304,"raw_latitude":103056552,"longitude_deg":76.1514304,"latitude_deg":10.3056552,"altitude":10,"angle":184,"satellites":43,"speed":17,"hex_longitude":"2d63c940","hex_latitude":"062484a8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:10:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235051776001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290774573043941376,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7190137568968146944,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:10:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778261924000,"timestamp_ms":1778261924000,"timestamp_seconds":1778261924,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ab98a0"} 
[2026-05-08 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-05-08 23:10: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-05-08 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 23:10:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:10:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:10:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:10:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:10:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:10:21] 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-05-08 23:10:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:10:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:10:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235051776001,"66":27245,"253":206,"79":20992,"24":17,"16":290774573043941376,"45":7190137568968146944},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-05-08 23:10:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:10:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:10:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235051776001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:10:21] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-05-08 23:10:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:10:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290774573043941376,"km_value":290774573043941.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:10:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":7190137568968146944,"description":"Unknown IO ID 45"} 
[2026-05-08 23:10:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235051776001,"power":27245,"unknown_253":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7190137568968146944}} 
[2026-05-08 23:10:21] local.INFO: DEBUG: GPS processor result {"connection_id":65291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:10:21] local.INFO: GPS data processed {"connection_id":65291,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:10:21] local.INFO: Acknowledgment sent {"connection_id":65291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:10:42] local.INFO: TCP Data received {"connection_id":66110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:42] local.INFO: Processing buffer {"connection_id":66110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:42] local.INFO: IMEI packet received {"connection_id":66110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":66110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:10:47] local.INFO: TCP Data received {"connection_id":66110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:47] local.INFO: Processing buffer {"connection_id":66110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:47] local.INFO: IMEI packet received {"connection_id":66110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":66110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:10:47] local.INFO: TCP Data received {"connection_id":66110,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:47] local.INFO: Processing buffer {"connection_id":66110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:10:47] local.INFO: IMEI packet received {"connection_id":66110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":66110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:10:48] local.INFO: TCP Data received {"connection_id":66110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08aba458012d63c94006247fc0000a00a929..."} 
[2026-05-08 23:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08aba458012d63c94006247fc0000a00a929..."} 
[2026-05-08 23:10:48] local.INFO: Processing buffer {"connection_id":66110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08aba458012d63c94006247fc0000a00a929..."} 
[2026-05-08 23:10:48] local.INFO: Packet analysis {"connection_id":66110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ab"} 
[2026-05-08 23:10:48] local.INFO: Extracted packet for processing {"connection_id":66110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ab"} 
[2026-05-08 23:10:48] local.INFO: GPS Element Parsed {"raw_longitude":761514304,"raw_latitude":103055296,"longitude_deg":76.1514304,"latitude_deg":10.3055296,"altitude":10,"angle":169,"satellites":41,"speed":17,"hex_longitude":"2d63c940","hex_latitude":"06247fc0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235052544001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290774633173483520,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7190348675200362496,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778261927000,"timestamp_ms":1778261927000,"timestamp_seconds":1778261927,"priority":1,"record_length":96,"hex_timestamp":"0000019e08aba458"} 
[2026-05-08 23:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 23:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":66110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":66110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":66110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:10:48] 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-05-08 23:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235052544001,"66":27234,"253":206,"79":20992,"24":17,"16":290774633173483520,"45":7190348675200362496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-05-08 23:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235052544001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:10:48] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-05-08 23:10:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290774633173483520,"km_value":290774633173483.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7190348675200362496,"description":"Unknown IO ID 45"} 
[2026-05-08 23:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235052544001,"power":27234,"unknown_253":206,"unknown_79":20992,"ignition":17,"odometer":null,"unknown_45":7190348675200362496}} 
[2026-05-08 23:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":66110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:10:48] local.INFO: GPS data processed {"connection_id":66110,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:10:48] local.INFO: Acknowledgment sent {"connection_id":66110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:10:53] local.INFO: TCP Data received {"connection_id":66110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08abe6c0012d63d30006245df8000a00a12d..."} 
[2026-05-08 23:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08abe6c0012d63d30006245df8000a00a12d..."} 
[2026-05-08 23:10:53] local.INFO: Processing buffer {"connection_id":66110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08abe6c0012d63d30006245df8000a00a12d..."} 
[2026-05-08 23:10:53] local.INFO: Packet analysis {"connection_id":66110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ab"} 
[2026-05-08 23:10:53] local.INFO: Extracted packet for processing {"connection_id":66110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ab"} 
[2026-05-08 23:10:53] local.INFO: GPS Element Parsed {"raw_longitude":761516800,"raw_latitude":103046648,"longitude_deg":76.15168,"latitude_deg":10.3046648,"altitude":10,"angle":161,"satellites":45,"speed":21,"hex_longitude":"2d63d300","hex_latitude":"06245df8","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:10:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235053312001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290775071260147712,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7190348675200040960,"note":"Value kept but may cause issues"} 
[2026-05-08 23:10:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:10:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778261944000,"timestamp_ms":1778261944000,"timestamp_seconds":1778261944,"priority":1,"record_length":96,"hex_timestamp":"0000019e08abe6c0"} 
[2026-05-08 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-05-08 23:10:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:10:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:10:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:10:53] local.INFO: Teltonika packet parsed successfully {"connection_id":66110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:10:53] local.INFO: Passing IMEI to GPS processor {"connection_id":66110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:10:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":66110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:10:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:10:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:10:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:10:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235053312001,"66":27343,"252":206,"79":20992,"24":21,"16":290775071260147712,"45":7190348675200040960},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-05-08 23:10:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:10:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:10:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235053312001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:10:53] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-05-08 23:10:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:10:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290775071260147712,"km_value":290775071260147.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:10:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7190348675200040960,"description":"Unknown IO ID 45"} 
[2026-05-08 23:10:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235053312001,"power":27343,"unknown_252":206,"unknown_79":20992,"ignition":21,"odometer":null,"unknown_45":7190348675200040960}} 
[2026-05-08 23:10:53] local.INFO: DEBUG: GPS processor result {"connection_id":66110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:10:53] local.INFO: GPS data processed {"connection_id":66110,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:10:53] local.INFO: Acknowledgment sent {"connection_id":66110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:11:24] local.INFO: TCP Data received {"connection_id":66110,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ad5208012d64208006234440000e00ba26..."} 
[2026-05-08 23:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ad5208012d64208006234440000e00ba26..."} 
[2026-05-08 23:11:24] local.INFO: Processing buffer {"connection_id":66110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ad5208012d64208006234440000e00ba26..."} 
[2026-05-08 23:11:24] local.INFO: Packet analysis {"connection_id":66110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ad"} 
[2026-05-08 23:11:24] local.INFO: Extracted packet for processing {"connection_id":66110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ad"} 
[2026-05-08 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":761536640,"raw_latitude":102974528,"longitude_deg":76.153664,"latitude_deg":10.2974528,"altitude":14,"angle":186,"satellites":38,"speed":12,"hex_longitude":"2d642080","hex_latitude":"06234440","is_valid_coordinates":true} 
[2026-05-08 23:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:11:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235081216001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:11:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290778807881695232,"note":"Value kept but may cause issues"} 
[2026-05-08 23:11:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7215048104385794048,"note":"Value kept but may cause issues"} 
[2026-05-08 23:11:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:11:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778262037000,"timestamp_ms":1778262037000,"timestamp_seconds":1778262037,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ad5208"} 
[2026-05-08 23:11:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:11:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:11:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:11:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:11:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:11:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:11:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:11:24] local.INFO: Teltonika packet parsed successfully {"connection_id":66110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:11:24] local.INFO: Passing IMEI to GPS processor {"connection_id":66110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:11:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":66110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:11:24] 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-05-08 23:11:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:11:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:11:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235081216001,"66":27321,"57":206,"79":20992,"24":12,"16":290778807881695232,"45":7215048104385794048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,79,24,16,45]} 
[2026-05-08 23:11:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:11:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:11:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235081216001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:11:24] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-05-08 23:11:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:11:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290778807881695232,"km_value":290778807881695.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:11:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7215048104385794048,"description":"Unknown IO ID 45"} 
[2026-05-08 23:11:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235081216001,"power":27321,"unknown_57":206,"unknown_79":20992,"ignition":12,"odometer":null,"unknown_45":7215048104385794048}} 
[2026-05-08 23:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":66110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:11:24] local.INFO: GPS data processed {"connection_id":66110,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:11:24] local.INFO: Acknowledgment sent {"connection_id":66110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:11:49] local.INFO: TCP Data received {"connection_id":65430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:49] local.INFO: Processing buffer {"connection_id":65430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:49] local.INFO: IMEI packet received {"connection_id":65430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":65430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:11:50] local.INFO: TCP Data received {"connection_id":65430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:50] local.INFO: Processing buffer {"connection_id":65430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:50] local.INFO: IMEI packet received {"connection_id":65430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":65430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:11:53] local.INFO: TCP Data received {"connection_id":65430,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:53] local.INFO: Processing buffer {"connection_id":65430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:11:53] local.INFO: IMEI packet received {"connection_id":65430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":65430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:11:53] local.INFO: TCP Data received {"connection_id":65430,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ad55f0012d64208006234310000e00a527..."} 
[2026-05-08 23:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ad55f0012d64208006234310000e00a527..."} 
[2026-05-08 23:11:53] local.INFO: Processing buffer {"connection_id":65430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ad55f0012d64208006234310000e00a527..."} 
[2026-05-08 23:11:53] local.INFO: Packet analysis {"connection_id":65430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ad"} 
[2026-05-08 23:11:53] local.INFO: Extracted packet for processing {"connection_id":65430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ad"} 
[2026-05-08 23:11:53] local.INFO: GPS Element Parsed {"raw_longitude":761536640,"raw_latitude":102974224,"longitude_deg":76.153664,"latitude_deg":10.2974224,"altitude":14,"angle":165,"satellites":39,"speed":13,"hex_longitude":"2d642080","hex_latitude":"06234310","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235081472001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290778820766597120,"note":"Value kept but may cause issues"} 
[2026-05-08 23:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7214907366897369088,"note":"Value kept but may cause issues"} 
[2026-05-08 23:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778262038000,"timestamp_ms":1778262038000,"timestamp_seconds":1778262038,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ad55f0"} 
[2026-05-08 23:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:11:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235081472001,"66":27180,"57":206,"79":20992,"24":13,"16":290778820766597120,"45":7214907366897369088},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,79,24,16,45]} 
[2026-05-08 23:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235081472001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:11:53] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-05-08 23:11:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290778820766597120,"km_value":290778820766597.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7214907366897369088,"description":"Unknown IO ID 45"} 
[2026-05-08 23:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235081472001,"power":27180,"unknown_57":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":7214907366897369088}} 
[2026-05-08 23:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":65430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:11:53] local.INFO: GPS data processed {"connection_id":65430,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:11:53] local.INFO: Acknowledgment sent {"connection_id":65430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:12:10] local.INFO: TCP Data received {"connection_id":65293,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:12:10] local.INFO: Processing buffer {"connection_id":65293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:12:10] local.INFO: IMEI packet received {"connection_id":65293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":65293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:12:25] local.INFO: TCP Data received {"connection_id":65430,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ad5dc0012d642180062340a8000e009a29..."} 
[2026-05-08 23:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ad5dc0012d642180062340a8000e009a29..."} 
[2026-05-08 23:12:25] local.INFO: Processing buffer {"connection_id":65430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ad5dc0012d642180062340a8000e009a29..."} 
[2026-05-08 23:12:25] local.INFO: Packet analysis {"connection_id":65430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ad"} 
[2026-05-08 23:12:25] local.INFO: Extracted packet for processing {"connection_id":65430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ad"} 
[2026-05-08 23:12:25] local.INFO: GPS Element Parsed {"raw_longitude":761536896,"raw_latitude":102973608,"longitude_deg":76.1536896,"latitude_deg":10.2973608,"altitude":14,"angle":154,"satellites":41,"speed":15,"hex_longitude":"2d642180","hex_latitude":"062340a8","is_valid_coordinates":true} 
[2026-05-08 23:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235081728001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290778855126335488,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7214907366897291264,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778262040000,"timestamp_ms":1778262040000,"timestamp_seconds":1778262040,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ad5dc0"} 
[2026-05-08 23:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 23:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":65430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":65430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":65430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235081728001,"66":27234,"57":206,"79":20992,"24":15,"16":290778855126335488,"45":7214907366897291264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,79,24,16,45]} 
[2026-05-08 23:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235081728001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:12:25] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-05-08 23:12:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290778855126335488,"km_value":290778855126335.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7214907366897291264,"description":"Unknown IO ID 45"} 
[2026-05-08 23:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235081728001,"power":27234,"unknown_57":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7214907366897291264}} 
[2026-05-08 23:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":65430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:12:25] local.INFO: GPS data processed {"connection_id":65430,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:12:25] local.INFO: Acknowledgment sent {"connection_id":65430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:12:40] local.INFO: TCP Data received {"connection_id":65431,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:12:40] local.INFO: Processing buffer {"connection_id":65431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:12:40] local.INFO: IMEI packet received {"connection_id":65431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:12:40] local.INFO: IMEI acknowledgment sent {"connection_id":65431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:12:43] local.INFO: TCP Data received {"connection_id":65432,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:43] local.INFO: Processing buffer {"connection_id":65432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:43] local.INFO: IMEI packet received {"connection_id":65432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:12:43] local.INFO: IMEI acknowledgment sent {"connection_id":65432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:12:47] local.INFO: TCP Data received {"connection_id":65432,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:47] local.INFO: Processing buffer {"connection_id":65432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:47] local.INFO: IMEI packet received {"connection_id":65432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":65432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:12:48] local.INFO: TCP Data received {"connection_id":65432,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:48] local.INFO: Processing buffer {"connection_id":65432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:12:48] local.INFO: IMEI packet received {"connection_id":65432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":65432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:12:49] local.INFO: TCP Data received {"connection_id":65432,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ae4ff0012d6494800622cbc80008005e21..."} 
[2026-05-08 23:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ae4ff0012d6494800622cbc80008005e21..."} 
[2026-05-08 23:12:49] local.INFO: Processing buffer {"connection_id":65432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ae4ff0012d6494800622cbc80008005e21..."} 
[2026-05-08 23:12:49] local.INFO: Packet analysis {"connection_id":65432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ae"} 
[2026-05-08 23:12:49] local.INFO: Extracted packet for processing {"connection_id":65432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ae"} 
[2026-05-08 23:12:49] local.INFO: GPS Element Parsed {"raw_longitude":761566336,"raw_latitude":102943688,"longitude_deg":76.1566336,"latitude_deg":10.2943688,"altitude":8,"angle":94,"satellites":33,"speed":40,"hex_longitude":"2d649480","hex_latitude":"0622cbc8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235096832001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290781376272138240,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7241717858421135360,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778262102000,"timestamp_ms":1778262102000,"timestamp_seconds":1778262102,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ae4ff0"} 
[2026-05-08 23:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-05-08 23:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235096832001,"66":27343,"55":206,"79":20992,"24":40,"16":290781376272138240,"45":7241717858421135360},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-05-08 23:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235096832001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:12:49] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-05-08 23:12:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290781376272138240,"km_value":290781376272138.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7241717858421135360,"description":"Unknown IO ID 45"} 
[2026-05-08 23:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235096832001,"power":27343,"unknown_55":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7241717858421135360}} 
[2026-05-08 23:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":65432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:12:49] local.INFO: GPS data processed {"connection_id":65432,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:12:49] local.INFO: Acknowledgment sent {"connection_id":65432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:12:53] local.INFO: TCP Data received {"connection_id":65432,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ae7318012d64ba000622c7f80009006329..."} 
[2026-05-08 23:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ae7318012d64ba000622c7f80009006329..."} 
[2026-05-08 23:12:53] local.INFO: Processing buffer {"connection_id":65432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ae7318012d64ba000622c7f80009006329..."} 
[2026-05-08 23:12:53] local.INFO: Packet analysis {"connection_id":65432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ae"} 
[2026-05-08 23:12:53] local.INFO: Extracted packet for processing {"connection_id":65432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ae"} 
[2026-05-08 23:12:53] local.INFO: GPS Element Parsed {"raw_longitude":761575936,"raw_latitude":102942712,"longitude_deg":76.1575936,"latitude_deg":10.2942712,"altitude":9,"angle":99,"satellites":41,"speed":39,"hex_longitude":"2d64ba00","hex_latitude":"0622c7f8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:12:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235098112001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290781840128606208,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7247558464187910144,"note":"Value kept but may cause issues"} 
[2026-05-08 23:12:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:12:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778262111000,"timestamp_ms":1778262111000,"timestamp_seconds":1778262111,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ae7318"} 
[2026-05-08 23:12:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:12:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 23:12:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:12:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:12:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:12:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:12:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:12:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:12:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:12:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:12:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:12:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:12:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235098112001,"66":27321,"13":206,"79":20992,"24":39,"16":290781840128606208,"45":7247558464187910144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-05-08 23:12:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:12:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:12:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235098112001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:12:53] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 23:12:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:12:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290781840128606208,"km_value":290781840128606.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:12:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7247558464187910144,"description":"Unknown IO ID 45"} 
[2026-05-08 23:12:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235098112001,"power":27321,"unknown_13":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7247558464187910144}} 
[2026-05-08 23:12:53] local.INFO: DEBUG: GPS processor result {"connection_id":65432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:12:53] local.INFO: GPS data processed {"connection_id":65432,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:12:53] local.INFO: Acknowledgment sent {"connection_id":65432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:13:24] local.INFO: TCP Data received {"connection_id":65432,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ae82b8012d64c8c00622c3d8000900742b..."} 
[2026-05-08 23:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ae82b8012d64c8c00622c3d8000900742b..."} 
[2026-05-08 23:13:24] local.INFO: Processing buffer {"connection_id":65432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ae82b8012d64c8c00622c3d8000900742b..."} 
[2026-05-08 23:13:24] local.INFO: Packet analysis {"connection_id":65432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ae"} 
[2026-05-08 23:13:24] local.INFO: Extracted packet for processing {"connection_id":65432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ae"} 
[2026-05-08 23:13:24] local.INFO: GPS Element Parsed {"raw_longitude":761579712,"raw_latitude":102941656,"longitude_deg":76.1579712,"latitude_deg":10.2941656,"altitude":9,"angle":116,"satellites":43,"speed":37,"hex_longitude":"2d64c8c0","hex_latitude":"0622c3d8","is_valid_coordinates":true} 
[2026-05-08 23:13: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-05-08 23:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235100416001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290782029107167232,"note":"Value kept but may cause issues"} 
[2026-05-08 23:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7258113775814309888,"note":"Value kept but may cause issues"} 
[2026-05-08 23:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778262115000,"timestamp_ms":1778262115000,"timestamp_seconds":1778262115,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ae82b8"} 
[2026-05-08 23:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:13:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:13: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-05-08 23:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:13:24] 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-05-08 23:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235100416001,"66":27365,"13":206,"79":20992,"24":37,"16":290782029107167232,"45":7258113775814309888},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-05-08 23:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235100416001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:13:24] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 23:13:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290782029107167232,"km_value":290782029107167.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7258113775814309888,"description":"Unknown IO ID 45"} 
[2026-05-08 23:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235100416001,"power":27365,"unknown_13":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7258113775814309888}} 
[2026-05-08 23:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":65432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:13:24] local.INFO: GPS data processed {"connection_id":65432,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:13:24] local.INFO: Acknowledgment sent {"connection_id":65432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:13:40] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:40] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:40] local.INFO: IMEI packet received {"connection_id":65294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:13:40] local.INFO: IMEI acknowledgment sent {"connection_id":65294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:13:42] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:42] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:42] local.INFO: IMEI packet received {"connection_id":65294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":65294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:13:42] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:42] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:42] local.INFO: IMEI packet received {"connection_id":65294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":65294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:13:44] local.INFO: TCP Data received {"connection_id":65294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:44] local.INFO: Processing buffer {"connection_id":65294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:13:44] local.INFO: IMEI packet received {"connection_id":65294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:13:44] local.INFO: IMEI acknowledgment sent {"connection_id":65294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:18:05] local.INFO: TCP Data received {"connection_id":65333,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:18:05] local.INFO: Processing buffer {"connection_id":65333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:18:05] local.INFO: IMEI packet received {"connection_id":65333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":65333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:18:40] local.INFO: TCP Data received {"connection_id":65296,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:18:40] local.INFO: Processing buffer {"connection_id":65296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:18:40] local.INFO: IMEI packet received {"connection_id":65296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:18:40] local.INFO: IMEI acknowledgment sent {"connection_id":65296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:18:48] local.INFO: TCP Data received {"connection_id":65436,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:18:48] local.INFO: Processing buffer {"connection_id":65436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:18:48] local.INFO: IMEI packet received {"connection_id":65436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":65436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:18:49] local.INFO: TCP Data received {"connection_id":65436,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b3a720012d67b600061f2f78000c006928..."} 
[2026-05-08 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b3a720012d67b600061f2f78000c006928..."} 
[2026-05-08 23:18:49] local.INFO: Processing buffer {"connection_id":65436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b3a720012d67b600061f2f78000c006928..."} 
[2026-05-08 23:18:49] local.INFO: Packet analysis {"connection_id":65436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b3"} 
[2026-05-08 23:18:49] local.INFO: Extracted packet for processing {"connection_id":65436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b3"} 
[2026-05-08 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":761771520,"raw_latitude":102707064,"longitude_deg":76.177152,"latitude_deg":10.2707064,"altitude":12,"angle":105,"satellites":40,"speed":22,"hex_longitude":"2d67b600","hex_latitude":"061f2f78","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235187200001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290798680695373824,"note":"Value kept but may cause issues"} 
[2026-05-08 23:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7472105126798364672,"note":"Value kept but may cause issues"} 
[2026-05-08 23:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778262452000,"timestamp_ms":1778262452000,"timestamp_seconds":1778262452,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b3a720"} 
[2026-05-08 23:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 23:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235187200001,"66":27234,"92":206,"79":20992,"24":22,"16":290798680695373824,"45":7472105126798364672},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-05-08 23:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235187200001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:18:49] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-05-08 23:18:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290798680695373824,"km_value":290798680695373.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7472105126798364672,"description":"Unknown IO ID 45"} 
[2026-05-08 23:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235187200001,"power":27234,"unknown_92":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7472105126798364672}} 
[2026-05-08 23:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":65436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:18:49] local.INFO: GPS data processed {"connection_id":65436,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:18:49] local.INFO: Acknowledgment sent {"connection_id":65436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:19:20] local.INFO: TCP Data received {"connection_id":65436,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b3baa8012d67bf40061f2c00000d007a27..."} 
[2026-05-08 23:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b3baa8012d67bf40061f2c00000d007a27..."} 
[2026-05-08 23:19:20] local.INFO: Processing buffer {"connection_id":65436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b3baa8012d67bf40061f2c00000d007a27..."} 
[2026-05-08 23:19:20] local.INFO: Packet analysis {"connection_id":65436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b3"} 
[2026-05-08 23:19:20] local.INFO: Extracted packet for processing {"connection_id":65436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b3"} 
[2026-05-08 23:19:20] local.INFO: GPS Element Parsed {"raw_longitude":761773888,"raw_latitude":102706176,"longitude_deg":76.1773888,"latitude_deg":10.2706176,"altitude":13,"angle":122,"satellites":39,"speed":18,"hex_longitude":"2d67bf40","hex_latitude":"061f2c00","is_valid_coordinates":true} 
[2026-05-08 23:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235187712001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290798800954458112,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7473160657960925184,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778262457000,"timestamp_ms":1778262457000,"timestamp_seconds":1778262457,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b3baa8"} 
[2026-05-08 23:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235187712001,"66":27365,"92":206,"79":20992,"24":18,"16":290798800954458112,"45":7473160657960925184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-05-08 23:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235187712001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:19:20] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-05-08 23:19:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290798800954458112,"km_value":290798800954458.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7473160657960925184,"description":"Unknown IO ID 45"} 
[2026-05-08 23:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235187712001,"power":27365,"unknown_92":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7473160657960925184}} 
[2026-05-08 23:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":65436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:19:20] local.INFO: GPS data processed {"connection_id":65436,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:19:20] local.INFO: Acknowledgment sent {"connection_id":65436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:19:48] local.INFO: TCP Data received {"connection_id":66114,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:19:48] local.INFO: Processing buffer {"connection_id":66114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:19:48] local.INFO: IMEI packet received {"connection_id":66114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:19:48] local.INFO: IMEI acknowledgment sent {"connection_id":66114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:19:53] local.INFO: TCP Data received {"connection_id":66114,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:19:53] local.INFO: Processing buffer {"connection_id":66114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:19:53] local.INFO: IMEI packet received {"connection_id":66114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":66114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:19:53] local.INFO: TCP Data received {"connection_id":66114,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b4b4a8012d67ee40061ee8d8000d008928..."} 
[2026-05-08 23:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b4b4a8012d67ee40061ee8d8000d008928..."} 
[2026-05-08 23:19:53] local.INFO: Processing buffer {"connection_id":66114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b4b4a8012d67ee40061ee8d8000d008928..."} 
[2026-05-08 23:19:53] local.INFO: Packet analysis {"connection_id":66114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b4"} 
[2026-05-08 23:19:53] local.INFO: Extracted packet for processing {"connection_id":66114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b4"} 
[2026-05-08 23:19:53] local.INFO: GPS Element Parsed {"raw_longitude":761785920,"raw_latitude":102688984,"longitude_deg":76.178592,"latitude_deg":10.2688984,"altitude":13,"angle":137,"satellites":40,"speed":18,"hex_longitude":"2d67ee40","hex_latitude":"061ee8d8","is_valid_coordinates":true} 
[2026-05-08 23:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235205376001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290799818861707264,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7488993625396271104,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778262521000,"timestamp_ms":1778262521000,"timestamp_seconds":1778262521,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b4b4a8"} 
[2026-05-08 23:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:19:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:19:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:19:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":66114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":66114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":66114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235205376001,"66":27300,"85":206,"79":20992,"24":18,"16":290799818861707264,"45":7488993625396271104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-05-08 23:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235205376001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:19:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-05-08 23:19:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290799818861707264,"km_value":290799818861707.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7488993625396271104,"description":"Unknown IO ID 45"} 
[2026-05-08 23:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235205376001,"power":27300,"unknown_85":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7488993625396271104}} 
[2026-05-08 23:19:53] local.INFO: DEBUG: GPS processor result {"connection_id":66114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:19:53] local.INFO: GPS data processed {"connection_id":66114,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:19:53] local.INFO: Acknowledgment sent {"connection_id":66114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:19:57] local.INFO: TCP Data received {"connection_id":66114,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b4c830012d67f380061ee2c0000d009628..."} 
[2026-05-08 23:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b4c830012d67f380061ee2c0000d009628..."} 
[2026-05-08 23:19:57] local.INFO: Processing buffer {"connection_id":66114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b4c830012d67f380061ee2c0000d009628..."} 
[2026-05-08 23:19:57] local.INFO: Packet analysis {"connection_id":66114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b4"} 
[2026-05-08 23:19:57] local.INFO: Extracted packet for processing {"connection_id":66114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b4"} 
[2026-05-08 23:19:57] local.INFO: GPS Element Parsed {"raw_longitude":761787264,"raw_latitude":102687424,"longitude_deg":76.1787264,"latitude_deg":10.2687424,"altitude":13,"angle":150,"satellites":40,"speed":15,"hex_longitude":"2d67f380","hex_latitude":"061ee2c0","is_valid_coordinates":true} 
[2026-05-08 23:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235205376001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290799917645955072,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7488993625396271104,"note":"Value kept but may cause issues"} 
[2026-05-08 23:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778262526000,"timestamp_ms":1778262526000,"timestamp_seconds":1778262526,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b4c830"} 
[2026-05-08 23:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:19:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:19:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":66114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":66114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":66114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235205376001,"66":27332,"85":206,"79":20992,"24":15,"16":290799917645955072,"45":7488993625396271104},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-05-08 23:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235205376001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-05-08 23:19:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290799917645955072,"km_value":290799917645955.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7488993625396271104,"description":"Unknown IO ID 45"} 
[2026-05-08 23:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235205376001,"power":27332,"unknown_85":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7488993625396271104}} 
[2026-05-08 23:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":66114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:19:57] local.INFO: GPS data processed {"connection_id":66114,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:19:57] local.INFO: Acknowledgment sent {"connection_id":66114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:20:28] local.INFO: TCP Data received {"connection_id":66114,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b51268012d680780061ec508000b009429..."} 
[2026-05-08 23:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b51268012d680780061ec508000b009429..."} 
[2026-05-08 23:20:28] local.INFO: Processing buffer {"connection_id":66114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b51268012d680780061ec508000b009429..."} 
[2026-05-08 23:20:28] local.INFO: Packet analysis {"connection_id":66114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:20:28] local.INFO: Extracted packet for processing {"connection_id":66114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:20:28] local.INFO: GPS Element Parsed {"raw_longitude":761792384,"raw_latitude":102679816,"longitude_deg":76.1792384,"latitude_deg":10.2679816,"altitude":11,"angle":148,"satellites":41,"speed":24,"hex_longitude":"2d680780","hex_latitude":"061ec508","is_valid_coordinates":true} 
[2026-05-08 23:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235206656001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290800360027586560,"note":"Value kept but may cause issues"} 
[2026-05-08 23:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7490471369023602688,"note":"Value kept but may cause issues"} 
[2026-05-08 23:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1778262545000,"timestamp_ms":1778262545000,"timestamp_seconds":1778262545,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b51268"} 
[2026-05-08 23:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:20: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-05-08 23:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 23:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":66114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":66114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":66114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235206656001,"66":27321,"85":206,"79":20992,"24":24,"16":290800360027586560,"45":7490471369023602688},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-05-08 23:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235206656001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-05-08 23:20:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290800360027586560,"km_value":290800360027586.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7490471369023602688,"description":"Unknown IO ID 45"} 
[2026-05-08 23:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235206656001,"power":27321,"unknown_85":206,"unknown_79":20992,"ignition":24,"odometer":null,"unknown_45":7490471369023602688}} 
[2026-05-08 23:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":66114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:20:28] local.INFO: GPS data processed {"connection_id":66114,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:20:28] local.INFO: Acknowledgment sent {"connection_id":66114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:20:43] local.INFO: TCP Data received {"connection_id":65297,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:20:43] local.INFO: Processing buffer {"connection_id":65297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:20:43] local.INFO: IMEI packet received {"connection_id":65297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:20:43] local.INFO: IMEI acknowledgment sent {"connection_id":65297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:20:45] local.INFO: TCP Data received {"connection_id":65297,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:20:45] local.INFO: Processing buffer {"connection_id":65297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:20:45] local.INFO: IMEI packet received {"connection_id":65297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:20:45] local.INFO: IMEI acknowledgment sent {"connection_id":65297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:20:46] local.INFO: TCP Data received {"connection_id":65297,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b54530012d681880061ea5000009009c28..."} 
[2026-05-08 23:20:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b54530012d681880061ea5000009009c28..."} 
[2026-05-08 23:20:46] local.INFO: Processing buffer {"connection_id":65297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b54530012d681880061ea5000009009c28..."} 
[2026-05-08 23:20:46] local.INFO: Packet analysis {"connection_id":65297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:20:46] local.INFO: Extracted packet for processing {"connection_id":65297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:20:46] local.INFO: GPS Element Parsed {"raw_longitude":761796736,"raw_latitude":102671616,"longitude_deg":76.1796736,"latitude_deg":10.2671616,"altitude":9,"angle":156,"satellites":40,"speed":32,"hex_longitude":"2d681880","hex_latitude":"061ea500","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:20:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235211520001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:20:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290800810999152640,"note":"Value kept but may cause issues"} 
[2026-05-08 23:20:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7496100868555868160,"note":"Value kept but may cause issues"} 
[2026-05-08 23:20:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:20:46] local.INFO: AVL Record Parsed {"raw_timestamp":1778262558000,"timestamp_ms":1778262558000,"timestamp_seconds":1778262558,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b54530"} 
[2026-05-08 23:20:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:20:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:20:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:20:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:20:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:20:46] local.INFO: Teltonika packet parsed successfully {"connection_id":65297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:20:46] local.INFO: Passing IMEI to GPS processor {"connection_id":65297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:20:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":65297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:20:46] 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-05-08 23:20:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:20:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:20:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235211520001,"66":27223,"85":206,"79":20992,"24":32,"16":290800810999152640,"45":7496100868555868160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-05-08 23:20:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:20:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:20:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235211520001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:20:46] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-05-08 23:20:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:20:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290800810999152640,"km_value":290800810999152.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:20:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7496100868555868160,"description":"Unknown IO ID 45"} 
[2026-05-08 23:20:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235211520001,"power":27223,"unknown_85":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7496100868555868160}} 
[2026-05-08 23:20:46] local.INFO: DEBUG: GPS processor result {"connection_id":65297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:20:46] local.INFO: GPS data processed {"connection_id":65297,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:20:46] local.INFO: Acknowledgment sent {"connection_id":65297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:21:18] local.INFO: TCP Data received {"connection_id":65297,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b57410012d682640061e84400008009e29..."} 
[2026-05-08 23:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b57410012d682640061e84400008009e29..."} 
[2026-05-08 23:21:18] local.INFO: Processing buffer {"connection_id":65297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b57410012d682640061e84400008009e29..."} 
[2026-05-08 23:21:18] local.INFO: Packet analysis {"connection_id":65297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:21:18] local.INFO: Extracted packet for processing {"connection_id":65297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:21:18] local.INFO: GPS Element Parsed {"raw_longitude":761800256,"raw_latitude":102663232,"longitude_deg":76.1800256,"latitude_deg":10.2663232,"altitude":8,"angle":158,"satellites":41,"speed":28,"hex_longitude":"2d682640","hex_latitude":"061e8440","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235214848001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290801249085816832,"note":"Value kept but may cause issues"} 
[2026-05-08 23:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7500885943157850112,"note":"Value kept but may cause issues"} 
[2026-05-08 23:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1778262570000,"timestamp_ms":1778262570000,"timestamp_seconds":1778262570,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b57410"} 
[2026-05-08 23:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-05-08 23:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1511,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":65297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":65297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":65297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:21:18] 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-05-08 23:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235214848001,"66":27300,"85":206,"79":20992,"24":28,"16":290801249085816832,"45":7500885943157850112},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-05-08 23:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235214848001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:21:18] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-05-08 23:21:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290801249085816832,"km_value":290801249085816.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7500885943157850112,"description":"Unknown IO ID 45"} 
[2026-05-08 23:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235214848001,"power":27300,"unknown_85":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7500885943157850112}} 
[2026-05-08 23:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":65297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:21:18] local.INFO: GPS data processed {"connection_id":65297,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:21:18] local.INFO: Acknowledgment sent {"connection_id":65297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:21:41] local.INFO: TCP Data received {"connection_id":65335,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:41] local.INFO: Processing buffer {"connection_id":65335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:41] local.INFO: IMEI packet received {"connection_id":65335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:21:41] local.INFO: IMEI acknowledgment sent {"connection_id":65335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:21:42] local.INFO: TCP Data received {"connection_id":65335,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:42] local.INFO: Processing buffer {"connection_id":65335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:42] local.INFO: IMEI packet received {"connection_id":65335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:21:42] local.INFO: IMEI acknowledgment sent {"connection_id":65335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:21:48] local.INFO: TCP Data received {"connection_id":65335,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:48] local.INFO: Processing buffer {"connection_id":65335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:21:48] local.INFO: IMEI packet received {"connection_id":65335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:21:48] local.INFO: IMEI acknowledgment sent {"connection_id":65335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:21:49] local.INFO: TCP Data received {"connection_id":65335,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b5a2f0012d683380061e62f80008009d2a..."} 
[2026-05-08 23:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b5a2f0012d683380061e62f80008009d2a..."} 
[2026-05-08 23:21:49] local.INFO: Processing buffer {"connection_id":65335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b5a2f0012d683380061e62f80008009d2a..."} 
[2026-05-08 23:21:49] local.INFO: Packet analysis {"connection_id":65335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:21:49] local.INFO: Extracted packet for processing {"connection_id":65335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:21:49] local.INFO: GPS Element Parsed {"raw_longitude":761803648,"raw_latitude":102654712,"longitude_deg":76.1803648,"latitude_deg":10.2654712,"altitude":8,"angle":157,"satellites":42,"speed":30,"hex_longitude":"2d683380","hex_latitude":"061e62f8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235217920001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290801695762415616,"note":"Value kept but may cause issues"} 
[2026-05-08 23:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7504756224085475328,"note":"Value kept but may cause issues"} 
[2026-05-08 23:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778262582000,"timestamp_ms":1778262582000,"timestamp_seconds":1778262582,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b5a2f0"} 
[2026-05-08 23:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235217920001,"66":27267,"85":206,"79":20992,"24":30,"16":290801695762415616,"45":7504756224085475328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-05-08 23:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235217920001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:21:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-05-08 23:21:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290801695762415616,"km_value":290801695762415.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7504756224085475328,"description":"Unknown IO ID 45"} 
[2026-05-08 23:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235217920001,"power":27267,"unknown_85":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":7504756224085475328}} 
[2026-05-08 23:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":65335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:21:49] local.INFO: GPS data processed {"connection_id":65335,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:21:49] local.INFO: Acknowledgment sent {"connection_id":65335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:22:20] local.INFO: TCP Data received {"connection_id":65335,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b5d1d0012d6841c0061e40100008009c29..."} 
[2026-05-08 23:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b5d1d0012d6841c0061e40100008009c29..."} 
[2026-05-08 23:22:20] local.INFO: Processing buffer {"connection_id":65335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b5d1d0012d6841c0061e40100008009c29..."} 
[2026-05-08 23:22:20] local.INFO: Packet analysis {"connection_id":65335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:22:20] local.INFO: Extracted packet for processing {"connection_id":65335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b5"} 
[2026-05-08 23:22:20] local.INFO: GPS Element Parsed {"raw_longitude":761807296,"raw_latitude":102645776,"longitude_deg":76.1807296,"latitude_deg":10.2645776,"altitude":8,"angle":156,"satellites":41,"speed":31,"hex_longitude":"2d6841c0","hex_latitude":"061e4010","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235220992001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290802163913850880,"note":"Value kept but may cause issues"} 
[2026-05-08 23:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7508485767524710400,"note":"Value kept but may cause issues"} 
[2026-05-08 23:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778262594000,"timestamp_ms":1778262594000,"timestamp_seconds":1778262594,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b5d1d0"} 
[2026-05-08 23:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23: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-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235220992001,"66":27300,"85":206,"79":20992,"24":31,"16":290802163913850880,"45":7508485767524710400},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-05-08 23:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235220992001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:22:20] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-05-08 23:22:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290802163913850880,"km_value":290802163913850.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7508485767524710400,"description":"Unknown IO ID 45"} 
[2026-05-08 23:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235220992001,"power":27300,"unknown_85":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7508485767524710400}} 
[2026-05-08 23:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":65335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:22:20] local.INFO: GPS data processed {"connection_id":65335,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:22:20] local.INFO: Acknowledgment sent {"connection_id":65335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:22:43] local.INFO: TCP Data received {"connection_id":65337,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:43] local.INFO: Processing buffer {"connection_id":65337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:43] local.INFO: IMEI packet received {"connection_id":65337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":65337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:22:43] local.INFO: TCP Data received {"connection_id":65337,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:43] local.INFO: Processing buffer {"connection_id":65337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:43] local.INFO: IMEI packet received {"connection_id":65337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:22:43] local.INFO: IMEI acknowledgment sent {"connection_id":65337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:22:48] local.INFO: TCP Data received {"connection_id":65337,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:48] local.INFO: Processing buffer {"connection_id":65337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:22:48] local.INFO: IMEI packet received {"connection_id":65337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":65337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:22:48] local.INFO: TCP Data received {"connection_id":65337,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b60498012d6851c0061e1eb80007009b2a..."} 
[2026-05-08 23:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b60498012d6851c0061e1eb80007009b2a..."} 
[2026-05-08 23:22:48] local.INFO: Processing buffer {"connection_id":65337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b60498012d6851c0061e1eb80007009b2a..."} 
[2026-05-08 23:22:48] local.INFO: Packet analysis {"connection_id":65337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b6"} 
[2026-05-08 23:22:48] local.INFO: Extracted packet for processing {"connection_id":65337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b6"} 
[2026-05-08 23:22:48] local.INFO: GPS Element Parsed {"raw_longitude":761811392,"raw_latitude":102637240,"longitude_deg":76.1811392,"latitude_deg":10.263724,"altitude":7,"angle":155,"satellites":42,"speed":27,"hex_longitude":"2d6851c0","hex_latitude":"061e1eb8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:22:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235224064001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:22:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290802619180384256,"note":"Value kept but may cause issues"} 
[2026-05-08 23:22:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7512496785940549632,"note":"Value kept but may cause issues"} 
[2026-05-08 23:22:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:22:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778262607000,"timestamp_ms":1778262607000,"timestamp_seconds":1778262607,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b60498"} 
[2026-05-08 23:22:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:22:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:22:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:22:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:22:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:22:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:22:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:22:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:22:48] 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-05-08 23:22:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:22:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:22:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235224064001,"66":26832,"85":206,"79":20992,"24":27,"16":290802619180384256,"45":7512496785940549632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-05-08 23:22:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235224064001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:22:49] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-05-08 23:22:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290802619180384256,"km_value":290802619180384.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7512496785940549632,"description":"Unknown IO ID 45"} 
[2026-05-08 23:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235224064001,"power":26832,"unknown_85":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7512496785940549632}} 
[2026-05-08 23:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":65337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:22:49] local.INFO: GPS data processed {"connection_id":65337,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:22:49] local.INFO: Acknowledgment sent {"connection_id":65337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:23:19] local.INFO: TCP Data received {"connection_id":65337,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b7fc80012d68df40061cee68000700a327..."} 
[2026-05-08 23:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b7fc80012d68df40061cee68000700a327..."} 
[2026-05-08 23:23:19] local.INFO: Processing buffer {"connection_id":65337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b7fc80012d68df40061cee68000700a327..."} 
[2026-05-08 23:23:19] local.INFO: Packet analysis {"connection_id":65337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b7"} 
[2026-05-08 23:23:19] local.INFO: Extracted packet for processing {"connection_id":65337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b7"} 
[2026-05-08 23:23:19] local.INFO: GPS Element Parsed {"raw_longitude":761847616,"raw_latitude":102559336,"longitude_deg":76.1847616,"latitude_deg":10.2559336,"altitude":7,"angle":163,"satellites":39,"speed":38,"hex_longitude":"2d68df40","hex_latitude":"061cee68","is_valid_coordinates":true} 
[2026-05-08 23:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235257600001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290806823953367040,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7554155082473863168,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778262736000,"timestamp_ms":1778262736000,"timestamp_seconds":1778262736,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b7fc80"} 
[2026-05-08 23:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:23: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-05-08 23:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:23:19] 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-05-08 23:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235257600001,"66":27115,"86":206,"79":20992,"24":38,"16":290806823953367040,"45":7554155082473863168},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-05-08 23:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235257600001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:23:19] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-05-08 23:23:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290806823953367040,"km_value":290806823953367.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7554155082473863168,"description":"Unknown IO ID 45"} 
[2026-05-08 23:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235257600001,"power":27115,"unknown_86":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7554155082473863168}} 
[2026-05-08 23:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":65337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:23:19] local.INFO: GPS data processed {"connection_id":65337,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:23:19] local.INFO: Acknowledgment sent {"connection_id":65337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:23:45] local.INFO: TCP Data received {"connection_id":65338,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:23:45] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:23:45] local.INFO: IMEI packet received {"connection_id":65338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":65338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:23:46] local.INFO: TCP Data received {"connection_id":65338,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:23:46] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:23:46] local.INFO: IMEI packet received {"connection_id":65338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":65338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:23:47] local.INFO: TCP Data received {"connection_id":65338,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b81fa8012d68eac0061ccca80007009e29..."} 
[2026-05-08 23:23:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b81fa8012d68eac0061ccca80007009e29..."} 
[2026-05-08 23:23:47] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b81fa8012d68eac0061ccca80007009e29..."} 
[2026-05-08 23:23:47] local.INFO: Packet analysis {"connection_id":65338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:23:47] local.INFO: Extracted packet for processing {"connection_id":65338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:23:47] local.INFO: GPS Element Parsed {"raw_longitude":761850560,"raw_latitude":102550696,"longitude_deg":76.185056,"latitude_deg":10.2550696,"altitude":7,"angle":158,"satellites":41,"speed":42,"hex_longitude":"2d68eac0","hex_latitude":"061ccca8","is_valid_coordinates":true} 
[2026-05-08 23:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:23:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235260416001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290807266334998528,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7556829094750349312,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:23:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778262745000,"timestamp_ms":1778262745000,"timestamp_seconds":1778262745,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b81fa8"} 
[2026-05-08 23:23:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:23:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:23:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 23:23:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:23:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:23:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:23:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:23:47] local.INFO: Teltonika packet parsed successfully {"connection_id":65338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:23:47] local.INFO: Passing IMEI to GPS processor {"connection_id":65338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:23:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":65338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:23: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-05-08 23:23:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:23:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:23:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235260416001,"66":27376,"86":206,"79":20992,"24":42,"16":290807266334998528,"45":7556829094750349312},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-05-08 23:23:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:23:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:23:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235260416001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:23:47] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-05-08 23:23:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:23:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290807266334998528,"km_value":290807266334998.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:23:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7556829094750349312,"description":"Unknown IO ID 45"} 
[2026-05-08 23:23:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235260416001,"power":27376,"unknown_86":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7556829094750349312}} 
[2026-05-08 23:23:47] local.INFO: DEBUG: GPS processor result {"connection_id":65338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:23:47] local.INFO: GPS data processed {"connection_id":65338,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:23:47] local.INFO: Acknowledgment sent {"connection_id":65338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:23:48] local.INFO: TCP Data received {"connection_id":65338,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b846b8012d68f8c0061cac500007009a2a..."} 
[2026-05-08 23:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b846b8012d68f8c0061cac500007009a2a..."} 
[2026-05-08 23:23:48] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b846b8012d68f8c0061cac500007009a2a..."} 
[2026-05-08 23:23:48] local.INFO: Packet analysis {"connection_id":65338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:23:48] local.INFO: Extracted packet for processing {"connection_id":65338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:23:48] local.INFO: GPS Element Parsed {"raw_longitude":761854144,"raw_latitude":102542416,"longitude_deg":76.1854144,"latitude_deg":10.2542416,"altitude":7,"angle":154,"satellites":42,"speed":31,"hex_longitude":"2d68f8c0","hex_latitude":"061cac50","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235262720001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290807700126695424,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7560066056980310016,"note":"Value kept but may cause issues"} 
[2026-05-08 23:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778262755000,"timestamp_ms":1778262755000,"timestamp_seconds":1778262755,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b846b8"} 
[2026-05-08 23:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23: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-05-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 23:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:23:48] 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-05-08 23:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235262720001,"66":27267,"86":206,"79":20992,"24":31,"16":290807700126695424,"45":7560066056980310016},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-05-08 23:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235262720001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:23:48] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-05-08 23:23:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290807700126695424,"km_value":290807700126695.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7560066056980310016,"description":"Unknown IO ID 45"} 
[2026-05-08 23:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235262720001,"power":27267,"unknown_86":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7560066056980310016}} 
[2026-05-08 23:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":65338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:23:48] local.INFO: GPS data processed {"connection_id":65338,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:23:48] local.INFO: Acknowledgment sent {"connection_id":65338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:24:00] local.INFO: TCP Data received {"connection_id":65437,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:24:00] local.INFO: Processing buffer {"connection_id":65437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:24:00] local.INFO: IMEI packet received {"connection_id":65437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":65437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:24:19] local.INFO: TCP Data received {"connection_id":65338,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b871b0012d690900061c8c50000800982c..."} 
[2026-05-08 23:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b871b0012d690900061c8c50000800982c..."} 
[2026-05-08 23:24:19] local.INFO: Processing buffer {"connection_id":65338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b871b0012d690900061c8c50000800982c..."} 
[2026-05-08 23:24:19] local.INFO: Packet analysis {"connection_id":65338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:24:19] local.INFO: Extracted packet for processing {"connection_id":65338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":761858304,"raw_latitude":102534224,"longitude_deg":76.1858304,"latitude_deg":10.2534224,"altitude":8,"angle":152,"satellites":44,"speed":35,"hex_longitude":"2d690900","hex_latitude":"061c8c50","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235265280001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290808146803294208,"note":"Value kept but may cause issues"} 
[2026-05-08 23:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7564006706652139520,"note":"Value kept but may cause issues"} 
[2026-05-08 23:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778262766000,"timestamp_ms":1778262766000,"timestamp_seconds":1778262766,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b871b0"} 
[2026-05-08 23:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:24:19] 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-05-08 23:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235265280001,"66":27332,"127":206,"79":20992,"24":35,"16":290808146803294208,"45":7564006706652139520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,79,24,16,45]} 
[2026-05-08 23:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235265280001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:24:19] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-05-08 23:24:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290808146803294208,"km_value":290808146803294.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7564006706652139520,"description":"Unknown IO ID 45"} 
[2026-05-08 23:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235265280001,"power":27332,"unknown_127":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7564006706652139520}} 
[2026-05-08 23:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":65338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:24:19] local.INFO: GPS data processed {"connection_id":65338,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:24:19] local.INFO: Acknowledgment sent {"connection_id":65338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:24:40] local.INFO: TCP Data received {"connection_id":66115,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:24:40] local.INFO: Processing buffer {"connection_id":66115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:24:40] local.INFO: IMEI packet received {"connection_id":66115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:24:40] local.INFO: IMEI acknowledgment sent {"connection_id":66115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:24:43] local.INFO: TCP Data received {"connection_id":65339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:24:43] local.INFO: Processing buffer {"connection_id":65339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:24:43] local.INFO: IMEI packet received {"connection_id":65339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:24:43] local.INFO: IMEI acknowledgment sent {"connection_id":65339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:24:48] local.INFO: TCP Data received {"connection_id":65339,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:24:48] local.INFO: Processing buffer {"connection_id":65339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:24:48] local.INFO: IMEI packet received {"connection_id":65339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":65339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:24:49] local.INFO: TCP Data received {"connection_id":65339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b89ca8012d6918c0061c6d48000700982b..."} 
[2026-05-08 23:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b89ca8012d6918c0061c6d48000700982b..."} 
[2026-05-08 23:24:49] local.INFO: Processing buffer {"connection_id":65339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b89ca8012d6918c0061c6d48000700982b..."} 
[2026-05-08 23:24:49] local.INFO: Packet analysis {"connection_id":65339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:24:49] local.INFO: Extracted packet for processing {"connection_id":65339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":761862336,"raw_latitude":102526280,"longitude_deg":76.1862336,"latitude_deg":10.252628,"altitude":7,"angle":152,"satellites":43,"speed":27,"hex_longitude":"2d6918c0","hex_latitude":"061c6d48","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235268096001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290808576300023808,"note":"Value kept but may cause issues"} 
[2026-05-08 23:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7568580675021590528,"note":"Value kept but may cause issues"} 
[2026-05-08 23:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778262777000,"timestamp_ms":1778262777000,"timestamp_seconds":1778262777,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b89ca8"} 
[2026-05-08 23:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 23:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235268096001,"66":27397,"127":206,"79":20992,"24":27,"16":290808576300023808,"45":7568580675021590528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,79,24,16,45]} 
[2026-05-08 23:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235268096001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:24:49] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-05-08 23:24:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290808576300023808,"km_value":290808576300023.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7568580675021590528,"description":"Unknown IO ID 45"} 
[2026-05-08 23:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235268096001,"power":27397,"unknown_127":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7568580675021590528}} 
[2026-05-08 23:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":65339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:24:49] local.INFO: GPS data processed {"connection_id":65339,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:24:49] local.INFO: Acknowledgment sent {"connection_id":65339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:25:21] local.INFO: TCP Data received {"connection_id":65339,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b8c7a0012d692980061c4e40000600972c..."} 
[2026-05-08 23:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b8c7a0012d692980061c4e40000600972c..."} 
[2026-05-08 23:25:21] local.INFO: Processing buffer {"connection_id":65339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b8c7a0012d692980061c4e40000600972c..."} 
[2026-05-08 23:25:21] local.INFO: Packet analysis {"connection_id":65339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:25:21] local.INFO: Extracted packet for processing {"connection_id":65339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:25:21] local.INFO: GPS Element Parsed {"raw_longitude":761866624,"raw_latitude":102518336,"longitude_deg":76.1866624,"latitude_deg":10.2518336,"altitude":6,"angle":151,"satellites":44,"speed":37,"hex_longitude":"2d692980","hex_latitude":"061c4e40","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:25:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235270912001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:25:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290809010091720704,"note":"Value kept but may cause issues"} 
[2026-05-08 23:25:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7573013905902749696,"note":"Value kept but may cause issues"} 
[2026-05-08 23:25:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:25:21] local.INFO: AVL Record Parsed {"raw_timestamp":1778262788000,"timestamp_ms":1778262788000,"timestamp_seconds":1778262788,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b8c7a0"} 
[2026-05-08 23:25:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:25:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 23:25:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:25:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:25:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:25:21] local.INFO: Teltonika packet parsed successfully {"connection_id":65339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:25:21] local.INFO: Passing IMEI to GPS processor {"connection_id":65339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:25:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":65339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:25:21] 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-05-08 23:25:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:25:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:25:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235270912001,"66":27310,"127":206,"79":20992,"24":37,"16":290809010091720704,"45":7573013905902749696},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,79,24,16,45]} 
[2026-05-08 23:25:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:25:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:25:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235270912001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:25:21] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-05-08 23:25:21] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:25:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290809010091720704,"km_value":290809010091720.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:25:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":7573013905902749696,"description":"Unknown IO ID 45"} 
[2026-05-08 23:25:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235270912001,"power":27310,"unknown_127":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7573013905902749696}} 
[2026-05-08 23:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":65339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:25:21] local.INFO: GPS data processed {"connection_id":65339,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:25:21] local.INFO: Acknowledgment sent {"connection_id":65339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:25:43] local.INFO: TCP Data received {"connection_id":65438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:43] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:43] local.INFO: IMEI packet received {"connection_id":65438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":65438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:25:43] local.INFO: TCP Data received {"connection_id":65438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:43] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:43] local.INFO: IMEI packet received {"connection_id":65438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:25:43] local.INFO: IMEI acknowledgment sent {"connection_id":65438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:25:45] local.INFO: TCP Data received {"connection_id":65438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:45] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:45] local.INFO: IMEI packet received {"connection_id":65438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":65438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:25:48] local.INFO: TCP Data received {"connection_id":65438,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:48] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:25:48] local.INFO: IMEI packet received {"connection_id":65438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:25:48] local.INFO: IMEI acknowledgment sent {"connection_id":65438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:25:49] local.INFO: TCP Data received {"connection_id":65438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08b8eeb0012d693b40061c2da0000700962c..."} 
[2026-05-08 23:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08b8eeb0012d693b40061c2da0000700962c..."} 
[2026-05-08 23:25:49] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08b8eeb0012d693b40061c2da0000700962c..."} 
[2026-05-08 23:25:49] local.INFO: Packet analysis {"connection_id":65438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:25:49] local.INFO: Extracted packet for processing {"connection_id":65438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08b8"} 
[2026-05-08 23:25:49] local.INFO: GPS Element Parsed {"raw_longitude":761871168,"raw_latitude":102509984,"longitude_deg":76.1871168,"latitude_deg":10.2509984,"altitude":7,"angle":150,"satellites":44,"speed":38,"hex_longitude":"2d693b40","hex_latitude":"061c2da0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235273728001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290809469653221376,"note":"Value kept but may cause issues"} 
[2026-05-08 23:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7577728611760619520,"note":"Value kept but may cause issues"} 
[2026-05-08 23:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778262798000,"timestamp_ms":1778262798000,"timestamp_seconds":1778262798,"priority":1,"record_length":96,"hex_timestamp":"0000019e08b8eeb0"} 
[2026-05-08 23:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-05-08 23:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235273728001,"66":27332,"128":206,"79":20992,"24":38,"16":290809469653221376,"45":7577728611760619520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-05-08 23:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235273728001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:25:49] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-05-08 23:25:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290809469653221376,"km_value":290809469653221.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7577728611760619520,"description":"Unknown IO ID 45"} 
[2026-05-08 23:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235273728001,"power":27332,"unknown_128":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7577728611760619520}} 
[2026-05-08 23:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":65438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:25:49] local.INFO: GPS data processed {"connection_id":65438,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:25:49] local.INFO: Acknowledgment sent {"connection_id":65438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:26:20] local.INFO: TCP Data received {"connection_id":65438,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bb05d8012d69d180061afe38000700a126..."} 
[2026-05-08 23:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bb05d8012d69d180061afe38000700a126..."} 
[2026-05-08 23:26:20] local.INFO: Processing buffer {"connection_id":65438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bb05d8012d69d180061afe38000700a126..."} 
[2026-05-08 23:26:20] local.INFO: Packet analysis {"connection_id":65438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bb"} 
[2026-05-08 23:26:20] local.INFO: Extracted packet for processing {"connection_id":65438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bb"} 
[2026-05-08 23:26:20] local.INFO: GPS Element Parsed {"raw_longitude":761909632,"raw_latitude":102432312,"longitude_deg":76.1909632,"latitude_deg":10.2432312,"altitude":7,"angle":161,"satellites":38,"speed":6,"hex_longitude":"2d69d180","hex_latitude":"061afe38","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235308800001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290813670131236864,"note":"Value kept but may cause issues"} 
[2026-05-08 23:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7623679401687179264,"note":"Value kept but may cause issues"} 
[2026-05-08 23:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778262935000,"timestamp_ms":1778262935000,"timestamp_seconds":1778262935,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bb05d8"} 
[2026-05-08 23:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:26:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235308800001,"66":27321,"126":206,"79":20992,"24":6,"16":290813670131236864,"45":7623679401687179264},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-05-08 23:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235308800001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:26:20] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-05-08 23:26:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290813670131236864,"km_value":290813670131236.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7623679401687179264,"description":"Unknown IO ID 45"} 
[2026-05-08 23:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235308800001,"power":27321,"unknown_126":206,"unknown_79":20992,"ignition":6,"odometer":null,"unknown_45":7623679401687179264}} 
[2026-05-08 23:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":65438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:26:20] local.INFO: GPS data processed {"connection_id":65438,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:26:20] local.INFO: Acknowledgment sent {"connection_id":65438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:26:42] local.INFO: TCP Data received {"connection_id":65301,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:26:42] local.INFO: Processing buffer {"connection_id":65301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:26:42] local.INFO: IMEI packet received {"connection_id":65301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":65301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:26:48] local.INFO: TCP Data received {"connection_id":65301,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:26:48] local.INFO: Processing buffer {"connection_id":65301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:26:48] local.INFO: IMEI packet received {"connection_id":65301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":65301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:26:49] local.INFO: TCP Data received {"connection_id":65301,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bb09c0012d69d1c0061afd980007009126..."} 
[2026-05-08 23:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bb09c0012d69d1c0061afd980007009126..."} 
[2026-05-08 23:26:49] local.INFO: Processing buffer {"connection_id":65301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bb09c0012d69d1c0061afd980007009126..."} 
[2026-05-08 23:26:49] local.INFO: Packet analysis {"connection_id":65301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bb"} 
[2026-05-08 23:26:49] local.INFO: Extracted packet for processing {"connection_id":65301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bb"} 
[2026-05-08 23:26:49] local.INFO: GPS Element Parsed {"raw_longitude":761909696,"raw_latitude":102432152,"longitude_deg":76.1909696,"latitude_deg":10.2432152,"altitude":7,"angle":145,"satellites":38,"speed":7,"hex_longitude":"2d69d1c0","hex_latitude":"061afd98","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235311360001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290813678721171456,"note":"Value kept but may cause issues"} 
[2026-05-08 23:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7625016407825987584,"note":"Value kept but may cause issues"} 
[2026-05-08 23:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778262936000,"timestamp_ms":1778262936000,"timestamp_seconds":1778262936,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bb09c0"} 
[2026-05-08 23:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:26: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-05-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235311360001,"66":27332,"126":206,"79":20992,"24":7,"16":290813678721171456,"45":7625016407825987584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-05-08 23:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235311360001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:26:49] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-05-08 23:26:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290813678721171456,"km_value":290813678721171.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7625016407825987584,"description":"Unknown IO ID 45"} 
[2026-05-08 23:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235311360001,"power":27332,"unknown_126":206,"unknown_79":20992,"ignition":7,"odometer":null,"unknown_45":7625016407825987584}} 
[2026-05-08 23:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":65301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:26:49] local.INFO: GPS data processed {"connection_id":65301,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:26:49] local.INFO: Acknowledgment sent {"connection_id":65301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:27:20] local.INFO: TCP Data received {"connection_id":65301,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bb1190012d69d2c0061afc280008009d26..."} 
[2026-05-08 23:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bb1190012d69d2c0061afc280008009d26..."} 
[2026-05-08 23:27:20] local.INFO: Processing buffer {"connection_id":65301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bb1190012d69d2c0061afc280008009d26..."} 
[2026-05-08 23:27:20] local.INFO: Packet analysis {"connection_id":65301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bb"} 
[2026-05-08 23:27:20] local.INFO: Extracted packet for processing {"connection_id":65301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bb"} 
[2026-05-08 23:27:20] local.INFO: GPS Element Parsed {"raw_longitude":761909952,"raw_latitude":102431784,"longitude_deg":76.1909952,"latitude_deg":10.2431784,"altitude":8,"angle":157,"satellites":38,"speed":8,"hex_longitude":"2d69d2c0","hex_latitude":"061afc28","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235311616001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290813700196007936,"note":"Value kept but may cause issues"} 
[2026-05-08 23:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7625086776570124288,"note":"Value kept but may cause issues"} 
[2026-05-08 23:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778262938000,"timestamp_ms":1778262938000,"timestamp_seconds":1778262938,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bb1190"} 
[2026-05-08 23:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 23:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235311616001,"66":27310,"126":206,"79":20992,"24":8,"16":290813700196007936,"45":7625086776570124288},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-05-08 23:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235311616001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:27:20] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-05-08 23:27:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290813700196007936,"km_value":290813700196007.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7625086776570124288,"description":"Unknown IO ID 45"} 
[2026-05-08 23:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235311616001,"power":27310,"unknown_126":206,"unknown_79":20992,"ignition":8,"odometer":null,"unknown_45":7625086776570124288}} 
[2026-05-08 23:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":65301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:27:20] local.INFO: GPS data processed {"connection_id":65301,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:27:20] local.INFO: Acknowledgment sent {"connection_id":65301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:28:18] local.INFO: TCP Data received {"connection_id":65302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:18] local.INFO: Processing buffer {"connection_id":65302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:18] local.INFO: IMEI packet received {"connection_id":65302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":65302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:28:19] local.INFO: TCP Data received {"connection_id":65302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:19] local.INFO: Processing buffer {"connection_id":65302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:19] local.INFO: IMEI packet received {"connection_id":65302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":65302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:28:24] local.INFO: TCP Data received {"connection_id":65302,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:24] local.INFO: Processing buffer {"connection_id":65302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:24] local.INFO: IMEI packet received {"connection_id":65302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":65302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:28:25] local.INFO: TCP Data received {"connection_id":65302,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bc9448012d6a2d40061a3350000c00a129..."} 
[2026-05-08 23:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bc9448012d6a2d40061a3350000c00a129..."} 
[2026-05-08 23:28:25] local.INFO: Processing buffer {"connection_id":65302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bc9448012d6a2d40061a3350000c00a129..."} 
[2026-05-08 23:28:25] local.INFO: Packet analysis {"connection_id":65302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bc"} 
[2026-05-08 23:28:25] local.INFO: Extracted packet for processing {"connection_id":65302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bc"} 
[2026-05-08 23:28:25] local.INFO: GPS Element Parsed {"raw_longitude":761933120,"raw_latitude":102380368,"longitude_deg":76.193312,"latitude_deg":10.2380368,"altitude":12,"angle":161,"satellites":41,"speed":23,"hex_longitude":"2d6a2d40","hex_latitude":"061a3350","is_valid_coordinates":true} 
[2026-05-08 23:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235332096001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290816444680110080,"note":"Value kept but may cause issues"} 
[2026-05-08 23:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7647534405951404032,"note":"Value kept but may cause issues"} 
[2026-05-08 23:28:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778263037000,"timestamp_ms":1778263037000,"timestamp_seconds":1778263037,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bc9448"} 
[2026-05-08 23:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:28:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:28:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":65302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":65302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":65302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235332096001,"66":27267,"126":206,"79":20992,"24":23,"16":290816444680110080,"45":7647534405951404032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-05-08 23:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235332096001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:28:25] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-05-08 23:28:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290816444680110080,"km_value":290816444680110.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7647534405951404032,"description":"Unknown IO ID 45"} 
[2026-05-08 23:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235332096001,"power":27267,"unknown_126":206,"unknown_79":20992,"ignition":23,"odometer":null,"unknown_45":7647534405951404032}} 
[2026-05-08 23:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":65302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:28:25] local.INFO: GPS data processed {"connection_id":65302,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:28:25] local.INFO: Acknowledgment sent {"connection_id":65302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:28:51] local.INFO: TCP Data received {"connection_id":66116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:51] local.INFO: Processing buffer {"connection_id":66116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:51] local.INFO: IMEI packet received {"connection_id":66116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":66116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:28:52] local.INFO: TCP Data received {"connection_id":66116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:52] local.INFO: Processing buffer {"connection_id":66116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:52] local.INFO: IMEI packet received {"connection_id":66116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":66116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:28:58] local.INFO: TCP Data received {"connection_id":66116,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:58] local.INFO: Processing buffer {"connection_id":66116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:28:58] local.INFO: IMEI packet received {"connection_id":66116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:28:58] local.INFO: IMEI acknowledgment sent {"connection_id":66116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:29:00] local.INFO: TCP Data received {"connection_id":66116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bcc710012d6a3980061a1068000a00a329..."} 
[2026-05-08 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bcc710012d6a3980061a1068000a00a329..."} 
[2026-05-08 23:29:00] local.INFO: Processing buffer {"connection_id":66116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bcc710012d6a3980061a1068000a00a329..."} 
[2026-05-08 23:29:00] local.INFO: Packet analysis {"connection_id":66116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bc"} 
[2026-05-08 23:29:00] local.INFO: Extracted packet for processing {"connection_id":66116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bc"} 
[2026-05-08 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":761936256,"raw_latitude":102371432,"longitude_deg":76.1936256,"latitude_deg":10.2371432,"altitude":10,"angle":163,"satellites":41,"speed":31,"hex_longitude":"2d6a3980","hex_latitude":"061a1068","is_valid_coordinates":true} 
[2026-05-08 23:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235337472001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290816899946643456,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7650841736925892608,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1778263050000,"timestamp_ms":1778263050000,"timestamp_seconds":1778263050,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bcc710"} 
[2026-05-08 23:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:29: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-05-08 23:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:29:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":66116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":66116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":66116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235337472001,"66":27234,"126":206,"79":20992,"24":31,"16":290816899946643456,"45":7650841736925892608},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-05-08 23:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235337472001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:29:00] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-05-08 23:29:00] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290816899946643456,"km_value":290816899946643.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7650841736925892608,"description":"Unknown IO ID 45"} 
[2026-05-08 23:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235337472001,"power":27234,"unknown_126":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7650841736925892608}} 
[2026-05-08 23:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":66116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:29:00] local.INFO: GPS data processed {"connection_id":66116,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:29:00] local.INFO: Acknowledgment sent {"connection_id":66116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:29:03] local.INFO: TCP Data received {"connection_id":66116,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bcf208012d6a45400619ec68000700a127..."} 
[2026-05-08 23:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bcf208012d6a45400619ec68000700a127..."} 
[2026-05-08 23:29:03] local.INFO: Processing buffer {"connection_id":66116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bcf208012d6a45400619ec68000700a127..."} 
[2026-05-08 23:29:03] local.INFO: Packet analysis {"connection_id":66116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bc"} 
[2026-05-08 23:29:03] local.INFO: Extracted packet for processing {"connection_id":66116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bc"} 
[2026-05-08 23:29:03] local.INFO: GPS Element Parsed {"raw_longitude":761939264,"raw_latitude":102362216,"longitude_deg":76.1939264,"latitude_deg":10.2362216,"altitude":7,"angle":161,"satellites":39,"speed":38,"hex_longitude":"2d6a4540","hex_latitude":"0619ec68","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235340800001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290817372393046016,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7654289805388310528,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1778263061000,"timestamp_ms":1778263061000,"timestamp_seconds":1778263061,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bcf208"} 
[2026-05-08 23:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":66116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":66116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":66116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235340800001,"66":27267,"126":206,"79":20992,"24":38,"16":290817372393046016,"45":7654289805388310528},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-05-08 23:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235340800001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:29:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-05-08 23:29:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290817372393046016,"km_value":290817372393046.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7654289805388310528,"description":"Unknown IO ID 45"} 
[2026-05-08 23:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235340800001,"power":27267,"unknown_126":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7654289805388310528}} 
[2026-05-08 23:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":66116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:29:03] local.INFO: GPS data processed {"connection_id":66116,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:29:03] local.INFO: Acknowledgment sent {"connection_id":66116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:29:43] local.INFO: TCP Data received {"connection_id":65440,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:29:43] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:29:43] local.INFO: IMEI packet received {"connection_id":65440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":65440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:29:44] local.INFO: TCP Data received {"connection_id":65440,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:29:44] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:29:44] local.INFO: IMEI packet received {"connection_id":65440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":65440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:29:45] local.INFO: TCP Data received {"connection_id":65440,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bd1918012d6a51400619c8c80009009f25..."} 
[2026-05-08 23:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bd1918012d6a51400619c8c80009009f25..."} 
[2026-05-08 23:29:45] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bd1918012d6a51400619c8c80009009f25..."} 
[2026-05-08 23:29:45] local.INFO: Packet analysis {"connection_id":65440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bd"} 
[2026-05-08 23:29:45] local.INFO: Extracted packet for processing {"connection_id":65440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bd"} 
[2026-05-08 23:29:45] local.INFO: GPS Element Parsed {"raw_longitude":761942336,"raw_latitude":102353096,"longitude_deg":76.1942336,"latitude_deg":10.2353096,"altitude":9,"angle":159,"satellites":37,"speed":39,"hex_longitude":"2d6a5140","hex_latitude":"0619c8c8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235343616001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290817836249513984,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7657597136362301440,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1778263071000,"timestamp_ms":1778263071000,"timestamp_seconds":1778263071,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bd1918"} 
[2026-05-08 23:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:29: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-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":65440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:29:45] 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-05-08 23:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235343616001,"66":27365,"126":206,"79":20992,"24":39,"16":290817836249513984,"45":7657597136362301440},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-05-08 23:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235343616001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:29:45] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-05-08 23:29:45] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290817836249513984,"km_value":290817836249514.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:29:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":7657597136362301440,"description":"Unknown IO ID 45"} 
[2026-05-08 23:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235343616001,"power":27365,"unknown_126":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7657597136362301440}} 
[2026-05-08 23:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":65440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:29:45] local.INFO: GPS data processed {"connection_id":65440,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:29:45] local.INFO: Acknowledgment sent {"connection_id":65440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:29:50] local.INFO: TCP Data received {"connection_id":65440,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bd3c40012d6a5c000619a760000800a328..."} 
[2026-05-08 23:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bd3c40012d6a5c000619a760000800a328..."} 
[2026-05-08 23:29:50] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bd3c40012d6a5c000619a760000800a328..."} 
[2026-05-08 23:29:50] local.INFO: Packet analysis {"connection_id":65440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bd"} 
[2026-05-08 23:29:50] local.INFO: Extracted packet for processing {"connection_id":65440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bd"} 
[2026-05-08 23:29:50] local.INFO: GPS Element Parsed {"raw_longitude":761945088,"raw_latitude":102344544,"longitude_deg":76.1945088,"latitude_deg":10.2344544,"altitude":8,"angle":163,"satellites":40,"speed":40,"hex_longitude":"2d6a5c00","hex_latitude":"0619a760","is_valid_coordinates":true} 
[2026-05-08 23:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:29:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235346176001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290818274336178176,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7660974836080494592,"note":"Value kept but may cause issues"} 
[2026-05-08 23:29:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:29:50] local.INFO: AVL Record Parsed {"raw_timestamp":1778263080000,"timestamp_ms":1778263080000,"timestamp_seconds":1778263080,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bd3c40"} 
[2026-05-08 23:29:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:29: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-05-08 23:29:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:29:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:29: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-05-08 23:29:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:29:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:29:50] local.INFO: Teltonika packet parsed successfully {"connection_id":65440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:29:50] local.INFO: Passing IMEI to GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:29:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:29:50] 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-05-08 23:29:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:29:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:29:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235346176001,"66":27300,"181":206,"79":20992,"24":40,"16":290818274336178176,"45":7660974836080494592},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-05-08 23:29:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:29:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:29:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235346176001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:29:50] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-05-08 23:29:50] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:29:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290818274336178176,"km_value":290818274336178.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:29:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":7660974836080494592,"description":"Unknown IO ID 45"} 
[2026-05-08 23:29:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235346176001,"power":27300,"unknown_181":206,"unknown_79":20992,"ignition":40,"odometer":null,"unknown_45":7660974836080494592}} 
[2026-05-08 23:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":65440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:29:50] local.INFO: GPS data processed {"connection_id":65440,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:29:50] local.INFO: Acknowledgment sent {"connection_id":65440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:29:55] local.INFO: TCP Data received {"connection_id":65342,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:29:55] local.INFO: Processing buffer {"connection_id":65342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:29:55] local.INFO: IMEI packet received {"connection_id":65342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":65342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:30:22] local.INFO: TCP Data received {"connection_id":65440,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bd6f08012d6a67c0061985a80005009d28..."} 
[2026-05-08 23:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bd6f08012d6a67c0061985a80005009d28..."} 
[2026-05-08 23:30:22] local.INFO: Processing buffer {"connection_id":65440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bd6f08012d6a67c0061985a80005009d28..."} 
[2026-05-08 23:30:22] local.INFO: Packet analysis {"connection_id":65440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bd"} 
[2026-05-08 23:30:22] local.INFO: Extracted packet for processing {"connection_id":65440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bd"} 
[2026-05-08 23:30:22] local.INFO: GPS Element Parsed {"raw_longitude":761948096,"raw_latitude":102335912,"longitude_deg":76.1948096,"latitude_deg":10.2335912,"altitude":5,"angle":157,"satellites":40,"speed":24,"hex_longitude":"2d6a67c0","hex_latitude":"061985a8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235348480001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290818716717809664,"note":"Value kept but may cause issues"} 
[2026-05-08 23:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7664000692077944832,"note":"Value kept but may cause issues"} 
[2026-05-08 23:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1778263093000,"timestamp_ms":1778263093000,"timestamp_seconds":1778263093,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bd6f08"} 
[2026-05-08 23:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:30:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":65440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":65440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:30:22] 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-05-08 23:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235348480001,"66":27213,"181":206,"79":20992,"24":24,"16":290818716717809664,"45":7664000692077944832},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-05-08 23:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235348480001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:30:22] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-05-08 23:30:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290818716717809664,"km_value":290818716717809.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":7664000692077944832,"description":"Unknown IO ID 45"} 
[2026-05-08 23:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235348480001,"power":27213,"unknown_181":206,"unknown_79":20992,"ignition":24,"odometer":null,"unknown_45":7664000692077944832}} 
[2026-05-08 23:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":65440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:30:22] local.INFO: GPS data processed {"connection_id":65440,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:30:22] local.INFO: Acknowledgment sent {"connection_id":65440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:30:40] local.INFO: TCP Data received {"connection_id":65303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:40] local.INFO: Processing buffer {"connection_id":65303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:40] local.INFO: IMEI packet received {"connection_id":65303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":65303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:30:40] local.INFO: TCP Data received {"connection_id":65304,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:30:40] local.INFO: Processing buffer {"connection_id":65304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:30:40] local.INFO: IMEI packet received {"connection_id":65304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:30:40] local.INFO: IMEI acknowledgment sent {"connection_id":65304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:30:41] local.INFO: TCP Data received {"connection_id":65303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:41] local.INFO: Processing buffer {"connection_id":65303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:41] local.INFO: IMEI packet received {"connection_id":65303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:30:41] local.INFO: IMEI acknowledgment sent {"connection_id":65303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:30:42] local.INFO: TCP Data received {"connection_id":65303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:42] local.INFO: Processing buffer {"connection_id":65303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:42] local.INFO: IMEI packet received {"connection_id":65303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":65303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:30:45] local.INFO: TCP Data received {"connection_id":65303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:45] local.INFO: Processing buffer {"connection_id":65303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:30:45] local.INFO: IMEI packet received {"connection_id":65303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:30:45] local.INFO: IMEI acknowledgment sent {"connection_id":65303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:30:46] local.INFO: TCP Data received {"connection_id":65303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bda5b8012d6a7640061965e8000c009d25..."} 
[2026-05-08 23:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bda5b8012d6a7640061965e8000c009d25..."} 
[2026-05-08 23:30:46] local.INFO: Processing buffer {"connection_id":65303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bda5b8012d6a7640061965e8000c009d25..."} 
[2026-05-08 23:30:46] local.INFO: Packet analysis {"connection_id":65303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bd"} 
[2026-05-08 23:30:46] local.INFO: Extracted packet for processing {"connection_id":65303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bd"} 
[2026-05-08 23:30:46] local.INFO: GPS Element Parsed {"raw_longitude":761951808,"raw_latitude":102327784,"longitude_deg":76.1951808,"latitude_deg":10.2327784,"altitude":12,"angle":157,"satellites":37,"speed":21,"hex_longitude":"2d6a7640","hex_latitude":"061965e8","is_valid_coordinates":true} 
[2026-05-08 23:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235351808001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290819150509506560,"note":"Value kept but may cause issues"} 
[2026-05-08 23:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7667308023052085248,"note":"Value kept but may cause issues"} 
[2026-05-08 23:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,181,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1778263107000,"timestamp_ms":1778263107000,"timestamp_seconds":1778263107,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bda5b8"} 
[2026-05-08 23:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 23:30:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":65303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":65303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":65303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:30:46] 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-05-08 23:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235351808001,"66":27332,"181":206,"79":20992,"24":21,"16":290819150509506560,"45":7667308023052085248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,181,79,24,16,45]} 
[2026-05-08 23:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235351808001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:30:46] local.INFO: Unknown IO ID detected {"io_id":181,"value":206,"description":"Unknown IO ID 181"} 
[2026-05-08 23:30:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290819150509506560,"km_value":290819150509506.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7667308023052085248,"description":"Unknown IO ID 45"} 
[2026-05-08 23:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235351808001,"power":27332,"unknown_181":206,"unknown_79":20992,"ignition":21,"odometer":null,"unknown_45":7667308023052085248}} 
[2026-05-08 23:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":65303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:30:46] local.INFO: GPS data processed {"connection_id":65303,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:30:46] local.INFO: Acknowledgment sent {"connection_id":65303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:31:16] local.INFO: TCP Data received {"connection_id":65303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bf4b98012d6a9340061863d0000900b02c..."} 
[2026-05-08 23:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bf4b98012d6a9340061863d0000900b02c..."} 
[2026-05-08 23:31:16] local.INFO: Processing buffer {"connection_id":65303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bf4b98012d6a9340061863d0000900b02c..."} 
[2026-05-08 23:31:16] local.INFO: Packet analysis {"connection_id":65303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bf"} 
[2026-05-08 23:31:16] local.INFO: Extracted packet for processing {"connection_id":65303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bf"} 
[2026-05-08 23:31:16] local.INFO: GPS Element Parsed {"raw_longitude":761959232,"raw_latitude":102261712,"longitude_deg":76.1959232,"latitude_deg":10.2261712,"altitude":9,"angle":176,"satellites":44,"speed":12,"hex_longitude":"2d6a9340","hex_latitude":"061863d0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235382528001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290822397504782336,"note":"Value kept but may cause issues"} 
[2026-05-08 23:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679622553264306176,"note":"Value kept but may cause issues"} 
[2026-05-08 23:31:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1778263215000,"timestamp_ms":1778263215000,"timestamp_seconds":1778263215,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bf4b98"} 
[2026-05-08 23:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:31:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":65303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":65303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":65303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235382528001,"66":27234,"229":206,"79":20992,"24":12,"16":290822397504782336,"45":7679622553264306176},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235382528001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:31:16] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:31:16] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290822397504782336,"km_value":290822397504782.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679622553264306176,"description":"Unknown IO ID 45"} 
[2026-05-08 23:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235382528001,"power":27234,"unknown_229":206,"unknown_79":20992,"ignition":12,"odometer":null,"unknown_45":7679622553264306176}} 
[2026-05-08 23:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":65303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:31:16] local.INFO: GPS data processed {"connection_id":65303,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:31:16] local.INFO: Acknowledgment sent {"connection_id":65303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:31:40] local.INFO: TCP Data received {"connection_id":65305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:40] local.INFO: Processing buffer {"connection_id":65305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:40] local.INFO: IMEI packet received {"connection_id":65305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:31:40] local.INFO: IMEI acknowledgment sent {"connection_id":65305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:31:42] local.INFO: TCP Data received {"connection_id":65305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:42] local.INFO: Processing buffer {"connection_id":65305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:42] local.INFO: IMEI packet received {"connection_id":65305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":65305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:31:48] local.INFO: TCP Data received {"connection_id":65305,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:48] local.INFO: Processing buffer {"connection_id":65305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:31:48] local.INFO: IMEI packet received {"connection_id":65305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:31:48] local.INFO: IMEI acknowledgment sent {"connection_id":65305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:31:49] local.INFO: TCP Data received {"connection_id":65305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bf5368012d6a938006186110000a00a52b..."} 
[2026-05-08 23:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bf5368012d6a938006186110000a00a52b..."} 
[2026-05-08 23:31:49] local.INFO: Processing buffer {"connection_id":65305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bf5368012d6a938006186110000a00a52b..."} 
[2026-05-08 23:31:49] local.INFO: Packet analysis {"connection_id":65305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bf"} 
[2026-05-08 23:31:49] local.INFO: Extracted packet for processing {"connection_id":65305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bf"} 
[2026-05-08 23:31:49] local.INFO: GPS Element Parsed {"raw_longitude":761959296,"raw_latitude":102261008,"longitude_deg":76.1959296,"latitude_deg":10.2261008,"altitude":10,"angle":165,"satellites":43,"speed":15,"hex_longitude":"2d6a9380","hex_latitude":"06186110","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235383040001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290822431864520704,"note":"Value kept but may cause issues"} 
[2026-05-08 23:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679552184520003584,"note":"Value kept but may cause issues"} 
[2026-05-08 23:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778263217000,"timestamp_ms":1778263217000,"timestamp_seconds":1778263217,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bf5368"} 
[2026-05-08 23:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235383040001,"66":27376,"229":206,"79":20992,"24":15,"16":290822431864520704,"45":7679552184520003584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235383040001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:31:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:31:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290822431864520704,"km_value":290822431864520.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679552184520003584,"description":"Unknown IO ID 45"} 
[2026-05-08 23:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235383040001,"power":27376,"unknown_229":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7679552184520003584}} 
[2026-05-08 23:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":65305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:31:49] local.INFO: GPS data processed {"connection_id":65305,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:31:49] local.INFO: Acknowledgment sent {"connection_id":65305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:32:20] local.INFO: TCP Data received {"connection_id":65305,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bf8248012d6a9580061854a8000b00b02d..."} 
[2026-05-08 23:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bf8248012d6a9580061854a8000b00b02d..."} 
[2026-05-08 23:32:20] local.INFO: Processing buffer {"connection_id":65305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bf8248012d6a9580061854a8000b00b02d..."} 
[2026-05-08 23:32:20] local.INFO: Packet analysis {"connection_id":65305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bf"} 
[2026-05-08 23:32:20] local.INFO: Extracted packet for processing {"connection_id":65305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bf"} 
[2026-05-08 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":761959808,"raw_latitude":102257832,"longitude_deg":76.1959808,"latitude_deg":10.2257832,"altitude":11,"angle":176,"satellites":45,"speed":7,"hex_longitude":"2d6a9580","hex_latitude":"061854a8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235383552001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290822586483343360,"note":"Value kept but may cause issues"} 
[2026-05-08 23:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679622553264001024,"note":"Value kept but may cause issues"} 
[2026-05-08 23:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778263229000,"timestamp_ms":1778263229000,"timestamp_seconds":1778263229,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bf8248"} 
[2026-05-08 23:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 23:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235383552001,"66":27245,"229":206,"79":20992,"24":7,"16":290822586483343360,"45":7679622553264001024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235383552001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:32:20] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:32:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290822586483343360,"km_value":290822586483343.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679622553264001024,"description":"Unknown IO ID 45"} 
[2026-05-08 23:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235383552001,"power":27245,"unknown_229":206,"unknown_79":20992,"ignition":7,"odometer":null,"unknown_45":7679622553264001024}} 
[2026-05-08 23:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":65305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:32:20] local.INFO: GPS data processed {"connection_id":65305,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:32:20] local.INFO: Acknowledgment sent {"connection_id":65305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:32:42] local.INFO: TCP Data received {"connection_id":65442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:32:42] local.INFO: Processing buffer {"connection_id":65442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:32:42] local.INFO: IMEI packet received {"connection_id":65442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:32:42] local.INFO: IMEI acknowledgment sent {"connection_id":65442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:32:48] local.INFO: TCP Data received {"connection_id":65442,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:32:48] local.INFO: Processing buffer {"connection_id":65442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:32:48] local.INFO: IMEI packet received {"connection_id":65442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":65442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:32:49] local.INFO: TCP Data received {"connection_id":65442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08bfc4b0012d6a958006183180000a00b32d..."} 
[2026-05-08 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08bfc4b0012d6a958006183180000a00b32d..."} 
[2026-05-08 23:32:49] local.INFO: Processing buffer {"connection_id":65442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08bfc4b0012d6a958006183180000a00b32d..."} 
[2026-05-08 23:32:49] local.INFO: Packet analysis {"connection_id":65442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08bf"} 
[2026-05-08 23:32:49] local.INFO: Extracted packet for processing {"connection_id":65442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08bf"} 
[2026-05-08 23:32:49] local.INFO: GPS Element Parsed {"raw_longitude":761959808,"raw_latitude":102248832,"longitude_deg":76.1959808,"latitude_deg":10.2248832,"altitude":10,"angle":179,"satellites":45,"speed":31,"hex_longitude":"2d6a9580","hex_latitude":"06183180","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235386624001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290823024570007552,"note":"Value kept but may cause issues"} 
[2026-05-08 23:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7680185503216609280,"note":"Value kept but may cause issues"} 
[2026-05-08 23:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778263246000,"timestamp_ms":1778263246000,"timestamp_seconds":1778263246,"priority":1,"record_length":96,"hex_timestamp":"0000019e08bfc4b0"} 
[2026-05-08 23:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:32: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-05-08 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 23:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235386624001,"66":27321,"229":206,"79":20992,"24":31,"16":290823024570007552,"45":7680185503216609280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-05-08 23:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235386624001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:32:49] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-05-08 23:32:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290823024570007552,"km_value":290823024570007.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7680185503216609280,"description":"Unknown IO ID 45"} 
[2026-05-08 23:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235386624001,"power":27321,"unknown_229":206,"unknown_79":20992,"ignition":31,"odometer":null,"unknown_45":7680185503216609280}} 
[2026-05-08 23:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":65442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:32:49] local.INFO: GPS data processed {"connection_id":65442,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:32:49] local.INFO: Acknowledgment sent {"connection_id":65442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:33:20] local.INFO: TCP Data received {"connection_id":65442,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c00330012d6a94c006180d10000b00b32d..."} 
[2026-05-08 23:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c00330012d6a94c006180d10000b00b32d..."} 
[2026-05-08 23:33:20] local.INFO: Processing buffer {"connection_id":65442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c00330012d6a94c006180d10000b00b32d..."} 
[2026-05-08 23:33:20] local.INFO: Packet analysis {"connection_id":65442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c0"} 
[2026-05-08 23:33:20] local.INFO: Extracted packet for processing {"connection_id":65442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c0"} 
[2026-05-08 23:33:20] local.INFO: GPS Element Parsed {"raw_longitude":761959616,"raw_latitude":102239504,"longitude_deg":76.1959616,"latitude_deg":10.2239504,"altitude":11,"angle":179,"satellites":45,"speed":22,"hex_longitude":"2d6a94c0","hex_latitude":"06180d10","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235390976001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290823479836540928,"note":"Value kept but may cause issues"} 
[2026-05-08 23:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7680185503214305280,"note":"Value kept but may cause issues"} 
[2026-05-08 23:33:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778263262000,"timestamp_ms":1778263262000,"timestamp_seconds":1778263262,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c00330"} 
[2026-05-08 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-05-08 23:33:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235390976001,"66":27332,"93":206,"79":20992,"24":22,"16":290823479836540928,"45":7680185503214305280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,79,24,16,45]} 
[2026-05-08 23:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235390976001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:33:20] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-05-08 23:33:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290823479836540928,"km_value":290823479836540.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7680185503214305280,"description":"Unknown IO ID 45"} 
[2026-05-08 23:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235390976001,"power":27332,"unknown_93":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7680185503214305280}} 
[2026-05-08 23:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":65442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:33:20] local.INFO: GPS data processed {"connection_id":65442,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:33:20] local.INFO: Acknowledgment sent {"connection_id":65442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:33:42] local.INFO: TCP Data received {"connection_id":65307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:42] local.INFO: Processing buffer {"connection_id":65307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:42] local.INFO: IMEI packet received {"connection_id":65307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":65307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:33:45] local.INFO: TCP Data received {"connection_id":65307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:45] local.INFO: Processing buffer {"connection_id":65307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:45] local.INFO: IMEI packet received {"connection_id":65307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":65307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:33:48] local.INFO: TCP Data received {"connection_id":65307,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:48] local.INFO: Processing buffer {"connection_id":65307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:33:48] local.INFO: IMEI packet received {"connection_id":65307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":65307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:33:49] local.INFO: TCP Data received {"connection_id":65307,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c19d58012d6ae0c006168370000e00a02f..."} 
[2026-05-08 23:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c19d58012d6ae0c006168370000e00a02f..."} 
[2026-05-08 23:33:49] local.INFO: Processing buffer {"connection_id":65307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c19d58012d6ae0c006168370000e00a02f..."} 
[2026-05-08 23:33:49] local.INFO: Packet analysis {"connection_id":65307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c1"} 
[2026-05-08 23:33:49] local.INFO: Extracted packet for processing {"connection_id":65307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c1"} 
[2026-05-08 23:33:49] local.INFO: GPS Element Parsed {"raw_longitude":761979072,"raw_latitude":102138736,"longitude_deg":76.1979072,"latitude_deg":10.2138736,"altitude":14,"angle":160,"satellites":47,"speed":36,"hex_longitude":"2d6ae0c0","hex_latitude":"06168370","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235419392001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290828504948277248,"note":"Value kept but may cause issues"} 
[2026-05-08 23:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7697988795465308160,"note":"Value kept but may cause issues"} 
[2026-05-08 23:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778263367000,"timestamp_ms":1778263367000,"timestamp_seconds":1778263367,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c19d58"} 
[2026-05-08 23:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23: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-05-08 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-05-08 23:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235419392001,"66":27245,"236":206,"79":20992,"24":36,"16":290828504948277248,"45":7697988795465308160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-05-08 23:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235419392001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:33:49] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-05-08 23:33:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290828504948277248,"km_value":290828504948277.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7697988795465308160,"description":"Unknown IO ID 45"} 
[2026-05-08 23:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235419392001,"power":27245,"unknown_236":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7697988795465308160}} 
[2026-05-08 23:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":65307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:33:49] local.INFO: GPS data processed {"connection_id":65307,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:33:49] local.INFO: Acknowledgment sent {"connection_id":65307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:34:20] local.INFO: TCP Data received {"connection_id":65307,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c1c468012d6aed0006166050000f00a12f..."} 
[2026-05-08 23:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c1c468012d6aed0006166050000f00a12f..."} 
[2026-05-08 23:34:20] local.INFO: Processing buffer {"connection_id":65307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c1c468012d6aed0006166050000f00a12f..."} 
[2026-05-08 23:34:20] local.INFO: Packet analysis {"connection_id":65307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c1"} 
[2026-05-08 23:34:20] local.INFO: Extracted packet for processing {"connection_id":65307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c1"} 
[2026-05-08 23:34:20] local.INFO: GPS Element Parsed {"raw_longitude":761982208,"raw_latitude":102129744,"longitude_deg":76.1982208,"latitude_deg":10.2129744,"altitude":15,"angle":161,"satellites":47,"speed":37,"hex_longitude":"2d6aed00","hex_latitude":"06166050","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:34:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235421952001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290828964509777920,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7701366495183597568,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:34:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778263377000,"timestamp_ms":1778263377000,"timestamp_seconds":1778263377,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c1c468"} 
[2026-05-08 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-05-08 23:34: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-05-08 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 23:34:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:34:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:34:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:34:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:34:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:34:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:34:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:34:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:34:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235421952001,"66":27365,"236":206,"79":20992,"24":37,"16":290828964509777920,"45":7701366495183597568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-05-08 23:34:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:34:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:34:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235421952001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:34:20] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-05-08 23:34:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:34:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290828964509777920,"km_value":290828964509777.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:34:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7701366495183597568,"description":"Unknown IO ID 45"} 
[2026-05-08 23:34:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235421952001,"power":27365,"unknown_236":206,"unknown_79":20992,"ignition":37,"odometer":null,"unknown_45":7701366495183597568}} 
[2026-05-08 23:34:20] local.INFO: DEBUG: GPS processor result {"connection_id":65307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:34:20] local.INFO: GPS data processed {"connection_id":65307,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:34:20] local.INFO: Acknowledgment sent {"connection_id":65307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:34:51] local.INFO: TCP Data received {"connection_id":65308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:51] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:51] local.INFO: IMEI packet received {"connection_id":65308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":65308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:34:51] local.INFO: TCP Data received {"connection_id":65308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:51] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:51] local.INFO: IMEI packet received {"connection_id":65308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":65308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:34:52] local.INFO: TCP Data received {"connection_id":65308,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:52] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:34:52] local.INFO: IMEI packet received {"connection_id":65308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":65308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:34:53] local.INFO: TCP Data received {"connection_id":65308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c1eb78012d6af94006163d60000f00a12f..."} 
[2026-05-08 23:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c1eb78012d6af94006163d60000f00a12f..."} 
[2026-05-08 23:34:53] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c1eb78012d6af94006163d60000f00a12f..."} 
[2026-05-08 23:34:53] local.INFO: Packet analysis {"connection_id":65308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c1"} 
[2026-05-08 23:34:53] local.INFO: Extracted packet for processing {"connection_id":65308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c1"} 
[2026-05-08 23:34:53] local.INFO: GPS Element Parsed {"raw_longitude":761985344,"raw_latitude":102120800,"longitude_deg":76.1985344,"latitude_deg":10.21208,"altitude":15,"angle":161,"satellites":47,"speed":38,"hex_longitude":"2d6af940","hex_latitude":"06163d60","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235424512001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290829424071278592,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7704814563646001152,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778263387000,"timestamp_ms":1778263387000,"timestamp_seconds":1778263387,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c1eb78"} 
[2026-05-08 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-05-08 23:34:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235424512001,"66":27343,"236":206,"79":20992,"24":38,"16":290829424071278592,"45":7704814563646001152},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-05-08 23:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235424512001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:34:53] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-05-08 23:34:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290829424071278592,"km_value":290829424071278.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7704814563646001152,"description":"Unknown IO ID 45"} 
[2026-05-08 23:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235424512001,"power":27343,"unknown_236":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7704814563646001152}} 
[2026-05-08 23:34:53] local.INFO: DEBUG: GPS processor result {"connection_id":65308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:34:53] local.INFO: GPS data processed {"connection_id":65308,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:34:53] local.INFO: Acknowledgment sent {"connection_id":65308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:34:57] local.INFO: TCP Data received {"connection_id":65308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c21288012d6b0640061619e8000d009f2f..."} 
[2026-05-08 23:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c21288012d6b0640061619e8000d009f2f..."} 
[2026-05-08 23:34:57] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c21288012d6b0640061619e8000d009f2f..."} 
[2026-05-08 23:34:57] local.INFO: Packet analysis {"connection_id":65308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:34:57] local.INFO: Extracted packet for processing {"connection_id":65308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":761988672,"raw_latitude":102111720,"longitude_deg":76.1988672,"latitude_deg":10.211172,"altitude":13,"angle":159,"satellites":47,"speed":36,"hex_longitude":"2d6b0640","hex_latitude":"061619e8","is_valid_coordinates":true} 
[2026-05-08 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235427072001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290829892222713856,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7708262632108417024,"note":"Value kept but may cause issues"} 
[2026-05-08 23:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1778263397000,"timestamp_ms":1778263397000,"timestamp_seconds":1778263397,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c21288"} 
[2026-05-08 23:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 23:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":65308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235427072001,"66":27321,"236":206,"79":20992,"24":36,"16":290829892222713856,"45":7708262632108417024},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-05-08 23:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235427072001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:34:57] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-05-08 23:34:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290829892222713856,"km_value":290829892222713.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7708262632108417024,"description":"Unknown IO ID 45"} 
[2026-05-08 23:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235427072001,"power":27321,"unknown_236":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7708262632108417024}} 
[2026-05-08 23:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":65308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:34:57] local.INFO: GPS data processed {"connection_id":65308,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:34:57] local.INFO: Acknowledgment sent {"connection_id":65308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:35:28] local.INFO: TCP Data received {"connection_id":65308,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c23998012d6b12400615f8b0000b00a12f..."} 
[2026-05-08 23:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c23998012d6b12400615f8b0000b00a12f..."} 
[2026-05-08 23:35:28] local.INFO: Processing buffer {"connection_id":65308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c23998012d6b12400615f8b0000b00a12f..."} 
[2026-05-08 23:35:28] local.INFO: Packet analysis {"connection_id":65308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:35:28] local.INFO: Extracted packet for processing {"connection_id":65308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:35:28] local.INFO: GPS Element Parsed {"raw_longitude":761991744,"raw_latitude":102103216,"longitude_deg":76.1991744,"latitude_deg":10.2103216,"altitude":11,"angle":161,"satellites":47,"speed":38,"hex_longitude":"2d6b1240","hex_latitude":"0615f8b0","is_valid_coordinates":true} 
[2026-05-08 23:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235429632001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290830330309378048,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7711921806803331072,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1778263407000,"timestamp_ms":1778263407000,"timestamp_seconds":1778263407,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c23998"} 
[2026-05-08 23:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":65308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":65308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235429632001,"66":27321,"236":206,"79":20992,"24":38,"16":290830330309378048,"45":7711921806803331072},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,79,24,16,45]} 
[2026-05-08 23:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235429632001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:35:28] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-05-08 23:35:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290830330309378048,"km_value":290830330309378.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7711921806803331072,"description":"Unknown IO ID 45"} 
[2026-05-08 23:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235429632001,"power":27321,"unknown_236":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7711921806803331072}} 
[2026-05-08 23:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":65308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:35:28] local.INFO: GPS data processed {"connection_id":65308,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:35:28] local.INFO: Acknowledgment sent {"connection_id":65308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:35:43] local.INFO: TCP Data received {"connection_id":65343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:43] local.INFO: Processing buffer {"connection_id":65343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:43] local.INFO: IMEI packet received {"connection_id":65343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:35:43] local.INFO: IMEI acknowledgment sent {"connection_id":65343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:35:44] local.INFO: TCP Data received {"connection_id":65343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:44] local.INFO: Processing buffer {"connection_id":65343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:44] local.INFO: IMEI packet received {"connection_id":65343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:35:44] local.INFO: IMEI acknowledgment sent {"connection_id":65343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:35:48] local.INFO: TCP Data received {"connection_id":65343,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:48] local.INFO: Processing buffer {"connection_id":65343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:35:48] local.INFO: IMEI packet received {"connection_id":65343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":65343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:35:48] local.INFO: TCP Data received {"connection_id":65343,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c25cc0012d6b1d800615d730000900a02e..."} 
[2026-05-08 23:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c25cc0012d6b1d800615d730000900a02e..."} 
[2026-05-08 23:35:48] local.INFO: Processing buffer {"connection_id":65343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c25cc0012d6b1d800615d730000900a02e..."} 
[2026-05-08 23:35:48] local.INFO: Packet analysis {"connection_id":65343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:35:48] local.INFO: Extracted packet for processing {"connection_id":65343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:35:48] local.INFO: GPS Element Parsed {"raw_longitude":761994624,"raw_latitude":102094640,"longitude_deg":76.1994624,"latitude_deg":10.209464,"altitude":9,"angle":160,"satellites":46,"speed":42,"hex_longitude":"2d6b1d80","hex_latitude":"0615d730","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235432192001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290830768396042240,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7715299506521681920,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778263416000,"timestamp_ms":1778263416000,"timestamp_seconds":1778263416,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c25cc0"} 
[2026-05-08 23:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:35: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-05-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:35:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:35:48] 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-05-08 23:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235432192001,"66":27332,"166":206,"79":20992,"24":42,"16":290830768396042240,"45":7715299506521681920},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,79,24,16,45]} 
[2026-05-08 23:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235432192001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:35:48] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-05-08 23:35:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290830768396042240,"km_value":290830768396042.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7715299506521681920,"description":"Unknown IO ID 45"} 
[2026-05-08 23:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235432192001,"power":27332,"unknown_166":206,"unknown_79":20992,"ignition":42,"odometer":null,"unknown_45":7715299506521681920}} 
[2026-05-08 23:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":65343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:35:48] local.INFO: GPS data processed {"connection_id":65343,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:35:48] local.INFO: Acknowledgment sent {"connection_id":65343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:35:53] local.INFO: TCP Data received {"connection_id":65343,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c27fe8012d6b29400615b370000800a52f..."} 
[2026-05-08 23:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c27fe8012d6b29400615b370000800a52f..."} 
[2026-05-08 23:35:53] local.INFO: Processing buffer {"connection_id":65343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c27fe8012d6b29400615b370000800a52f..."} 
[2026-05-08 23:35:53] local.INFO: Packet analysis {"connection_id":65343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:35:53] local.INFO: Extracted packet for processing {"connection_id":65343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:35:53] local.INFO: GPS Element Parsed {"raw_longitude":761997632,"raw_latitude":102085488,"longitude_deg":76.1997632,"latitude_deg":10.2085488,"altitude":8,"angle":165,"satellites":47,"speed":43,"hex_longitude":"2d6b2940","hex_latitude":"0615b370","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:35:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235434496001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290831232252510208,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7718466100007481344,"note":"Value kept but may cause issues"} 
[2026-05-08 23:35:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:35:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778263425000,"timestamp_ms":1778263425000,"timestamp_seconds":1778263425,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c27fe8"} 
[2026-05-08 23:35:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:35:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:35:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-05-08 23:35:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:35:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:35:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:35:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:35:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:35:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:35:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:35:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:35:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:35:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235434496001,"66":27245,"168":206,"79":20992,"24":43,"16":290831232252510208,"45":7718466100007481344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,79,24,16,45]} 
[2026-05-08 23:35:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:35:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:35:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235434496001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:35:53] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-05-08 23:35:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:35:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290831232252510208,"km_value":290831232252510.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:35:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7718466100007481344,"description":"Unknown IO ID 45"} 
[2026-05-08 23:35:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235434496001,"power":27245,"unknown_168":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7718466100007481344}} 
[2026-05-08 23:35:53] local.INFO: DEBUG: GPS processor result {"connection_id":65343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:35:53] local.INFO: GPS data processed {"connection_id":65343,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:35:53] local.INFO: Acknowledgment sent {"connection_id":65343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:36:05] local.INFO: TCP Data received {"connection_id":65443,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:36:05] local.INFO: Processing buffer {"connection_id":65443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:36:05] local.INFO: IMEI packet received {"connection_id":65443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":65443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:36:24] local.INFO: TCP Data received {"connection_id":65343,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c2a310012d6b308006158d98000800aa2f..."} 
[2026-05-08 23:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c2a310012d6b308006158d98000800aa2f..."} 
[2026-05-08 23:36:24] local.INFO: Processing buffer {"connection_id":65343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c2a310012d6b308006158d98000800aa2f..."} 
[2026-05-08 23:36:24] local.INFO: Packet analysis {"connection_id":65343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:36:24] local.INFO: Extracted packet for processing {"connection_id":65343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:36:24] local.INFO: GPS Element Parsed {"raw_longitude":761999488,"raw_latitude":102075800,"longitude_deg":76.1999488,"latitude_deg":10.20758,"altitude":8,"angle":170,"satellites":47,"speed":44,"hex_longitude":"2d6b3080","hex_latitude":"06158d98","is_valid_coordinates":true} 
[2026-05-08 23:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:36:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235436800001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:36:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290831713288847360,"note":"Value kept but may cause issues"} 
[2026-05-08 23:36:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7721773430981488640,"note":"Value kept but may cause issues"} 
[2026-05-08 23:36:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:36:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778263434000,"timestamp_ms":1778263434000,"timestamp_seconds":1778263434,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c2a310"} 
[2026-05-08 23:36:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:36: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-05-08 23:36:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 23:36:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:36:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:36:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:36:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:36:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:36:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:36:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:36:24] 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-05-08 23:36:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:36:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:36:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235436800001,"66":27484,"168":206,"79":20992,"24":44,"16":290831713288847360,"45":7721773430981488640},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,79,24,16,45]} 
[2026-05-08 23:36:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:36:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:36:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235436800001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:36:24] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-05-08 23:36:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-05-08 23:36:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290831713288847360,"km_value":290831713288847.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:36:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7721773430981488640,"description":"Unknown IO ID 45"} 
[2026-05-08 23:36:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235436800001,"power":27484,"unknown_168":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7721773430981488640}} 
[2026-05-08 23:36:24] local.INFO: DEBUG: GPS processor result {"connection_id":65343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:36:24] local.INFO: GPS data processed {"connection_id":65343,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:36:24] local.INFO: Acknowledgment sent {"connection_id":65343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:36:40] local.INFO: TCP Data received {"connection_id":65444,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:36:40] local.INFO: Processing buffer {"connection_id":65444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:36:40] local.INFO: IMEI packet received {"connection_id":65444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:36:40] local.INFO: IMEI acknowledgment sent {"connection_id":65444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:36:47] local.INFO: TCP Data received {"connection_id":66120,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:36:47] local.INFO: Processing buffer {"connection_id":66120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:36:47] local.INFO: IMEI packet received {"connection_id":66120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:36:47] local.INFO: IMEI acknowledgment sent {"connection_id":66120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:36:53] local.INFO: TCP Data received {"connection_id":66120,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:36:53] local.INFO: Processing buffer {"connection_id":66120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:36:53] local.INFO: IMEI packet received {"connection_id":66120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:36:53] local.INFO: IMEI acknowledgment sent {"connection_id":66120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:36:54] local.INFO: TCP Data received {"connection_id":66120,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c2c250012d6b348006156a38000800b02f..."} 
[2026-05-08 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c2c250012d6b348006156a38000800b02f..."} 
[2026-05-08 23:36:54] local.INFO: Processing buffer {"connection_id":66120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c2c250012d6b348006156a38000800b02f..."} 
[2026-05-08 23:36:54] local.INFO: Packet analysis {"connection_id":66120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:36:54] local.INFO: Extracted packet for processing {"connection_id":66120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:36:54] local.INFO: GPS Element Parsed {"raw_longitude":762000512,"raw_latitude":102066744,"longitude_deg":76.2000512,"latitude_deg":10.2066744,"altitude":8,"angle":176,"satellites":47,"speed":46,"hex_longitude":"2d6b3480","hex_latitude":"06156a38","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:36:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235439104001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:36:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290832155670478848,"note":"Value kept but may cause issues"} 
[2026-05-08 23:36:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7723814124560160768,"note":"Value kept but may cause issues"} 
[2026-05-08 23:36:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:36:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778263442000,"timestamp_ms":1778263442000,"timestamp_seconds":1778263442,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c2c250"} 
[2026-05-08 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-05-08 23:36:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 23:36:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:36:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:36:54] local.INFO: Teltonika packet parsed successfully {"connection_id":66120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:36:54] local.INFO: Passing IMEI to GPS processor {"connection_id":66120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:36:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":66120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:36:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:36:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:36:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:36:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235439104001,"66":27365,"137":206,"79":46336,"24":46,"16":290832155670478848,"45":7723814124560160768},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-05-08 23:36:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:36:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:36:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235439104001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:36:54] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-05-08 23:36:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:36:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290832155670478848,"km_value":290832155670478.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:36:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7723814124560160768,"description":"Unknown IO ID 45"} 
[2026-05-08 23:36:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235439104001,"power":27365,"unknown_137":206,"unknown_79":46336,"ignition":46,"odometer":null,"unknown_45":7723814124560160768}} 
[2026-05-08 23:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":66120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:36:54] local.INFO: GPS data processed {"connection_id":66120,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:36:54] local.INFO: Acknowledgment sent {"connection_id":66120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:37:25] local.INFO: TCP Data received {"connection_id":66120,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c2e190012d6b3540061544c0000700b22f..."} 
[2026-05-08 23:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66120,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c2e190012d6b3540061544c0000700b22f..."} 
[2026-05-08 23:37:25] local.INFO: Processing buffer {"connection_id":66120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c2e190012d6b3540061544c0000700b22f..."} 
[2026-05-08 23:37:25] local.INFO: Packet analysis {"connection_id":66120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:37:25] local.INFO: Extracted packet for processing {"connection_id":66120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c2"} 
[2026-05-08 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":762000704,"raw_latitude":102057152,"longitude_deg":76.2000704,"latitude_deg":10.2057152,"altitude":7,"angle":178,"satellites":47,"speed":47,"hex_longitude":"2d6b3540","hex_latitude":"061544c0","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:37:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235441152001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:37:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290832619526946816,"note":"Value kept but may cause issues"} 
[2026-05-08 23:37:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7724940024464685056,"note":"Value kept but may cause issues"} 
[2026-05-08 23:37:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:37:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778263450000,"timestamp_ms":1778263450000,"timestamp_seconds":1778263450,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c2e190"} 
[2026-05-08 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-05-08 23:37:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:37:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:37:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:37:25] local.INFO: Teltonika packet parsed successfully {"connection_id":66120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:37:25] local.INFO: Passing IMEI to GPS processor {"connection_id":66120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:37:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":66120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:37:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:37:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:37:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:37:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235441152001,"66":27300,"137":206,"79":46336,"24":47,"16":290832619526946816,"45":7724940024464685056},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-05-08 23:37:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:37:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:37:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235441152001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:37:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-05-08 23:37:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:37:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290832619526946816,"km_value":290832619526946.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:37:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7724940024464685056,"description":"Unknown IO ID 45"} 
[2026-05-08 23:37:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235441152001,"power":27300,"unknown_137":206,"unknown_79":46336,"ignition":47,"odometer":null,"unknown_45":7724940024464685056}} 
[2026-05-08 23:37:25] local.INFO: DEBUG: GPS processor result {"connection_id":66120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:37:25] local.INFO: GPS data processed {"connection_id":66120,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:37:25] local.INFO: Acknowledgment sent {"connection_id":66120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:37:42] local.INFO: TCP Data received {"connection_id":65446,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:42] local.INFO: Processing buffer {"connection_id":65446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:42] local.INFO: IMEI packet received {"connection_id":65446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:37:42] local.INFO: IMEI acknowledgment sent {"connection_id":65446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:37:43] local.INFO: TCP Data received {"connection_id":65446,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:43] local.INFO: Processing buffer {"connection_id":65446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:43] local.INFO: IMEI packet received {"connection_id":65446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:37:43] local.INFO: IMEI acknowledgment sent {"connection_id":65446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:37:48] local.INFO: TCP Data received {"connection_id":65446,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:48] local.INFO: Processing buffer {"connection_id":65446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:37:48] local.INFO: IMEI packet received {"connection_id":65446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:37:48] local.INFO: IMEI acknowledgment sent {"connection_id":65446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:37:48] local.INFO: TCP Data received {"connection_id":65446,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c300d0012d6b35c006151ff8000800b22e..."} 
[2026-05-08 23:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c300d0012d6b35c006151ff8000800b22e..."} 
[2026-05-08 23:37:48] local.INFO: Processing buffer {"connection_id":65446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c300d0012d6b35c006151ff8000800b22e..."} 
[2026-05-08 23:37:48] local.INFO: Packet analysis {"connection_id":65446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c3"} 
[2026-05-08 23:37:48] local.INFO: Extracted packet for processing {"connection_id":65446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c3"} 
[2026-05-08 23:37:48] local.INFO: GPS Element Parsed {"raw_longitude":762000832,"raw_latitude":102047736,"longitude_deg":76.2000832,"latitude_deg":10.2047736,"altitude":8,"angle":178,"satellites":46,"speed":44,"hex_longitude":"2d6b35c0","hex_latitude":"06151ff8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235443200001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290833074793480192,"note":"Value kept but may cause issues"} 
[2026-05-08 23:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7725151130694762496,"note":"Value kept but may cause issues"} 
[2026-05-08 23:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778263458000,"timestamp_ms":1778263458000,"timestamp_seconds":1778263458,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c300d0"} 
[2026-05-08 23:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:37: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-05-08 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:37:48] 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-05-08 23:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235443200001,"66":27365,"137":206,"79":46336,"24":44,"16":290833074793480192,"45":7725151130694762496},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-05-08 23:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235443200001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:37:48] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-05-08 23:37:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290833074793480192,"km_value":290833074793480.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7725151130694762496,"description":"Unknown IO ID 45"} 
[2026-05-08 23:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235443200001,"power":27365,"unknown_137":206,"unknown_79":46336,"ignition":44,"odometer":null,"unknown_45":7725151130694762496}} 
[2026-05-08 23:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":65446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:37:48] local.INFO: GPS data processed {"connection_id":65446,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:37:48] local.INFO: Acknowledgment sent {"connection_id":65446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:38:20] local.INFO: TCP Data received {"connection_id":65446,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c59110012d6b5d0006139b50000a00ae2f..."} 
[2026-05-08 23:38:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c59110012d6b5d0006139b50000a00ae2f..."} 
[2026-05-08 23:38:20] local.INFO: Processing buffer {"connection_id":65446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c59110012d6b5d0006139b50000a00ae2f..."} 
[2026-05-08 23:38:20] local.INFO: Packet analysis {"connection_id":65446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c5"} 
[2026-05-08 23:38:20] local.INFO: Extracted packet for processing {"connection_id":65446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c5"} 
[2026-05-08 23:38:20] local.INFO: GPS Element Parsed {"raw_longitude":762010880,"raw_latitude":101948240,"longitude_deg":76.201088,"latitude_deg":10.194824,"altitude":10,"angle":174,"satellites":47,"speed":26,"hex_longitude":"2d6b5d00","hex_latitude":"06139b50","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:38:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235484416001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290837936696459264,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7735495336063275008,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:38:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778263626000,"timestamp_ms":1778263626000,"timestamp_seconds":1778263626,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c59110"} 
[2026-05-08 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-05-08 23:38:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:38:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:38:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:38:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:38:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:38:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:38:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:38:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:38:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:38:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235484416001,"66":27213,"137":206,"79":46336,"24":26,"16":290837936696459264,"45":7735495336063275008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-05-08 23:38:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:38:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:38:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235484416001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:38:20] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-05-08 23:38:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:38:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290837936696459264,"km_value":290837936696459.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:38:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7735495336063275008,"description":"Unknown IO ID 45"} 
[2026-05-08 23:38:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235484416001,"power":27213,"unknown_137":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7735495336063275008}} 
[2026-05-08 23:38:20] local.INFO: DEBUG: GPS processor result {"connection_id":65446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:38:20] local.INFO: GPS data processed {"connection_id":65446,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:38:20] local.INFO: Acknowledgment sent {"connection_id":65446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:38:48] local.INFO: TCP Data received {"connection_id":66121,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:38:48] local.INFO: Processing buffer {"connection_id":66121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:38:48] local.INFO: IMEI packet received {"connection_id":66121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":66121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:38:53] local.INFO: TCP Data received {"connection_id":66121,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:38:53] local.INFO: Processing buffer {"connection_id":66121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:38:53] local.INFO: IMEI packet received {"connection_id":66121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":66121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:38:53] local.INFO: TCP Data received {"connection_id":66121,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c5c3d8012d6b6080061378e0000b00ad2f..."} 
[2026-05-08 23:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c5c3d8012d6b6080061378e0000b00ad2f..."} 
[2026-05-08 23:38:53] local.INFO: Processing buffer {"connection_id":66121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c5c3d8012d6b6080061378e0000b00ad2f..."} 
[2026-05-08 23:38:53] local.INFO: Packet analysis {"connection_id":66121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c5"} 
[2026-05-08 23:38:53] local.INFO: Extracted packet for processing {"connection_id":66121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c5"} 
[2026-05-08 23:38:53] local.INFO: GPS Element Parsed {"raw_longitude":762011776,"raw_latitude":101939424,"longitude_deg":76.2011776,"latitude_deg":10.1939424,"altitude":11,"angle":173,"satellites":47,"speed":29,"hex_longitude":"2d6b6080","hex_latitude":"061378e0","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235488256001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290838366193188864,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7736339760991129600,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778263639000,"timestamp_ms":1778263639000,"timestamp_seconds":1778263639,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c5c3d8"} 
[2026-05-08 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-05-08 23:38: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-05-08 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-05-08 23:38:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":66121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":66121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":66121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235488256001,"66":27343,"137":206,"79":46336,"24":29,"16":290838366193188864,"45":7736339760991129600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-05-08 23:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235488256001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:38:53] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-05-08 23:38:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290838366193188864,"km_value":290838366193188.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7736339760991129600,"description":"Unknown IO ID 45"} 
[2026-05-08 23:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235488256001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7736339760991129600}} 
[2026-05-08 23:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":66121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:38:53] local.INFO: GPS data processed {"connection_id":66121,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:38:53] local.INFO: Acknowledgment sent {"connection_id":66121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:38:54] local.INFO: TCP Data received {"connection_id":66121,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c5f2b8012d6b644006135438000900ac30..."} 
[2026-05-08 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c5f2b8012d6b644006135438000900ac30..."} 
[2026-05-08 23:38:54] local.INFO: Processing buffer {"connection_id":66121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c5f2b8012d6b644006135438000900ac30..."} 
[2026-05-08 23:38:54] local.INFO: Packet analysis {"connection_id":66121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c5"} 
[2026-05-08 23:38:54] local.INFO: Extracted packet for processing {"connection_id":66121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c5"} 
[2026-05-08 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":762012736,"raw_latitude":101930040,"longitude_deg":76.2012736,"latitude_deg":10.193004,"altitude":9,"angle":172,"satellites":48,"speed":28,"hex_longitude":"2d6b6440","hex_latitude":"06135438","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235491584001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290838821459722240,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7737324923407360000,"note":"Value kept but may cause issues"} 
[2026-05-08 23:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778263651000,"timestamp_ms":1778263651000,"timestamp_seconds":1778263651,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c5f2b8"} 
[2026-05-08 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-05-08 23:38:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 23:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":66121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":66121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":66121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235491584001,"66":27365,"137":206,"79":46336,"24":28,"16":290838821459722240,"45":7737324923407360000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-05-08 23:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235491584001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:38:54] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-05-08 23:38:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290838821459722240,"km_value":290838821459722.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7737324923407360000,"description":"Unknown IO ID 45"} 
[2026-05-08 23:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235491584001,"power":27365,"unknown_137":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7737324923407360000}} 
[2026-05-08 23:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":66121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:38:54] local.INFO: GPS data processed {"connection_id":66121,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:38:54] local.INFO: Acknowledgment sent {"connection_id":66121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:39:25] local.INFO: TCP Data received {"connection_id":66121,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c62580012d6b680006133078000800b130..."} 
[2026-05-08 23:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c62580012d6b680006133078000800b130..."} 
[2026-05-08 23:39:25] local.INFO: Processing buffer {"connection_id":66121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c62580012d6b680006133078000800b130..."} 
[2026-05-08 23:39:25] local.INFO: Packet analysis {"connection_id":66121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c6"} 
[2026-05-08 23:39:25] local.INFO: Extracted packet for processing {"connection_id":66121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c6"} 
[2026-05-08 23:39:25] local.INFO: GPS Element Parsed {"raw_longitude":762013696,"raw_latitude":101920888,"longitude_deg":76.2013696,"latitude_deg":10.1920888,"altitude":8,"angle":177,"satellites":48,"speed":28,"hex_longitude":"2d6b6800","hex_latitude":"06133078","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235494656001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290839268136321024,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7738380454567622656,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1778263664000,"timestamp_ms":1778263664000,"timestamp_seconds":1778263664,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c62580"} 
[2026-05-08 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-05-08 23:39: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-05-08 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":66121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":66121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":66121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235494656001,"66":27213,"137":206,"79":46336,"24":28,"16":290839268136321024,"45":7738380454567622656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-05-08 23:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235494656001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:39:25] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-05-08 23:39:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290839268136321024,"km_value":290839268136321.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7738380454567622656,"description":"Unknown IO ID 45"} 
[2026-05-08 23:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235494656001,"power":27213,"unknown_137":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7738380454567622656}} 
[2026-05-08 23:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":66121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:39:25] local.INFO: GPS data processed {"connection_id":66121,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:39:25] local.INFO: Acknowledgment sent {"connection_id":66121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:39:48] local.INFO: TCP Data received {"connection_id":65344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:39:48] local.INFO: Processing buffer {"connection_id":65344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:39:48] local.INFO: IMEI packet received {"connection_id":65344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":65344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:39:53] local.INFO: TCP Data received {"connection_id":65344,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:39:53] local.INFO: Processing buffer {"connection_id":65344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:39:53] local.INFO: IMEI packet received {"connection_id":65344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:39:53] local.INFO: IMEI acknowledgment sent {"connection_id":65344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:39:54] local.INFO: TCP Data received {"connection_id":65344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c73ec0012d6b99c006126ac80007007f2e..."} 
[2026-05-08 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c73ec0012d6b99c006126ac80007007f2e..."} 
[2026-05-08 23:39:54] local.INFO: Processing buffer {"connection_id":65344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c73ec0012d6b99c006126ac80007007f2e..."} 
[2026-05-08 23:39:54] local.INFO: Packet analysis {"connection_id":65344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:39:54] local.INFO: Extracted packet for processing {"connection_id":65344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:39:54] local.INFO: GPS Element Parsed {"raw_longitude":762026432,"raw_latitude":101870280,"longitude_deg":76.2026432,"latitude_deg":10.187028,"altitude":7,"angle":127,"satellites":46,"speed":25,"hex_longitude":"2d6b99c0","hex_latitude":"06126ac8","is_valid_coordinates":true} 
[2026-05-08 23:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235515904001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290841866591535104,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7752454203388102656,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778263736000,"timestamp_ms":1778263736000,"timestamp_seconds":1778263736,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c73ec0"} 
[2026-05-08 23:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:39: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-05-08 23:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":65344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":65344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":65344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235515904001,"66":27234,"138":206,"79":46336,"24":25,"16":290841866591535104,"45":7752454203388102656},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-05-08 23:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235515904001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:39:54] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-05-08 23:39:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290841866591535104,"km_value":290841866591535.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7752454203388102656,"description":"Unknown IO ID 45"} 
[2026-05-08 23:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235515904001,"power":27234,"unknown_138":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7752454203388102656}} 
[2026-05-08 23:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":65344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:39:54] local.INFO: GPS data processed {"connection_id":65344,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:39:54] local.INFO: Acknowledgment sent {"connection_id":65344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:39:54] local.INFO: TCP Data received {"connection_id":65344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c74690012d6b9e8006126820000700732e..."} 
[2026-05-08 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c74690012d6b9e8006126820000700732e..."} 
[2026-05-08 23:39:54] local.INFO: Processing buffer {"connection_id":65344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c74690012d6b9e8006126820000700732e..."} 
[2026-05-08 23:39:54] local.INFO: Packet analysis {"connection_id":65344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:39:54] local.INFO: Extracted packet for processing {"connection_id":65344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:39:54] local.INFO: GPS Element Parsed {"raw_longitude":762027648,"raw_latitude":101869600,"longitude_deg":76.2027648,"latitude_deg":10.18696,"altitude":7,"angle":115,"satellites":46,"speed":27,"hex_longitude":"2d6b9e80","hex_latitude":"06126820","is_valid_coordinates":true} 
[2026-05-08 23:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:39:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235516416001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290841935311011840,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7753439365806344192,"note":"Value kept but may cause issues"} 
[2026-05-08 23:39:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:39:54] local.INFO: AVL Record Parsed {"raw_timestamp":1778263738000,"timestamp_ms":1778263738000,"timestamp_seconds":1778263738,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c74690"} 
[2026-05-08 23:39:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:39: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-05-08 23:39:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:39:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:39:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:39:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:39:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:39:54] local.INFO: Teltonika packet parsed successfully {"connection_id":65344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:39:54] local.INFO: Passing IMEI to GPS processor {"connection_id":65344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:39:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":65344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:39:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:39:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:39:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:39:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235516416001,"66":27158,"138":206,"79":46336,"24":27,"16":290841935311011840,"45":7753439365806344192},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-05-08 23:39:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:39:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:39:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235516416001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:39:54] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-05-08 23:39:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:39:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290841935311011840,"km_value":290841935311011.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:39:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7753439365806344192,"description":"Unknown IO ID 45"} 
[2026-05-08 23:39:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235516416001,"power":27158,"unknown_138":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7753439365806344192}} 
[2026-05-08 23:39:54] local.INFO: DEBUG: GPS processor result {"connection_id":65344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:39:54] local.INFO: GPS data processed {"connection_id":65344,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:39:54] local.INFO: Acknowledgment sent {"connection_id":65344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:40:27] local.INFO: TCP Data received {"connection_id":65344,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c761e8012d6bb0c006125e80000600852e..."} 
[2026-05-08 23:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c761e8012d6bb0c006125e80000600852e..."} 
[2026-05-08 23:40:27] local.INFO: Processing buffer {"connection_id":65344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c761e8012d6bb0c006125e80000600852e..."} 
[2026-05-08 23:40:27] local.INFO: Packet analysis {"connection_id":65344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:40:27] local.INFO: Extracted packet for processing {"connection_id":65344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:40:27] local.INFO: GPS Element Parsed {"raw_longitude":762032320,"raw_latitude":101867136,"longitude_deg":76.203232,"latitude_deg":10.1867136,"altitude":6,"angle":133,"satellites":46,"speed":30,"hex_longitude":"2d6bb0c0","hex_latitude":"06125e80","is_valid_coordinates":true} 
[2026-05-08 23:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235516928001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290842188714082304,"note":"Value kept but may cause issues"} 
[2026-05-08 23:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7754776371945545728,"note":"Value kept but may cause issues"} 
[2026-05-08 23:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1778263745000,"timestamp_ms":1778263745000,"timestamp_seconds":1778263745,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c761e8"} 
[2026-05-08 23:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:40: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-05-08 23:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-05-08 23:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":926,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":65344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":65344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":65344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235516928001,"66":27321,"138":206,"79":46336,"24":30,"16":290842188714082304,"45":7754776371945545728},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-05-08 23:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235516928001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:40:27] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-05-08 23:40:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290842188714082304,"km_value":290842188714082.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7754776371945545728,"description":"Unknown IO ID 45"} 
[2026-05-08 23:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235516928001,"power":27321,"unknown_138":206,"unknown_79":46336,"ignition":30,"odometer":null,"unknown_45":7754776371945545728}} 
[2026-05-08 23:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":65344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:40:27] local.INFO: GPS data processed {"connection_id":65344,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:40:27] local.INFO: Acknowledgment sent {"connection_id":65344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:40:43] local.INFO: TCP Data received {"connection_id":65448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:40:43] local.INFO: Processing buffer {"connection_id":65448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:40:43] local.INFO: IMEI packet received {"connection_id":65448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:40:43] local.INFO: IMEI acknowledgment sent {"connection_id":65448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:40:48] local.INFO: TCP Data received {"connection_id":65448,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:40:48] local.INFO: Processing buffer {"connection_id":65448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:40:48] local.INFO: IMEI packet received {"connection_id":65448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":65448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:40:49] local.INFO: TCP Data received {"connection_id":65448,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c788f8012d6bc600061242880008008f2d..."} 
[2026-05-08 23:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c788f8012d6bc600061242880008008f2d..."} 
[2026-05-08 23:40:49] local.INFO: Processing buffer {"connection_id":65448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c788f8012d6bc600061242880008008f2d..."} 
[2026-05-08 23:40:49] local.INFO: Packet analysis {"connection_id":65448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:40:49] local.INFO: Extracted packet for processing {"connection_id":65448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:40:49] local.INFO: GPS Element Parsed {"raw_longitude":762037760,"raw_latitude":101859976,"longitude_deg":76.203776,"latitude_deg":10.1859976,"altitude":8,"angle":143,"satellites":45,"speed":39,"hex_longitude":"2d6bc600","hex_latitude":"06124288","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235518720001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290842622505779200,"note":"Value kept but may cause issues"} 
[2026-05-08 23:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7759913290269884416,"note":"Value kept but may cause issues"} 
[2026-05-08 23:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778263755000,"timestamp_ms":1778263755000,"timestamp_seconds":1778263755,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c788f8"} 
[2026-05-08 23:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:40: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-05-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235518720001,"66":27115,"138":206,"79":46336,"24":39,"16":290842622505779200,"45":7759913290269884416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-05-08 23:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235518720001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:40:49] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-05-08 23:40:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290842622505779200,"km_value":290842622505779.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7759913290269884416,"description":"Unknown IO ID 45"} 
[2026-05-08 23:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235518720001,"power":27115,"unknown_138":206,"unknown_79":46336,"ignition":39,"odometer":null,"unknown_45":7759913290269884416}} 
[2026-05-08 23:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":65448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:40:49] local.INFO: GPS data processed {"connection_id":65448,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:40:49] local.INFO: Acknowledgment sent {"connection_id":65448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:41:23] local.INFO: TCP Data received {"connection_id":65448,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c7a838012d6bd78006122718000800a02e..."} 
[2026-05-08 23:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c7a838012d6bd78006122718000800a02e..."} 
[2026-05-08 23:41:23] local.INFO: Processing buffer {"connection_id":65448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c7a838012d6bd78006122718000800a02e..."} 
[2026-05-08 23:41:23] local.INFO: Packet analysis {"connection_id":65448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:41:23] local.INFO: Extracted packet for processing {"connection_id":65448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:41:23] local.INFO: GPS Element Parsed {"raw_longitude":762042240,"raw_latitude":101852952,"longitude_deg":76.204224,"latitude_deg":10.1852952,"altitude":8,"angle":160,"satellites":46,"speed":41,"hex_longitude":"2d6bd780","hex_latitude":"06122718","is_valid_coordinates":true} 
[2026-05-08 23:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235521280001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290843026232705024,"note":"Value kept but may cause issues"} 
[2026-05-08 23:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7765894633523152896,"note":"Value kept but may cause issues"} 
[2026-05-08 23:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1778263763000,"timestamp_ms":1778263763000,"timestamp_seconds":1778263763,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c7a838"} 
[2026-05-08 23:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-05-08 23:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2838,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":65448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":65448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":65448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:41:23] 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-05-08 23:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235521280001,"66":27267,"138":206,"79":46336,"24":41,"16":290843026232705024,"45":7765894633523152896},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-05-08 23:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235521280001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:41:23] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-05-08 23:41:23] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290843026232705024,"km_value":290843026232705.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7765894633523152896,"description":"Unknown IO ID 45"} 
[2026-05-08 23:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235521280001,"power":27267,"unknown_138":206,"unknown_79":46336,"ignition":41,"odometer":null,"unknown_45":7765894633523152896}} 
[2026-05-08 23:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":65448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:41:23] local.INFO: GPS data processed {"connection_id":65448,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:41:23] local.INFO: Acknowledgment sent {"connection_id":65448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:41:43] local.INFO: TCP Data received {"connection_id":65310,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:41:43] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:41:43] local.INFO: IMEI packet received {"connection_id":65310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:41:43] local.INFO: IMEI acknowledgment sent {"connection_id":65310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:41:46] local.INFO: TCP Data received {"connection_id":65310,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:41:46] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:41:46] local.INFO: IMEI packet received {"connection_id":65310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":65310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:41:47] local.INFO: TCP Data received {"connection_id":65310,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c7cb60012d6be50006120680000700a92d..."} 
[2026-05-08 23:41:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c7cb60012d6be50006120680000700a92d..."} 
[2026-05-08 23:41:47] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c7cb60012d6be50006120680000700a92d..."} 
[2026-05-08 23:41:47] local.INFO: Packet analysis {"connection_id":65310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:41:47] local.INFO: Extracted packet for processing {"connection_id":65310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c7"} 
[2026-05-08 23:41:47] local.INFO: GPS Element Parsed {"raw_longitude":762045696,"raw_latitude":101844608,"longitude_deg":76.2045696,"latitude_deg":10.1844608,"altitude":7,"angle":169,"satellites":45,"speed":37,"hex_longitude":"2d6be500","hex_latitude":"06120680","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:41:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235523328001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:41:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290843464319369216,"note":"Value kept but may cause issues"} 
[2026-05-08 23:41:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7770820445613791232,"note":"Value kept but may cause issues"} 
[2026-05-08 23:41:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:41:47] local.INFO: AVL Record Parsed {"raw_timestamp":1778263772000,"timestamp_ms":1778263772000,"timestamp_seconds":1778263772,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c7cb60"} 
[2026-05-08 23:41:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:41: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-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:41:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:41:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:41:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:41:47] local.INFO: Teltonika packet parsed successfully {"connection_id":65310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:41:47] local.INFO: Passing IMEI to GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:41:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:41: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-05-08 23:41:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:41:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:41:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235523328001,"66":27234,"138":206,"79":46336,"24":37,"16":290843464319369216,"45":7770820445613791232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-05-08 23:41:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:41:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:41:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235523328001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:41:47] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-05-08 23:41:47] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:41:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290843464319369216,"km_value":290843464319369.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:41:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":7770820445613791232,"description":"Unknown IO ID 45"} 
[2026-05-08 23:41:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235523328001,"power":27234,"unknown_138":206,"unknown_79":46336,"ignition":37,"odometer":null,"unknown_45":7770820445613791232}} 
[2026-05-08 23:41:47] local.INFO: DEBUG: GPS processor result {"connection_id":65310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:41:47] local.INFO: GPS data processed {"connection_id":65310,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:41:47] local.INFO: Acknowledgment sent {"connection_id":65310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:42:10] local.INFO: TCP Data received {"connection_id":66123,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:42:10] local.INFO: Processing buffer {"connection_id":66123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:42:10] local.INFO: IMEI packet received {"connection_id":66123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":66123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:42:18] local.INFO: TCP Data received {"connection_id":65310,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c980e0012d6c704006112970000900672b..."} 
[2026-05-08 23:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c980e0012d6c704006112970000900672b..."} 
[2026-05-08 23:42:18] local.INFO: Processing buffer {"connection_id":65310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c980e0012d6c704006112970000900672b..."} 
[2026-05-08 23:42:18] local.INFO: Packet analysis {"connection_id":65310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c9"} 
[2026-05-08 23:42:18] local.INFO: Extracted packet for processing {"connection_id":65310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c9"} 
[2026-05-08 23:42:18] local.INFO: GPS Element Parsed {"raw_longitude":762081344,"raw_latitude":101788016,"longitude_deg":76.2081344,"latitude_deg":10.1788016,"altitude":9,"angle":103,"satellites":43,"speed":35,"hex_longitude":"2d6c7040","hex_latitude":"06112970","is_valid_coordinates":true} 
[2026-05-08 23:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235553792001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290846977602617344,"note":"Value kept but may cause issues"} 
[2026-05-08 23:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7811986160941238272,"note":"Value kept but may cause issues"} 
[2026-05-08 23:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1778263884000,"timestamp_ms":1778263884000,"timestamp_seconds":1778263884,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c980e0"} 
[2026-05-08 23:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 23:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":65310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":65310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:42:18] 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-05-08 23:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235553792001,"66":27245,"193":206,"79":46336,"24":35,"16":290846977602617344,"45":7811986160941238272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-05-08 23:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235553792001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:42:18] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-05-08 23:42:18] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290846977602617344,"km_value":290846977602617.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":7811986160941238272,"description":"Unknown IO ID 45"} 
[2026-05-08 23:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235553792001,"power":27245,"unknown_193":206,"unknown_79":46336,"ignition":35,"odometer":null,"unknown_45":7811986160941238272}} 
[2026-05-08 23:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":65310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:42:18] local.INFO: GPS data processed {"connection_id":65310,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:42:18] local.INFO: Acknowledgment sent {"connection_id":65310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:42:40] local.INFO: TCP Data received {"connection_id":65346,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:42:40] local.INFO: Processing buffer {"connection_id":65346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:42:40] local.INFO: IMEI packet received {"connection_id":65346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":65346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:42:40] local.INFO: TCP Data received {"connection_id":65345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:40] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:40] local.INFO: IMEI packet received {"connection_id":65345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:42:40] local.INFO: IMEI acknowledgment sent {"connection_id":65345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:42:43] local.INFO: TCP Data received {"connection_id":65345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:43] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:43] local.INFO: IMEI packet received {"connection_id":65345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":65345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:42:48] local.INFO: TCP Data received {"connection_id":65345,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:48] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:42:48] local.INFO: IMEI packet received {"connection_id":65345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":65345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:42:48] local.INFO: TCP Data received {"connection_id":65345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c9a7f0012d6c954006112240000700652b..."} 
[2026-05-08 23:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c9a7f0012d6c954006112240000700652b..."} 
[2026-05-08 23:42:48] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c9a7f0012d6c954006112240000700652b..."} 
[2026-05-08 23:42:48] local.INFO: Packet analysis {"connection_id":65345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c9"} 
[2026-05-08 23:42:48] local.INFO: Extracted packet for processing {"connection_id":65345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c9"} 
[2026-05-08 23:42:48] local.INFO: GPS Element Parsed {"raw_longitude":762090816,"raw_latitude":101786176,"longitude_deg":76.2090816,"latitude_deg":10.1786176,"altitude":7,"angle":101,"satellites":43,"speed":37,"hex_longitude":"2d6c9540","hex_latitude":"06112240","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:42:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235554304001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:42:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290847437164118016,"note":"Value kept but may cause issues"} 
[2026-05-08 23:42:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7813815748289720320,"note":"Value kept but may cause issues"} 
[2026-05-08 23:42:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:42:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778263894000,"timestamp_ms":1778263894000,"timestamp_seconds":1778263894,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c9a7f0"} 
[2026-05-08 23:42:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:42: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-05-08 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-05-08 23:42:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:42:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:42:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:42:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:42:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:42:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:42:48] 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-05-08 23:42:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:42:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:42:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235554304001,"66":27234,"193":206,"79":46336,"24":37,"16":290847437164118016,"45":7813815748289720320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-05-08 23:42:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:42:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:42:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235554304001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:42:48] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-05-08 23:42:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:42:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290847437164118016,"km_value":290847437164118.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:42:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7813815748289720320,"description":"Unknown IO ID 45"} 
[2026-05-08 23:42:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235554304001,"power":27234,"unknown_193":206,"unknown_79":46336,"ignition":37,"odometer":null,"unknown_45":7813815748289720320}} 
[2026-05-08 23:42:48] local.INFO: DEBUG: GPS processor result {"connection_id":65345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:42:48] local.INFO: GPS data processed {"connection_id":65345,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:42:48] local.INFO: Acknowledgment sent {"connection_id":65345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:43:20] local.INFO: TCP Data received {"connection_id":65345,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08c9bf60012d6cac0006111f38000600592b..."} 
[2026-05-08 23:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08c9bf60012d6cac0006111f38000600592b..."} 
[2026-05-08 23:43:20] local.INFO: Processing buffer {"connection_id":65345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08c9bf60012d6cac0006111f38000600592b..."} 
[2026-05-08 23:43:20] local.INFO: Packet analysis {"connection_id":65345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08c9"} 
[2026-05-08 23:43:20] local.INFO: Extracted packet for processing {"connection_id":65345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08c9"} 
[2026-05-08 23:43:20] local.INFO: GPS Element Parsed {"raw_longitude":762096640,"raw_latitude":101785400,"longitude_deg":76.209664,"latitude_deg":10.17854,"altitude":6,"angle":89,"satellites":43,"speed":36,"hex_longitude":"2d6cac00","hex_latitude":"06111f38","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:43:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235556864001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290847716336992256,"note":"Value kept but may cause issues"} 
[2026-05-08 23:43:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7824230322427543552,"note":"Value kept but may cause issues"} 
[2026-05-08 23:43:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778263900000,"timestamp_ms":1778263900000,"timestamp_seconds":1778263900,"priority":1,"record_length":96,"hex_timestamp":"0000019e08c9bf60"} 
[2026-05-08 23:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:43: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-05-08 23: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:43:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235556864001,"66":27321,"193":206,"79":46336,"24":36,"16":290847716336992256,"45":7824230322427543552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-05-08 23:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235556864001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:43:20] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-05-08 23:43:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290847716336992256,"km_value":290847716336992.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:43:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7824230322427543552,"description":"Unknown IO ID 45"} 
[2026-05-08 23:43:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235556864001,"power":27321,"unknown_193":206,"unknown_79":46336,"ignition":36,"odometer":null,"unknown_45":7824230322427543552}} 
[2026-05-08 23:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":65345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:43:20] local.INFO: GPS data processed {"connection_id":65345,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:43:20] local.INFO: Acknowledgment sent {"connection_id":65345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:43:40] local.INFO: TCP Data received {"connection_id":65449,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:40] local.INFO: Processing buffer {"connection_id":65449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:40] local.INFO: IMEI packet received {"connection_id":65449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:43:40] local.INFO: IMEI acknowledgment sent {"connection_id":65449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:43:43] local.INFO: TCP Data received {"connection_id":65449,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:43] local.INFO: Processing buffer {"connection_id":65449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:43] local.INFO: IMEI packet received {"connection_id":65449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:43:43] local.INFO: IMEI acknowledgment sent {"connection_id":65449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:43:48] local.INFO: TCP Data received {"connection_id":65449,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:48] local.INFO: Processing buffer {"connection_id":65449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:43:48] local.INFO: IMEI packet received {"connection_id":65449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:43:48] local.INFO: IMEI acknowledgment sent {"connection_id":65449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:43:48] local.INFO: TCP Data received {"connection_id":65449,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cac900012d6d018006109ce0000700b22e..."} 
[2026-05-08 23:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cac900012d6d018006109ce0000700b22e..."} 
[2026-05-08 23:43:48] local.INFO: Processing buffer {"connection_id":65449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cac900012d6d018006109ce0000700b22e..."} 
[2026-05-08 23:43:48] local.INFO: Packet analysis {"connection_id":65449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ca"} 
[2026-05-08 23:43:48] local.INFO: Extracted packet for processing {"connection_id":65449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ca"} 
[2026-05-08 23:43:48] local.INFO: GPS Element Parsed {"raw_longitude":762118528,"raw_latitude":101752032,"longitude_deg":76.2118528,"latitude_deg":10.1752032,"altitude":7,"angle":178,"satellites":46,"speed":31,"hex_longitude":"2d6d0180","hex_latitude":"06109ce0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235575040001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290849992669659136,"note":"Value kept but may cause issues"} 
[2026-05-08 23:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854277776183222272,"note":"Value kept but may cause issues"} 
[2026-05-08 23:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778263968000,"timestamp_ms":1778263968000,"timestamp_seconds":1778263968,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cac900"} 
[2026-05-08 23:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:43:48] 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-05-08 23:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235575040001,"66":27365,"207":206,"79":46336,"24":31,"16":290849992669659136,"45":7854277776183222272},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-05-08 23:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235575040001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:43:48] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-05-08 23:43:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290849992669659136,"km_value":290849992669659.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854277776183222272,"description":"Unknown IO ID 45"} 
[2026-05-08 23:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235575040001,"power":27365,"unknown_207":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7854277776183222272}} 
[2026-05-08 23:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":65449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:43:48] local.INFO: GPS data processed {"connection_id":65449,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:43:48] local.INFO: Acknowledgment sent {"connection_id":65449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:44:19] local.INFO: TCP Data received {"connection_id":65449,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08caf3f8012d6d008006107948000500b52d..."} 
[2026-05-08 23:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08caf3f8012d6d008006107948000500b52d..."} 
[2026-05-08 23:44:19] local.INFO: Processing buffer {"connection_id":65449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08caf3f8012d6d008006107948000500b52d..."} 
[2026-05-08 23:44:19] local.INFO: Packet analysis {"connection_id":65449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08ca"} 
[2026-05-08 23:44:19] local.INFO: Extracted packet for processing {"connection_id":65449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08ca"} 
[2026-05-08 23:44:19] local.INFO: GPS Element Parsed {"raw_longitude":762118272,"raw_latitude":101742920,"longitude_deg":76.2118272,"latitude_deg":10.174292,"altitude":5,"angle":181,"satellites":45,"speed":32,"hex_longitude":"2d6d0080","hex_latitude":"06107948","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235575808001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290850435051290624,"note":"Value kept but may cause issues"} 
[2026-05-08 23:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854699988647731200,"note":"Value kept but may cause issues"} 
[2026-05-08 23:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778263979000,"timestamp_ms":1778263979000,"timestamp_seconds":1778263979,"priority":1,"record_length":96,"hex_timestamp":"0000019e08caf3f8"} 
[2026-05-08 23:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:44:19] 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-05-08 23:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235575808001,"66":27321,"206":206,"79":46336,"24":32,"16":290850435051290624,"45":7854699988647731200},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,79,24,16,45]} 
[2026-05-08 23:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235575808001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:44:19] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-05-08 23:44:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290850435051290624,"km_value":290850435051290.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854699988647731200,"description":"Unknown IO ID 45"} 
[2026-05-08 23:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235575808001,"power":27321,"unknown_206":206,"unknown_79":46336,"ignition":32,"odometer":null,"unknown_45":7854699988647731200}} 
[2026-05-08 23:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":65449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:44:19] local.INFO: GPS data processed {"connection_id":65449,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:44:19] local.INFO: Acknowledgment sent {"connection_id":65449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:44:41] local.INFO: TCP Data received {"connection_id":65348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:41] local.INFO: Processing buffer {"connection_id":65348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:41] local.INFO: IMEI packet received {"connection_id":65348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:44:41] local.INFO: IMEI acknowledgment sent {"connection_id":65348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:44:42] local.INFO: TCP Data received {"connection_id":65348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:42] local.INFO: Processing buffer {"connection_id":65348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:42] local.INFO: IMEI packet received {"connection_id":65348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:44:42] local.INFO: IMEI acknowledgment sent {"connection_id":65348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:44:48] local.INFO: TCP Data received {"connection_id":65348,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:48] local.INFO: Processing buffer {"connection_id":65348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:44:48] local.INFO: IMEI packet received {"connection_id":65348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":65348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:44:48] local.INFO: TCP Data received {"connection_id":65348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cb0398012d6d018006106b40000500a92c..."} 
[2026-05-08 23:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cb0398012d6d018006106b40000500a92c..."} 
[2026-05-08 23:44:48] local.INFO: Processing buffer {"connection_id":65348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cb0398012d6d018006106b40000500a92c..."} 
[2026-05-08 23:44:48] local.INFO: Packet analysis {"connection_id":65348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cb"} 
[2026-05-08 23:44:48] local.INFO: Extracted packet for processing {"connection_id":65348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cb"} 
[2026-05-08 23:44:48] local.INFO: GPS Element Parsed {"raw_longitude":762118528,"raw_latitude":101739328,"longitude_deg":76.2118528,"latitude_deg":10.1739328,"altitude":5,"angle":169,"satellites":44,"speed":37,"hex_longitude":"2d6d0180","hex_latitude":"06106b40","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235578624001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290850606849982464,"note":"Value kept but may cause issues"} 
[2026-05-08 23:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7854418513668687872,"note":"Value kept but may cause issues"} 
[2026-05-08 23:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778263983000,"timestamp_ms":1778263983000,"timestamp_seconds":1778263983,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cb0398"} 
[2026-05-08 23:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:44:48] 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-05-08 23:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235578624001,"66":27376,"205":206,"79":46336,"24":37,"16":290850606849982464,"45":7854418513668687872},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-05-08 23:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235578624001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:44:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290850606849982464,"km_value":290850606849982.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7854418513668687872,"description":"Unknown IO ID 45"} 
[2026-05-08 23:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235578624001,"power":27376,"cell_id":206,"unknown_79":46336,"ignition":37,"odometer":null,"unknown_45":7854418513668687872}} 
[2026-05-08 23:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":65348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:44:48] local.INFO: GPS data processed {"connection_id":65348,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:44:48] local.INFO: Acknowledgment sent {"connection_id":65348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:45:24] local.INFO: TCP Data received {"connection_id":65348,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cc24a8012d6d2bc0060f80380006009a2b..."} 
[2026-05-08 23:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cc24a8012d6d2bc0060f80380006009a2b..."} 
[2026-05-08 23:45:24] local.INFO: Processing buffer {"connection_id":65348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cc24a8012d6d2bc0060f80380006009a2b..."} 
[2026-05-08 23:45:24] local.INFO: Packet analysis {"connection_id":65348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:45:24] local.INFO: Extracted packet for processing {"connection_id":65348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:45:24] local.INFO: GPS Element Parsed {"raw_longitude":762129344,"raw_latitude":101679160,"longitude_deg":76.2129344,"latitude_deg":10.167916,"altitude":6,"angle":154,"satellites":43,"speed":20,"hex_longitude":"2d6d2bc0","hex_latitude":"060f8038","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:45:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235597824001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:45:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290853647686828032,"note":"Value kept but may cause issues"} 
[2026-05-08 23:45:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7865607143976941568,"note":"Value kept but may cause issues"} 
[2026-05-08 23:45:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:45:24] local.INFO: AVL Record Parsed {"raw_timestamp":1778264057000,"timestamp_ms":1778264057000,"timestamp_seconds":1778264057,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cc24a8"} 
[2026-05-08 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-05-08 23:45:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:45:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:45:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:45:24] local.INFO: Teltonika packet parsed successfully {"connection_id":65348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:45:24] local.INFO: Passing IMEI to GPS processor {"connection_id":65348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:45:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":65348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:45:24] 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-05-08 23:45:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:45:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:45:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235597824001,"66":27267,"13":206,"79":46336,"24":20,"16":290853647686828032,"45":7865607143976941568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-05-08 23:45:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:45:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:45:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235597824001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:45:24] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 23:45:24] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:45:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290853647686828032,"km_value":290853647686828.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:45:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":7865607143976941568,"description":"Unknown IO ID 45"} 
[2026-05-08 23:45:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235597824001,"power":27267,"unknown_13":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7865607143976941568}} 
[2026-05-08 23:45:24] local.INFO: DEBUG: GPS processor result {"connection_id":65348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:45:24] local.INFO: GPS data processed {"connection_id":65348,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:45:24] local.INFO: Acknowledgment sent {"connection_id":65348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:45:42] local.INFO: TCP Data received {"connection_id":65452,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:45:42] local.INFO: Processing buffer {"connection_id":65452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:45:42] local.INFO: IMEI packet received {"connection_id":65452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":65452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:45:48] local.INFO: TCP Data received {"connection_id":65452,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:45:48] local.INFO: Processing buffer {"connection_id":65452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:45:48] local.INFO: IMEI packet received {"connection_id":65452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":65452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:45:48] local.INFO: TCP Data received {"connection_id":65452,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cc2c78012d6d2d00060f7c58000500a52b..."} 
[2026-05-08 23:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cc2c78012d6d2d00060f7c58000500a52b..."} 
[2026-05-08 23:45:48] local.INFO: Processing buffer {"connection_id":65452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cc2c78012d6d2d00060f7c58000500a52b..."} 
[2026-05-08 23:45:48] local.INFO: Packet analysis {"connection_id":65452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:45:48] local.INFO: Extracted packet for processing {"connection_id":65452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:45:48] local.INFO: GPS Element Parsed {"raw_longitude":762129664,"raw_latitude":101678168,"longitude_deg":76.2129664,"latitude_deg":10.1678168,"altitude":5,"angle":165,"satellites":43,"speed":21,"hex_longitude":"2d6d2d00","hex_latitude":"060f7c58","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235598592001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290853694931468288,"note":"Value kept but may cause issues"} 
[2026-05-08 23:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7866592306395101184,"note":"Value kept but may cause issues"} 
[2026-05-08 23:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778264059000,"timestamp_ms":1778264059000,"timestamp_seconds":1778264059,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cc2c78"} 
[2026-05-08 23:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:45:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:45:48] 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-05-08 23:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235598592001,"66":27234,"13":206,"79":46336,"24":21,"16":290853694931468288,"45":7866592306395101184},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-05-08 23:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235598592001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:45:48] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-05-08 23:45:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290853694931468288,"km_value":290853694931468.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7866592306395101184,"description":"Unknown IO ID 45"} 
[2026-05-08 23:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235598592001,"power":27234,"unknown_13":206,"unknown_79":46336,"ignition":21,"odometer":null,"unknown_45":7866592306395101184}} 
[2026-05-08 23:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":65452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:45:48] local.INFO: GPS data processed {"connection_id":65452,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:45:48] local.INFO: Acknowledgment sent {"connection_id":65452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:46:20] local.INFO: TCP Data received {"connection_id":65452,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cc6710012d6d3380060f5858000600a82c..."} 
[2026-05-08 23:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cc6710012d6d3380060f5858000600a82c..."} 
[2026-05-08 23:46:20] local.INFO: Processing buffer {"connection_id":65452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cc6710012d6d3380060f5858000600a82c..."} 
[2026-05-08 23:46:20] local.INFO: Packet analysis {"connection_id":65452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:46:20] local.INFO: Extracted packet for processing {"connection_id":65452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:46:20] local.INFO: GPS Element Parsed {"raw_longitude":762131328,"raw_latitude":101668952,"longitude_deg":76.2131328,"latitude_deg":10.1668952,"altitude":6,"angle":168,"satellites":44,"speed":32,"hex_longitude":"2d6d3380","hex_latitude":"060f5858","is_valid_coordinates":true} 
[2026-05-08 23:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235599104001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290854150198001664,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7866944150115735552,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778264074000,"timestamp_ms":1778264074000,"timestamp_seconds":1778264074,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cc6710"} 
[2026-05-08 23:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235599104001,"66":27343,"12":206,"79":46336,"24":32,"16":290854150198001664,"45":7866944150115735552},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-05-08 23:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235599104001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:46:20] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-05-08 23:46:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290854150198001664,"km_value":290854150198001.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7866944150115735552,"description":"Unknown IO ID 45"} 
[2026-05-08 23:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235599104001,"power":27343,"unknown_12":206,"unknown_79":46336,"ignition":32,"odometer":null,"unknown_45":7866944150115735552}} 
[2026-05-08 23:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":65452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:46:20] local.INFO: GPS data processed {"connection_id":65452,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:46:20] local.INFO: Acknowledgment sent {"connection_id":65452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:46:43] local.INFO: TCP Data received {"connection_id":65349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:43] local.INFO: Processing buffer {"connection_id":65349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:43] local.INFO: IMEI packet received {"connection_id":65349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":65349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:46:48] local.INFO: TCP Data received {"connection_id":65349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:48] local.INFO: Processing buffer {"connection_id":65349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:48] local.INFO: IMEI packet received {"connection_id":65349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:46:48] local.INFO: IMEI acknowledgment sent {"connection_id":65349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:46:53] local.INFO: TCP Data received {"connection_id":65349,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:53] local.INFO: Processing buffer {"connection_id":65349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:46:53] local.INFO: IMEI packet received {"connection_id":65349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":65349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:46:53] local.INFO: TCP Data received {"connection_id":65349,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cc95f0012d6d3b00060f3668000500a92c..."} 
[2026-05-08 23:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cc95f0012d6d3b00060f3668000500a92c..."} 
[2026-05-08 23:46:53] local.INFO: Processing buffer {"connection_id":65349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cc95f0012d6d3b00060f3668000500a92c..."} 
[2026-05-08 23:46:53] local.INFO: Packet analysis {"connection_id":65349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:46:53] local.INFO: Extracted packet for processing {"connection_id":65349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:46:53] local.INFO: GPS Element Parsed {"raw_longitude":762133248,"raw_latitude":101660264,"longitude_deg":76.2133248,"latitude_deg":10.1660264,"altitude":5,"angle":169,"satellites":44,"speed":16,"hex_longitude":"2d6d3b00","hex_latitude":"060f3668","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235602944001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290854583989698560,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7868773737461995520,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1778264086000,"timestamp_ms":1778264086000,"timestamp_seconds":1778264086,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cc95f0"} 
[2026-05-08 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-05-08 23:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 23:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":65349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":65349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":65349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235602944001,"66":27180,"12":206,"79":46336,"24":16,"16":290854583989698560,"45":7868773737461995520},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-05-08 23:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235602944001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:46:53] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-05-08 23:46:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290854583989698560,"km_value":290854583989698.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":7868773737461995520,"description":"Unknown IO ID 45"} 
[2026-05-08 23:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235602944001,"power":27180,"unknown_12":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7868773737461995520}} 
[2026-05-08 23:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":65349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:46:53] local.INFO: GPS data processed {"connection_id":65349,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:46:53] local.INFO: Acknowledgment sent {"connection_id":65349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:46:58] local.INFO: TCP Data received {"connection_id":65349,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ccd470012d6d4280060f1228000300a42b..."} 
[2026-05-08 23:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ccd470012d6d4280060f1228000300a42b..."} 
[2026-05-08 23:46:58] local.INFO: Processing buffer {"connection_id":65349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ccd470012d6d4280060f1228000300a42b..."} 
[2026-05-08 23:46:58] local.INFO: Packet analysis {"connection_id":65349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:46:58] local.INFO: Extracted packet for processing {"connection_id":65349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:46:58] local.INFO: GPS Element Parsed {"raw_longitude":762135168,"raw_latitude":101650984,"longitude_deg":76.2135168,"latitude_deg":10.1650984,"altitude":3,"angle":164,"satellites":43,"speed":31,"hex_longitude":"2d6d4280","hex_latitude":"060f1228","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235606016001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870884799785101312,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290855043551199232,"note":"Value kept but may cause issues"} 
[2026-05-08 23:46:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 23:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1778264102000,"timestamp_ms":1778264102000,"timestamp_seconds":1778264102,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ccd470"} 
[2026-05-08 23:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-05-08 23:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":65349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":65349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":65349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:46:58] 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-05-08 23:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235606016001,"66":27321,"45":7870884799785101312,"79":46336,"24":31,"16":290855043551199232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-05-08 23:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235606016001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870884799785101312,"description":"Unknown IO ID 45"} 
[2026-05-08 23:46:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290855043551199232,"km_value":290855043551199.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:46:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455235606016001,"power":27321,"unknown_45":7870884799785101312,"unknown_79":46336,"ignition":31,"odometer":null}} 
[2026-05-08 23:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":65349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:46:58] local.INFO: GPS data processed {"connection_id":65349,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:46:58] local.INFO: Acknowledgment sent {"connection_id":65349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:47:41] local.INFO: TCP Data received {"connection_id":66124,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:41] local.INFO: Processing buffer {"connection_id":66124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:41] local.INFO: IMEI packet received {"connection_id":66124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":66124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:47:43] local.INFO: TCP Data received {"connection_id":66124,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:43] local.INFO: Processing buffer {"connection_id":66124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:43] local.INFO: IMEI packet received {"connection_id":66124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":66124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:47:48] local.INFO: TCP Data received {"connection_id":66124,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:48] local.INFO: Processing buffer {"connection_id":66124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:47:48] local.INFO: IMEI packet received {"connection_id":66124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":66124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:47:48] local.INFO: TCP Data received {"connection_id":66124,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08ccfb80012d6d4e80060ef1080002009a27..."} 
[2026-05-08 23:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08ccfb80012d6d4e80060ef1080002009a27..."} 
[2026-05-08 23:47:48] local.INFO: Processing buffer {"connection_id":66124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08ccfb80012d6d4e80060ef1080002009a27..."} 
[2026-05-08 23:47:48] local.INFO: Packet analysis {"connection_id":66124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:47:48] local.INFO: Extracted packet for processing {"connection_id":66124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cc"} 
[2026-05-08 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":762138240,"raw_latitude":101642504,"longitude_deg":76.213824,"latitude_deg":10.1642504,"altitude":2,"angle":154,"satellites":39,"speed":38,"hex_longitude":"2d6d4e80","hex_latitude":"060ef108","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235610112001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872995862108055552,"note":"Value kept but may cause issues"} 
[2026-05-08 23:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290855481637863424,"note":"Value kept but may cause issues"} 
[2026-05-08 23:47:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 23:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778264112000,"timestamp_ms":1778264112000,"timestamp_seconds":1778264112,"priority":1,"record_length":96,"hex_timestamp":"0000019e08ccfb80"} 
[2026-05-08 23:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-05-08 23:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":66124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":66124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":66124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:47:48] 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-05-08 23:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235610112001,"66":27234,"45":7872995862108055552,"79":46336,"24":38,"16":290855481637863424},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-05-08 23:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235610112001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872995862108055552,"description":"Unknown IO ID 45"} 
[2026-05-08 23:47:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290855481637863424,"km_value":290855481637863.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:47:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455235610112001,"power":27234,"unknown_45":7872995862108055552,"unknown_79":46336,"ignition":38,"odometer":null}} 
[2026-05-08 23:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":66124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:47:48] local.INFO: GPS data processed {"connection_id":66124,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:47:48] local.INFO: Acknowledgment sent {"connection_id":66124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:47:51] local.INFO: TCP Data received {"connection_id":66124,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cd0738012d6d5200060ee6a0000200a927..."} 
[2026-05-08 23:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cd0738012d6d5200060ee6a0000200a927..."} 
[2026-05-08 23:47:51] local.INFO: Processing buffer {"connection_id":66124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cd0738012d6d5200060ee6a0000200a927..."} 
[2026-05-08 23:47:51] local.INFO: Packet analysis {"connection_id":66124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cd"} 
[2026-05-08 23:47:51] local.INFO: Extracted packet for processing {"connection_id":66124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cd"} 
[2026-05-08 23:47:51] local.INFO: GPS Element Parsed {"raw_longitude":762139136,"raw_latitude":101639840,"longitude_deg":76.2139136,"latitude_deg":10.163984,"altitude":2,"angle":169,"satellites":39,"speed":35,"hex_longitude":"2d6d5200","hex_latitude":"060ee6a0","is_valid_coordinates":true} 
[2026-05-08 23:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:47:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235612672001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:47:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7876373561826412544,"note":"Value kept but may cause issues"} 
[2026-05-08 23:47:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290855614781849600,"note":"Value kept but may cause issues"} 
[2026-05-08 23:47:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 23:47:51] local.INFO: AVL Record Parsed {"raw_timestamp":1778264115000,"timestamp_ms":1778264115000,"timestamp_seconds":1778264115,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cd0738"} 
[2026-05-08 23:47:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:47: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-05-08 23:47:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-05-08 23:47:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:47:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:47:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:47:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:47:51] local.INFO: Teltonika packet parsed successfully {"connection_id":66124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:47:51] local.INFO: Passing IMEI to GPS processor {"connection_id":66124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:47:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":66124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:47:51] 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-05-08 23:47:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:47:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:47:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235612672001,"66":27300,"45":7876373561826412544,"79":46336,"24":35,"16":290855614781849600},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-05-08 23:47:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:47:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:47:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235612672001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:47:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":7876373561826412544,"description":"Unknown IO ID 45"} 
[2026-05-08 23:47:51] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:47:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290855614781849600,"km_value":290855614781849.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:47:51] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455235612672001,"power":27300,"unknown_45":7876373561826412544,"unknown_79":46336,"ignition":35,"odometer":null}} 
[2026-05-08 23:47:51] local.INFO: DEBUG: GPS processor result {"connection_id":66124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:47:51] local.INFO: GPS data processed {"connection_id":66124,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:47:51] local.INFO: Acknowledgment sent {"connection_id":66124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:48:05] local.INFO: TCP Data received {"connection_id":65453,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:48:05] local.INFO: Processing buffer {"connection_id":65453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:48:05] local.INFO: IMEI packet received {"connection_id":65453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":65453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:48:22] local.INFO: TCP Data received {"connection_id":66124,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cd2e48012d6d5b80060ec4e0000400a029..."} 
[2026-05-08 23:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cd2e48012d6d5b80060ec4e0000400a029..."} 
[2026-05-08 23:48:22] local.INFO: Processing buffer {"connection_id":66124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cd2e48012d6d5b80060ec4e0000400a029..."} 
[2026-05-08 23:48:22] local.INFO: Packet analysis {"connection_id":66124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cd"} 
[2026-05-08 23:48:22] local.INFO: Extracted packet for processing {"connection_id":66124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cd"} 
[2026-05-08 23:48:22] local.INFO: GPS Element Parsed {"raw_longitude":762141568,"raw_latitude":101631200,"longitude_deg":76.2141568,"latitude_deg":10.16312,"altitude":4,"angle":160,"satellites":41,"speed":24,"hex_longitude":"2d6d5b80","hex_latitude":"060ec4e0","is_valid_coordinates":true} 
[2026-05-08 23:48: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-05-08 23:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235613440001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877358724244217856,"note":"Value kept but may cause issues"} 
[2026-05-08 23:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290856052868513792,"note":"Value kept but may cause issues"} 
[2026-05-08 23:48:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 23:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1778264125000,"timestamp_ms":1778264125000,"timestamp_seconds":1778264125,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cd2e48"} 
[2026-05-08 23:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:48: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-05-08 23:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:48: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-05-08 23:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":66124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":66124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":66124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:48:22] 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-05-08 23:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235613440001,"66":27267,"45":7877358724244217856,"79":46336,"24":24,"16":290856052868513792},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-05-08 23:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235613440001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877358724244217856,"description":"Unknown IO ID 45"} 
[2026-05-08 23:48:22] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290856052868513792,"km_value":290856052868513.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:48:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455235613440001,"power":27267,"unknown_45":7877358724244217856,"unknown_79":46336,"ignition":24,"odometer":null}} 
[2026-05-08 23:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":66124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:48:22] local.INFO: GPS data processed {"connection_id":66124,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:48:22] local.INFO: Acknowledgment sent {"connection_id":66124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:48:39] local.INFO: TCP Data received {"connection_id":65455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:39] local.INFO: Processing buffer {"connection_id":65455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:39] local.INFO: IMEI packet received {"connection_id":65455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":65455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:48:40] local.INFO: TCP Data received {"connection_id":65454,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:48:40] local.INFO: Processing buffer {"connection_id":65454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:48:40] local.INFO: IMEI packet received {"connection_id":65454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":65454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:48:43] local.INFO: TCP Data received {"connection_id":65455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:43] local.INFO: Processing buffer {"connection_id":65455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:43] local.INFO: IMEI packet received {"connection_id":65455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:48:43] local.INFO: IMEI acknowledgment sent {"connection_id":65455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:48:48] local.INFO: TCP Data received {"connection_id":65455,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:48] local.INFO: Processing buffer {"connection_id":65455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:48:48] local.INFO: IMEI packet received {"connection_id":65455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":65455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:48:48] local.INFO: TCP Data received {"connection_id":65455,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cd6110012d6d6300060eb1d0000600af2c..."} 
[2026-05-08 23:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cd6110012d6d6300060eb1d0000600af2c..."} 
[2026-05-08 23:48:48] local.INFO: Processing buffer {"connection_id":65455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cd6110012d6d6300060eb1d0000600af2c..."} 
[2026-05-08 23:48:48] local.INFO: Packet analysis {"connection_id":65455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cd"} 
[2026-05-08 23:48:48] local.INFO: Extracted packet for processing {"connection_id":65455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cd"} 
[2026-05-08 23:48:48] local.INFO: GPS Element Parsed {"raw_longitude":762143488,"raw_latitude":101626320,"longitude_deg":76.2143488,"latitude_deg":10.162632,"altitude":6,"angle":175,"satellites":44,"speed":18,"hex_longitude":"2d6d6300","hex_latitude":"060eb1d0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235616000001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880032736520757248,"note":"Value kept but may cause issues"} 
[2026-05-08 23:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290856306271584256,"note":"Value kept but may cause issues"} 
[2026-05-08 23:48:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 23:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778264138000,"timestamp_ms":1778264138000,"timestamp_seconds":1778264138,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cd6110"} 
[2026-05-08 23:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:48: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-05-08 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:48:48] 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-05-08 23:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235616000001,"66":27234,"45":7880032736520757248,"79":46336,"24":18,"16":290856306271584256},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-05-08 23:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235616000001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880032736520757248,"description":"Unknown IO ID 45"} 
[2026-05-08 23:48:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290856306271584256,"km_value":290856306271584.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:48:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455235616000001,"power":27234,"unknown_45":7880032736520757248,"unknown_79":46336,"ignition":18,"odometer":null}} 
[2026-05-08 23:48:48] local.INFO: DEBUG: GPS processor result {"connection_id":65455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:48:48] local.INFO: GPS data processed {"connection_id":65455,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:48:48] local.INFO: Acknowledgment sent {"connection_id":65455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:49:20] local.INFO: TCP Data received {"connection_id":65455,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cfd9e0012d6d3900060e1988000800c52c..."} 
[2026-05-08 23:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cfd9e0012d6d3900060e1988000800c52c..."} 
[2026-05-08 23:49:20] local.INFO: Processing buffer {"connection_id":65455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cfd9e0012d6d3900060e1988000800c52c..."} 
[2026-05-08 23:49:20] local.INFO: Packet analysis {"connection_id":65455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cf"} 
[2026-05-08 23:49:20] local.INFO: Extracted packet for processing {"connection_id":65455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cf"} 
[2026-05-08 23:49:20] local.INFO: GPS Element Parsed {"raw_longitude":762132736,"raw_latitude":101587336,"longitude_deg":76.2132736,"latitude_deg":10.1587336,"altitude":8,"angle":197,"satellites":44,"speed":6,"hex_longitude":"2d6d3900","hex_latitude":"060e1988","is_valid_coordinates":true} 
[2026-05-08 23:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:49:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235657984001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:49:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7871166274743578624,"note":"Value kept but may cause issues"} 
[2026-05-08 23:49:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290858316316278784,"note":"Value kept but may cause issues"} 
[2026-05-08 23:49:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 23:49:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778264300000,"timestamp_ms":1778264300000,"timestamp_seconds":1778264300,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cfd9e0"} 
[2026-05-08 23:49:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:49:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:49:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 23:49:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:49:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:49:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:49:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:49:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:49:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:49:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:49:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:49:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:49:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:49:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235657984001,"66":26789,"45":7871166274743578624,"79":46336,"24":6,"16":290858316316278784},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-05-08 23:49:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:49:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:49:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235657984001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:49:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7871166274743578624,"description":"Unknown IO ID 45"} 
[2026-05-08 23:49:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:49:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290858316316278784,"km_value":290858316316278.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:49:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455235657984001,"power":26789,"unknown_45":7871166274743578624,"unknown_79":46336,"ignition":6,"odometer":null}} 
[2026-05-08 23:49:20] local.INFO: DEBUG: GPS processor result {"connection_id":65455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:49:20] local.INFO: GPS data processed {"connection_id":65455,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:49:20] local.INFO: Acknowledgment sent {"connection_id":65455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:49:40] local.INFO: TCP Data received {"connection_id":65351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:40] local.INFO: Processing buffer {"connection_id":65351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:40] local.INFO: IMEI packet received {"connection_id":65351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:49:40] local.INFO: IMEI acknowledgment sent {"connection_id":65351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:49:43] local.INFO: TCP Data received {"connection_id":65351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:43] local.INFO: Processing buffer {"connection_id":65351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:43] local.INFO: IMEI packet received {"connection_id":65351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":65351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:49:43] local.INFO: TCP Data received {"connection_id":65351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:43] local.INFO: Processing buffer {"connection_id":65351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:43] local.INFO: IMEI packet received {"connection_id":65351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:49:43] local.INFO: IMEI acknowledgment sent {"connection_id":65351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:49:48] local.INFO: TCP Data received {"connection_id":65351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:48] local.INFO: Processing buffer {"connection_id":65351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:49:48] local.INFO: IMEI packet received {"connection_id":65351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:49:48] local.INFO: IMEI acknowledgment sent {"connection_id":65351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:49:48] local.INFO: TCP Data received {"connection_id":65351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cfe598012d6d3800060e1730000800b72c..."} 
[2026-05-08 23:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cfe598012d6d3800060e1730000800b72c..."} 
[2026-05-08 23:49:48] local.INFO: Processing buffer {"connection_id":65351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cfe598012d6d3800060e1730000800b72c..."} 
[2026-05-08 23:49:48] local.INFO: Packet analysis {"connection_id":65351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cf"} 
[2026-05-08 23:49:48] local.INFO: Extracted packet for processing {"connection_id":65351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cf"} 
[2026-05-08 23:49:48] local.INFO: GPS Element Parsed {"raw_longitude":762132480,"raw_latitude":101586736,"longitude_deg":76.213248,"latitude_deg":10.1586736,"altitude":8,"angle":183,"satellites":44,"speed":9,"hex_longitude":"2d6d3800","hex_latitude":"060e1730","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235660800001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870321849813010432,"note":"Value kept but may cause issues"} 
[2026-05-08 23:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290858346381049856,"note":"Value kept but may cause issues"} 
[2026-05-08 23:49:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 23:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778264303000,"timestamp_ms":1778264303000,"timestamp_seconds":1778264303,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cfe598"} 
[2026-05-08 23:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":104,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-05-08 23:49:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2203,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":65351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":65351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":65351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:49:48] 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-05-08 23:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235660800001,"66":27397,"45":7870321849813010432,"79":46336,"24":9,"16":290858346381049856},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-05-08 23:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235660800001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870321849813010432,"description":"Unknown IO ID 45"} 
[2026-05-08 23:49:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290858346381049856,"km_value":290858346381049.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:49:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455235660800001,"power":27397,"unknown_45":7870321849813010432,"unknown_79":46336,"ignition":9,"odometer":null}} 
[2026-05-08 23:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":65351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:49:48] local.INFO: GPS data processed {"connection_id":65351,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:49:48] local.INFO: Acknowledgment sent {"connection_id":65351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:50:19] local.INFO: TCP Data received {"connection_id":65351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08cfed68012d6d3800060e1548000800ab2c..."} 
[2026-05-08 23:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08cfed68012d6d3800060e1548000800ab2c..."} 
[2026-05-08 23:50:19] local.INFO: Processing buffer {"connection_id":65351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08cfed68012d6d3800060e1548000800ab2c..."} 
[2026-05-08 23:50:19] local.INFO: Packet analysis {"connection_id":65351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08cf"} 
[2026-05-08 23:50:19] local.INFO: Extracted packet for processing {"connection_id":65351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08cf"} 
[2026-05-08 23:50:19] local.INFO: GPS Element Parsed {"raw_longitude":762132480,"raw_latitude":101586248,"longitude_deg":76.213248,"latitude_deg":10.1586248,"altitude":8,"angle":171,"satellites":44,"speed":8,"hex_longitude":"2d6d3800","hex_latitude":"060e1548","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235661568001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870040374836146176,"note":"Value kept but may cause issues"} 
[2026-05-08 23:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290858367855886336,"note":"Value kept but may cause issues"} 
[2026-05-08 23:50:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-05-08 23:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778264305000,"timestamp_ms":1778264305000,"timestamp_seconds":1778264305,"priority":1,"record_length":96,"hex_timestamp":"0000019e08cfed68"} 
[2026-05-08 23:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 23:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":65351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":65351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":65351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:50:19] 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-05-08 23:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235661568001,"66":27397,"45":7870040374836146176,"79":46336,"24":8,"16":290858367855886336},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-05-08 23:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235661568001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870040374836146176,"description":"Unknown IO ID 45"} 
[2026-05-08 23:50:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290858367855886336,"km_value":290858367855886.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:50:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":455235661568001,"power":27397,"unknown_45":7870040374836146176,"unknown_79":46336,"ignition":8,"odometer":null}} 
[2026-05-08 23:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":65351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:50:19] local.INFO: GPS data processed {"connection_id":65351,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:50:19] local.INFO: Acknowledgment sent {"connection_id":65351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:50:43] local.INFO: TCP Data received {"connection_id":65457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:43] local.INFO: Processing buffer {"connection_id":65457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:43] local.INFO: IMEI packet received {"connection_id":65457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":65457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:50:43] local.INFO: TCP Data received {"connection_id":65457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:43] local.INFO: Processing buffer {"connection_id":65457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:43] local.INFO: IMEI packet received {"connection_id":65457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":65457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:50:48] local.INFO: TCP Data received {"connection_id":65457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:48] local.INFO: Processing buffer {"connection_id":65457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:50:48] local.INFO: IMEI packet received {"connection_id":65457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":65457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:50:49] local.INFO: TCP Data received {"connection_id":65457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08d037a0012d6d3cc0060df1a8000700a72b..."} 
[2026-05-08 23:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08d037a0012d6d3cc0060df1a8000700a72b..."} 
[2026-05-08 23:50:49] local.INFO: Processing buffer {"connection_id":65457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08d037a0012d6d3cc0060df1a8000700a72b..."} 
[2026-05-08 23:50:49] local.INFO: Packet analysis {"connection_id":65457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08d0"} 
[2026-05-08 23:50:49] local.INFO: Extracted packet for processing {"connection_id":65457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08d0"} 
[2026-05-08 23:50:49] local.INFO: GPS Element Parsed {"raw_longitude":762133696,"raw_latitude":101577128,"longitude_deg":76.2133696,"latitude_deg":10.1577128,"altitude":7,"angle":167,"satellites":43,"speed":23,"hex_longitude":"2d6d3cc0","hex_latitude":"060df1a8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235662080001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290858818827452416,"note":"Value kept but may cause issues"} 
[2026-05-08 23:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870040374836021248,"note":"Value kept but may cause issues"} 
[2026-05-08 23:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1778264324000,"timestamp_ms":1778264324000,"timestamp_seconds":1778264324,"priority":1,"record_length":96,"hex_timestamp":"0000019e08d037a0"} 
[2026-05-08 23:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 23:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":65457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":65457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":65457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235662080001,"66":27267,"46":206,"79":46336,"24":23,"16":290858818827452416,"45":7870040374836021248},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-05-08 23:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235662080001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:50:49] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-05-08 23:50:49] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290858818827452416,"km_value":290858818827452.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870040374836021248,"description":"Unknown IO ID 45"} 
[2026-05-08 23:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235662080001,"power":27267,"unknown_46":206,"unknown_79":46336,"ignition":23,"odometer":null,"unknown_45":7870040374836021248}} 
[2026-05-08 23:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":65457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:50:49] local.INFO: GPS data processed {"connection_id":65457,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:50:49] local.INFO: Acknowledgment sent {"connection_id":65457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:51:20] local.INFO: TCP Data received {"connection_id":65457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08d07df0012d6d4300060dcf78000600ae2a..."} 
[2026-05-08 23:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08d07df0012d6d4300060dcf78000600ae2a..."} 
[2026-05-08 23:51:20] local.INFO: Processing buffer {"connection_id":65457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08d07df0012d6d4300060dcf78000600ae2a..."} 
[2026-05-08 23:51:20] local.INFO: Packet analysis {"connection_id":65457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08d0"} 
[2026-05-08 23:51:20] local.INFO: Extracted packet for processing {"connection_id":65457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08d0"} 
[2026-05-08 23:51:20] local.INFO: GPS Element Parsed {"raw_longitude":762135296,"raw_latitude":101568376,"longitude_deg":76.2135296,"latitude_deg":10.1568376,"altitude":6,"angle":174,"satellites":42,"speed":26,"hex_longitude":"2d6d4300","hex_latitude":"060dcf78","is_valid_coordinates":true} 
[2026-05-08 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-05-08 23:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235666944001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290859252619149312,"note":"Value kept but may cause issues"} 
[2026-05-08 23:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7871377380973062144,"note":"Value kept but may cause issues"} 
[2026-05-08 23:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1778264342000,"timestamp_ms":1778264342000,"timestamp_seconds":1778264342,"priority":1,"record_length":96,"hex_timestamp":"0000019e08d07df0"} 
[2026-05-08 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-05-08 23:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-05-08 23:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 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-05-08 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-05-08 23:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":65457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":65457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":65457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235666944001,"66":27300,"46":206,"79":46336,"24":26,"16":290859252619149312,"45":7871377380973062144},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-05-08 23:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235666944001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:51:20] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-05-08 23:51:20] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290859252619149312,"km_value":290859252619149.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":7871377380973062144,"description":"Unknown IO ID 45"} 
[2026-05-08 23:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235666944001,"power":27300,"unknown_46":206,"unknown_79":46336,"ignition":26,"odometer":null,"unknown_45":7871377380973062144}} 
[2026-05-08 23:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":65457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:51:20] local.INFO: GPS data processed {"connection_id":65457,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:51:20] local.INFO: Acknowledgment sent {"connection_id":65457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:51:42] local.INFO: TCP Data received {"connection_id":66125,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:51:42] local.INFO: Processing buffer {"connection_id":66125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:51:42] local.INFO: IMEI packet received {"connection_id":66125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":66125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:51:47] local.INFO: TCP Data received {"connection_id":66125,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:51:47] local.INFO: Processing buffer {"connection_id":66125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:51:47] local.INFO: IMEI packet received {"connection_id":66125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":66125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:51:55] local.INFO: TCP Data received {"connection_id":66125,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08d08d90012d6d42c0060dc4d8000500bc2a..."} 
[2026-05-08 23:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08d08d90012d6d42c0060dc4d8000500bc2a..."} 
[2026-05-08 23:51:55] local.INFO: Processing buffer {"connection_id":66125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08d08d90012d6d42c0060dc4d8000500bc2a..."} 
[2026-05-08 23:51:55] local.INFO: Packet analysis {"connection_id":66125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08d0"} 
[2026-05-08 23:51:55] local.INFO: Extracted packet for processing {"connection_id":66125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08d0"} 
[2026-05-08 23:51:55] local.INFO: GPS Element Parsed {"raw_longitude":762135232,"raw_latitude":101565656,"longitude_deg":76.2135232,"latitude_deg":10.1565656,"altitude":5,"angle":188,"satellites":42,"speed":28,"hex_longitude":"2d6d42c0","hex_latitude":"060dc4d8","is_valid_coordinates":true} 
[2026-05-08 23:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235671552001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290859381468168192,"note":"Value kept but may cause issues"} 
[2026-05-08 23:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873136599575263232,"note":"Value kept but may cause issues"} 
[2026-05-08 23:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1778264346000,"timestamp_ms":1778264346000,"timestamp_seconds":1778264346,"priority":1,"record_length":96,"hex_timestamp":"0000019e08d08d90"} 
[2026-05-08 23:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-05-08 23:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":66125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":66125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":66125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235671552001,"66":27310,"46":206,"79":46336,"24":28,"16":290859381468168192,"45":7873136599575263232},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-05-08 23:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235671552001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:51:55] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-05-08 23:51:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290859381468168192,"km_value":290859381468168.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873136599575263232,"description":"Unknown IO ID 45"} 
[2026-05-08 23:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235671552001,"power":27310,"unknown_46":206,"unknown_79":46336,"ignition":28,"odometer":null,"unknown_45":7873136599575263232}} 
[2026-05-08 23:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":66125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:51:55] local.INFO: GPS data processed {"connection_id":66125,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:51:55] local.INFO: Acknowledgment sent {"connection_id":66125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:52:27] local.INFO: TCP Data received {"connection_id":66125,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08d2d780012d6db3c0060ccac80009006c2e..."} 
[2026-05-08 23:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08d2d780012d6db3c0060ccac80009006c2e..."} 
[2026-05-08 23:52:27] local.INFO: Processing buffer {"connection_id":66125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08d2d780012d6db3c0060ccac80009006c2e..."} 
[2026-05-08 23:52:27] local.INFO: Packet analysis {"connection_id":66125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08d2"} 
[2026-05-08 23:52:27] local.INFO: Extracted packet for processing {"connection_id":66125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08d2"} 
[2026-05-08 23:52:27] local.INFO: GPS Element Parsed {"raw_longitude":762164160,"raw_latitude":101501640,"longitude_deg":76.216416,"latitude_deg":10.150164,"altitude":9,"angle":108,"satellites":46,"speed":25,"hex_longitude":"2d6db3c0","hex_latitude":"060ccac8","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235710464001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290863075140042752,"note":"Value kept but may cause issues"} 
[2026-05-08 23:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7903535897043060736,"note":"Value kept but may cause issues"} 
[2026-05-08 23:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1778264496000,"timestamp_ms":1778264496000,"timestamp_seconds":1778264496,"priority":1,"record_length":96,"hex_timestamp":"0000019e08d2d780"} 
[2026-05-08 23:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24064,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":66125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":66125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":66125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-05-08 23:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235710464001,"66":27397,"253":206,"79":46336,"24":25,"16":290863075140042752,"45":7903535897043060736},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-05-08 23:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235710464001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:52:27] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-05-08 23:52:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290863075140042752,"km_value":290863075140042.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7903535897043060736,"description":"Unknown IO ID 45"} 
[2026-05-08 23:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235710464001,"power":27397,"unknown_253":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7903535897043060736}} 
[2026-05-08 23:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":66125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:52:27] local.INFO: GPS data processed {"connection_id":66125,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:52:27] local.INFO: Acknowledgment sent {"connection_id":66125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:52:43] local.INFO: TCP Data received {"connection_id":66126,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:52:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:52:43] local.INFO: Processing buffer {"connection_id":66126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:52:43] local.INFO: IMEI packet received {"connection_id":66126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:52:43] local.INFO: IMEI acknowledgment sent {"connection_id":66126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:52:48] local.INFO: TCP Data received {"connection_id":66126,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:52:48] local.INFO: Processing buffer {"connection_id":66126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:52:48] local.INFO: IMEI packet received {"connection_id":66126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":66126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:52:48] local.INFO: TCP Data received {"connection_id":66126,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08d2df50012d6db900060cc9a0000800602d..."} 
[2026-05-08 23:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08d2df50012d6db900060cc9a0000800602d..."} 
[2026-05-08 23:52:48] local.INFO: Processing buffer {"connection_id":66126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08d2df50012d6db900060cc9a0000800602d..."} 
[2026-05-08 23:52:48] local.INFO: Packet analysis {"connection_id":66126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08d2"} 
[2026-05-08 23:52:48] local.INFO: Extracted packet for processing {"connection_id":66126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08d2"} 
[2026-05-08 23:52:48] local.INFO: GPS Element Parsed {"raw_longitude":762165504,"raw_latitude":101501344,"longitude_deg":76.2165504,"latitude_deg":10.1501344,"altitude":8,"angle":96,"satellites":45,"speed":25,"hex_longitude":"2d6db900","hex_latitude":"060cc9a0","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:52:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235710976001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:52:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290863139564552192,"note":"Value kept but may cause issues"} 
[2026-05-08 23:52:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7904872903182305280,"note":"Value kept but may cause issues"} 
[2026-05-08 23:52:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:52:48] local.INFO: AVL Record Parsed {"raw_timestamp":1778264498000,"timestamp_ms":1778264498000,"timestamp_seconds":1778264498,"priority":1,"record_length":96,"hex_timestamp":"0000019e08d2df50"} 
[2026-05-08 23:52:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:52:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-05-08 23:52:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:52:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:52:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:52:48] local.INFO: Teltonika packet parsed successfully {"connection_id":66126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:52:48] local.INFO: Passing IMEI to GPS processor {"connection_id":66126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:52:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":66126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:52:48] 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-05-08 23:52:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:52:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:52:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235710976001,"66":27365,"253":206,"79":46336,"24":25,"16":290863139564552192,"45":7904872903182305280},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-05-08 23:52:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:52:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:52:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235710976001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:52:48] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-05-08 23:52:48] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:52:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290863139564552192,"km_value":290863139564552.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:52:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":7904872903182305280,"description":"Unknown IO ID 45"} 
[2026-05-08 23:52:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235710976001,"power":27365,"unknown_253":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7904872903182305280}} 
[2026-05-08 23:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":66126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:52:49] local.INFO: GPS data processed {"connection_id":66126,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:52:49] local.INFO: Acknowledgment sent {"connection_id":66126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:53:19] local.INFO: TCP Data received {"connection_id":66126,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08d2eef0012d6dc200060cc920000700542b..."} 
[2026-05-08 23:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":66126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08d2eef0012d6dc200060cc920000700542b..."} 
[2026-05-08 23:53:19] local.INFO: Processing buffer {"connection_id":66126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08d2eef0012d6dc200060cc920000700542b..."} 
[2026-05-08 23:53:19] local.INFO: Packet analysis {"connection_id":66126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08d2"} 
[2026-05-08 23:53:19] local.INFO: Extracted packet for processing {"connection_id":66126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08d2"} 
[2026-05-08 23:53:19] local.INFO: GPS Element Parsed {"raw_longitude":762167808,"raw_latitude":101501216,"longitude_deg":76.2167808,"latitude_deg":10.1501216,"altitude":7,"angle":84,"satellites":43,"speed":15,"hex_longitude":"2d6dc200","hex_latitude":"060cc920","is_valid_coordinates":true} 
[2026-05-08 23:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235711488001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290863251233701888,"note":"Value kept but may cause issues"} 
[2026-05-08 23:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7906350646809960448,"note":"Value kept but may cause issues"} 
[2026-05-08 23:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1778264502000,"timestamp_ms":1778264502000,"timestamp_seconds":1778264502,"priority":1,"record_length":96,"hex_timestamp":"0000019e08d2eef0"} 
[2026-05-08 23:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":24320,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-05-08 23:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-05-08 23:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":66126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":66126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":66126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:53:19] 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-05-08 23:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235711488001,"66":27343,"253":206,"79":46336,"24":15,"16":290863251233701888,"45":7906350646809960448},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-05-08 23:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235711488001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:53:19] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-05-08 23:53:19] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290863251233701888,"km_value":290863251233701.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":7906350646809960448,"description":"Unknown IO ID 45"} 
[2026-05-08 23:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235711488001,"power":27343,"unknown_253":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7906350646809960448}} 
[2026-05-08 23:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":66126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:53:19] local.INFO: GPS data processed {"connection_id":66126,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:53:19] local.INFO: Acknowledgment sent {"connection_id":66126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:53:42] local.INFO: TCP Data received {"connection_id":65461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:53:42] local.INFO: Processing buffer {"connection_id":65461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:53:42] local.INFO: IMEI packet received {"connection_id":65461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":65461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:53:45] local.INFO: TCP Data received {"connection_id":65461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:53:45] local.INFO: Processing buffer {"connection_id":65461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:53:45] local.INFO: IMEI packet received {"connection_id":65461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":65461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:53:46] local.INFO: TCP Data received {"connection_id":65461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08d31600012d6dd340060cc9a00002004629..."} 
[2026-05-08 23:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08d31600012d6dd340060cc9a00002004629..."} 
[2026-05-08 23:53:46] local.INFO: Processing buffer {"connection_id":65461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08d31600012d6dd340060cc9a00002004629..."} 
[2026-05-08 23:53:46] local.INFO: Packet analysis {"connection_id":65461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08d3"} 
[2026-05-08 23:53:46] local.INFO: Extracted packet for processing {"connection_id":65461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08d3"} 
[2026-05-08 23:53:46] local.INFO: GPS Element Parsed {"raw_longitude":762172224,"raw_latitude":101501344,"longitude_deg":76.2172224,"latitude_deg":10.1501344,"altitude":2,"angle":70,"satellites":41,"speed":17,"hex_longitude":"2d6dd340","hex_latitude":"060cc9a0","is_valid_coordinates":true} 
[2026-05-08 23:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-05-08 23:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235712512001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290863461687099392,"note":"Value kept but may cause issues"} 
[2026-05-08 23:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7908883921600323584,"note":"Value kept but may cause issues"} 
[2026-05-08 23:53:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,253,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1778264512000,"timestamp_ms":1778264512000,"timestamp_seconds":1778264512,"priority":1,"record_length":96,"hex_timestamp":"0000019e08d31600"} 
[2026-05-08 23:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:53: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-05-08 23:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-05-08 23:53:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-05-08 23:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":65461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":65461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":65461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:53:46] 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-05-08 23:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235712512001,"66":27321,"253":206,"79":46336,"24":17,"16":290863461687099392,"45":7908883921600323584},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,253,79,24,16,45]} 
[2026-05-08 23:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235712512001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:53:46] local.INFO: Unknown IO ID detected {"io_id":253,"value":206,"description":"Unknown IO ID 253"} 
[2026-05-08 23:53:46] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290863461687099392,"km_value":290863461687099.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":7908883921600323584,"description":"Unknown IO ID 45"} 
[2026-05-08 23:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235712512001,"power":27321,"unknown_253":206,"unknown_79":46336,"ignition":17,"odometer":null,"unknown_45":7908883921600323584}} 
[2026-05-08 23:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":65461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:53:46] local.INFO: GPS data processed {"connection_id":65461,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:53:46] local.INFO: Acknowledgment sent {"connection_id":65461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:53:55] local.INFO: TCP Data received {"connection_id":65460,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:53:55] local.INFO: Processing buffer {"connection_id":65460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:53:55] local.INFO: IMEI packet received {"connection_id":65460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":65460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:54:17] local.INFO: TCP Data received {"connection_id":65461,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019e08d4a470012d6ec000060cf928000600612e..."} 
[2026-05-08 23:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019e08d4a470012d6ec000060cf928000600612e..."} 
[2026-05-08 23:54:17] local.INFO: Processing buffer {"connection_id":65461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019e08d4a470012d6ec000060cf928000600612e..."} 
[2026-05-08 23:54:17] local.INFO: Packet analysis {"connection_id":65461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019e08d4"} 
[2026-05-08 23:54:17] local.INFO: Extracted packet for processing {"connection_id":65461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019e08d4"} 
[2026-05-08 23:54:17] local.INFO: GPS Element Parsed {"raw_longitude":762232832,"raw_latitude":101513512,"longitude_deg":76.2232832,"latitude_deg":10.1513512,"altitude":6,"angle":97,"satellites":46,"speed":10,"hex_longitude":"2d6ec000","hex_latitude":"060cf928","is_valid_coordinates":true} 
[2026-05-08 23: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-05-08 23:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":455235740928001,"note":"Value kept but may cause issues"} 
[2026-05-08 23:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":290866485344075776,"note":"Value kept but may cause issues"} 
[2026-05-08 23:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7980097090711267328,"note":"Value kept but may cause issues"} 
[2026-05-08 23:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-05-08 23:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1778264614000,"timestamp_ms":1778264614000,"timestamp_seconds":1778264614,"priority":1,"record_length":96,"hex_timestamp":"0000019e08d4a470"} 
[2026-05-08 23:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-05-08 23:54: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-05-08 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-05-08 23:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-05-08 23: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-05-08 23:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-05-08 23:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-05-08 23:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":65461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-05-08 23:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":65461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":65461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-05-08 23:54:17] 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-05-08 23:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-05-08 23:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-05-08 23:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":455235740928001,"66":27484,"252":206,"79":46336,"24":10,"16":290866485344075776,"45":7980097090711267328},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-05-08 23:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-05-08 23:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-05-08 23:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":455235740928001,"description":"Unknown IO ID 0"} 
[2026-05-08 23:54:17] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-05-08 23:54:17] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-05-08 23:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":290866485344075776,"km_value":290866485344075.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-05-08 23:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":7980097090711267328,"description":"Unknown IO ID 45"} 
[2026-05-08 23:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":455235740928001,"power":27484,"unknown_252":206,"unknown_79":46336,"ignition":10,"odometer":null,"unknown_45":7980097090711267328}} 
[2026-05-08 23:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":65461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":122948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-05-08 23:54:17] local.INFO: GPS data processed {"connection_id":65461,"processed":1,"errors":0,"total":1} 
[2026-05-08 23:54:17] local.INFO: Acknowledgment sent {"connection_id":65461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-05-08 23:54:40] local.INFO: TCP Data received {"connection_id":65312,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:54:40] local.INFO: Processing buffer {"connection_id":65312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-05-08 23:54:40] local.INFO: IMEI packet received {"connection_id":65312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-05-08 23:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":65312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:54:48] local.INFO: TCP Data received {"connection_id":65352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:54:48] local.INFO: Processing buffer {"connection_id":65352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:54:48] local.INFO: IMEI packet received {"connection_id":65352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-05-08 23:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":65352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-05-08 23:54:56] local.INFO: TCP Data received {"connection_id":65352,"ip":"42.106.6.16","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 23:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65352,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 23:54:56] local.INFO: Processing buffer {"connection_id":65352,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 23:54:56] local.INFO: IMEI packet received {"connection_id":65352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":65352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-05-08 23:54:58] local.INFO: TCP Data received {"connection_id":65352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":65352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-05-08 23:54:58] local.INFO: Processing buffer {"connection_id":65352,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-05-08 23:54:58] local.INFO: IMEI packet received {"connection_id":65352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-05-08 23:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":65352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
